[jboss-dev-forums] [Design of JBoss Transaction Services] - Re: IIOP stub compiler design problem
jhalliday
do-not-reply at jboss.com
Wed Sep 19 09:00:00 EDT 2007
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#4086085
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086085
More information about the jboss-dev-forums
mailing list