Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

Can't start remote debug session in JRE 5.0

Thread view: 
sparty - 31 Mar 2006 22:40 GMT
set REMOTE_DEBUG=-Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=n,address=8081,suspend=y

%JRE%\bin\java %REMOTE_DEBUG% -classpath %CLASSPATH%
-Xbootclasspath:%ORBJARS%;%JRE%\lib\rt.jar  package.myClass

When trying to fire this up, I'm getting this error

ERROR: transport error 202: connect failed: Connection refused
["transport.c",L41]
ERROR: JDWP Transport dt_socket failed to initialize,
TRANSPORT_INIT(510) ["debugInit.c",L500]
JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports
initializedFATAL ERROR in native method: JDWP No transports
initialized, jvmtiError
=JVMTI_ERROR_INTERNAL(113)

I'm pretty sure this worked with java 1.3, but with 5.0, I'm having no
luck.
jhr - 31 Mar 2006 23:19 GMT
try changing server=y
sparty - 03 Apr 2006 14:01 GMT
Yep, looks like I accidently switched server and suspend around.
Thanks.

should have been

server=y  suspend=n


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.