Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

java.lang.UnsatisfiedLinkError: mqjbnd05

44 views
Skip to first unread message

smilie

unread,
May 15, 2008, 10:34:08 PM5/15/08
to
Using WAS 6.x

Websphere MQ 6.3

I spent hours trying to resolve this issue. I have exhaused my google search options..

I am getting UnsatisfiedLinkError when the application tries to

initialize MQ connection factories/queue definitions

Follwing is the error message being thrown :

============================================

java.lang.UnsatisfiedLinkError: mqjbnd05 (A file or directory in the path name does not exist.)

at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:979)

at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:948)

at java.lang.System.loadLibrary(System.java:453)


Following is the startup information :

======================================

WebSphere Platform 6.1 http://BASE 6.1.0.15 cf150808.12 running with process name app_srv1_cell\app_srv1_node\server1 and process id 667692

Host Operating System is AIX, version 5.3

Java version = J2RE 1.5.0 IBM J9 2.3 AIX ppc64-64 j9vmap6423-20071007 (JIT enabled)

J9VM - 20071004_14218_BHdSMr

JIT - 20070820_1846ifx1_r8

GC - 200708_10, Java Compiler = j9jit23, Java VM name = IBM J9 VM

was.install.root = /usr/IBM/WebSphere/AppServer

user.install.root = /usr/IBM/WebSphere/AppServer/profiles/app_srv1

Java Home = /usr/IBM/WebSphere/AppServer/java/jre

ws.ext.dirs = /usr/IBM/WebSphere/AppServer/java/lib:/usr/IBM/WebSphere/AppServer/profiles/app _srv1/classes:/usr/IBM/WebSphere/AppServer/classes:/usr/IBM/WebSphere/AppServer/ lib:/usr/IBM/WebSphere/AppServer/installedChannels:/usr/IBM/WebSphere/AppServer/ lib/ext:/usr/IBM/WebSphere/AppServer/web/help:/usr/IBM/WebSphere/AppServer/deplo ytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime

Classpath = /usr/IBM/WebSphere/AppServer/profiles/app_srv1/properties:/usr/IBM/WebSphere/Ap pServer/properties:/usr/IBM/WebSphere/AppServer/lib/startup.jar:/usr/IBM/WebSphe re/AppServer/lib/bootstrap.jar:/usr/IBM/WebSphere/AppServer/lib/j2ee.jar:/usr/IB M/WebSphere/AppServer/lib/lmproxy.jar:/usr/IBM/WebSphere/AppServer/lib/urlprotoc ols.jar:/usr/IBM/WebSphere/AppServer/deploytool/itp/batchboot.jar:/usr/IBM/WebSp here/AppServer/deploytool/itp/batch2.jar:/usr/IBM/WebSphere/AppServer/java/lib/t ools.jar:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/u sr/mqm/java/lib/connector.jar:/usr/mqm/java/lib/jms.jar

Java Library path = /usr/IBM/WebSphere/AppServer/java/jre/bin:/usr/IBM/WebSphere/AppServer/java/jre /bin:/usr/IBM/WebSphere/AppServer/java/jre/bin/classic:/usr/IBM/WebSphere/AppSer ver/java/jre/bin:/usr/IBM/WebSphere/AppServer/bin:/usr/mqm/java/lib64:/usr/IBM/W ebSphere/AppServer/java/jre/bin/j9vm:/usr/IBM/WebSphere/AppServer/java/jre/bin/j 9vm:/usr/lib

Please note

===========

That I have /usr/mqm/java/lib64 on Java Library Path. I have the required SO under this directory. Still the server reports that there is an unsatisfied link. Is there any other binary location missing??

Any helps/ comments to resolve this issue .. will be highly

appreciated.


Complete stack trace:

=====================

WSVR0501E: Error creating component com.ibm.ws.runtime.component.ApplicationMgrImpl@8f608f6

com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.exception.RuntimeError: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: mqjbnd05 (A file or

directory in the path name does not exist.)

at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplications(ApplicationMg rImpl.java:823)

at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:5 64)

at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:9 77)

at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:673)

at com.ibm.ws.runtime.component.ApplicationServerImpl.start(ApplicationServerImpl. java:191)

at com.ibm.ws.runtime.component.ContainerImpl.startComponents(ContainerImpl.java:9 77)

at com.ibm.ws.runtime.component.ContainerImpl.start(ContainerImpl.java:673)

at com.ibm.ws.runtime.component.ServerImpl.start(ServerImpl.java:526)

at com.ibm.ws.runtime.WsServerImpl.bootServerContainer(WsServerImpl.java:192)

at com.ibm.ws.runtime.WsServerImpl.start(WsServerImpl.java:140)

at com.ibm.ws.runtime.WsServerImpl.main(WsServerImpl.java:461)

at com.ibm.ws.runtime.WsServer.main(WsServer.java:59)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)

at java.lang.reflect.Method.invoke(Method.java:618)

at com.ibm.wsspi.bootstrap.WSLauncher.launchMain(WSLauncher.java:183)

at com.ibm.wsspi.bootstrap.WSLauncher.main(WSLauncher.java:90)

at com.ibm.wsspi.bootstrap.WSLauncher.run(WSLauncher.java:72)

at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.jav a:78)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecl ipseAppLauncher.java:92)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLa uncher.java:68)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:43)

at java.lang.reflect.Method.invoke(Method.java:618)

at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)

at org.eclipse.core.launcher.Main.basicRun(Main.java:280)

at org.eclipse.core.launcher.Main.run(Main.java:977)

at com.ibm.wsspi.bootstrap.WSPreLauncher.launchEclipse(WSPreLauncher.java:336)

at com.ibm.wsspi.bootstrap.WSPreLauncher.main(WSPreLauncher.java:91)

Caused by: com.ibm.ws.exception.RuntimeError: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: mqjbnd05 (A file or directory in the path name

does not exist.)

at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgr Impl.java:988)

at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationM grImpl.java:2122)

at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsCompon entImpl.java:342)

at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473)

Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: mqjbnd05 (A file or directory in the path name does not exist.)

at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationI mpl.java:867)

at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgr Impl.java:949)

... 3 more

Caused by: java.lang.UnsatisfiedLinkError: mqjbnd05 (A file or directory in the path name does not exist.)


Thanks!


TIA

R.C

Ken Hygh

unread,
May 16, 2008, 6:37:43 AM5/16/08
to

/usr/mqm/java/lib64

needs to be on LOAD_LIBRARY_PATH or something similar on AIX, not on
java.lang.path

Ken

Infyniti

unread,
May 16, 2008, 8:23:24 AM5/16/08
to
Here is the technote regd the same error .

http://www-1.ib m.com/support/docview.wss?uid=swg21248900

smilie

unread,
May 16, 2008, 10:34:52 AM5/16/08
to
Hi, Thanks for the reply.

Yes I did use the LIBPATH setting in AIX to load this native library. This automatically appears in Java lib path.

However, I am haven't got a solution for this problem yet!

TIA

R.C

smilie

unread,
May 16, 2008, 11:04:23 AM5/16/08
to
Well, seems like I have a fix. But not sure if it is bypassing the requirement to load the required Binary.

I changed the "Transport type" On queue connection factory definition to "CLIENT" from "BINARY"

Will this have any performance impact?

TIA

R.C

mateus.p.and...@hsbcglt.com.br

unread,
Aug 20, 2008, 10:49:35 AM8/20/08
to
Hi Guys,

I have the same problem and I don´t know how to fix it (see below)
----------------------------------------------------------------

[8/20/08 16:12:18:374 CEST] 0000001e SystemErr R Exception in thread "Initializer-RepeatingTimer-0" java.lang.UnsatisfiedLinkError: mqjbnd05 (No such fil
e or directory)
[8/20/08 16:12:18:374 CEST] 0000001e SystemErr R at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:957)
[8/20/08 16:12:18:375 CEST] 0000001e SystemErr R at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:926)
[8/20/08 16:12:18:375 CEST] 0000001e SystemErr R at java.lang.System.loadLibrary(System.java:453)
[8/20/08 16:12:18:375 CEST] 0000001e SystemErr R at com.ibm.mq.MQSESSION.loadLib(MQSESSION.java:1088)
[8/20/08 16:12:18:375 CEST] 0000001e SystemErr R at com.ibm.mq.server.MQSESSION$1.run(MQSESSION.java:230)
[8/20/08 16:12:18:376 CEST] 0000001e SystemErr R at java.security.AccessController.doPrivileged(AccessController.java:193)
[8/20/08 16:12:18:376 CEST] 0000001e SystemErr R at com.ibm.mq.server.MQSESSION. (MQSESSION.java:224)
[8/20/08 16:12:18:376 CEST] 0000001e SystemErr R at java.lang.J9VMInternals.initializeImpl(Native Method)
[8/20/08 16:12:18:376 CEST] 0000001e SystemErr R at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
[8/20/08 16:12:18:376 CEST] 0000001e SystemErr R at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:70)
[8/20/08 16:12:18:377 CEST] 0000001e SystemErr R at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:523)
[8/20/08 16:12:18:377 CEST] 0000001e SystemErr R at com.ibm.mq.MQManagedConnectionJ11. (MQManagedConnectionJ11.java:177)
[8/20/08 16:12:18:377 CEST] 0000001e SystemErr R at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQBindingsManagedConnect
ionFactoryJ11.java:179)
[8/20/08 16:12:18:377 CEST] 0000001e SystemErr R at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQBindingsManagedConnecti
onFactoryJ11.java:215)
[8/20/08 16:12:18:377 CEST] 0000001e SystemErr R at com.ibm.mq.StoredManagedConnection. (StoredManagedConnection.java:84)
[8/20/08 16:12:18:377 CEST] 0000001e SystemErr R at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:168)
[8/20/08 16:12:18:378 CEST] 0000001e SystemErr R at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:773)
[8/20/08 16:12:18:378 CEST] 0000001e SystemErr R at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:698)
[8/20/08 16:12:18:378 CEST] 0000001e SystemErr R at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManagerFactory.java:658)
[8/20/08 16:12:18:378 CEST] 0000001e SystemErr R at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFactory.java:154)
[8/20/08 16:12:18:378 CEST] 0000001e SystemErr R at com.ibm.mq.MQQueueManager.(MQQueueManager.java:452)
[8/20/08 16:12:18:379 CEST] 0000001e SystemErr R at com.ibm.dse.services.mq.MQConnection.initInstance(Unknown Source)
[8/20/08 16:12:18:379 CEST] 0000001e SystemErr R at com.ibm.dse.services.mq.MQConnection.initializeFrom(Unknown Source)
[8/20/08 16:12:18:379 CEST] 0000001e SystemErr R at com.ibm.dse.base.Externalizer.convertTagToObject(Externalizer.java:251)
[8/20/08 16:12:18:379 CEST] 0000001e SystemErr R at com.ibm.dse.base.ServiceExternalizer.convertTagToObject(ServiceExternalizer.java:94)
[8/20/08 16:12:18:379 CEST] 0000001e SystemErr R at com.ibm.dse.base.Context.initializeServiceFrom(Context.java:1168)
[8/20/08 16:12:18:380 CEST] 0000001e SystemErr R at com.ibm.dse.base.Context.initializeFrom(Context.java:1088)
[8/20/08 16:12:18:380 CEST] 0000001e SystemErr R at com.ibm.dse.base.Externalizer.convertTagToObject(Externalizer.java:251)
[8/20/08 16:12:18:380 CEST] 0000001e SystemErr R at com.ibm.dse.base.ContextExternalizer.convertTagToObject(ContextExternalizer.java:93)
[8/20/08 16:12:18:380 CEST] 0000001e SystemErr R at com.ibm.dse.base.Externalizer.readObject(Externalizer.java:590)
[8/20/08 16:12:18:380 CEST] 0000001e SystemErr R at com.ibm.dse.base.Context.readObject(Context.java:1446)
[8/20/08 16:12:18:380 CEST] 0000001e SystemErr R at com.hsbc.carm.common.wsbcc.comms.CbtfHsbcCommsOp.commsMQ(CbtfHsbcCommsOp.java:320)
[8/20/08 16:12:18:381 CEST] 0000001e SystemErr R at com.hsbc.carm.common.wsbcc.comms.CbtfHsbcCommsOp.execute(CbtfHsbcCommsOp.java:167)
[8/20/08 16:12:18:381 CEST] 0000001e SystemErr R at com.hsbc.carm.common.config.SiteConfigSet.loadSites(SiteConfigSet.java:138)
[8/20/08 16:12:18:381 CEST] 0000001e SystemErr R at com.hsbc.carm.crm00.Initializer.initSiteConfig(Initializer.java:248)
[8/20/08 16:12:18:381 CEST] 0000001e SystemErr R at com.hsbc.carm.crm00.Initializer.run(Initializer.java:109)
[8/20/08 16:12:18:381 CEST] 0000001e SystemErr R at com.hsbc.carm.common.util.BackgroundTask$RepeatingTimer.run(BackgroundTask.java:72)


-----------------------------------------------------------------
Regards

0 new messages