3 Replies Latest reply on Jun 17, 2004 7:39 PM by gorano

    depolying jars error

    turniptuesday Newbie

      I am simply trying to deploy a simple jar file. I know the file is correct as it works on other computers. However when I deploy it on this one I get the following error:

      13:01:23,296 WARN [ServiceController] Problem starting service jboss.j2ee:jndiN
      ame=CabinHomeRemote,service=EJB
      java.lang.NoSuchMethodError: org.apache.bcel.generic.InstructionFactory.createNe
      wArray(Lorg/apache/bcel/generic/Type;S)Lorg/apache/bcel/generic/Instruction;
      at org.jboss.proxy.compiler.ProxyImplementationFactory.createProxyMethod
      (ProxyImplementationFactory.java:319)
      at org.jboss.proxy.compiler.ProxyCompiler.getCode(ProxyCompiler.java:167
      )
      at org.jboss.proxy.compiler.Runtime.makeProxyType(Runtime.java:66)
      at org.jboss.proxy.compiler.ProxyCompiler.(ProxyCompiler.java:76)
      at org.jboss.proxy.compiler.Proxies$Impl.newTarget(Proxies.java:603)
      at org.jboss.proxy.compiler.Proxies.newTarget(Proxies.java:78)
      at org.jboss.proxy.compiler.Proxy.newProxyInstance(Proxy.java:49)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateBeanClassInstanceCommand.<in
      it>(JDBCCreateBeanClassInstanceCommand.java:62)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateBeanCla
      ssInstanceCommand(JDBCCommandFactory.java:123)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDB
      CStoreManager.java:463)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManage
      r.java:388)
      at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManag
      er.java:152)
      at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:342)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      92)
      at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:976)
      at $Proxy14.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:394)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy29.start(Unknown Source)
      at org.jboss.ejb.EjbModule.startService(EjbModule.java:331)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      92)
      at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:976)
      at $Proxy14.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:394)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy12.start(Unknown Source)
      at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:544)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:302)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:476)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
      bstractDeploymentScanner.java:274)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      92)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl
      ler.java:976)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:394)
      at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
      java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
      sorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea
      nDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:395)
      at java.lang.Thread.run(Thread.java:536)
      13:01:23,328 INFO [EjbModule] Started jboss.j2ee:module=titan.jar,service=EjbMo
      dule
      13:01:23,328 INFO [EJBDeployer] Deployed: file:/C:/jboss-3.2.3/server/default/d
      eploy/titan.jar
      13:01:23,390 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/
      default/deploy/titan.jar
      13:01:23,390 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss
      -3.2.3/server/default/deploy/jmx-console.war/
      13:01:23,812 INFO [EmbeddedTomcatService] deploy, ctxPath=/jmx-console, warUrl=
      file:/C:/jboss-3.2.3/server/default/deploy/jmx-console.war/
      13:01:24,390 INFO [Engine] SingleSignOnContextConfig[/jmx-console]: Added certi
      ficates -> request attribute Valve
      13:01:24,421 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class
      loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@1e80f3a
      13:01:24,421 INFO [Engine] StandardManager[/jmx-console]: Seeding random number
      generator class java.security.SecureRandom
      13:01:24,421 INFO [Engine] StandardManager[/jmx-console]: Seeding of random num
      ber generator has been completed
      13:01:24,421 INFO [Engine] StandardWrapper[/jmx-console:default]: Loading conta
      iner servlet default
      13:01:24,437 INFO [Engine] StandardWrapper[/jmx-console:invoker]: Loading conta
      iner servlet invoker
      13:01:24,687 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/
      default/deploy/jmx-console.war/
      13:01:24,687 INFO [MainDeployer] Starting deployment of package: file:/C:/jboss
      -3.2.3/server/default/deploy/management/web-console.war
      13:01:25,171 INFO [EmbeddedTomcatService] deploy, ctxPath=/web-console, warUrl=
      file:/C:/jboss-3.2.3/server/default/tmp/deploy/tmp50802web-console.war/
      13:01:25,234 INFO [Engine] SingleSignOnContextConfig[/web-console]: Added certi
      ficates -> request attribute Valve
      13:01:25,250 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class
      loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@41b635
      13:01:25,250 INFO [Engine] StandardManager[/web-console]: Seeding random number
      generator class java.security.SecureRandom
      13:01:25,265 INFO [Engine] StandardManager[/web-console]: Seeding of random num
      ber generator has been completed
      13:01:25,578 INFO [Engine] StandardWrapper[/web-console:default]: Loading conta
      iner servlet default
      13:01:25,625 INFO [Engine] StandardWrapper[/web-console:invoker]: Loading conta
      iner servlet invoker
      13:01:25,921 INFO [MainDeployer] Deployed package: file:/C:/jboss-3.2.3/server/
      default/deploy/management/web-console.war
      13:01:25,921 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean ope
      ration 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:

      MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.j2ee:jndiName=CabinHomeRemote,service=EJB
      state: FAILED
      I Depend On:
      Depends On Me: java.lang.NoSuchMethodError: org.apache.bcel.generic.Instruction
      Factory.createNewArray(Lorg/apache/bcel/generic/Type;S)Lorg/apache/bcel/generic/
      Instruction;]



      Can anyone help?