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 5.3 Installation with JMS

Post new topic  Reply to topic
 MQ 5.3 Installation with JMS « View previous topic :: View next topic » 
Author Message
emque
PostPosted: Mon Dec 16, 2002 5:32 pm    Post subject: MQ 5.3 Installation with JMS Reply with quote

Newbie

Joined: 16 Dec 2002
Posts: 2

Hi!
I'm in the process of installing MQ5.3 on Win NT 4.0 SP6 with Netscape LDAP Directory on jdk1.3.1_06.
When I run a JMS application that was successfully working on MQ5.1, I get the following error:
java.lang.ClassCastException: com.sun.jndi.ldap.LdapCtx
I have checked the classpath and it appears to be fine.

Please help.

Thanks
EmQ
Back to top
View user's profile Send private message
TheDude
PostPosted: Wed Mar 05, 2003 12:57 pm    Post subject: Reply with quote

Apprentice

Joined: 21 Oct 2002
Posts: 31

Try changing the following in the JMSAdmin Config file:

Comment out the line
INITIAL_CONTEXT_FACTORY=com.sun.jndi.ldap.LdapCtxFactory

and uncomment
INITIAL_CONTEXT_FACTORY=com.ibm.websphere.naming.WsnInitialContextFactory
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Mar 05, 2003 1:19 pm    Post subject: Reply with quote

Jedi Knight

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

This is not an answer
But the above suggestion most likely will not work.
1. Because JMS app has no bearings with JMSAdmin.config file
2. INITIAL_CONTEXT_FACTORY=com.ibm.websphere.naming.WsnInitialContextFactory
Thi setting is for WAS and not for any LDAP directory.

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

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