[jboss-user] [JNDI/Naming/Network] - weblogic jndi lookup from jboss in cluster

mannam.tessco do-not-reply at jboss.com
Thu Jul 23 10:36:05 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=4245584#4245584

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245584



More information about the jboss-user mailing list