File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes J2EE1.3 / JNDI .... and jms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "J2EE1.3 / JNDI .... and jms" Watch "J2EE1.3 / JNDI .... and jms" New topic

J2EE1.3 / JNDI .... and jms

benoit rolland

Joined: May 31, 2001
Posts: 2
I tried sun's jms example provided with the J2ee1.3 beta release
(the jms api and a jms server are included in j2ee1.3) and
It worked perfectly locally, but i didn't manadged to have the SimpleQueueSender working distantly.
This is what i get:
E:\benoit\jmsClient>java\ SimpleRemoteQueueSender MyQueue 3
Queue name is MyQueue
JNDI lookup failed: javax.naming.CommunicationException: Can't find SerialContextProvider

This the code i added to try to connect to my jndi server:
Properties env = new Properties();

* Create a JNDI InitialContext object if none exists yet.
try {
jndiContext = new InitialContext(env);

Could anyone help ?
I agree. Here's the link:
subject: J2EE1.3 / JNDI .... and jms
It's not a secret anymore!