Error during execution
MonaTakle <[email protected]> Mon, 20 Oct 2008 04:22:48 -0700 (PDT)
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
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-tp20067252p20067252.html
Sent from the OpenJMS - User mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/