|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQSeries with Java Servlet |
« View previous topic :: View next topic » |
Author |
Message
|
jleong |
Posted: Mon Nov 11, 2002 11:48 pm Post subject: MQSeries with Java Servlet |
|
|
Novice
Joined: 03 Mar 2002 Posts: 13
|
I've created a jsp page, pass the contents of the jsp page to a servlet, and tried to put the contents into a queue. When I try to submit in the jsp page, I get the error "java.lang.NoClassDefFoundError: com/ibm/mqbind/MQMD". I did import the package "com.ibm.mqbind.*" in my servlet. As such, I don't understand why did the error occur. Can anyone help ? Thanks in advance. |
|
Back to top |
|
 |
maxis |
Posted: Tue Nov 12, 2002 6:09 am Post subject: |
|
|
Centurion
Joined: 25 Jun 2002 Posts: 144
|
make sure that all the jar files are included in your app server. And also relevant java jar files
if possible post the complete exception and code
best of luck
M |
|
Back to top |
|
 |
harwinderr |
Posted: Wed Nov 13, 2002 10:24 pm Post subject: |
|
|
 Voyager
Joined: 29 Jan 2002 Posts: 90
|
Its not very clear from your mail whether you are trying to access the Queue from the servlet or the JSP page.
In case, you are using JSP page, make sure that you are importing the com.ibm.mq.jar (I dont think using com.ibm.mqbind.jar is a good idea) by
<%@ page import="com.ibm.mq.jar" %>
And if you are using a servlet, then you should give
import com.ibm.mq.jar;
Hope this will help.
ciao,
H |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|