2 Replies Latest reply on Aug 20, 2012 4:03 AM by xiang yingbing

    jboss-as-7.2.0.Alpha1: JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized

    xiang yingbing Master

      Dear all,

       

       

      1.  I can start jboss-as-7.1.1.Final on my PC successfully,

      D:\java\jboss-as-7.1.1.Final\bin>set JBOSS_HOME=D:\\java\\jboss-as-7.1.1.Final
      
      D:\java\jboss-as-7.1.1.Final\bin>standalone.bat -b=135.251.27.26
      Calling "D:\java\jboss-as-7.1.1.Final\bin\standalone.conf.bat"
      ===============================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: D:\\java\\jboss-as-7.1.1.Final
      
        JAVA: D:\java\jdk1.7.0_05\bin\java
      
        JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.cl
      ient.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.war
      ning=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml
      
      ===============================================================================
      
      14:52:31,562 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
      14:52:33,453 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
      14:52:33,640 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting
      14:52:42,531 INFO  [org.xnio] XNIO Version 3.0.3.GA
      14:52:42,546 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-h
      ttp)
      14:52:42,593 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.3.GA
      14:52:42,609 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.3.GA
      14:52:42,796 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers
      14:52:42,812 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 26) JBAS016200: Activating ConfigAdmin Subsy
      stem
      14:52:42,828 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 31) JBAS010280: Activating Infinis
      pan subsystem.
      14:52:42,859 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 39) JBAS011940: Activating OSGi Subsystem
      14:52:43,125 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 38) JBAS011800: Activating Naming Subsystem
      14:52:43,187 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Exten
      sion
      14:52:43,328 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 44) JBAS013101: Activating Security Subsystem
      14:52:43,593 INFO  [org.jboss.as.naming] (MSC service thread 1-4) JBAS011802: Starting Naming Service
      14:52:43,609 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) JBAS015400: Bound mail session [java:jboss/mai
      l/Default]
      14:52:43,734 INFO  [org.jboss.as.connector] (MSC service thread 1-3) JBAS010408: Starting JCA Subsystem (JBoss IronJacam
      ar 1.0.9.Final)
      14:52:43,968 INFO  [org.jboss.as.security] (MSC service thread 1-2) JBAS013100: Current PicketBox version=4.0.7.Final
      14:52:46,062 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deployi
      ng JDBC-compliant driver class org.h2.Driver (version 1.3)
      14:52:46,156 INFO  [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--
      135.251.27.26-8080
      14:52:48,531 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-4) JBAS010400: Bound data sourc
      e [java:jboss/datasources/ExampleDS]
      14:52:49,203 INFO  [org.jboss.ws.common.management.AbstractServerConfig] (MSC service thread 1-8) JBoss Web Services - S
      tack CXF Server 4.0.2.GA
      14:52:50,062 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-3) JBAS015012: Started FileSystemDeplo
      ymentService for directory D:\java\jboss-as-7.1.1.Final\standalone\deployments
      14:52:50,156 INFO  [org.jboss.as.remoting] (MSC service thread 1-7) JBAS017100: Listening on /127.0.0.1:9999
      14:52:50,156 INFO  [org.jboss.as.remoting] (MSC service thread 1-1) JBAS017100: Listening on /135.251.27.26:4447
      14:52:50,687 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:9990
      14:52:50,687 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: JBoss AS 7.1.1.Final "Brontes" started in 20219ms
       - Started 133 of 208 services (74 services are passive or on-demand)
      

       

       

       

       

       

      2.  But I can NOT start jboss-as-7.2.0.Alpha1

       

      (a) I download jbossas-jboss-as-7.1.2.Final-531-gc2df112.zip, build it and got jboss-as-7.2.0.Alpha1-snapshot.

       

      (b) Then JBOSS_HOME is set to D:\java\jboss-as-7.2.0.Alpha1.

       

      (c)The exception is:

      D:\java\jboss-as-7.2.0.Alpha1\bin>standalone.bat -b=135.251.27.26
      Calling "D:\java\jboss-as-7.2.0.Alpha1\bin\standalone.conf.bat"
      ===============================================================================
      
        JBoss Bootstrap Environment
      
        JBOSS_HOME: D:\java\jboss-as-7.2.0.Alpha1
      
        JAVA: D:\java\jdk1.7.0_05\bin\java
      
        JAVA_OPTS: -client -Dprogram.name=-b -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Ds
      un.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djboss.modules.s
      ystem.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml -Xrunjdwp:transport=dt_socket,address=135.251.
      27.26,server=y,suspend=n
      
      ===============================================================================
      
      ERROR: transport error 202: bind failed: Address already in use
      ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
      JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [../../../src/share/back/debugInit.c:741]
      FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)
      Press any key to continue . . .
      D:\java\jboss-as-7.2.0.Alpha1\bin>
      

       

       

      I searched the exeption through google, It is said there is something wrong with parsering hostname.

       

      I can NOT accept this reason because jboss.7.1.1.Final can be started successfully on the same PC!

        • 1. Re: jboss-as-7.2.0.Alpha1: JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
          xiang yingbing Master

          Now, I removed the argument "-b=..." and restarted it:

           

          D:\java\jboss-as-7.2.0.Alpha1\bin>standalone.bat

          Calling "D:\java\jboss-as-7.2.0.Alpha1\bin\standalone.conf.bat"

          ===============================================================================

           

            JBoss Bootstrap Environment

           

            JBOSS_HOME: D:\java\jboss-as-7.2.0.Alpha1

           

            JAVA: D:\java\jdk1.7.0_05\bin\java

           

            JAVA_OPTS: -client -Dprogram.name=standalone.bat -Xms64M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval

          =3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Djbo

          ss.modules.system.pkgs=org.jboss.byteman -Djboss.server.default.config=standalone.xml

           

          ===============================================================================

           

          14:47:48,953 INFO  [org.jboss.modules] JBoss Modules version 1.1.3.GA

          14:47:49,750 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA

          14:47:49,890 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.2.0.Alpha1-SNAPSHOT "Steropes" starting

          14:47:53,343 INFO  [org.xnio] XNIO Version 3.0.5.GA

          14:47:53,359 INFO  [org.xnio.nio] XNIO NIO Implementation Version 3.0.5.GA

          14:47:53,375 INFO  [org.jboss.as.server] JBAS015888: Creating http management service using socket-binding (management-h

          ttp)

          14:47:53,390 INFO  [org.jboss.remoting] JBoss Remoting version 3.2.8.GA

          14:47:53,437 INFO  [org.jboss.as.logging] JBAS011502: Removing bootstrap log handlers

          14:47:53,437 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 32) JBAS010280: Activating Infinis

          pan subsystem.

          14:47:53,531 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 41) JBAS011906: Activating OSGi Subsystem

          14:47:53,437 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 27) JBAS016200: Activating ConfigAdmin Subsy

           

           

          It seems that jboss-as-7.2.0.Alpha1 can NOT be bound to a certain IP!

           

           

          Any suggestion???

          • 2. Re: jboss-as-7.2.0.Alpha1: JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized
            xiang yingbing Master

            Now, I start it within Eclipse with IP binding (135.251.27.26 is my PC's IP):

            within.eclipse.JPG

             

            It can be started successfully!

            Why?