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 » MQ v6.0 with Weblogic 8.1 - not able to send messages

Post new topic  Reply to topic
 MQ v6.0 with Weblogic 8.1 - not able to send messages « View previous topic :: View next topic » 
Author Message
lee_u22
PostPosted: Fri May 19, 2006 9:21 am    Post subject: MQ v6.0 with Weblogic 8.1 - not able to send messages Reply with quote

Newbie

Joined: 19 May 2006
Posts: 7

Hi,

I am a newbie to MQ Series. I am trying to configure my jms queues to MQ-Series, so that I can send my messages to the JMS Queues and it will go to MQ.
Now, I have done all the configuration steps. I have created the .bindings file, I have put the jar files in the path.
I created my foreign jms server, connection factory and foreign destination.
when I run this, I am getting the following error:

Exception in sendTextMessage
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.ibm.mq.jms.MQConnectionFactoryFactory.class$(MQConnectionFactoryFactory.java:71)
at com.ibm.mq.jms.MQConnectionFactoryFactory.getObjectInstance(MQConnectionFactoryFactory.java:71)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:301)
at com.sun.jndi.fscontext.RefFSContext.lookup(RefFSContext.java:146)
at com.sun.jndi.fscontext.FSContext.lookup(FSContext.java:127)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at weblogic.deployment.jms.ForeignOpaqueReference.getReferent(ForeignOpaqueReference.java:103)
at weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:90)
at weblogic.jndi.internal.ServerNamingNode.resolveObject(ServerNamingNode.java:292)
at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:798)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:191)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:256)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:363)
at javax.naming.InitialContext.lookup(InitialContext.java:347)


Please let me know if I am missing something..
thanks so much!!
Back to top
View user's profile Send private message
vennela
PostPosted: Fri May 19, 2006 10:31 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

I think you are either missing the MQ Java component or jms jars or you don't have your classpath setup to point to those jars
Back to top
View user's profile Send private message Send e-mail Visit poster's website
lee_u22
PostPosted: Fri May 19, 2006 10:40 am    Post subject: jars Reply with quote

Newbie

Joined: 19 May 2006
Posts: 7

Thanks for the reply.
since I am doing this for the first time, Could you please tell me all the jars that i need to have.
I right now have the
fscontext.jar
providerutil.jar
com.ibm.mqjms.jar
com.ibm.mq.jar.

Could you please tell me what other jars i need to have?

thanks
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Fri May 19, 2006 10:50 am    Post subject: Reply with quote

Jedi Knight

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

Hi,

IBM supplies a manual that you can freely download called: WMQ Using Java.

Why don't you download the PDF and lookup the information, because they have clearly documented what is required.

Regards,
Roger Lacroix
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
8davitt
PostPosted: Tue May 23, 2006 12:40 am    Post subject: Reply with quote

Apprentice

Joined: 06 Feb 2003
Posts: 37
Location: Seated in front of monitor

The exception you are seeing is a JNDI lookup error thrown from Weblogic so your first point of call should be the Weblogic support team to ensure you have set up your definitions correctly.

As RL pointed out you can find a full list of the required MQ jars in the Websphere MQ Series Using Java manual. The list of jar you have supplied seem to be for V5.3. There are a couple of new jars required for V6. Refer to

http://www-306.ibm.com/software/integration/wmq/library/

Finally checkout the basics for MQ V6 and Weblogic to ensure your environment is correct. You did not specify what platform you are working with but for AIX for example you would refer to

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006268

/s
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 » IBM MQ Java / JMS » MQ v6.0 with Weblogic 8.1 - not able to send messages
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.