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

mqjbnd05

2 views
Skip to first unread message

b...@steinbox.com

unread,
Jan 14, 2009, 12:03:25 PM1/14/09
to
I'm receiving the following error.

Caused by: java.lang.UnsatisfiedLinkError: Can't find library mqjbnd05 (mqjbnd05.dll) in sun.boot.library.path or java.library.path

After extensive reading on the forums this appears to be solved by setting up variables correctly and/or changing the Transport Type on the Queue Connection factory from Bindings to Client (Which it is). I however continue to struggle with this error.

The associated webspere variables are listed below.

MQJMS_LIB_ROOT:C:\Program Files\IBM\WebSphere MQ\Java\lib
MQ_INSTALL_ROOT:C:\Program Files\IBM\WebSphere MQ

I have Websphere MQ Client version 6.0.1.0 and RAD 6.0.1

Is it a problem to only have the client version of MQ?
Does anyone know what I might be missing? or what else might produce the error?

b...@steinbox.com

unread,
Jan 20, 2009, 1:46:19 PM1/20/09
to
In order to investigate this issue further I deleted the Queue Connection factory in WAS that I had created. However I was still presented with this error. I'm very confused to how I could even be getting to the point of it looking for the dll when it doesn't have a Queue connection factory to go against. Does this information result in any further insight from anyone?

LEMI...@uk.ibm.com

unread,
Jan 21, 2009, 2:56:02 AM1/21/09
to
Hi.

Do you have the full stack trace of the exception available?
Also does it actually prevent you from using your client mode connection factory?

Cheers, Matt.

b...@steinbox.com

unread,
Jan 21, 2009, 8:03:51 AM1/21/09
to
Thanks for your response.

Just to clarify this problem IS happening while the Connection factory is in CLIENT mode.

[1/21/09 8:00:18:391 EST] 00000036 SystemOut O [08:00:18,391] ERROR - [com.excellus.services].processServiceRequest():181 - Error: java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java(Compiled Code))
at java.lang.reflect.Method.invoke(Method.java(Compiled Code))
at com.excellus.services.Service.processServiceRequest(Service.java:173)
at com.excellus.services.transport.ServletProcessor.doPost(ServletProcessor.java:141)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)


Caused by: java.lang.UnsatisfiedLinkError: Can't find library mqjbnd05 (mqjbnd05.dll) in sun.boot.library.path or java.library.path

sun.boot.library.path=C:\tools\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin
java.library.path=C:\tools\Rational\SDP\6.0\runtimes\base_v6\java\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\tools\Rational\SDP\6.0\runtimes\base_v6\bin;C:\tools\Rational\SDP\6.0\runtimes\base_v6\java\bin;C:\tools\Rational\SDP\6.0\runtimes\base_v6\java\jre\bin;C:\tools\Rational\SDP\6.0\eclipse\jre\bin;C:\Program Files\IBM\WebSphere MQ\Java\lib;C:\Program Files\CA\SC\CAWIN\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ThinkPad\ConnectUtilities;C:\Program Files\Common Files\Lenovo;C:\Program Files\CA\DSM\bin;C:\PROGRA~1\CA\SC\CAM\bin;C:\Program Files\IBM\WebSphere MQ\bin;C:\Program Files\IBM\WebSphere MQ\tools\c\samples\bin;C:\Program Files\cvsnt;C:\tools\SQLLIB\BIN;C:\tools\SQLLIB\FUNCTION;C:\tools\SQLLIB\SAMPLES\REPL;C:\Program Files\QuickTime\QTSystem\;
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2020)
at java.lang.Runtime.loadLibrary0(Runtime.java:824)
at java.lang.System.loadLibrary(System.java:908)
at com.ibm.mq.MQSESSION.loadLib(MQSESSION.java:1028)
at com.ibm.mq.server.MQSESSION$1.run(MQSESSION.java:246)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.ibm.mq.server.MQSESSION. (MQSESSION.java:243)
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:68)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:508)
at com.ibm.mq.MQManagedConnectionJ11. (MQManagedConnectionJ11.java:213)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:186)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:225)
at com.ibm.mq.StoredManagedConnection. (StoredManagedConnection.java:84)
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:173)
at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueManagerFactory.java:795)
at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:709)
at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManagerFactory.java:664)
at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFactory.java:160)
at com.ibm.mq.MQQueueManager. (MQQueueManager.java:550)
at com.ibm.mq.MQSPIQueueManager. (MQSPIQueueManager.java:62)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:2427)
at com.ibm.mq.jms.MQConnection.createQMXA(MQConnection.java:1806)
at com.ibm.mq.jms.MQQueueConnection. (MQQueueConnection.java:105)
at com.ibm.mq.jms.MQQueueConnection. (MQQueueConnection.java:66)
at com.ibm.mq.jms.MQXAQueueConnection. (MQXAQueueConnection.java:59)
at com.ibm.mq.jms.MQXAQueueConnectionFactory.createXAQueueConnection(MQXAQueueConnectionFactory.java:82)
at com.ibm.ejs.jms.JMSManagedQueueConnection.createConnection(JMSManagedQueueConnection.java:122)
at com.ibm.ejs.jms.JMSManagedConnection. (JMSManagedConnection.java:241)
at com.ibm.ejs.jms.JMSManagedQueueConnection.(JMSManagedQueueConnection.java:70)
at com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory.createManagedConnection(WSJMSManagedQueueConnectionFactory.java:95)
at com.ibm.ejs.jms.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:582)
at com.ibm.ejs.j2c.poolmanager.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1502)
at com.ibm.ejs.j2c.poolmanager.FreePool.createOrWaitForConnection(FreePool.java:1294)
at com.ibm.ejs.j2c.poolmanager.PoolManager.reserve(PoolManager.java:2000)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:769)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:569)
at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQueueConnectionFactoryHandle.java:81)
at com.excellus.eligibility.service.JMSServiceClient.sendMessage(JMSServiceClient.java:264)
at com.excellus.eligibility.service.JMSServiceClient.send(JMSServiceClient.java:116)
at com.excellus.eligibility.service.member.MemberServiceDelegate.sendGetMemberRequest(MemberServiceDelegate.java:91)
at com.excellus.service.drugEligibility.service.DrugEligibilityServiceImpl.processCheckDrugEligibilityRequest(DrugEligibilityServiceImpl.java:228)
... 26 more

LEMI...@uk.ibm.com

unread,
Jan 22, 2009, 5:34:47 AM1/22/09
to
Hi.

That stack trace is going right down the bindings code path for WebSphere MQ so looks like the transport mode is bindings or there is an error somewhere.

Cheers, Matt.

b...@steinbox.com

unread,
Jan 22, 2009, 9:17:53 AM1/22/09
to
It would look that way I just can't find out where to control CLIENT vs BINDINGS since when I go to my one and only Queue connection factory it says CLIENT and if I delete it, it still is doing this and going to client?

How would I find out what is sending this in the BINDINGS direction?

0 new messages