ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » WAS7 bindings with MQ7 on solaris

Post new topic  Reply to topic
 WAS7 bindings with MQ7 on solaris « View previous topic :: View next topic » 
Author Message
raz
PostPosted: Tue Jan 18, 2011 10:56 pm    Post subject: WAS7 bindings with MQ7 on solaris Reply with quote

Acolyte

Joined: 10 Jul 2007
Posts: 70

Hi,

I have already searched on this topic but Ididn't get the correct answer, that'swhy I 'm resubmitting this.

I have WAS7 and MQ7 on Solaris, and WAS is connected to MQ through the bindings. when I;m trying to start the app server it's givening me the following error


[1/19/11 4:30:28:311 GMT+00:00] 0000001f SystemErr R com.ibm.msg.client.jms.DetailedJMSException: JMSFMQ6312: An exception occurred in the Java(tm) MQI. The Java(tm) MQI has thrown an exception describin
g the problem. See the linked exception for further information.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.ibm.msg.client.commonservices.j2se.NLSServices.createException(NLSServices.java:411)
at com.ibm.msg.client.commonservices.nls.NLSServices.createException(NLSServices.java:390)
at com.ibm.msg.client.wmq.factories.WMQXAConnectionFactory.createV7ProviderConnection(WMQXAConnectionFactory.java:163)
at com.ibm.msg.client.wmq.factories.WMQConnectionFactory.createProviderConnection(WMQConnectionFactory.java:7331)
at com.ibm.msg.client.wmq.factories.WMQXAConnectionFactory.createProviderXAConnection(WMQXAConnectionFactory.java:101)
at com.ibm.msg.client.jms.admin.JmsConnectionFactoryImpl.createXAConnectionInternal(JmsConnectionFactoryImpl.java:332)
at com.ibm.mq.jms.MQXAQueueConnectionFactory.createXAQueueConnection(MQXAQueueConnectionFactory.java:137)
at com.ibm.ejs.jms.JMSManagedQueueConnection.createConnection(JMSManagedQueueConnection.java:123)
at com.ibm.ejs.jms.JMSManagedConnection.<init>(JMSManagedConnection.java:314)
at com.ibm.ejs.jms.JMSManagedQueueConnection.<init>(JMSManagedQueueConnection.java:71)
at com.ibm.ejs.jms.WMQJMSRAManagedConnectionFactory.createManagedConnection(WMQJMSRAManagedConnectionFactory.java:256)
at com.ibm.ejs.jms.JMSManagedConnectionFactory.createManagedConnection(JMSManagedConnectionFactory.java:635)
at com.ibm.ejs.j2c.FreePool.createManagedConnectionWithMCWrapper(FreePool.java:1874)
at com.ibm.ejs.j2c.FreePool.createOrWaitForConnection(FreePool.java:1609)
at com.ibm.ejs.j2c.PoolManager.reserve(PoolManager.java:2436)
at com.ibm.ejs.j2c.ConnectionManager.allocateMCWrapper(ConnectionManager.java:955)
at com.ibm.ejs.j2c.ConnectionManager.allocateConnection(ConnectionManager.java:609)
at com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle.createQueueConnection(JMSQueueConnectionFactoryHandle.java:84)
at com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.java:429)
at com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java:747)
at com.ibm.ejs.jms.listener.MDBListenerImpl.start(MDBListenerImpl.java:670)
at com.ibm.ejs.jms.listener.MDBListenerManagerImpl.start(MDBListenerManagerImpl.java:633)
at com.ibm.ejs.jms.listener.MsgListenerPort.add(MsgListenerPort.java:232)
at com.ibm.ejs.jms.listener.MDBListenerManagerImpl.startApplicationMDBs(MDBListenerManagerImpl.java:874)
at com.ibm.ejs.jms.listener.MDBListenerManagerImpl.stateChanged(MDBListenerManagerImpl.java:832)
at com.ibm.ws.runtime.component.MessageListenerImpl.stateChanged(MessageListenerImpl.java:188)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.stateChanged(ApplicationMgrImpl.java:1114)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectEvent(DeployedApplicationImpl.java:1296)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.setState(DeployedApplicationImpl.java:277)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.setState(DeployedApplicationImpl.java:272)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:948)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:740)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2092)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:437)
at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:122)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:380)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$300(CompositionUnitMgrImpl.java:105)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:928)
at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:349)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Caused by: com.ibm.mq.jmqi.JmqiException: CC=2;RC=2495;AMQ8568: The native JNI library 'mqjbnd' was not found. [3=mqjbnd]
at com.ibm.mq.jmqi.local.LocalMQ$1.run(LocalMQ.java:248)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.mq.jmqi.local.LocalMQ.initialise_inner(LocalMQ.java:214)
at com.ibm.mq.jmqi.local.LocalMQ.initialise(LocalMQ.java:177)
at com.ibm.mq.jmqi.local.LocalMQ.<init>(LocalMQ.java:871)
at com.ibm.mq.jmqi.local.LocalServer.<init>(LocalServer.java:128)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.ibm.mq.jmqi.JmqiEnvironment.getInstance(JmqiEnvironment.java:626)
at com.ibm.mq.jmqi.JmqiEnvironment.getMQI(JmqiEnvironment.java:563)
at com.ibm.msg.client.wmq.factories.WMQXAConnectionFactory.createV7ProviderConnection(WMQXAConnectionFactory.java:155)
... 37 more
Caused by: java.lang.UnsatisfiedLinkError: /opt/mqm/java/lib/libmqjbnd.so: ld.so.1: java: fatal: /opt/mqm/java/lib/libmqjbnd.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at com.ibm.mq.jmqi.local.LocalMQ.loadLib(LocalMQ.java:839)
at com.ibm.mq.jmqi.local.LocalMQ$1.run(LocalMQ.java:228)
Back to top
View user's profile Send private message
WBI_User21
PostPosted: Wed Jan 19, 2011 2:20 am    Post subject: Reply with quote

Voyager

Joined: 12 Jun 2007
Posts: 98

Quote:
Caused by: java.lang.UnsatisfiedLinkError: /opt/mqm/java/lib/libmqjbnd.so: ld.so.1: java: fatal: /opt/mqm/java/lib/libmqjbnd.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)


Seems to be problem with classes . You need to check MQ and WAS installed 64 bit or 32 bit one use libraries accordingly
Back to top
View user's profile Send private message
exerk
PostPosted: Wed Jan 19, 2011 3:52 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

MQRC 2495 = 2495 0x000009bf MQRC_MODULE_NOT_FOUND = AMQ8568: The native JNI library 'mqjbnd' was not found. [3=mqjbnd]

Put AMQ8568 into Google and see what comes top of the list...
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
raz
PostPosted: Wed Jan 19, 2011 5:06 am    Post subject: Reply with quote

Acolyte

Joined: 10 Jul 2007
Posts: 70

Thank you for the reply. yes WAS is at 64bit, is there any variable i need to set up for the 64bit lib?
Back to top
View user's profile Send private message
WBI_User21
PostPosted: Wed Jan 19, 2011 5:22 am    Post subject: Reply with quote

Voyager

Joined: 12 Jun 2007
Posts: 98

http://www-01.ibm.com/support/docview.wss?uid=swg1PM11735
Back to top
View user's profile Send private message
raz
PostPosted: Wed Jan 19, 2011 7:43 am    Post subject: Reply with quote

Acolyte

Joined: 10 Jul 2007
Posts: 70

Thank you

Issue is resolved by setting 64-bit lib
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » WAS7 bindings with MQ7 on solaris
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.