|
|
|
Re: Remote debugging , connetion refused !! [message #686366 is a reply to message #686365] |
Wed, 22 June 2011 05:44 |
|
Hi
We are working with JBoss 5.1.GA and use the following java options to
start it in order to attach a remote debugger:
-Xrunjdwp:transaport=dt_socket,address=8787,server=y,suspend=n
Notes:
- no space anywhere around = or so.
- we don't use the two options -Xdebug -Xnoagent
Another question: what happens when you try to connect with a telnet
client to the debug port?
Michael
|
|
|
|
Re: Remote debugging , connetion refused !! [message #686424 is a reply to message #686393] |
Wed, 22 June 2011 08:15 |
gallark Messages: 5 Registered: June 2011 |
Junior Member |
|
|
Hey Michael, and switch to version 5.1 GA,
I connect on windows option eclipse / preferences / server / addjbossComunity Runtime Environment - 5.0,
but even this fails with the debug remote
I just noticed that failure to the debug out two messages on the console, they say:
03:01:39,171 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
03:01:39,171 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container
and simultaneously shows the error message
Failed to connect to remote VM. Connection refused.
Connection refused: connect
another thing is that when I try to Initiate the jboss jboss from files,run.bat, does not lift the server and therefore I can not get into theweb console, this means something?
|
|
|
Re: Remote debugging , connetion refused !! [message #686451 is a reply to message #686393] |
Wed, 22 June 2011 08:58 |
|
Hi
In Windows you can open a cmd prompt and then
telnet localhost port
If this connection can be established, JBoss is OK and if the telnet
client complains "Could not open connection..." it's the JBoss
configuration.
This is just to find out whether JBoss or Eclipse causes the troubles.
Michael
|
|
|
|
|
Re: Remote debugging , connetion refused !! [message #759109 is a reply to message #758901] |
Sat, 26 November 2011 13:38 |
|
"Connecting To 8787...Could not open connection to the host, on port 23: Connect failed"
This means some network problem, either port 23 is blocked which is highly unlikely or some firewall issue. What does network admin says.
Apart form that some other reason:
1) trying to connect to wrong host or port.
2) Application is not running when you try to connect, application must be running with debug setting before connect to eclipse.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.09969 seconds