gkyulhanov
Joined: 16/03/2021 09:21:50
Messages: 1
Offline
|
Hi,
is there anybody with the same problem as me.
After switching Docker Desktop (Win 10) to use the wsl 2 based engine, starting C1_starttoolsserver.bat outputs these errors:
16-Mar-2021 15:55:08.436 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-51000"]
16-Mar-2021 15:55:10.170 SEVERE [main] org.apache.catalina.util.LifecycleBase.handleSubClassException Failed to initialize component [Connector[HTTP/1.1-51000]]
org.apache.catalina.LifecycleException: Protocol handler initialization failed
at org.apache.catalina.connector.Connector.initInternal(Connector.java:1042)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardService.initInternal(StandardService.java:533)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:1057)
at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:136)
at org.apache.catalina.startup.Catalina.load(Catalina.java:724)
at org.apache.catalina.startup.Catalina.load(Catalina.java:746)
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:49
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:302)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:472)
Caused by: java.net.BindException: Address already in use: bind
...
16-Mar-2021 15:55:18.111 SEVERE [main] org.apache.catalina.core.StandardServer.await Failed to create server shutdown socket on address [localhost] and port [51003] (base port [51003] and offset [0])
java.net.BindException: Address already in use: JVM_Bind
...
I fixed this problem with changing the ports configuration in EnterpriseClientRISC\server\tomcattools\conf\server.xml
original
<Server port="51003" shutdown="SHUTDOWN">
new
<Server port="54003" shutdown="SHUTDOWN">
original
<Connector port="51000" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="51001" />
new
<Connector port="54000" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="54001" />
|