I am having trouble starting JBoss with the -Xrunjdwp option. Here is my command line:
java -classic -classpath "%JBOSS_CLASSPATH%" -Xdebug -Xnoagent %JAXP% -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,launch="c:\Together\bin\win32\display.bat
c:\Together",suspend=n org.jboss.Main tomcat
I get the error:
JBOSS_CLASSPATH=;run.jar;../lib/crimson.jar
Transport dt_socket failed to initialize, rc = 510.
FATAL ERROR in native method: No transports initialized
abnormal program termination
I found some mention of this error on the sun web site which suggested putting dt_socket.dll in the winnt/system32 directory, but this doesn't work.
I'm running jdk1.3.1_01 and C:\jdk1.3.1_01\bin is at the beginning of my path.