JBoss communication problem with Websphere MQ
iand Sep 28, 2005 6:11 AMHello,
I have a problem getting JBoss to work with Websphere MQ (MQSeries) 5.3 on SuSE 9.2. The problem originally arose with JBoss 4.0.2 but also happens with JBoss 3.2.3.
JBoss runs in the background as its own user 'jboss'. I use the jboss_init_suse.sh script to start and the jboss user has LIBPATH=LD_LIBRARY_PATH=/opt/mqm/java/lib.
When JBoss starts up we get the following warning:
------------
18:32:34,648 WARN [ServiceController] Problem starting service
jboss.mq:service=JMSProviderLoader,name=MQSeriesProvider
java.lang.ClassNotFoundException: No ClassLoaders found for:
org.jboss.jms.jndi.MQSeriesProvider
at
org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:241)
at..... etc etc
------------
yet this class is definitely in server/default/lib/jboss.jar so I
can't understand why JBoss does not find it.
Finally at startup, we get an error message that our bean could not be deployed completely because "MQSeriesProvider not bound" :
------------
18:33:00,679 INFO [EARDeployer] Started J2EE application:
file:/opt/jboss-3.2.3/server/default/deploy/tarp2ee-app.ear
18:33:00,679 INFO [MainDeployer] Deployed package:
file:/opt/jboss-3.2.3/server/default/deploy/tarp2ee-app.ear
18:33:00,681 ERROR [URLDeploymentScanner] MBeanException: Exception in
MBean operation 'checkIncompleteDeployments()'
Cause: Incomplete Deployment listing:
Packages waiting for a deployer:
Incompletely deployed packages:
MBeans waiting for classes:
MBeans waiting for other MBeans:
[ObjectName: jboss.mq:servic e=JMSProviderLoader,name=MQSeriesProvider
state: FAILED
I Depend On:
Depends On Me: java.lang.ClassNotFoundException: No ClassLoaders
found for: org.jboss.jms.jndi.MQSeriesProvider, ObjectName:
jboss.j2ee:jndiName=local/tarp/InputQueueReaderBean,service=EJB
state: FAILED
I Depend On:
Depends On Me: javax.naming.NameNotFoundException: MQSeriesProvider
not bound]
18:33:00,689 INFO [URLDeploymentScanner] Started
jboss.deployment:type=DeploymentScanner,flavor=URL
18:33:00,917 INFO [MainDeployer] Deployed package:
file:/opt/jboss-3.2.3/server/default/conf/jboss-service.xml
18:33:00,928 INFO [Server] JBoss (MX MicroKernel) [3.2.3 (build:
CVSTag=JBoss_3_2_3 date=200401211844)] Started in 1m:4s:88ms
------------
I have made sure that the MQ java libraries are in the java.library.path. Is there something that I have neglected to configure in JBoss?
Many thanks for any suggestions.
Ian