eclipse-ee4j / eclipse-ee4j/genericmessagingra

MDB Not comming up due to javax.resource.spi.InvalidPropertyException using Generic JMS JCA

Open
#64 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Hi,

i am getting an error while starting jboss EAP 7 instance with below Error. Please let me what could be the issue.

2017-11-24 00:03:34,297 INFO [stdout] (ServerService Thread Pool -- 69) *** End of refresh ldap ***
2017-11-24 00:03:34,317 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "AE_APP_EAR.ear")]) - failure description: {"WFLYCTL0080: Failed services" => {
"jboss.deployment.subunit.\"AE_APP_EAR.ear\".\"ApplicationServices_CHNLMDB.jar\".component.ChannelsRequestMessageBean.START" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"AE_APP_EAR.ear\".\"ApplicationServices_CHNLMDB.jar\".component.ChannelsRequestMessageBean.START: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException
Caused by: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException
Caused by: javax.resource.spi.InvalidPropertyException
Caused by: java.lang.NullPointerException",
"jboss.deployment.subunit.\"AE_APP_EAR.ear\".\"ApplicationServices_CHNLMDB.jar\".component.AEICM_ACK_TOPIC.START" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"AE_APP_EAR.ear\".\"ApplicationServices_CHNLMDB.jar\".component.AEICM_ACK_TOPIC.START: java.lang.ClassCastException: com.webmethods.jms.impl.WmXAConnectionFactoryImpl cannot be cast to javax.jms.XATopicConnectionFactory
Caused by: java.lang.ClassCastException: com.webmethods.jms.impl.WmXAConnectionFactoryImpl cannot be cast to javax.jms.XATopicConnectionFactory"
}}

WFLYCTL0186: Services which failed to start: service jboss.deployment.subunit."AE_APP_EAR.ear"."ApplicationServices_CHNLMDB.jar".component.ChannelsRequestMessageBean.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."AE_APP_EAR.ear"."ApplicationServices_CHNLMDB.jar".component.ChannelsRequestMessageBean.START: java.lang.RuntimeException: javax.resource.spi.InvalidPropertyException
service jboss.deployment.subunit."AE_APP_EAR.ear"."ApplicationServices_CHNLMDB.jar".component.AEICM_ACK_TOPIC.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."AE_APP_EAR.ear"."ApplicationServices_CHNLMDB.jar".component.AEICM_ACK_TOPIC.START: java.lang.ClassCastException: com.webmethods.jms.impl.WmXAConnectionFactoryImpl cannot be cast to javax.jms.XATopicConnectionFactory.

jboss-ejb3.xml

AEICM_ACK_TOPIC
scb.technical.application.service.ChannelsRequestMessageBean

destinationJndiName
actual External JNDI name

providerIntegrationMode
jndi

jndiProperties
java.naming.factory.initial=com.webmethods.jms.naming.WmJmsNamingCtxFactory,java.naming.provider.url=wmjmsnaming://SIT_JNDI04@10.10.10.10:000/EDMIFramework

connectionFactoryJndiName
Rdm_ConnectionFactory

destinationType
javax.jms.Topic

subscriptionDurability
Durable

subscriptionName
AEICM_ACK_TOPIC

topicClassName
com.webmethods.jms.impl.WmTopicImpl

acknowledgeMode
Auto-acknowledge

messageSelector
countryCode = 'AE' and captureSystem = 'XYZ'



AEICM_ACK_TOPIC
webm-jmsra


MDB : ChannelsRequestMessageBean.java

@MessageDriven(activationConfig = {
@ActivationConfigProperty(propertyName = "useJNDI", propertyValue = "true"),
@ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Topic")
})
@ResourceAdapter("webm-jmsra")
@TransactionManagement(TransactionManagementType.BEAN)
public class ChannelsRequestMessageBean implements MessageListener {

Thanks & regards
Viswa..

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.