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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...