0 Replies Latest reply on Aug 26, 2002 12:03 PM by Raúl Mateos

    Error with jboss 3.0.1changing Deployment Scanning in jboss-

    Raúl Mateos Newbie

      Hello!

      We use jboss 3.0.1 embedding with tomcat 4.0.4 on Win2K and also Solaris 7. We worked with jboss 3.0.0 and tomcat 4.0.4 and we changed in jboss-service.xml (in the "all" server) the Deployment Scanning section from the mbean org.jboss.deployment.scanner.URLDeploymentScanner to
      org.jboss.deployment.scanner.URLDirectoryScanner.

      On jboss3.0.0 worked perfectly, but jboss3.0.1 don´t and several errors appears (maybe the order of the services?, how can we change it?):

      14:37:11,097 INFO [URLDirectoryScanner] Starting
      14:37:11,113 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss_3.0.1/server/avant/deploy/jboss-net.sar
      14:37:11,129 INFO [MainDeployer] Package: file:/D:/jboss_3.0.1/server/avant/lib/javax.servlet.jar is already deployed
      14:37:11,129 INFO [MainDeployer] Package: file:/D:/jboss_3.0.1/server/avant/lib/axis.jar is already deployed
      14:37:11,176 INFO [AxisService] Seting RootContext to axis.
      14:37:11,176 INFO [AxisService] Setting Security Domain to java:/jaas/other.
      14:37:11,207 INFO [MainDeployer] Deployed package: file:/D:/jboss_3.0.1/server/avant/deploy/jboss-net.sar
      14:37:11,207 ERROR [URLDirectoryScanner] Failed to (re)deploy url: file:/D:/jboss_3.0.1/server/avant/deploy/jboss-net.sar
      Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.net:service=Axis
      state: CONFIGURED
      I Depend On: jboss.web:service=EmbeddedCatalinaSX

      Depends On Me: jboss.net:service=Adaptor
      , ObjectName: jboss.net:service=Adaptor
      state: CONFIGURED
      I Depend On: jboss.net:service=Axis

      Depends On Me: ]
      at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1095)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:583)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDirectoryScanner$Scanner.deploy(URLDirectoryScanner.java:462)
      at org.jboss.deployment.scanner.URLDirectoryScanner$Scanner.scan(URLDirectoryScanner.java:398)
      at org.jboss.deployment.scanner.URLDirectoryScanner$DirScanner.scan(URLDirectoryScanner.java:605)
      at org.jboss.deployment.scanner.URLDirectoryScanner.scan(URLDirectoryScanner.java:733)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:238)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:396)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:796)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:479)
      14:37:11,222 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss_3.0.1/server/avant/deploy/jmx-ejb-connector-
      server.sar
      14:37:11,238 INFO [MainDeployer] Deployed package: file:/D:/jboss_3.0.1/server/avant/deploy/jmx-ejb-connector-server.sar
      14:37:11,254 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss_3.0.1/server/avant/deploy/jmx-rmi-adaptor.sa
      r
      14:37:11,269 INFO [RMIAdaptorService] Creating
      14:37:11,269 INFO [RMIAdaptorService] Created
      14:37:11,269 INFO [RMIAdaptorService] Starting
      14:37:11,316 INFO [RMIAdaptorService] Started
      14:37:11,316 INFO [MainDeployer] Deployed package: file:/D:/jboss_3.0.1/server/avant/deploy/jmx-rmi-adaptor.sar
      14:37:11,316 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss_3.0.1/server/avant/deploy/hsqldb-service.xml

      14:37:11,410 WARN [ServiceController] jboss.jca:service=LocalTxDS,name=hsqldbDS does not implement any Service methods
      14:37:11,410 INFO [JBossManagedConnectionPool] Creating
      14:37:11,410 INFO [JBossManagedConnectionPool] Created
      14:37:11,410 INFO [HypersonicDatabase] Creating
      14:37:11,410 INFO [HypersonicDatabase] Created
      14:37:11,410 WARN [ServiceController] jboss.jca:service=LocalTxDS,name=hsqldbDS does not implement any Service methods
      14:37:11,410 INFO [JBossManagedConnectionPool] Starting
      14:37:11,425 INFO [JBossManagedConnectionPool] Started
      14:37:11,425 INFO [HypersonicDatabase] Starting
      14:37:11,425 INFO [HypersonicDatabase] Started
      14:37:11,457 INFO [MainDeployer] Deployed package: file:/D:/jboss_3.0.1/server/avant/deploy/hsqldb-service.xml
      14:37:11,457 ERROR [URLDirectoryScanner] Failed to (re)deploy url: file:/D:/jboss_3.0.1/server/avant/deploy/hsqldb-service.xm
      l
      Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.net:service=Axis
      state: CONFIGURED
      I Depend On: jboss.web:service=EmbeddedCatalinaSX

      Depends On Me: jboss.net:service=Adaptor
      , ObjectName: jboss.net:service=Adaptor
      state: CONFIGURED
      I Depend On: jboss.net:service=Axis

      Depends On Me: , ObjectName: jboss.jca:service=LocalTxCM,name=hsqldbDS
      state: CONFIGURED
      I Depend On: jboss.jca:service=LocalTxDS,name=hsqldbDS
      jboss.jca:service=LocalTxPool,name=hsqldbDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:service=JaasSecurityManager
      jboss.jca:service=RARDeployer

      Depends On Me: , ObjectName: jboss.jca:service=LocalTxDS,name=hsqldbDS
      state: CONFIGURED
      I Depend On: jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
      jboss:service=Hypersonic

      Depends On Me: jboss.jca:service=LocalTxCM,name=hsqldbDS
      ]
      at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1095)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:583)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDirectoryScanner$Scanner.deploy(URLDirectoryScanner.java:462)
      at org.jboss.deployment.scanner.URLDirectoryScanner$Scanner.scan(URLDirectoryScanner.java:398)
      at org.jboss.deployment.scanner.URLDirectoryScanner$DirScanner.scan(URLDirectoryScanner.java:605)
      at org.jboss.deployment.scanner.URLDirectoryScanner.scan(URLDirectoryScanner.java:733)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:238)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:396)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:796)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:479)
      14:37:11,457 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss_3.0.1/server/avant/deploy/jbossmq-destinatio
      ns-service.xml
      14:37:11,582 INFO [MainDeployer] Deployed package: file:/D:/jboss_3.0.1/server/avant/deploy/jbossmq-destinations-service.xml

      14:37:11,582 ERROR [URLDirectoryScanner] Failed to (re)deploy url: file:/D:/jboss_3.0.1/server/avant/deploy/jbossmq-destinati
      ons-service.xml
      Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.net:service=Axis
      state: CONFIGURED
      I Depend On: jboss.web:service=EmbeddedCatalinaSX

      Depends On Me: jboss.net:service=Adaptor
      , ObjectName: jboss.net:service=Adaptor
      state: CONFIGURED
      I Depend On: jboss.net:service=Axis

      Depends On Me: , ObjectName: jboss.jca:service=LocalTxCM,name=hsqldbDS
      state: CONFIGURED
      I Depend On: jboss.jca:service=LocalTxDS,name=hsqldbDS
      jboss.jca:service=LocalTxPool,name=hsqldbDS
      jboss.jca:service=CachedConnectionManager
      jboss.security:service=JaasSecurityManager
      jboss.jca:service=RARDeployer

      Depends On Me: , ObjectName: jboss.jca:service=LocalTxDS,name=hsqldbDS
      state: CONFIGURED
      I Depend On: jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper
      jboss:service=Hypersonic

      Depends On Me: jboss.jca:service=LocalTxCM,name=hsqldbDS
      , ObjectName: jboss.mq.destination:service=Topic,name=testTopic
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      Depends On Me: , ObjectName: jboss.mq.destination:service=Topic,name=securedTopic
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      Depends On Me: , ObjectName: jboss.mq.destination:service=Topic,name=testDurableTopic
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=testQueue
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager
      jboss.mq:service=SecurityManager

      Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=A
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager

      Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=B
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager

      Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=C
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager

      Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=D
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager

      Depends On Me: , ObjectName: jboss.mq.destination:service=Queue,name=ex
      state: CONFIGURED
      I Depend On: jboss.mq:service=DestinationManager

      Depends On Me: ]
      at org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1095)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:583)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDirectoryScanner$Scanner.deploy(URLDirectoryScanner.java:462)
      at org.jboss.deployment.scanner.URLDirectoryScanner$Scanner.scan(URLDirectoryScanner.java:398)
      at org.jboss.deployment.scanner.URLDirectoryScanner$DirScanner.scan(URLDirectoryScanner.java:605)
      at org.jboss.deployment.scanner.URLDirectoryScanner.scan(URLDirectoryScanner.java:733)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:238)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:396)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:796)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:479)
      14:37:11,597 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss_3.0.1/server/avant/deploy/jbossmq-service.xml



      Any idea??

      Thanks in advance