8 Replies Latest reply on May 3, 2011 8:54 AM by murali_m

    MDB Deployment error in JBoss6.0

    murali_m

      Hi

       

      i have a MDB which was working fine with JBoss4.0.5 GA.

       

      If i deploy the same in JBoss6.0.0 am getting he following error.

       

      09:50:14,837 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=jboss.j2ee:binding=message-driven-bean,jndiName=local/QuoteSubmission114@10474310

      62,plugin=invoker,service=EJB state=Create mode=Manual requiredState=Installed: org.jboss.deployment.DeploymentException: Unable to create activation spec ra=jboss.jca:service=RARDeployment,name=

      'jms-ra.rar' messaging-type=javax.jms.MessageListener properties={}

              at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:52) [:6.0.0.Final]

              at org.jboss.ejb.plugins.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:454) [:6.0.0.Final]

       

      attchached the full error details.

       

      Is anything need to updated in the configuration or the code itself ?

       

      Thank You,

      Murali

        • 1. MDB Deployment error in JBoss6.0
          clebert.suconic

          This has been answered this week about three times already. It's been fixe don AS6 snapshot by 2.2.2 release.

          • 2. MDB Deployment error in JBoss6.0
            murali_m

            May i get any reference for that answers?

            • 3. Re: MDB Deployment error in JBoss6.0
              jaikiran

              You should have posted the real exception which is this:

               

               

              Caused by: org.jboss.deployers.spi.DeploymentException: Required config property RequiredConfigPropertyMetaData@1b0cff6b[name=destination descriptions=[DescriptionMetaData@3266589[language=en]]]

              for messagingType 'javax.jms.MessageListener' not found in activation config [ActivationConfigProperty(providerAdapterJNDI=DefaultJMSProvider), ActivationConfigProperty(destinationType=javax.jms.

              Queue), ActivationConfigProperty(DLQJNDIName=queue/DLQ), ActivationConfigProperty(minSession=1), ActivationConfigProperty(subscriptionDurability=NonDurable), ActivationConfigProperty(acknowledgeM

              ode=AUTO_ACKNOWLEDGE), ActivationConfigProperty(maxSession=15), ActivationConfigProperty(keepAlive=30000), ActivationConfigProperty(maxMessages=1), ActivationConfigProperty(useDLQ=true), Activati

              onConfigProperty(DLQMaxResent=10)] ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'

                      at org.jboss.resource.deployment.ActivationSpecFactory.createActivationSpec(ActivationSpecFactory.java:95) [:6.0.0.Final]

               

              The error message is telling you that you haven't set the "destination" activation config property. Please post the relevant MDB code and its configuration.

              • 4. Re: MDB Deployment error in JBoss6.0
                murali_m

                The above error has been solved in code. Following is the MDB Code.

                 

                package com.dms.ejb.messaging;

                import java.sql.Connection;

                import javax.ejb.MessageDrivenBean;
                import javax.ejb.MessageDrivenContext;
                import javax.jms.MapMessage;
                import javax.jms.Message;
                import javax.jms.MessageListener;

                import org.apache.log4j.Category;

                import org.jboss.ejb3.annotation.ResourceAdapter;
                import javax.ejb.ActivationConfigProperty;
                import javax.ejb.MessageDriven;
                import javax.ejb.TransactionAttribute;
                import javax.ejb.TransactionAttributeType;
                import javax.ejb.TransactionManagement;
                import javax.ejb.TransactionManagementType;


                @MessageDriven(name = "SubmissionMDB",
                        activationConfig =
                              {
                                 @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"),
                                 @ActivationConfigProperty(propertyName = "providerAdapterJNDI", propertyValue = "DefaultJMSProvider"),
                                 @ActivationConfigProperty(propertyName = "DLQJNDIName", propertyValue = "queue/DLQ"),
                                 @ActivationConfigProperty(propertyName = "minSession", propertyValue = "1"),
                                 @ActivationConfigProperty(propertyName = "subscriptionDurability", propertyValue = "Durable"),
                                 @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "AUTO_ACKNOWLEDGE"),
                                 @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "15"),
                                 @ActivationConfigProperty(propertyName = "maxMessages", propertyValue = "1"),
                                 @ActivationConfigProperty(propertyName = "useDLQ", propertyValue = "true"),
                                 @ActivationConfigProperty(propertyName = "DLQMaxResent", propertyValue = "10"),                
                                 @ActivationConfigProperty(propertyName = "messageSelector", propertyValue = "color = 'RED'")
                              })
                @TransactionManagement(value= TransactionManagementType.CONTAINER)
                @TransactionAttribute(value= TransactionAttributeType.REQUIRED)
                @ResourceAdapter("hornetq-ra.rar")
                 

                public class SubmissionMDB extends ParentEntityBean implements MessageDrivenBean,MessageListener {
                     
                private static final long serialVersionUID = 1L;
                private MessageDrivenContext mdc = null;
                          
                    public QuoteSubmissionMDB() throws Exception{
                     System.out.println(className+"::QuoteSubmissionMDB()");
                    }

                    public void setMessageDrivenContext(MessageDrivenContext mdcv){
                     System.out.println(className+"::setMessageDrivenContext()");
                        this.mdc = mdcv;
                    }

                    public void ejbCreate() {
                     System.out.println(className+"::ejbCreate()");
                    }
                  
                    /*
                     * onMessage receives Message and forward the message to the Util class to
                     * Create the SOAPMessage
                     * (non-Javadoc)
                     * @see javax.jms.MessageListener#onMessage(javax.jms.Message)
                     */
                    public void onMessage(Message inMessage) {
                     final String methodName="onMessage";
                     System.out.println("In QuoteSubmissionMDB.onMessage()");
                     MapMessage msg=null;
                     Connection con=null;

                     try {        
                         if(inMessage instanceof MapMessage){           
                          msg = (MapMessage) inMessage;
                          String userName="";
                         
                          /*
                           * Get the Details from the Message Map.
                           */
                             System.out.println("username"+msg.getString("Username"));
                            
                           
                         }else{
                         System.out.println(className+"::"+methodName+"::Message of wrong type: "+inMessage.getClass().getName());                                           
                         }  
                     }catch (Exception e){
                      System.out.println(methodName+"::Exception is: " + e.toString());      
                     }finally{
                      try{
                      if(con!=null){
                       con.close();
                      }
                      }catch(Exception e){
                       System.out.println(methodName+"::Exception is: " + e.toString()); 
                      }
                     }
                    }
                    public void ejbRemove() {
                     mdc=null;
                     System.out.println(className+"::ejbRemove()");
                    }
                }

                 

                But now am getting this error now

                 

                 

                16:50:04,695 INFO  [JSFImplManagementDeployer] Initialized 3 JSF configurations: [Mojarra-1.2, MyFaces-2.0, Mojarra-2.0]
                16:50:09,484 ERROR [AbstractKernelController] Error installing to Parse: name=vfs:///D:/jboss/jboss-6.0.0/server/default/deploy/MessagingMDB114.jar state=PreParse mode=Manual requiredState=Parse:
                org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfs:///D:/jboss/jboss-6.0.0/server/default/deploy/MessagingMDB114.jar
                        at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.GA]
                        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:383) [:2.2.0.GA]
                        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:343) [:2.2.0.GA]
                        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:315) [:2.2.0.GA]
                        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:255) [:2.2.0.GA]
                        at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.GA]
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.GA]
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.GA]
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.GA]
                        at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.GA]
                        at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.GA]
                        at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.Final]
                        at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:143) [:0.2.2]
                        at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:151) [:0.2.2]
                        at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.2.2]
                        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.GA]
                        at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.GA]
                        at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start(ProfileActivationWrapper.java:190) [:0.2.2]
                        at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapper.java:87) [:0.2.2]
                        at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActivationService.java:215) [:0.2.2]
                        at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationService.java:159) [:0.2.2]
                        at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:112) [:0.2.2]
                        at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:87) [:0.2.2]
                        at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:91) [:0.2.2]
                        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:132) [:6.0.0.Final]
                        at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
                        at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
                        at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
                        at java.lang.Thread.run(Thread.java:619) [:1.6.0_06]
                Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: vfs:///D:/jboss/jboss-6.0.0/server/default/deploy/MessagingMDB114.jar/META-INF/ejb-jar.xml@20,29
                        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:224) [jbossxb.jar:2.0.3.GA]
                        at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:178) [jbossxb.jar:2.0.3.GA]
                        at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:257) [jbossxb.jar:2.0.3.GA]
                        at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:231) [jbossxb.jar:2.0.3.GA]
                        at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137) [:2.2.0.GA]
                        at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121) [:2.2.0.GA]
                        at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:352) [:2.2.0.GA]
                        at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:334) [:2.2.0.GA]
                        at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:251) [:2.2.0.GA]
                        at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:369) [:2.2.0.GA]
                        ... 47 more
                Caused by: org.xml.sax.SAXException: Element type "activation-config" must be declared. @ vfs:///D:/jboss/jboss-6.0.0/server/default/deploy/MessagingMDB114.jar/META-INF/ejb-jar.xml[20,29]
                        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.error(SaxJBossXBParser.java:416) [jbossxb.jar:2.0.3.GA]
                        at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [xercesImpl.jar:6.0.0.Final]
                        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:209) [jbossxb.jar:2.0.3.GA]
                        ... 56 more

                16:50:09,968 WARNING [FileConfigurationParser] AIO wasn't located on this platform, it will fall back to using pure Java NIO. If your platform is Linux, install LibAIO to enable the AIO journal

                • 5. Re: MDB Deployment error in JBoss6.0
                  murali_m

                  16:51:38,046 ERROR [ProfileServiceBootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETA
                  ILS):

                  DEPLOYMENTS IN ERROR:
                    Deployment "vfs:///D:/jboss/jboss-6.0.0/server/default/deploy/MessagingMDB114.jar" is in error due to the following reason(s): org.xml.sax.SAXException: Element type "activation-config" must be
                  declared. @ vfs:///D:/jboss/jboss-6.0.0/server/default/deploy/MessagingMDB114.jar/META-INF/ejb-jar.xml[20,29]

                          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.GA]
                          at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.GA]
                          at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.Final]
                          at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:107) [:0.2.2]
                          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:135) [:6.0.0.Final]
                          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.Final]
                          at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
                          at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
                          at java.lang.Thread.run(Thread.java:619) [:1.6.0_06]

                  16:51:38,061 INFO  [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on http-192.168.5.56-80
                  16:51:38,077 INFO  [org.jboss.bootstrap.impl.base.server.AbstractServer] JBossAS [6.0.0.Final "Neo"] Started in 1m:40s:730ms

                   

                  where the "activation-config" need to be declared?

                  • 6. Re: MDB Deployment error in JBoss6.0
                    murali_m

                    the ejb-jar.xml is

                     

                    <?xml version="1.0" encoding="UTF-8"?>

                    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems,

                    Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

                    <ejb-jar>

                    <display-name>Submission</display-name>

                       <enterprise-beans>

                      

                          <message-driven>

                           <description>MDB For Submission</description>

                           <display-name>SubmissionMDB</display-name>

                             <ejb-name>SubmissionMDB</ejb-name>

                             <ejb-class>com.dms.ejb.messaging.SubmissionMDB</ejb-class>        

                             <transaction-type>Container</transaction-type>

                             <message-selector></message-selector>

                             <acknowledge-mode>AUTO_ACKNOWLEDGE</acknowledge-mode>

                              <message-driven-destination>

                                <destination-type>javax.jms.Queue</destination-type>

                                <subscription-durability>Durable</subscription-durability>

                            </message-driven-destination>

                            <activation-config>

                           <activation-config-property>

                              <activation-config-property-name>destinationType</activation-config-property-name>

                              <activation-config-property-value>javax.jms.Queue</activation-config-property-value>

                           </activation-config-property>

                            <activation-config-property>

                             <activation-config-property-name>providerAdapterJNDI</activation-config-property-name>

                             <activation-config-property-value>DefaultJMSProvider</activation-config-property-value>

                           </activation-config-property>

                            <activation-config-property>

                             <activation-config-property-name>DLQJNDIName</activation-config-property-name>

                             <activation-config-property-value>queue/DLQ</activation-config-property-value>

                           </activation-config-property>

                            <activation-config-property>

                             <activation-config-property-name>minSession</activation-config-property-name>

                             <activation-config-property-value>1</activation-config-property-value>

                           </activation-config-property>

                            <activation-config-property>

                             <activation-config-property-name>subscriptionDurability</activation-config-property-name>

                             <activation-config-property-value>Durable</activation-config-property-value>

                           </activation-config-property>

                            <activation-config-property>

                             <activation-config-property-name>acknowledgeMode</activation-config-property-name>

                             <activation-config-property-value>AUTO_ACKNOWLEDGE</activation-config-property-value>

                           </activation-config-property>

                            <activation-config-property>

                             <activation-config-property-name>maxSession</activation-config-property-name>

                             <activation-config-property-value>15</activation-config-property-value>

                           </activation-config-property>

                            <activation-config-property>

                             <activation-config-property-name>maxMessages</activation-config-property-name>

                             <activation-config-property-value>1</activation-config-property-value>

                           </activation-config-property>

                            <activation-config-property>

                             <activation-config-property-name>useDLQ</activation-config-property-name>

                             <activation-config-property-value>true</activation-config-property-value>

                           </activation-config-property>

                            <activation-config-property>

                            <activation-config-property-name>DLQMaxResent</activation-config-property-name>

                            <activation-config-property-value>10</activation-config-property-value>

                           </activation-config-property>

                            <activation-config-property>

                             <activation-config-property-name>messageSelector</activation-config-property-name>

                             <activation-config-property-value>color = 'RED'</activation-config-property-value>

                           </activation-config-property>

                         </activation-config>

                          </message-driven>

                          </enterprise-beans>    

                       </ejb-jar>

                    • 7. Re: MDB Deployment error in JBoss6.0
                      clebert.suconic

                      I don't see anthing related to HornetQ on the last error.

                       

                      Do you see anything related to HornetQ.. maybe I'm missing something.

                       

                       

                       

                      Maybe someone else could help you here... or you could ask on the AS forums.

                      • 8. MDB Deployment error in JBoss6.0
                        murali_m

                        yeah i have posted in AS Forum, thanks.