I am using IBM WebSphere Mqseries and the MQ base-classes in windows2000.
That means I am not using JMS-classes for MQ.
I am just using MQ on my own machine so my query-manager is "QM_oemcomputer".
My queue is "SYSTEM.DEFAULT.LOCAL.QUEUE".
My application (JSP/servlets/javabeans) worked ok some weeks, but one day I discovered 2 problems:
This regard just VAJ (VisualAge for Java).
The error is: java.lang.UnsatisfiedLinkError no mqjbnd02 in java.library.path
I get the error in the following statement:qMgr = new MQQueueManager("QM_oemcomputer");
I have checked that the folder for mqjbnd02.dll is in the CLASSPATH environmentvariabel.
I am testing with WebSphere Test Environment in VAJ and I have also put this folder (with mqjbnd02.dll)
in the Class Path for WTE. I have imported the neccessary MQ-classes into VAJ and is therefore not
running with jar-files.
When I try the function (from my browser as a client) for the second time I dont get the same error, but I get:
java.lang.NoClassDefFoundError on class: MQSESSION
This also happens the third time, the fourth time .....aso
I feel that everything is like it was when it was working ok, but I guess I have done something in between
that has caused the problem.
This regards just WAS (WebSphere Application Server).
The first time I start up my application it works ok. I then stop the application in the
WebSphere Advanced Administrative Console and then start the application again.
The application starts up ok, but when I try to run it on a browser as a client I get the error:
java.lang.UnsatisfiedLinkError ..... Native Library C:\Programfiler\IBM\MQSeries Integrator 2.0\bin\mqjbnd02.dll already loaded in another classloader
I have to boot the machine again to make my MQ-application work again.
I wonder if these two problems is caused by the same problem. I guess I somehow have messed up my classloaders.
I have found several similar problems in discussions forums on Internett, but I have not found good answers.
Can anyone in JavaRanch help me ?