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 » JMS without fix pac 6.0.2

Post new topic  Reply to topic
 JMS without fix pac 6.0.2 « View previous topic :: View next topic » 
Author Message
gprasad
PostPosted: Tue May 19, 2009 10:41 am    Post subject: JMS without fix pac 6.0.2 Reply with quote

Newbie

Joined: 14 May 2009
Posts: 6

Hi,

I am using MQ6 on linux.I need some clarification on MQ/JMS.If i need to create JMS Objects,can't i go alone with MQ6.0.Do i need to install the fix pacs for MQ6?

The thing which leads me to this question is from the following exception


Quote:
[mqm@devhubapp01 bin]$ ./JMSAdmin -v config.scp
:/opt/mqm/java/lib/mqcontext.jar:/opt/mqm/java/lib/com.ibm.mqpcf-6.1.jar:/opt/mqm/java/lib/com.ibm.mqjms.jar
Ignoring unknown flag: config.scp

5724-H72, 5655-L82, 5724-L26 (c) Copyright IBM Corp. 2002,2005. All Rights Reserved.
Starting Websphere MQ classes for Java(tm) Message Service Administration

Initializing JNDI Context...
INITIAL_CONTEXT_FACTORY: com.ibm.mq.jms.context.WMQInitialContextFactory
PROVIDER_URL: 182.11.54.34:1414/SYSTEM.DEF.SVRCONN
Error: java.lang.ClassCastException: java.lang.NoClassDefFoundError cannot be cast to java.lang.Exception


I have set the necessary jars in the classpath.I went across few discussions in this forum regarding the same exception.But i guess i have to install the fix pac for MQ6.

Thanks
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Tue May 19, 2009 11:37 am    Post subject: Re: JMS without fix pac 6.0.2 Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

gprasad wrote:
Do i need to install the fix pacs for MQ6?

Regardless of any problems you may or may not be having, the answer is yes. There are HUNDREDS of fixes in 6.0.2.6 that are not in 6.0.0.0.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue May 19, 2009 8:35 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

On top of this I would not use the JNDI factory you are using. This ia a direct pass through to the qmgr and does little to emulate a real JNDI environment (like on a server). Please start with using the file based JNDI. No need for the support pack for this one.
_________________
MQ & Broker admin


Last edited by fjb_saper on Thu May 21, 2009 12:10 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail
lgorlin
PostPosted: Thu May 21, 2009 11:05 am    Post subject: Reply with quote

Newbie

Joined: 21 May 2009
Posts: 1

I'm also having the same class cast problem, even though I've upgraded to 6.0.2.6. Any ideas how to solve it? Thanks.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu May 21, 2009 12:10 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

lgorlin wrote:
I'm also having the same class cast problem, even though I've upgraded to 6.0.2.6. Any ideas how to solve it? Thanks.

YES Use the file based JNDI provider!
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » JMS without fix pac 6.0.2
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.