You need to be `root` to use ports below 1000 .... On Mon, 15 Jul 2019 at 17:38, Krishna Chaitanya Koppisetty (kchaitan) <[email protected]> wrote: > > Hi, > > I tried compiling the commons daemon 1.2.0 source with jdk 11. When > configured on apache tomcat version 9.0.16 with JRE11, the tomcat server > fails to come up. It fails to bind on port 443 with java.net.SocketException. > > Can you please help use resolve this. > > 12-Jul-2019 07:10:08.994 INFO [main] org.apache.coyote.AbstractProtocol.start > Starting ProtocolHandler ["http-nio-80"] > 12-Jul-2019 07:10:09.001 INFO [main] org.apache.coyote.AbstractProtocol.start > Starting ProtocolHandler ["https-jsse-nio-443"] > 12-Jul-2019 07:10:09.002 SEVERE [main] > org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to > start component [Connector[HTTP/1.1-443]] > at org.apache.catalina.connector.Connector.startInternal(Connector.java:1008) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > at > org.apache.catalina.core.StandardService.startInternal(StandardService.java:440) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > at > org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:928) > at > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) > at org.apache.catalina.startup.Catalina.start(Catalina.java:638) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:241) > Caused by: java.net.SocketException<http://java.net.socketexception/>: > Permission denied > at > sun.nio.ch.Net.bind0(Native<http://sun.nio.ch.net.bind0(native/>Method) > at > sun.nio.ch.Net.bind(Net.java:433<http://sun.nio.ch.net.bind(net.java:433/>) > at > sun.nio.ch.Net.bind(Net.java:425<http://sun.nio.ch.net.bind(net.java:425/>) > at > sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223<http://sun.nio.ch.serversocketchannelimpl.bind(serversocketchannelimpl.java:223/>) > at > sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74<http://sun.nio.ch.serversocketadaptor.bind(serversocketadaptor.java:74/>) > at > org.apache.tomcat.util.net.NioEndpoint.initServerSocket(NioEndpoint.java:236<http://org.apache.tomcat.util.net.nioendpoint.initserversocket(nioendpoint.java:236/>) > at > org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:210<http://org.apache.tomcat.util.net.nioendpoint.bind(nioendpoint.java:210/>) > at > org.apache.tomcat.util.net.AbstractEndpoint.bindWithCleanup(AbstractEndpoint.java:1085<http://org.apache.tomcat.util.net.abstractendpoint.bindwithcleanup(abstractendpoint.java:1085/>) > at > org.apache.tomcat.util.net.AbstractEndpoint.start(AbstractEndpoint.java:1171<http://org.apache.tomcat.util.net.abstractendpoint.start(abstractendpoint.java:1171/>) > at org.apache.coyote.AbstractProtocol.start(AbstractProtocol.java:568) > at > org.apache.catalina.connector.Connector.startInternal(Connector.java:1005) > ... 16 more > > > Regards, > Krishna Chaitanya.
-- WBR Maxim aka solomax --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
