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 » MQSeries with Java Servlet

Post new topic  Reply to topic
 MQSeries with Java Servlet « View previous topic :: View next topic » 
Author Message
jleong
PostPosted: Mon Nov 11, 2002 11:48 pm    Post subject: MQSeries with Java Servlet Reply with quote

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
View user's profile Send private message
maxis
PostPosted: Tue Nov 12, 2002 6:09 am    Post subject: Reply with quote

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
View user's profile Send private message
harwinderr
PostPosted: Wed Nov 13, 2002 10:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQSeries with Java Servlet
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.