JMS with JRun
843830Apr 3 2003 — edited Apr 4 2003Hi 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