java.lang.reflect.InvocationTargetException

Apache's JIRA Issue Tracker | Stephen Chu | 4 years ago
  1. 0
    The solution is to run as root using sudo or to set different port in "application.properties" file, e.g. server.port=${port:8181}
  2. 0

    Gerrit fails to start if init with port # 80. port 8080 works fine.

    Google Groups | 5 years ago | bomjose
    java.lang.IllegalStateException: Cannot start HTTP daemon
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    java - Error while running Jetty Server on port 80 as non root user - Ask Ubuntu

    askubuntu.com | 7 months ago
    java.net.SocketException: Permission denied
  5. 0

    gitblit GO running on privileged ports

    GitHub | 1 year ago | gitblit
    java.net.SocketException: Permission denied

  1. Handemelindo 10 times, last 2 months ago
7 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.net.SocketException

    Permission denied

    at sun.nio.ch.Net.bind()
  2. Java RT
    ServerSocketAdaptor.bind
    1. sun.nio.ch.Net.bind(Native Method)
    2. sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:126)
    3. sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:59)
    3 frames
  3. Apache Hadoop HDFS
    SecureDataNodeStarter.init
    1. org.apache.hadoop.hdfs.server.datanode.SecureDataNodeStarter.init(SecureDataNodeStarter.java:76)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  5. Commons Daemon
    DaemonLoader.load
    1. org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:164)
    1 frame