You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by MonaTakle <mo...@rediffmail.com> on 2008/10/20 13:27:11 UTC

Error during execution

The program got compiled but was giving the following error during execution


javax.naming.NoInitialContextException: Need to specify class name in
environmen
t or system property, or as an applet parameter, or in an application
resource f
ile:  java.naming.factory.initial
        at
javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
45)
        at
javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288
)
        at
javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.jav
a:325)
        at javax.naming.InitialContext.lookup(InitialContext.java:392)
        at Listener.<init>(Listener.java:17)
        at Listener.main(Listener.java:54)
-- 
View this message in context: http://www.nabble.com/Error-during-execution-tp20067254p20067254.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.