Mantis - Resin
Viewing Issue Advanced Details
6476 minor always 08-18-22 07:34 10-31-23 18:56
cdan  
 
normal  
new 4.0.66  
open  
none    
none  
0006476: JDWP Transport dt_socket failed to initialize
Hello,
If we are running with JDK 11 and debug options enabled (-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:15095) we are getting the following errors at startup:

ERROR: transport error 202: bind failed: Address already in use
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [./open/src/jdk.jdwp.agent/share/native/libjdwp/debugInit.c:732]
Listening for transport dt_socket at address: 15095
[07:45:41.706] INFO [main] Using Resin(R) Open Source under the GNU Public License (GPL).
...
Starting Resin on Thu, 18 Aug 2022 07:45:40 -0500 (CDT)

[07:45:41.974] INFO [main]
[07:45:41.975] INFO [main] Resin-4.0.66 (built Mon, 29 Nov 2021 04:22:10 PST)

Eventually, everything starts and is working correctly (we can remote debug too).
The debug port (15095) is not used by any other application.
Please note that if we are running with JDK 8 we are not seeing this issue.
Regards,
Dan

There are no notes attached to this issue.