2 Replies Latest reply on Jul 14, 2002 11:51 PM by Kurt Stam

    Error in jboss.xml for Bean CDBean

    Kurt Stam Newbie

      Hi,

      After getting through the interest example I moved on to chapter 3 with the cmp-cd example. Compiling is fine, but when I cp the cd.jar into the /server/default/deploy directory I get the follwing error from JBoss:
      09:22:36,076 INFO [MainDeployer] Starting deployment of package: file:/usr/loca
      l/jboss/server/default/deploy/cd.jar
      09:22:36,306 ERROR [MainDeployer] could not create deployment: file:/usr/local/j
      boss/server/default/deploy/cd.jar
      org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean CDBean: co
      nfiguration '' not found in standardjboss.xml or jboss.xml
      at org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMeta
      Data.java:547)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:184)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:324)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:740)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:614)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581)
      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:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:412)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
      ploymentScanner.java:607)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:480)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:202)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:191)
      09:22:36,318 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment
      .scanner.URLDeploymentScanner$DeployedURL@23988ebd{ url=file:/usr/local/jboss/se
      rver/default/deploy/cd.jar, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean CDBean: co
      nfiguration '' not found in standardjboss.xml or jboss.xml
      at org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMeta
      Data.java:547)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:184)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:324)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:740)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:614)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:581)
      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:491)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen
      tScanner.java:412)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
      ploymentScanner.java:607)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:480)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:202)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:191)
      09:22:41,360 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@23988ebd { url=file:/usr/local/jboss/server
      /default/deploy/cd.jar }
      deployer: org.jboss.ejb.EJBDeployer@6f0be8
      status: Deployment FAILED reason: Error in jboss.xml for Bean CDBean: configur
      ation '' not found in standardjboss.xml or jboss.xml
      watch: file:/usr/local/jboss/server/default/deploy/cd.jar
      lastDeployed: 1026480156105
      lastModified: 1026480156000
      mbeans:
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:


      I'm running jboss-3.0.1RC1_tomcat-4.0.4 under jdk1.3.1 on RH7.3

      Any help would be greatly appreciated!

      Thanks,

      --Kurt