4 Replies Latest reply on Aug 3, 2009 1:50 PM by John Murdoch

    EJB Deployment Error with MANIFEST entry 'Class-Path'

    John Murdoch Newbie

      Hi all,

      i'm experiencing a strange behaviour while deploying an EAR that contains three EJB-JARs. One of them is linked via the MANIFEST entry 'Class-Path' to an other. Without the MANIFEST entry the deployment works as expected.

      The Exception shown:

      20:42:37,408 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MyMessageEJB,service=EJB3 state=Create
      org.jboss.deployers.spi.DeploymentException: Required config property RequiredConfigPropertyMetaData@81d5e[name=destination descriptions=[DescriptionMetaData@394901[language=en]]] for messagingType 'javax.jms.MessageListener' not found in activation config [] ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'
      


      I'm using:

      - JBoss 5.1.0 GA
      - JDK 1.5.0_19

      This is the application descriptor:

      <?xml version="1.0" encoding="UTF-8"?>
      <application xmlns="http://java.sun.com/xml/ns/javaee"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_5.xsd" version="5">
       <description>Application</description>
       <display-name>Application</display-name>
       <module>
       <ejb>ejb-1-1.0.jar</ejb>
       </module>
       <module>
       <ejb>ejb-2-1.0.jar</ejb>
       </module>
       <module>
       <ejb>mdb-1-1.0.jar</ejb>
       </module>
      </application>
      


      The MANIFEST i'm using:

      Archiver-Version: Plexus Archiver
      Created-By: Apache Maven
      Built-By: john
      Build-Jdk: 1.5.0_19
      Class-Path: mdb-1-1.0.jar
      


      The sample application EAR can be downloaded here: http://www.moumantai.de/dl/application.zip. The ZIP file includes the two EAR files (the one working and the one throwing the exception) and a destination-service.xml to create the necessary queue.

      I'm need to build the applications classpath via the MANIFEST. Any suggestions to solve the problem?

      Thanks a lot.
      JOHN

        • 1. Re: EJB Deployment Error with MANIFEST entry 'Class-Path'
          jaikiran pai Master

          We have some known issues with MANIFEST.MF classpath entries pointing to deployments. All the same, please post the entire exception stacktrace. Also which jar contains the MANIFEST.MF entry with that classpath (well, i could have downloaded the application and looked up myself, but it's monday morning and i am lazy :) )

          I'm need to build the applications classpath via the MANIFEST


          Any specific reason? You can get it working without having to add it to the MANIFEST.MF.


          • 2. Re: EJB Deployment Error with MANIFEST entry 'Class-Path'
            John Murdoch Newbie

            Hi,

            the 'Class-Path' entry exists within 'ejb-1-1.0.jar'.

            The exception:

            20:42:36,875 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@6037607{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-1-1.0.jar/}
            20:42:36,875 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@6037607{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-1-1.0.jar/}
            20:42:36,875 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@6037607{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-1-1.0.jar/}
            20:42:36,875 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@6037607{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-1-1.0.jar/}
            20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@5464305{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-2-1.0.jar/}
            20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@5464305{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-2-1.0.jar/}
            20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@5464305{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-2-1.0.jar/}
            20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@5464305{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/ejb-2-1.0.jar/}
            20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@104823{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/mdb-1-1.0.jar/}
            20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@104823{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/mdb-1-1.0.jar/}
            20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@104823{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/mdb-1-1.0.jar/}
            20:42:36,902 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@104823{vfszip:/Users/john/vastland/opt/jboss-5.1.0.GA/server/standard/deploy/ear-1-1.0.ear/mdb-1-1.0.jar/}
            20:42:36,912 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean MyMessageEJB, will create some
            20:42:36,921 INFO [JBossASKernel] Created KernelDeployment for: ejb-1-1.0.jar
            20:42:36,921 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-1-1.0.jar,name=MySessionEJB,service=EJB3
            20:42:36,921 INFO [JBossASKernel] with dependencies:
            20:42:36,921 INFO [JBossASKernel] and demands:
            20:42:36,921 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
            20:42:36,921 INFO [JBossASKernel] and supplies:
            20:42:36,921 INFO [JBossASKernel] jndi:ear-1-1.0/MySessionEJB/remote-net.brainbugs.IMySessionBean
            20:42:36,921 INFO [JBossASKernel] jndi:ejb/MySessionEJB/remote
            20:42:36,921 INFO [JBossASKernel] Class:net.brainbugs.IMySessionBean
            20:42:36,921 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-1-1.0.jar,name=MySessionEJB,service=EJB3) to KernelDeployment of: ejb-1-1.0.jar
            20:42:36,922 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-1-1.0.jar,name=MyMessageEJB,service=EJB3
            20:42:36,922 INFO [JBossASKernel] with dependencies:
            20:42:36,922 INFO [JBossASKernel] and demands:
            20:42:36,922 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
            20:42:36,922 INFO [JBossASKernel] and supplies:
            20:42:36,922 INFO [JBossASKernel] Class:javax.jms.MessageListener
            20:42:36,922 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-1-1.0.jar,name=MyMessageEJB,service=EJB3) to KernelDeployment of: ejb-1-1.0.jar
            20:42:36,926 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean MySessionEJB, will create some
            20:42:36,931 WARN [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean MyMessageEJB, will create some
            20:42:36,941 INFO [JBossASKernel] Created KernelDeployment for: ejb-2-1.0.jar
            20:42:36,941 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MySessionTwoEJB,service=EJB3
            20:42:36,941 INFO [JBossASKernel] with dependencies:
            20:42:36,941 INFO [JBossASKernel] and demands:
            20:42:36,941 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
            20:42:36,941 INFO [JBossASKernel] and supplies:
            20:42:36,941 INFO [JBossASKernel] jndi:ear-1-1.0/MySessionTwoEJB/remote-net.brainbugs.IMySessionBeanTwo
            20:42:36,941 INFO [JBossASKernel] Class:net.brainbugs.IMySessionBeanTwo
            20:42:36,941 INFO [JBossASKernel] jndi:ejb/MySessionTwoEJB/remote
            20:42:36,941 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MySessionTwoEJB,service=EJB3) to KernelDeployment of: ejb-2-1.0.jar
            20:42:36,942 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MySessionEJB,service=EJB3
            20:42:36,942 INFO [JBossASKernel] with dependencies:
            20:42:36,942 INFO [JBossASKernel] and demands:
            20:42:36,942 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
            20:42:36,942 INFO [JBossASKernel] and supplies:
            20:42:36,942 INFO [JBossASKernel] Class:net.brainbugs.IMySessionBean
            20:42:36,942 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MySessionEJB,service=EJB3) to KernelDeployment of: ejb-2-1.0.jar
            20:42:36,943 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MyMessageEJB,service=EJB3
            20:42:36,943 INFO [JBossASKernel] with dependencies:
            20:42:36,943 INFO [JBossASKernel] and demands:
            20:42:36,943 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
            20:42:36,943 INFO [JBossASKernel] and supplies:
            20:42:36,943 INFO [JBossASKernel] Class:javax.jms.MessageListener
            20:42:36,943 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MyMessageEJB,service=EJB3) to KernelDeployment of: ejb-2-1.0.jar
            20:42:36,950 INFO [JBossASKernel] Created KernelDeployment for: mdb-1-1.0.jar
            20:42:36,950 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=ear-1-1.0.ear,jar=mdb-1-1.0.jar,name=MyMessageEJB,service=EJB3
            20:42:36,950 INFO [JBossASKernel] with dependencies:
            20:42:36,950 INFO [JBossASKernel] and demands:
            20:42:36,950 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService
            20:42:36,950 INFO [JBossASKernel] and supplies:
            20:42:36,951 INFO [JBossASKernel] Class:javax.jms.MessageListener
            20:42:36,951 INFO [JBossASKernel] jndi:null
            20:42:36,951 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=ear-1-1.0.ear,jar=mdb-1-1.0.jar,name=MyMessageEJB,service=EJB3) to KernelDeployment of: mdb-1-1.0.jar
            20:42:36,952 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@c60a84{name=jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-1-1.0.jar,name=MySessionEJB,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
            20:42:36,952 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@f2516d{name=jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MySessionEJB,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
            20:42:36,952 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData@f018cf{name=jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MySessionTwoEJB,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true}
            20:42:37,048 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-1-1.0.jar,name=MySessionEJB,service=EJB3
            20:42:37,049 INFO [EJBContainer] STARTED EJB: net.brainbugs.MySessionBean ejbName: MySessionEJB
            20:42:37,069 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
            
             ejb/MySessionEJB/remote - EJB3.x Default Remote Business Interface
             ear-1-1.0/MySessionEJB/remote-net.brainbugs.IMySessionBean - EJB3.x Remote Business Interface
            
            20:42:37,127 INFO [EJBContainer] STARTED EJB: queue_stats_reader.MessageBean ejbName: MyMessageEJB
            20:42:37,129 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-1-1.0.jar,name=MyMessageEJB,service=EJB3 state=Create
            org.jboss.deployers.spi.DeploymentException: Required config property RequiredConfigPropertyMetaData@81d5e[name=destination descriptions=[DescriptionMetaData@394901[language=en]]] for messagingType 'javax.jms.MessageListener' not found in activation config [] ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'
             at org.jboss.resource.deployment.ActivationSpecFactory.createActivationSpec(ActivationSpecFactory.java:95)
             at org.jboss.resource.deployers.RARDeployment.createActivationSpec(RARDeployment.java:313)
             at org.jboss.resource.deployers.RARDeployment.internalInvoke(RARDeployment.java:276)
             at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156)
             at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
             at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:58)
             at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:320)
             at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:205)
             at org.jboss.ejb3.mdb.MessagingContainer.startProxies(MessagingContainer.java:224)
             at org.jboss.ejb3.mdb.MessagingContainer.lockedStart(MessagingContainer.java:176)
             at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:884)
             at sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
             at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
             at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
             at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
             at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
             at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
             at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
             at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
             at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
             at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
             at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
             at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
             at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
             at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
             at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
             at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
             at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
             at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:146)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:170)
             at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
             at java.lang.Thread.run(Thread.java:613)
            20:42:37,258 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MySessionTwoEJB,service=EJB3
            20:42:37,259 INFO [EJBContainer] STARTED EJB: net.brainbugs.MySessionBeanTwo ejbName: MySessionTwoEJB
            20:42:37,275 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
            
             ejb/MySessionTwoEJB/remote - EJB3.x Default Remote Business Interface
             ear-1-1.0/MySessionTwoEJB/remote-net.brainbugs.IMySessionBeanTwo - EJB3.x Remote Business Interface
            
            20:42:37,346 INFO [SessionSpecContainer] Starting jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MySessionEJB,service=EJB3
            20:42:37,346 INFO [EJBContainer] STARTED EJB: net.brainbugs.MySessionBean ejbName: MySessionEJB
            20:42:37,346 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI:
            
            
            20:42:37,405 INFO [EJBContainer] STARTED EJB: queue_stats_reader.MessageBean ejbName: MyMessageEJB
            20:42:37,408 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MyMessageEJB,service=EJB3 state=Create
            org.jboss.deployers.spi.DeploymentException: Required config property RequiredConfigPropertyMetaData@81d5e[name=destination descriptions=[DescriptionMetaData@394901[language=en]]] for messagingType 'javax.jms.MessageListener' not found in activation config [] ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'
             at org.jboss.resource.deployment.ActivationSpecFactory.createActivationSpec(ActivationSpecFactory.java:95)
             at org.jboss.resource.deployers.RARDeployment.createActivationSpec(RARDeployment.java:313)
             at org.jboss.resource.deployers.RARDeployment.internalInvoke(RARDeployment.java:276)
             at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156)
             at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
             at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
             at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:58)
             at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:320)
             at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.start(JBossMessageEndpointFactory.java:205)
             at org.jboss.ejb3.mdb.MessagingContainer.startProxies(MessagingContainer.java:224)
             at org.jboss.ejb3.mdb.MessagingContainer.lockedStart(MessagingContainer.java:176)
             at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:884)
             at sun.reflect.GeneratedMethodAccessor255.invoke(Unknown Source)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
             at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
             at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
             at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
             at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
             at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
             at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
             at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
             at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
             at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
             at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
             at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
             at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
             at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
             at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
             at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
             at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
             at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
             at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
             at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
             at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
             at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
             at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
             at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
             at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
             at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:146)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:170)
             at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
             at java.lang.Thread.run(Thread.java:613)
            20:42:37,527 INFO [EJBContainer] STARTED EJB: queue_stats_reader.MessageBean ejbName: MyMessageEJB
            20:42:37,551 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.JBossMessageDrivenBeanMetaData@c29251c2{MyMessageEJB}
            20:42:37,551 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.JBossSessionBeanMetaData@8a6690d3{MySessionEJB}
            20:42:37,551 WARN [WebServiceDeployerEJB] Ingore ejb deployment with null classname: org.jboss.metadata.ejb.jboss.JBossMessageDrivenBeanMetaData@c29251c2{MyMessageEJB}
            20:42:37,570 WARN [HDScanner] Failed to process changes
            org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
            
            DEPLOYMENTS IN ERROR:
             Deployment "jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-2-1.0.jar,name=MyMessageEJB,service=EJB3" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: Required config property RequiredConfigPropertyMetaData@81d5e[name=destination descriptions=[DescriptionMetaData@394901[language=en]]] for messagingType 'javax.jms.MessageListener' not found in activation config [] ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'
             Deployment "jboss.j2ee:ear=ear-1-1.0.ear,jar=ejb-1-1.0.jar,name=MyMessageEJB,service=EJB3" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: Required config property RequiredConfigPropertyMetaData@81d5e[name=destination descriptions=[DescriptionMetaData@394901[language=en]]] for messagingType 'javax.jms.MessageListener' not found in activation config [] ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'
            
             at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
             at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
             at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
             at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
             at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
             at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)
             at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:280)
             at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:135)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:65)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:146)
             at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:170)
             at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
             at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
             at java.lang.Thread.run(Thread.java:613)
            



            Any specific reason? You can get it working without having to add it to the MANIFEST.MF.


            The application is deployed not just on JBoss and the generic way to build the applications classpath is the 'Class-Path' entry within each bundled JAR.

            John

            • 3. Re: EJB Deployment Error with MANIFEST entry 'Class-Path'
              jaikiran pai Master

              It's possible to have a generic portable EJB3 application without having to add the deployments to the MANIFEST.MF classpath. See this http://www.jboss.org/index.html?module=bb&op=viewtopic&t=153488&postdays=0&postorder=asc&start=30 (especially point#2 in that post).

              • 4. Re: EJB Deployment Error with MANIFEST entry 'Class-Path'
                John Murdoch Newbie

                Thx for pointing me to the right direction to circumvent this deployment issue.

                John