[jboss-user] [JNDI/Naming/Network] - need help its very urgent

sanjeet do-not-reply at jboss.com
Sat Dec 23 00:12:20 EST 2006


	      QueueConnectionFactory queueConnectionFactory =(QueueConnectionFactory)context.lookup("QueueConnectionFactory");

The above line giving following error:


javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
	at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
	at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
	at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source)
	at javax.naming.InitialContext.lookup(Unknown Source)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995990#3995990

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



More information about the jboss-user mailing list