1 Reply Latest reply on Jan 9, 2007 8:38 AM by syslock

    Remote debug settings

    syslock

      I've been trying to setup JBoss AS in debug mode but with no luck.
      Could someone help?

      Here are my settings using JBoss 4.05:
      JAVA_OPTS: -Dprogram.name=run.sh -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=80
      81, server=y, suspend=n

      Here's the error log:

      ERROR: transport error 202: connect failed: Connection refused
      ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INI (510)
      JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:690]
      FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)

        • 1. Re: Remote debug settings
          syslock

          I've chang the jdk to version 1.5.0_10 and got still error but the messages changed:
          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 initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113)