This content has been marked as final.
Show 2 replies
-
1. Re: ConnectionFactory not bound Error
narayanrm Feb 2, 2005 10:26 AM (in response to chavarao)the following code should run:
java.util.Hashtable env = new java.util.Hashtable(); env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory"); env.put(javax.naming.Context.PROVIDER_URL,"jnp://localhost:1099"); env.put(javax.naming.Context.URL_PKG_PREFIXES,"org.jnp.interfaces"); Context context = new InitialContext(env); javax.jms.QueueConnectionFactory ref = (javax.jms.QueueConnectionFactory) context.lookup("ConnectionFactory");
-
2. Re: ConnectionFactory not bound Error
eng_bahi Mar 2, 2005 9:43 AM (in response to chavarao)Only run the JBOSS default server.