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 » IBM MQ Java / JMS » mqjbnd05.dll: %1 is not a valid Win32 application error

Post new topic  Reply to topic
 mqjbnd05.dll: %1 is not a valid Win32 application error « View previous topic :: View next topic » 
Author Message
psiracusa
PostPosted: Mon May 21, 2007 10:32 am    Post subject: mqjbnd05.dll: %1 is not a valid Win32 application error Reply with quote

Apprentice

Joined: 17 Nov 2006
Posts: 34

I migrated a java app from our sandbox environment to a development server and I started seeing this error. Any help would be appreicated because I can't seem to get past this. Here is my environment:

Windows 2003 64-bit server
Sun JRE 1.6 (tried 1.5 as well)
MQ 6.0
Classpath=C:\Program Files (x86)\IBM\WebSphere MQ\Java\lib\com.ibm.mq.jar;C:\Program Files (x86)\IBM\WebSphere MQ\Tools\Java\base;C:\Program Files (x86)\Java\jdk1.6.0\lib

C:\>java LoadMQGet
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files (x86
)\IBM\WebSphere MQ\Java\lib\mqjbnd05.dll: %1 is not a valid Win32 application
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:822)
at java.lang.System.loadLibrary(System.java:992)
at com.ibm.mq.MQSESSION.loadLib(MQSESSION.java:872)
at com.ibm.mq.server.MQSESSION$1.run(MQSESSION.java:228)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.mq.server.MQSESSION.<clinit>(MQSESSION.java:222)
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:70)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:492)
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:
168)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnec
tion(MQBindingsManagedConnectionFactoryJ11.java:179)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnect
ion(MQBindingsManagedConnectionFactoryJ11.java:215)
at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.jav
a:84)
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConne
ctionManager.java:168)
at com.ibm.mq.MQQueueManagerFactory.obtainBaseMQQueueManager(MQQueueMana
gerFactory.java:772)
at com.ibm.mq.MQQueueManagerFactory.procure(MQQueueManagerFactory.java:6
97)
at com.ibm.mq.MQQueueManagerFactory.constructQueueManager(MQQueueManager
Factory.java:657)
at com.ibm.mq.MQQueueManagerFactory.createQueueManager(MQQueueManagerFac
tory.java:153)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:490)
at LoadMQGet.<init>(LoadMQGet.java:23)
at LoadMQGet.main(LoadMQGet.java:156)
Back to top
View user's profile Send private message
psiracusa
PostPosted: Mon May 21, 2007 5:32 pm    Post subject: Reply with quote

Apprentice

Joined: 17 Nov 2006
Posts: 34

FYI. I just found out java apps aren't supported on windows x64.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Thu May 24, 2007 1:25 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

psiracusa wrote:
FYI. I just found out java apps aren't supported on windows x64.

Hi,

I would think that the 64-bit JVM is the problem. Switch to a 32-bit JVM on Win2003 Server and it should work.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » mqjbnd05.dll: %1 is not a valid Win32 application error
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.