MDB deployment fails in JBoss EAP
Issue
- Our MDB fails to deploy with this:
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)
...
at java.lang.Thread.run(Thread.java:636)
Caused by: org.jboss.deployers.spi.DeploymentException: Required config property RequiredConfigPropertyMetaData@6d2a3e06[name=destination descriptions=[DescriptionMetaData@50ab9eed[language=en]]] for messagingType 'javax.jms.MessageListener' not found in activation config [ActivationConfigProperty(providerAdapterJNDI=DefaultJMSProvider), ActivationConfigProperty(destinationType=javax.jms.Topic), ActivationConfigProperty(DLQJNDIName=queue/DLQ), ActivationConfigProperty(minSession=1), ActivationConfigProperty(subscriptionDurability=NonDurable), ActivationConfigProperty(acknowledgeMode=AUTO_ACKNOWLEDGE), ActivationConfigProperty(maxSession=15), ActivationConfigProperty(keepAlive=30000), ActivationConfigProperty(maxMessages=1), ActivationConfigProperty(useDLQ=true), ActivationConfigProperty(DLQMaxResent=10)] 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.ejb.plugins.inflow.JBossMessageEndpointFactory.createActivationSpec(JBossMessageEndpointFactory.java:449)
... 136 more
Environment
- JBoss Enterprise Application Platform (EAP) 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.