Hi
The DEBUG messages was cleared.
Now i am getting another problem. that is
| java.lang.ClassCastException: org.jnp.interfaces.MarshalledValuePair cannot be cast to
javax.jms.QueueConnectionFactory
|
the code is below, the error showing at the lookup line.
| Hashtable params = new Hashtable();
| params.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
| params.put(Context.PROVIDER_URL, "localhost:1199");
| params.put(Context.URL_PKG_PREFIXES, "org.jnp.naming:org.jnp.interfaces");
| Context context = new InitialContext(params);
| QueueConnectionFactory fac =
(QueueConnectionFactory)context.lookup("ConnectionFactory");
Is there any changes required for JBossMQ to JBoss Messaging in the code.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4194217#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...