remote debug?

i start the websphere in myeclipse with debug model,

i want to connerct to the server to debug it in IDEA in another machine.

But i get the errro: Connect refused

the myeclipse start properties:

"C:\Program Files\IBM\WebSphere\AppServer\java\bin\javaw.exe" "-Xbootclasspath/p:C:\Program Files\IBM\WebSphere\AppServer\java\jre\lib\ext\ibmorb.jar;C:\Program Files\IBM\WebSphere\AppServer\java\jre\lib\ext\ibmext.jar" -Xquickstart -Xverify:none "\"-Dserver.root=C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\"" "\"-Ddb2j.system.home=C:\Program Files\IBM\WebSphere\AppServer\cloudscape\"" -Djava.util.logging.configureByServer=true -Djava.util.logging.manager=com.ibm.ws.bootstrap.WsLogManager -Dibm.websphere.preload.classes=true "\"-Duser.install.root=C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\"" "\"-Dcom.ibm.itp.location=C:\Program Files\IBM\WebSphere\AppServer\bin\"" "\"-Dwas.install.root=C:\Program Files\IBM\WebSphere\AppServer\"" "\"-Djava.security.auth.login.config=C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\properties\wsjaas.conf\"" "\"-Djava.security.policy=C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\properties\server.policy\"" "-Dws.ext.dirs=C:\Program Files\IBM\WebSphere\AppServer\java\lib;C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\classes;C:\Program Files\IBM\WebSphere\AppServer\bin;C:\Program Files\IBM\WebSphere\AppServer\classes;C:\Program Files\IBM\WebSphere\AppServer\lib;C:\Program Files\IBM\WebSphere\AppServer\installedChannels;C:\Program Files\IBM\WebSphere\AppServer\lib\ext;C:\Program Files\IBM\WebSphere\AppServer\web\help;C:\Program Files\IBM\WebSphere\AppServer\deploytool\itp\plugins\com.ibm.etools.ejbdeploy\runtime" "-Djava.library.path=C:\Program Files\IBM\WebSphere\AppServer\java\bin;C:\Program Files\IBM\WebSphere\AppServer\bin" -Dwas.debug.mode=true -Dws.output.encoding=console -Xj9 -Xmx512M -Dcom.ibm.ws.classloader.j9enabled=true -classpath "\"C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\properties\";\"C:\Program Files\IBM\WebSphere\AppServer\properties\";\"C:\Program Files\IBM\WebSphere\AppServer\lib\bootstrap.jar\";\"C:\Program Files\IBM\WebSphere\AppServer\lib\j2ee.jar\";\"C:\Program Files\IBM\WebSphere\AppServer\lib\lmproxy.jar\";\"C:\Program Files\IBM\WebSphere\AppServer\lib\urlprotocols.jar\"" -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,suspend=y,address=localhost:4566 com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer "\"C:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\config\"" localhostNode01Cell localhostNode01 server1


The properties in the IDEA is :

-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=2566


Anyone can give me some suggest?

Please sign in to leave a comment.