0 Replies Latest reply on Jul 14, 2003 12:42 PM by vivek.chaudhri

    Unable to startup JBOSS with remote debugging enabled

    vivek.chaudhri

      Hello:

      If I turn on remote debugging with JBOSS3.2.1, I am unable to get it to start up. I get the following stack trace:

      ===============================================================================
      .
      JBoss Bootstrap Environment
      .
      JBOSS_HOME: C:\jboss-3.0.0\bin\\..
      .
      JAVA: C:\jdk1.3\bin\java
      .
      JAVA_OPTS: -classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport
      =dt_socket,address=8787,server=y,suspend=n -Dprogram.name=run321Together.bat
      .
      CLASSPATH: ;C:\jdk1.3\lib\tools.jar;C:\jboss-3.0.0\bin\\run.jar
      .
      ===============================================================================
      .
      11:28:06,854 INFO [Server] Starting JBoss (MX MicroKernel)...
      11:28:06,854 INFO [Server] Release ID: JBoss [WonderLand] 3.2.1 (build: CVSTag=
      JBoss_3_2_1 date=200305041533)
      11:28:06,864 INFO [Server] Home Dir: C:\jboss-3.0.0
      11:28:06,864 INFO [Server] Home URL: file:/C:/jboss-3.0.0/
      11:28:06,864 INFO [Server] Library URL: file:/C:/jboss-3.0.0/lib/
      11:28:06,864 INFO [Server] Patch URL: null
      11:28:06,864 INFO [Server] Server Name: default
      11:28:06,864 INFO [Server] Server Home Dir: C:\jboss-3.0.0\server\default
      11:28:06,864 INFO [Server] Server Home URL: file:/C:/jboss-3.0.0/server/default
      /
      11:28:06,864 INFO [Server] Server Data Dir: C:\jboss-3.0.0\server\default\data
      11:28:06,864 INFO [Server] Server Temp Dir: C:\jboss-3.0.0\server\default\tmp
      11:28:06,864 INFO [Server] Server Config URL: file:/C:/jboss-3.0.0/server/defau
      lt/conf/
      11:28:06,864 INFO [Server] Server Library URL: file:/C:/jboss-3.0.0/server/defa
      ult/lib/
      11:28:06,864 INFO [Server] Root Deployemnt Filename: jboss-service.xml
      11:28:06,874 INFO [Server] Starting General Purpose Architecture (GPA)...
      11:28:07,125 INFO [ServerInfo] Java version: 1.3.1_04,Sun Microsystems Inc.
      11:28:07,125 INFO [ServerInfo] Java VM: Classic VM 1.3.1_04-b02,Sun Microsystem
      s Inc.
      11:28:07,125 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86
      11:28:07,185 INFO [ServiceController] Controller MBean online
      11:28:07,255 INFO [MainDeployer] Creating
      11:28:07,285 INFO [MainDeployer] Created
      11:28:07,285 INFO [MainDeployer] Starting
      11:28:07,285 INFO [MainDeployer] Started
      11:28:07,375 INFO [JARDeployer] Creating
      11:28:07,415 INFO [JARDeployer] Created
      11:28:07,415 INFO [JARDeployer] Starting
      11:28:07,415 INFO [MainDeployer] Adding deployer: org.jboss.deployment.JARDeplo
      yer@fed80a07
      11:28:07,415 INFO [JARDeployer] Started
      11:28:07,435 INFO [SARDeployer] Creating
      11:28:07,475 INFO [SARDeployer] Created
      11:28:07,475 INFO [SARDeployer] Starting
      11:28:07,475 INFO [MainDeployer] Adding deployer: org.jboss.deployment.SARDeplo
      yer@fed553f7
      11:28:07,545 INFO [SARDeployer] Started
      11:28:07,545 INFO [Server] Core system initialized
      11:28:07,575 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss
      -3.0.0/server/default/conf/jboss-service.xml
      11:28:07,595 ERROR [Server] Failed to start
      java.lang.AbstractMethodError: org/jboss/deployment/SubDeployerSupport.accepts
      at org.jboss.deployment.MainDeployer.findDeployer(MainDeployer.java:881)

      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:680)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:388)
      at java.lang.Thread.run(Thread.java:479)
      java.lang.AbstractMethodError: org/jboss/deployment/SubDeployerSupport.accepts
      at org.jboss.deployment.MainDeployer.findDeployer(MainDeployer.java:881)

      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:680)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:637)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:388)
      at java.lang.Thread.run(Thread.java:479)
      11:28:07,615 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
      11:28:07,615 INFO [MainDeployer] Undeploying file:/C:/jboss-3.0.0/server/defaul
      t/conf/jboss-service.xml
      11:28:07,625 ERROR [MainDeployer] Undeployment cleanup failed: file:/C:/jboss-3.
      0.0/server/default/conf/jboss-service.xml
      java.lang.NullPointerException
      at org.jboss.deployment.DeploymentInfo.cleanup(DeploymentInfo.java:328)
      at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:565)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:481)
      at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:368)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(S
      erverImpl.java:808)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.j
      ava:783)
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:7
      71)
      11:28:07,625 INFO [MainDeployer] Undeployed 1 deployed packages
      11:28:07,625 INFO [Server] Shutting down all services
      Shutting down
      11:28:07,625 INFO [ServiceController] Stopping 3 services
      11:28:07,635 INFO [SARDeployer] Stopping
      11:28:07,635 INFO [MainDeployer] Removing deployer: org.jboss.deployment.SARDep
      loyer@fed553f7
      11:28:07,635 INFO [SARDeployer] Stopped
      11:28:07,635 INFO [JARDeployer] Stopping
      11:28:07,635 INFO [JARDeployer] Stopped
      11:28:07,635 INFO [MainDeployer] Stopping
      11:28:07,635 INFO [MainDeployer] Stopped
      11:28:07,635 INFO [ServiceController] Stopped 3 services
      11:28:07,645 INFO [Server] Shutdown complete
      Shutdown complete
      Halting VM
      Press any key to continue . . .

      To run it in debug mode I uncommented the line in the run.bat file to do so.

      I did not have any problems doing the same with JBOSS3.0.0.

      Please let me know what is going wrong.

      Thanks
      Vivek