When I'm running outside the app server
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");
p.put("java.naming.corba.orb", myORB.orb());
p.put(Context.PROVIDER_URL, "corbaloc::localhost:3528/JBoss/Naming/root");
seems to be the way to go since ORBInitialContextFactory is not available. Inside the app
server ORBInitialContextFactory does the right thing.
Now if we can just sort out the TxServerInterceptor hardcoding, pluggable JTS integration
may actually work.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4086085#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...