Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JMS lookup with JNDI

843830Apr 21 2004 — edited Jul 23 2006
I'm trying to write a very simple chat programm with jms, but i keep getting this error message:
"NoInitialContextException: Need to specify class name in environment or system etc. etc." (i'm sure you know).

I've read ca. 1 million tutorials, but no one says how and where to specify the initial context for JMS. even the j2ee tutorial exsamples dont work. (i did not compile with asant).

thx.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 20 2006
Added on Apr 21 2004
17 comments
578 views