1 Reply Latest reply on Feb 11, 2003 5:02 PM by raja05

    Exception when deploying CD example

    mkumar

      Hi
      I am trying to deploy CD example. Using db2 as backend.
      I am following exactly as the tutorial said but when i copy cd.jar into deploy directory i get this error

      =========================================================
      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:579)
      at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:184)
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:321)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:760)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:620)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:585)
      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:517)
      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:435)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDe
      ploymentScanner.java:656)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
      canner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      doScan(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      loop(AbstractDeploymentScanner.java:225)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
      run(AbstractDeploymentScanner.java:202)
      ======================================================
      please let me know what am i doing wrong..
      Thanks

        • 1. Re: Exception when deploying CD example
          raja05

          Your jboss.xml probably has a configuration-name tag that is blank.
          You can override configurations from the standardjboss.xml and use that in your ejbs using the configuration-name and container-configuration tags. Find out if your jboss.xml has a custom container-configuration and use that name for the configuration-name tag.

          HTH
          Raj