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 with JRun

843830Apr 3 2003 — edited Apr 4 2003
Hi All,

I am trying to run the following servlet working as a Message Sender on JRun 3.0 but getting the following error.....

Naming Exception: Failed to communicate with localhost:2323

Code--->

properties.setProperty(Context.INITIAL_CONTEXT_FACTORY,"allaire.ejipt.ContextFactory");
properties.setProperty(Context.PROVIDER_URL,"ejipt://localhost:2323");
_context = new InitialContext(properties);
final QueueConnectionFactory factory =(QueueConnectionFactory)_context.lookup(QueueConnectionFactory.class.getName());

Is there a need for some configuration in JRun to get work this code?

Please help

Praveen
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 2 2003
Added on Apr 3 2003
1 comment
107 views