hi,
we have a web application that is supposed to send messages to a MDB that is hosted on
JBoss application server on a different machine
we use a code like this to lookup the connection factory
| Hashtable env = new Hashtable();
|
env.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory");
| env.put(Context.PROVIDER_URL, "172.16.15.22:1099");
|
| Context ctx = new InitialContext(env);
| QueueConnectionFactory factory = (QueueConnectionFactory)
ctx.lookup("QueueConnectionFactory");
|
When the remote objects are hosted by jboss version 4.0.4, everything work fine, but when
we migrated to JBoss 4.2.2 then the lookup fails!!!!
so the question is :
is there any security changes or anything else that has been added to Jboss 4.2.x series
or releases after 4.0.x in general that changes the default behaviour related to JNDI
lookup mechanism ? and what can i do to resolve this issue?
Thanks
Hazem
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171444#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...