2 Replies Latest reply on Nov 18, 2003 6:42 AM by Viet

    'MyConfig' not found

    Andreas Newbie

      After checking out the recent changes on the bb module, deploying this modul still fails. The log tells me this time that the 'MyConfig' is not defined in standardjboss.xml or jboss.xml.


      01:21:39,855 ERROR [XmlFileLoader] failed to load jboss.xml. There could be a syntax error.
      org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean WatchEJB: configuration 'MyConfig' not found in standardjboss.xml or jboss.xml
      at org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMetaData.java:764)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:175)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:436)

        • 1. Re: 'MyConfig' not found
          Andreas Newbie

          Replacing 'MyConfig' with 'Standard CMP 2.x EntityBean with cache invalidation' (bb/build.xml) was the thing I tried next, but now I get a wierd jdbc error, which gives me no clue on where to continue.

          My postgres db should be pretty innocent here, I guess.
          Maybe some of you boys can extract some meaning out of these log entries:

          02:09:22,269 ERROR [EntityContainer] Starting failed
          org.jboss.deployment.DeploymentException: Could not load class:
          at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData.(JDBCEntityCommandMetaData.java:61)
          at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:782)
          at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:362)
          at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:75)
          at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:706)
          at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:409)
          at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:357)
          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.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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
          at $Proxy46.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 $Proxy55.start(Unknown Source)
          at org.jboss.ejb.EjbModule.startService(EjbModule.java:331)
          at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
          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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
          at $Proxy46.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.GeneratedMethodAccessor24.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 $Proxy32.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.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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
          at $Proxy14.start(Unknown Source)
          at org.jboss.system.ServiceController.start(ServiceController.java:394)
          at org.jboss.system.ServiceController.start(ServiceController.java:411)
          at org.jboss.system.ServiceController.start(ServiceController.java:411)
          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 $Proxy33.start(Unknown Source)
          at org.jboss.ejb.EjbModule.startService(EjbModule.java:331)
          at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
          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.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.GeneratedMethodAccessor24.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:552)

          ......
          ......

          02:09:49,374 INFO [EARDeployer] Started J2EE application: file:/usr/local/jboss/jboss-3.2.3RC1/server/default/deploy/nukes.ear
          02:09:49,376 INFO [MainDeployer] Deployed package: file:/usr/local/jboss/jboss-3.2.3RC1/server/default/deploy/nukes.ear
          02:09:49,379 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
          Cause: Incomplete Deployment listing:
          Packages waiting for a deployer:

          Incompletely deployed packages:

          MBeans waiting for classes:

          MBeans waiting for other MBeans:
          [ObjectName: nukes.modules:name=bb
          state: CREATED
          I Depend On: nukes.modules:name=core
          jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Category
          jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Forum
          jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Group
          jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Option
          jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Poll
          jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Post
          jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Topic
          jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/User
          jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Utils
          jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Vote
          jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Watch
          jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Category
          jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Forum
          jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Group
          jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Option
          jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Poll
          jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Post
          jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Topic
          jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/User
          jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Utils
          jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Vote
          jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Watch

          Depends On Me: nukes.blocks:name=bb
          , ObjectName: nukes.blocks:name=bb
          state: CREATED
          I Depend On: nukes.modules:name=bb

          Depends On Me: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Watch
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Post
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Poll
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Forum
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Group
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Topic
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Option
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Category
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/Vote
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/ro/User
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Watch
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Post
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Poll
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Forum
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Group
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Topic
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Option
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Category
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/Vote
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: , ObjectName: jboss.j2ee:service=EJB,jndiName=nukes/bb/rw/User
          state: FAILED
          I Depend On:
          Depends On Me: nukes.modules:name=bb
          org.jboss.deployment.DeploymentException: Could not load class: ]
          02:09:49,404 INFO [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
          02:09:49,473 INFO [MainDeployer] Deployed package: file:/usr/local/jboss/jboss-3.2.3RC1/server/default/conf/jboss-service.xml
          02:09:49,479 INFO [Server] JBoss (MX MicroKernel) [3.2.3RC1 (build: CVSTag=JBoss_3_2_3_RC1 date=200311150341)] Started in 1m:8s:152ms

          • 2. Re: 'MyConfig' not found
            Viet Master

            ok, you are trying forums, but we don't have the stuff for postgres right now in the CVS for postgres, I think that the guy who sent me the stuff has updated the scripts, I am going to put that in CVS now.

            julien