Hi I´m working with JBoss 321 and eclipse 3.0 in windows 2000, I am trying to debug an application starting Jboss in debug mode from eclipse and I always get the next error:
FATAL ERROR in native method: No transports initialized
Invalid listen port number: Localhost:3300
Transport dt_socket failed to initialize, rc = -1.
Cannot connect to VM
java.net.SocketException: socket closed
java.net.PlainSocketImpl.socketAccept(Native Method)
java.net.PlainSocketImpl.accept(Unknown Source)
java.net.ServerSocket.implAccept(Unknown Source)
java.net.ServerSocket.accept(Unknown Source)
org.eclipse.jdi.internal.connect.SocketTransportImpl.accept(SocketTransportImpl.java:87)
org.eclipse.jdi.internal.connect.SocketListeningConnectorImpl.accept(SocketListeningConnectorImpl.java:124)
org.eclipse.jdt.internal.launching.StandardVMDebugger$ConnectRunnable.run(StandardVMDebugger.java:78)
java.lang.Thread.run(Unknown Source)
Everytime I run the server in debug mode the portnumber always change
FATAL ERROR in native method: No transports initialized
Invalid listen port number: Localhost:3302
Transport dt_socket failed to initialize, rc = -1.
Cannot connect to VM
java.net.SocketException: socket closed
java.net.PlainSocketImpl.socketAccept(Native Method)
java.net.PlainSocketImpl.accept(Unknown Source)
java.net.ServerSocket.implAccept(Unknown Source)
java.net.ServerSocket.accept(Unknown Source)
org.eclipse.jdi.internal.connect.SocketTransportImpl.accept(SocketTransportImpl.java:87)
org.eclipse.jdi.internal.connect.SocketListeningConnectorImpl.accept(SocketListeningConnectorImpl.java:124)
org.eclipse.jdt.internal.launching.StandardVMDebugger$ConnectRunnable.run(StandardVMDebugger.java:78)
java.lang.Thread.run(Unknown Source)
This is the configuration I used in the (x)=start tag:
-Xdebug -Xrunjdwp:transport=dt_socket,address=Localhost:8787,
server=y,suspend=y
When I run Jboss from run.bat uncommented the JPDA options, it works find, I attach the remote application, but it don´t stops in the breakpoints.
What I am doing wrong?
Thanks
Mayra
Hi,
I'm also getting the same kind of error when I try to run JBoss in Debug mode.
Please let me know if you found the solution for this problem.
Thanks in Advance,
Venkata.