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 [... /.. /.. /SRC/SHARE/BACK/DEBUGINIT.C:750]
FATAL ERROR in native method:jdwp No transports initialized, Jvmtierror=agent_error_transport_init (197)
Problem Reason:
This failure is a flaw in the JVM's remote debug that occurs only when the remote debug port is turned on, because the JVM crashes because it receives packets that do not conform to the JDWP protocol.
To verify that the vulnerability exists in the system, you can check the Java startup parameters for the following related configuration:
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=8787
or-xdebug-xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787.
In the case of a related configuration, the vulnerability exists when Java starts the remote debugging port, where the JVM virtual machine, as the service provider for debugging, listens on a connection through Port 8787, and the debugger interacts with the virtual machine through the connection.
Solution:
Adjust "java_opts=" in Java Environment configuration variables
My adjustment is: Export java_opts= '-dfile.encoding=utf-8-djava.awt.headless=true-xms2048m-xmx2048m ', can be solved.
Vim bin/catalina.sh