Environment Details as follows: Webshpere 6.1.0.3 - OS Sun, version 5.10
Using Webshpere Default JMS provider here...NOT WMQ
Creating InitialContext as follows:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"com.ibm.websphere.naming.WsnInitialContextFactory");
env.put(Context.PROVIDER_URL, "iiop://hostmachine:2809");
Context initialContext = new InitialContext(env);
When I lookup the QueueConnectionFactory I receive the following excpetion
In my code I expect to receive a ConnectionFactory thus that is what I cast the return object to myfactory = (ConnectionFactory) ctx.lookup(QCF)
Any ideas on the cast class exception would be appreciated...
I do realize that Webshpere JMS provider does things a little different, but this use to work in Websphere 5.1 so Im trying to understand what changed...
Thanks in advance
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