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" ) );