打印

Server Can't Start due the same debug port

Server Can't Start due the same debug port

1. ./startServer.sh server1ADMU0116I: Tool information is being logged in file
           /xxx/logs/server1/startServer.log
ADMU3100I: Reading configuration for server: server1
ADMU3200I: Server launched. Waiting for initialization status.
ADMU3011E: Server launched but failed initialization. startServer.log,
           SystemOut.log(or job log in zOS) and other log files under
           /xxx/logs/server1 should contain failure information.

2. ./startServer.sh server1 -script

3. ./start_server1.sh
ERROR: [Agent.cpp:171] JDWP error in VM_INIT: TransportException [510/201] binding to port failed (error code: -212)
4. Modify server.xml
debugArgs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777"
==>
debugArgs="-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7778"

5. startServer.sh server1
拥抱智慧地球!地球守护使者!

TOP