[jboss-user] [Clustering/JBoss] - weblogic jndi lookup from jboss in cluster
mannam.tessco
do-not-reply at jboss.com
Thu Jul 23 10:38:56 EDT 2009
I am having a problem with the following code in a jboss cluster environment.
javax.naming.Context context = null;
|
| Properties properties = new Properties();
| properties.setProperty( Context.PROVIDER_URL, "t3://hostname:6131" );
| properties.setProperty( Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory" );
|
| context = new InitialContext( properties );
|
| out.println( context.lookup( "QueueConnectionFactory" ) );
The above code works fine in default jboss server. I am using the following
JBoss 5.1.0.GA ( using wlclient to connect )
Weblogic 8.1
I get CORBA.initialize exception in the cluster ( all environment ) and it works fine in default envirobment.
Could someone please help me in this.
Thanks,
Ram
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245586#4245586
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245586
More information about the jboss-user
mailing list