Troubleshooting
Problem
JBoss JMS4.3/Solaris: JMS operation throws ClassNotFoundException on org.jboss.mq.referenceable.ObjectRefAddr on MCF 8.0
Symptom
When the Sterling application posts to or reads into or from a message the queue, the JBoss JMS throws this exception:
"javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: org.jboss.mq.referenceable.ObjectRefAddr (no security manager: RMI class loader disabled)]" error
Error Message
<Errors>
<Error ErrorCode="JMSContext6">
ErrorDescription="Error_description_not_available" ErrorRelatedMoreInfo="">
<Attribute Name="ErrorCode" Value="JMSContext6"/>
<Attribute Name="ErrorDescription" Value="Error_description_not_available"/>
<Error ErrorCode="javax.naming.CommunicationException">
ErrorDescription=""ErrorRelatedMoreInfo="">
<Stack>javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: org.jboss.mq.referenceable.ObjectRefAddr (no security manager: RMI class loader disabled)]
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:724)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:589)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.yantra.interop.services.jms.JMSContext.getConnectionFactoryFromJNDI(JMSContext.java:272)
Resolving The Problem
JBoss throws this error because it believes that it needs MQ jars even though JBoss JMS is in use.
Check the following to avoid system picking up MQ related jars:
- Check the parameter <CreateJBossMQDestination> in <JBOSS_HOME>/server/<your server name>/conf/standardjboss.xml. The value should be 'false'
- Check for MQ jars in <INSTALL_DIR>/properties/AGENTDynamicclasspath.cfg. Modify the file if it contains any MQ related jars.
- Ensure that there are no MQ jars placed in <JBOSS_HOME>/lib folder.
On verification of the above, restart all the Sterling related JVMs, and recheck the behavior.
Historical Number
NFX8324
Product Synonym
[<p><b>]Escalation ID[</b><p>]
139886
[<p><b>]Severity[</b><p>]
Critical
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21556576