4 Replies Latest reply on Oct 17, 2005 4:29 PM by Urs Wagner

    Deployment error: Bean Provider must specify the fully-quali

    Urs Wagner Novice

      In ejb-jar.xml there is an entry
      <ejb-class>org.partnervermittlung.ejb.PartnerCMP</ejb-class>

      In jboss.xml there is no entry in


      <ejb-name>Partner</ejb-name>
      <local-jndi-name>PartnerLocal</local-jndi-name>



      This is generated by xdoclet. Where is the bug

      Bean : Partner
      Section: 22.2
      Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods in the <ejb-class> element.
      Info : Class not found on 'org.partnervermittlung.ejb.PartnerCMP': No ClassLoaders found for: org.partnervermittlung.ejb.PartnerCMP

      2005-10-17 19:27:39,887 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/C:/Programme/JBoss/server/default/tmp/deploy/tmp16151partnervermittlung.ear-contents/partnervermittlung.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:564)
      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:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy33.create(Unknown Source)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:919)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:909)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:773)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy6.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:507)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:265)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:287)
      at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:236)
      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:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:974)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:453)
      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:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy4.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:276)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:973)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:774)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:737)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:721)
      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:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:451)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:328)
      at org.jboss.Main.boot(Main.java:187)
      at org.jboss.Main$1.run(Main.java:438)
      at java.lang.Thread.run(Thread.java:595)

        • 1. Re: Deployment error: Bean Provider must specify the fully-q
          Darran Lofthouse Master

          The error has nothing to do with the jboss.xml, the error is saying that the class specified (or a class referenced by the class specified) can not be found.

          Execute the command 'jar -tf jarname.jar' against your jar and post the output here.

          • 2. Re: Deployment error: Bean Provider must specify the fully-q
            Urs Wagner Novice

            META-INF/
            META-INF/MANIFEST.MF
            WEB-INF/
            WEB-INF/classes/
            WEB-INF/classes/org/
            WEB-INF/classes/org/partnervermittlung/
            WEB-INF/classes/org/partnervermittlung/ejb/
            WEB-INF/classes/org/partnervermittlung/ejb/PartnerBean.class
            WEB-INF/classes/org/partnervermittlung/ejb/PartnerCMP.class
            WEB-INF/classes/org/partnervermittlung/exception/
            WEB-INF/classes/org/partnervermittlung/exception/DuplicatePartnerException.class
            WEB-INF/classes/org/partnervermittlung/interfaces/
            WEB-INF/classes/org/partnervermittlung/interfaces/PartnerLocal.class
            WEB-INF/classes/org/partnervermittlung/interfaces/PartnerLocalHome.class
            WEB-INF/classes/org/partnervermittlung/model/
            WEB-INF/classes/org/partnervermittlung/model/PartnerValue.class
            WEB-INF/classes/org/partnervermittlung/util/
            WEB-INF/classes/org/partnervermittlung/util/PartnerUtil.class
            META-INF/ejb-jar.xml
            META-INF/jboss.xml
            META-INF/jbosscmp-jdbc.xml

            • 3. Re: Deployment error: Bean Provider must specify the fully-q
              Darran Lofthouse Master

              The structure of your jar is wrong, you need to get rid of the 'WEB-INF/classes' from the paths, i.e. The output from the command should be: -

              META-INF/
              META-INF/MANIFEST.MF
              org/partnervermittlung/
              org/partnervermittlung/ejb/
              org/partnervermittlung/ejb/PartnerBean.class
              org/partnervermittlung/ejb/PartnerCMP.class
              org/partnervermittlung/exception/
              org/partnervermittlung/exception/DuplicatePartnerException.class
              org/partnervermittlung/interfaces/
              org/partnervermittlung/interfaces/PartnerLocal.class
              org/partnervermittlung/interfaces/PartnerLocalHome.class
              org/partnervermittlung/model/
              org/partnervermittlung/model/PartnerValue.class
              org/partnervermittlung/util/
              org/partnervermittlung/util/PartnerUtil.class
              META-INF/ejb-jar.xml
              META-INF/jboss.xml
              META-INF/jbosscmp-jdbc.xml

              • 4. Re: Deployment error: Bean Provider must specify the fully-q
                Urs Wagner Novice

                Thank You very much. I made a mess between the jar and war archive.