A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Failed to connect to remote VM
Joined: Nov 25, 2008
Jul 12, 2009 23:43:02
i am using 1044 as a debug port.
But today it is not working.
here is the part of "startWebLogic.cmd" file
%JAVA_HOME%\bin\java -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044 %JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -Dweblogic.Name=%SERVER_NAME% -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE%
but it gives this error when i am going to start the debuging
Failed to connect to remote VM com.sun.jdi.connect.spi.ClosedConnectionException
Joined: May 13, 2004
Jul 13, 2009 01:47:35
Try to connect using telnet. If you don't have errors on server side (see logs for that) is possible to have network problems (don't see the machine anymore, DNS problems, firewall problems, etc).
It is sorta covered in the
JavaRanch Style Guide
subject: Failed to connect to remote VM
Java remote debugging
How to debug weblogic applications using eclipse
Remote debugging connection refused on Mac
Unable to setup eclipse for remote debugging with Weblogic 9.3
Error on remote debugging WebLogic 10 with Eclipse
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014