"jaikiran" wrote : 
  | Strange. I wasn't aware that the positioning matters.  I still find it hard 
to believe that this was the reason why it was failing. 
  | 

OK, i now know why you were seeing the exception earlier. It has got nothing to 
do with the order in which you pass the "server" and "address" parameters.

Here's what your parameters were when you were seeing the exception:

"tttito" wrote : 
  | 
  |  JAVA_OPTS: -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787, 
server=y, suspend=n -Dprogram.name=run.bat -server -Xms128m -Xmx512m 
-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 
-Djmx.invoke.getters=true 

Observer closely, there's a space after the comma following 8787 (before the 
server parameter).
To reproduce this issue on my local setup (which was working fine for debugging 
so far), i added a space between the comma separated parameters, and i too 
started seeing the same exception on startup

anonymous wrote : 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 initializ
  | ed, jvmtiError=JVMTI_ERROR_INTERNAL(113)
  | Press any key to continue . . .
  | 

Once i removed the space between the comma separated parameters, and restarted 
the server, everything started smoothly.

There should not be any space between before or after (any of) those comma 
separated parameters.

So, if you go back to the original order that was present in the run.bat file 
and remove those spaces, i bet you too will get it working. This is how the 
JDPA options line should look like in your run.bat file:

set JAVA_OPTS=-Xdebug 
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y %JAVA_OPTS%


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102629#4102629

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102629
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to