I've modified my run.sh file and added JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=1044,server=y,suspend=n"
but when I start JBoss I get FATAL ERROR in native method: No transports initialized
.
Looking around the internet it seems like it may having something to do with missing jars or my version of Java? I'm on J2SDK JRE 1.4.2.
Thoughts anyone?
This error can mean many things but for me, this error meant there was already a process listening on port 1044. All I had to do was change my port address to 1045 and problem was solved.
JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=1045,server=y,suspend=n"