7 Replies Latest reply on Jan 23, 2004 4:31 AM by andreas_austing

    Error deploying nukes (User EJB)

    andreas_austing Newbie

       

      "andreas_austing" wrote:
      Hi there,

      I can not deploy nukes cause there is an error deploying the User EJB.
      This error occures with all dists. MySQL is set up correctly (install.txt)

      Thanks
      Andreas

      Output

      11:27:18,744 INFO [MainDeployer] Deployed package: file:/home/bonus/java/jboss/jboss-3.2.3/server/default/deploy/management/web-console.war
      11:27:18,745 INFO [MainDeployer] Starting deployment of package: file:/home/bonus/java/jboss/jboss-3.2.3/server/default/deploy/nukes.ear
      11:27:18,821 INFO [EARDeployer] Init J2EE application: file:/home/bonus/java/jboss/jboss-3.2.3/server/default/deploy/nukes.ear
      11:27:23,779 WARN [ModelMBeanAttributeInfo] WARNING: supplied isIS=true, set to false
      11:27:23,990 WARN [ModelMBeanAttributeInfo] WARNING: supplied isIS=true, set to false
      11:27:24,336 INFO [MailModule] Creating
      11:27:24,337 INFO [MailModule] Created
      11:27:25,066 INFO [EjbModule] Deploying GroupEJB
      11:27:25,293 INFO [EjbModule] Deploying FileEJB
      11:27:25,332 INFO [EjbModule] Deploying UserEJB
      11:27:25,425 INFO [CoreModule] Creating
      11:27:25,453 INFO [CoreModule] Created
      11:27:25,454 INFO [IndexModule] Creating
      11:27:25,479 INFO [IndexModule] Created
      11:27:25,480 INFO [MenuBlock] Creating
      11:27:25,481 INFO [MenuBlock] Created
      11:27:25,506 INFO [WhosOnlineBlock] Creating
      11:27:25,507 INFO [WhosOnlineBlock] Created
      11:27:25,507 INFO [InvadersTheme] Creating
      11:27:25,531 INFO [InvadersTheme] Created
      11:27:25,532 INFO [SeaBreezeTheme] Creating
      11:27:25,533 INFO [SeaBreezeTheme] Created
      11:27:25,556 INFO [UserModule] Creating
      11:27:25,556 INFO [UserModule] Created
      11:27:25,557 INFO [LoginBlock] Creating
      11:27:25,579 INFO [LoginBlock] Created
      11:27:25,579 INFO [YourAccountModule] Creating
      11:27:25,580 INFO [YourAccountModule] Created
      11:27:25,602 INFO [HtmlModule] Creating
      11:27:25,602 INFO [HtmlModule] Created
      11:27:25,603 INFO [ThemeTemplate] Creating
      11:27:25,625 INFO [ThemeTemplate] Created
      11:27:25,625 INFO [ThemeTemplate] Creating
      11:27:25,626 INFO [ThemeTemplate] Created
      11:27:25,648 INFO [LostPasswordModule] Creating
      11:27:25,648 INFO [LostPasswordModule] Created
      11:27:25,649 INFO [GroupModule] Creating
      11:27:25,672 INFO [GroupModule] Created
      11:27:25,672 INFO [JDBCDeploymentScanner$TestModule] Creating
      11:27:25,697 INFO [JDBCDeploymentScanner$TestModule] Created
      11:27:25,697 INFO [BlockModule] Creating
      11:27:25,721 INFO [BlockModule] Created
      11:27:25,722 INFO [JspModule] Creating
      11:27:25,722 INFO [JspModule] Created
      11:27:25,747 INFO [MailModule] Starting
      11:27:25,806 INFO [AbstractDeploymentScanner$ScannerThread] Running
      11:27:25,883 INFO [MailModule] Started
      11:27:25,908 INFO [JDBCDeploymentScanner] Started nukes:service=JDBCDeploymentScanner
      11:27:26,894 INFO [EntityInstancePool] Started jboss.j2ee:jndiName=nukes/Group,plugin=pool,service=EJB
      11:27:26,895 INFO [EntityContainer] Started jboss.j2ee:jndiName=nukes/Group,service=EJB
      11:27:26,977 INFO [EntityInstancePool] Started jboss.j2ee:jndiName=nukes/File,plugin=pool,service=EJB
      11:27:26,977 INFO [EntityContainer] Started jboss.j2ee:jndiName=nukes/File,service=EJB
      11:27:27,606 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=nukes/User,service=EJB
      java.lang.NoSuchMethodError: org.apache.bcel.generic.InstructionFactory.createNewArray(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.<init>(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.<init>(JDBCCreateBeanClassInstanceCommand.java:62)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createCreateBeanClassInstanceCommand(JDBCCommandFactory.java:123)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:463)
       at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:388)
       at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:152)
       at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:342) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
       at $Proxy14.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy34.start(Unknown Source)
       at org.jboss.ejb.EjbModule.startService(EjbModule.java:331)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
       at $Proxy14.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.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.start(MainDeployer.java:824)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
       at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.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(URLDeploymentScanner.java:302)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
       at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:394) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.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(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.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:534)
      11:27:27,678 INFO [EjbModule] Started jboss.j2ee:module=nukes-ejb.jar,service=EjbModule
      11:27:27,679 INFO [EJBDeployer] Deployed: file:/home/bonus/java/jboss/jboss-3.2.3/server/default/tmp/deploy/tmp53024nukes.ear-contents/nukes-ejb.jar
      11:27:28,014 INFO [EmbeddedTomcatService] deploy, ctxPath=, warUrl=file:/home/bonus/java/jboss/jboss-3.2.3/server/default/tmp/deploy/tmp53024nukes.ear-contents/nukes.war/
      11:27:28,619 INFO [Engine] SingleSignOnContextConfig[]: Added certificates -> request attribute Valve
      11:27:28,684 WARN [EmbeddedTomcatService] Unable to invoke setDelegate on class loader:org.jboss.web.tomcat.tc4.WebCtxLoader$ENCLoader@992725
      11:27:28,685 INFO [Engine] StandardManager[]: Seeding random number generator class java.security.SecureRandom
      11:27:28,685 INFO [Engine] StandardManager[]: Seeding of random number generator has been completed
      11:27:28,747 INFO [Engine] StandardWrapper[:default]: Loading container servlet default
      11:27:28,748 INFO [Engine] StandardWrapper[:invoker]: Loading container servlet invoker
      11:27:29,041 INFO [EARDeployer] Started J2EE application: file:/home/bonus/java/jboss/jboss-3.2.3/server/default/deploy/nukes.ear
      11:27:29,042 INFO [MainDeployer] Deployed package: file:/home/bonus/java/jboss/jboss-3.2.3/server/default/deploy/nukes.ear
      11:27:29,043 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:
       <none>
      Incompletely deployed packages:
       <none>
      MBeans waiting for classes:
       <none>
      MBeans waiting for other MBeans:
      [ObjectName: nukes.modules:name=core
       state: CREATED
       I Depend On: nukes:service=JDBCDeploymentScanner
       jboss.j2ee:service=EJB,jndiName=nukes/User
       jboss.j2ee:service=EJB,jndiName=nukes/Group
      
       Depends On Me: nukes.modules:name=index
       nukes.blocks:name=menu
       nukes.blocks:name=whosonline
       nukes.themes:name=invaders
       nukes.themes:name=extralite
       nukes.themes:name=imagic
       nukes.themes:name=seabreeze
       nukes.modules:name=user
       nukes.blocks:name=login
       nukes.modules:name=youraccount
       nukes.modules:name=html
       nukes.modules:name=lostpassword
       nukes.modules:name=group
       nukes.modules:name=test
       nukes.modules:name=block
       nukes.modules:name=jsp
       nukes:type=DeploymentScanner,flavor=URL
      , ObjectName: nukes.modules:name=index
       state: CREATED
       I Depend On: nukes.modules:name=core
      
       Depends On Me: , ObjectName: nukes.blocks:name=menu
       state: CREATED
       I Depend On: nukes.modules:name=core
      
       Depends On Me: , ObjectName: nukes.blocks:name=whosonline
       state: CREATED
       I Depend On: nukes.modules:name=core
      
       Depends On Me: , ObjectName: nukes.themes:name=invaders
       state: CREATED
       I Depend On: nukes.modules:name=core
      
       Depends On Me: , ObjectName: nukes.themes:name=extralite
       state: CREATED
       I Depend On: nukes.modules:name=core
       nukes.modules:name=html
      
       Depends On Me: , ObjectName: nukes.themes:name=imagic
       state: CREATED
       I Depend On: nukes.modules:name=core
       nukes.modules:name=html
      
       Depends On Me: , ObjectName: nukes.themes:name=seabreeze
       state: CREATED
       I Depend On: nukes.modules:name=core
      
       Depends On Me: , ObjectName: nukes.modules:name=user
       state: CREATED
       I Depend On: nukes.modules:name=core
      
       Depends On Me: , ObjectName: nukes.blocks:name=login
       state: CREATED
       I Depend On: nukes.modules:name=core
      
       Depends On Me: , ObjectName: nukes.modules:name=youraccount
       state: CREATED
       I Depend On: nukes.modules:name=core
      
       Depends On Me: , ObjectName: nukes.modules:name=html
       state: CREATED
       I Depend On: nukes.modules:name=core
       jboss.j2ee:service=EJB,jndiName=nukes/File
      
       Depends On Me: nukes.themes:name=extralite
       nukes.themes:name=imagic
      , ObjectName: nukes.modules:name=lostpassword
       state: CREATED
       I Depend On: nukes.modules:name=core
       nukes.modules:name=mail
      
       Depends On Me: , ObjectName: nukes.modules:name=group
       state: CREATED
       I Depend On: nukes.modules:name=core
      
       Depends On Me: , ObjectName: nukes.modules:name=test
       state: CREATED
       I Depend On: nukes.modules:name=core
       nukes:service=JDBCDeploymentScanner
      
       Depends On Me: , ObjectName: nukes.modules:name=block
       state: CREATED
       I Depend On: nukes.modules:name=core
      
       Depends On Me: , ObjectName: nukes.modules:name=jsp
       state: CREATED
       I Depend On: nukes.modules:name=core
      
       Depends On Me: , ObjectName: nukes:type=DeploymentScanner,flavor=URL
       state: CREATED
       I Depend On: nukes.modules:name=core
       jboss.system:service=MainDeployer
      
       Depends On Me: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/User
       state: FAILED
       I Depend On:
       Depends On Me: nukes.modules:name=core
      java.lang.NoSuchMethodError: org.apache.bcel.generic.InstructionFactory.createNewArray(Lorg/apache/bcel/generic/Type;S)Lorg/apache/bcel/generic/Instruction;]
      11:27:29,115 INFO [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
      11:27:29,194 INFO [MainDeployer] Deployed package: file:/home/bonus/java/jboss/jboss-3.2.3/server/default/conf/jboss-service.xml
      11:27:29,216 INFO [Server] JBoss (MX MicroKernel) [3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)] Started in 37s:486ms
      


      JNDI View

      Ejb Module: nukes-ejb.jar
      
      java:comp namespace of the GroupEJB bean:
      
       +- env (class: org.jnp.interfaces.NamingContext)
      
      
      java:comp namespace of the FileEJB bean:
      
       +- env (class: org.jnp.interfaces.NamingContext)
      
      
      java:comp namespace of the UserEJB bean:
      
       +- env (class: org.jnp.interfaces.NamingContext)
      
      
      
      java: Namespace
      
       +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
       +- DefaultDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
       +- SecurityProxyFactory (class: org.jboss.security.SubjectSecurityProxyFactory)
       +- NukesDS (class: org.jboss.resource.adapter.jdbc.WrapperDataSource)
       +- DefaultJMSProvider (class: org.jboss.jms.jndi.JBossMQProvider)
       +- comp (class: javax.naming.Context)
       +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
       +- JmsXA (class: org.jboss.resource.adapter.jms.JmsConnectionFactoryImpl)
       +- jaas (class: javax.naming.Context)
       | +- JmsXARealm (class: org.jboss.security.plugins.SecurityDomainContext)
       | +- jbossmq (class: org.jboss.security.plugins.SecurityDomainContext)
       | +- HsqlDbRealm (class: org.jboss.security.plugins.SecurityDomainContext)
       +- timedCacheFactory (class: javax.naming.Context)
      Failed to lookup: timedCacheFactory, errmsg=null
       +- TransactionPropagationContextExporter (class: org.jboss.tm.TransactionPropagationContextFactory)
       +- Mail (class: javax.mail.Session)
       +- StdJMSPool (class: org.jboss.jms.asf.StdServerSessionPoolFactory)
       +- TransactionPropagationContextImporter (class: org.jboss.tm.TransactionPropagationContextImporter)
       +- TransactionManager (class: org.jboss.tm.TxManager)
      
      
      Global JNDI Namespace
      
       +- jmx (class: org.jnp.interfaces.NamingContext)
       | +- invoker (class: org.jnp.interfaces.NamingContext)
       | | +- RMIAdaptor (proxy: $Proxy18 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor)
       | +- rmi (class: org.jnp.interfaces.NamingContext)
       | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef)
       +- OIL2XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
       +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
       +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
       +- UserTransactionSessionFactory (proxy: $Proxy10 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory)
       +- nukes (class: org.jnp.interfaces.NamingContext)
       | +- File (proxy: $Proxy39 implements interface org.jboss.nukes.core.ejb.FileEJBLocalHome)
       | +- Group (proxy: $Proxy38 implements interface org.jboss.nukes.core.ejb.GroupEJBLocalHome)
       | +- User (proxy: $Proxy40 implements interface org.jboss.nukes.core.ejb.UserEJBLocalHome)
       +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
       +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
       +- invokers (class: org.jnp.interfaces.NamingContext)
       | +- 0.0.0.0 (class: org.jnp.interfaces.NamingContext)
       | | +- pooled (class: org.jboss.invocation.pooled.interfaces.PooledInvokerProxy)
       | +- rock (class: org.jnp.interfaces.NamingContext)
       | | +- jrmp (class: org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy)
       | | +- http (class: org.jboss.invocation.http.interfaces.HttpInvokerProxy)
       +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction)
       +- UILXAConnectionFactory[link -> UIL2XAConnectionFactory] (class: javax.naming.LinkRef)
       +- RMIXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
       +- UIL2XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory)
       +- topic (class: org.jnp.interfaces.NamingContext)
       | +- testDurableTopic (class: org.jboss.mq.SpyTopic)
       | +- testTopic (class: org.jboss.mq.SpyTopic)
       | +- securedTopic (class: org.jboss.mq.SpyTopic)
       +- queue (class: org.jnp.interfaces.NamingContext)
       | +- A (class: org.jboss.mq.SpyQueue)
       | +- testQueue (class: org.jboss.mq.SpyQueue)
       | +- ex (class: org.jboss.mq.SpyQueue)
       | +- DLQ (class: org.jboss.mq.SpyQueue)
       | +- D (class: org.jboss.mq.SpyQueue)
       | +- C (class: org.jboss.mq.SpyQueue)
       | +- B (class: org.jboss.mq.SpyQueue)
       +- console (class: org.jnp.interfaces.NamingContext)
       | +- PluginManager (proxy: $Proxy19 implements interface org.jboss.console.manager.PluginManagerMBean)
       +- UIL2ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
       +- UILConnectionFactory[link -> UIL2ConnectionFactory] (class: javax.naming.LinkRef)
       +- RMIConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
       +- OIL2ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory)
       +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory)
      


        • 1. Re: Error deploying nukes (User EJB)
          Viet Master

           

          "cooper" wrote:
          the error occurs in the proxy compiler, meaning JBoss is not able to generate the EJB interfaces implementations, this is rather weird (unexpected). I will do a fresh rebuild to see if it occurs.

          julien


          • 2. Re: Error deploying nukes (User EJB)
            andreas_austing Newbie

             

            "andreas_austing" wrote:
            Oh yes, thanks ;-)


            • 3. Re: Error deploying nukes (User EJB)
              nobi2002 Newbie

               

              "nobi2002" wrote:
              To resolve this problem copy the bcel.jar from $JBOSS_HOME/server/default/lib to $JAVA_HOME/jre/lib/endorsed
              and make sure that it's loaded before any other jar file containing an older version of bcel classes



              • 4. Re: Error deploying nukes (User EJB)
                Viet Master

                 

                "cooper" wrote:
                thanks, what's the reason for that, do you know ? some class loading issue ?


                • 5. Re: Error deploying nukes (User EJB)
                  debian75 Newbie

                   

                  "debian75" wrote:
                  I have the same error when starting jboss itself (run.bat)

                  Do I have to build and deploy every signle module ? I only did:

                  nukes/build/build.bat
                  nukes/nukes/build deploy

                  I got the message BUILD OK message, but when startin jboss itself I get this same error as described above.

                  These are the last lines I get:

                  -------------------------------------------------------------------
                  Depends On Me: , ObjectName: nukes.modules:name=jsp
                  state: CREATED
                  I Depend On: nukes.modules:name=core

                  Depends On Me: , ObjectName: nukes:type=DeploymentScanner,flavor=URL
                  state: CREATED
                  I Depend On: nukes.modules:name=core
                  jboss.system:service=MainDeployer

                  Depends On Me: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/User
                  state: FAILED
                  I Depend On:
                  Depends On Me: nukes.modules:name=core
                  java.lang.NoSuchMethodError: org.apache.bcel.generic.InstructionFactory.createNe
                  wArray(Lorg/apache/bcel/generic/Type;S)Lorg/apache/bcel/generic/Instruction;]
                  22:19:21,828 INFO [URLDeploymentScanner] Started jboss.deployment:type=Deployme
                  ntScanner,flavor=URL
                  22:19:21,890 INFO [MainDeployer] Deployed package: file:/D:/java/jboss-3.2.3RC1
                  /server/default/conf/jboss-service.xml
                  22:19:21,890 INFO [Server] JBoss (MX MicroKernel) [3.2.3RC1 (build: CVSTag=JBos
                  s_3_2_3_RC1 date=200311101720)] Started in 16s:515ms
                  -------------------------------------------------------------------


                  I did copy the bcel.jar but it didn't help. When I try to access localhost:8080/nukes all I get is an empty page and the log when trying to access this url says:


                  -------------------------------------------------------------------
                  22:32:25,031 ERROR [NukeServlet] Cannot create Page object exception
                  java.lang.IllegalArgumentException: bundle parameter cannot be null
                  at org.jboss.nukes.io.handlers.ResourceBundleAdapter.<init>(ResourceBund
                  leAdapter.java:27)
                  at org.jboss.nukes.html.Page.configure(Page.java:911)
                  at org.jboss.nukes.html.Page.<init>(Page.java:138)
                  at org.jboss.nukes.servlet.NukeServlet.handleRoot(NukeServlet.java:224)
                  at org.jboss.nukes.servlet.NukeServlet.doGet(NukeServlet.java:166)
                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
                  icationFilterChain.java:247)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
                  ilterChain.java:193)
                  at org.jboss.nukes.servlet.TransactionFilter.doFilter(TransactionFilter.
                  java:95)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
                  icationFilterChain.java:213)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
                  ilterChain.java:193)
                  at org.jboss.nukes.servlet.FileUploadFilter.doFilter(FileUploadFilter.ja
                  va:64)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
                  icationFilterChain.java:213)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
                  ilterChain.java:193)
                  at org.jboss.nukes.servlet.CompressFilter.doFilter(CompressFilter.java:1
                  13)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
                  icationFilterChain.java:213)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
                  ilterChain.java:193)
                  at org.jboss.nukes.servlet.DatabasePollerFilter.doFilter(DatabasePollerF
                  ilter.java:88)
                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
                  icationFilterChain.java:213)
                  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
                  ilterChain.java:193)
                  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
                  alve.java:256)
                  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
                  t.invokeNext(StandardPipeline.java:643)
                  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
                  a:480)
                  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

                  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
                  alve.java:191)
                  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
                  t.invokeNext(StandardPipeline.java:643)
                  at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke(JBossSecur
                  ityMgrRealm.java:220)
                  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
                  t.invokeNext(StandardPipeline.java:641)
                  at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve
                  .java:246)
                  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
                  t.invokeNext(StandardPipeline.java:641)
                  at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke(Contai
                  nerStatsValve.java:76)
                  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
                  t.invokeNext(StandardPipeline.java:641)
                  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
                  a:480)
                  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

                  at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:
                  2417)
                  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
                  ava:180)
                  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
                  t.invokeNext(StandardPipeline.java:643)
                  at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatche
                  rValve.java:171)
                  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
                  t.invokeNext(StandardPipeline.java:641)
                  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
                  ava:172)
                  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
                  t.invokeNext(StandardPipeline.java:641)
                  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
                  yAssociationValve.java:65)
                  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
                  t.invokeNext(StandardPipeline.java:641)
                  at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
                  577)
                  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
                  t.invokeNext(StandardPipeline.java:641)
                  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
                  a:480)
                  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

                  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
                  ve.java:174)
                  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContex
                  t.invokeNext(StandardPipeline.java:643)
                  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
                  a:480)
                  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

                  at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:19
                  3)
                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
                  :781)
                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
                  ssConnection(Http11Protocol.java:549)
                  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
                  :589)
                  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
                  ool.java:666)
                  at java.lang.Thread.run(Thread.java:534)

                  -------------------------------------------------------------------


                  I have no clue what went wrong :(


                  • 6. Re: Error deploying nukes (User EJB)
                    debian75 Newbie

                     

                    "debian75" wrote:
                    Ok, google is your friend:

                    ---
                    Indeed, it seems that xsltc.jar contains a version of BCEL. (A rant for another day: even if it makes people do more deployement work, please do not include dependancies in your jars.) I believe that some versions of the Xalan jar also include BCEL, so beware.
                    ---

                    I had Xalan in my /endorsed directoy bacause I was playing around with Apache Lenya aswell. I removed that and I dont get the error anymore now.






                    • 7. Re: Error deploying nukes (User EJB) - Solved
                      andreas_austing Newbie

                      So Thanks for the help!

                      I Had the xsltc.jar in my endorsed directory, because it was suggested by the installation of java suns jwsdp1.3.
                      I replaced it with the bcel.jar. Now everything works fine...