This content has been marked as final.
Show 3 replies
-
1. Re: CommunicationException: Receive Timed Out
adrian.brock Sep 19, 2002 12:07 PM (in response to marym)Looks like jndi is not configured correctly.
Need more info to help you.
Regards,
Adrian -
2. Re: CommunicationException: Receive Timed Out
marym Sep 19, 2002 1:16 PM (in response to marym)What information you need?
- System: win2000, Jboss3, Tomcat4, JDK1.4
- my testapplication is Interest from the examples.
i never made changes to jndi configuration. i don't know there i have to do this?!
Please help! -
3. Re: CommunicationException: Receive Timed Out
marym Sep 19, 2002 2:20 PM (in response to marym)in my servlet InterestServlet.java i replaced following:
Context jndiContext = new InitialContext();
with:
props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
props.put(Context.PROVIDER_URL, "jnp://localhost:1099");
props.put(Context.URL_PKG_PREFIXES,"org.jboss.naming:org.jnp.interfaces");
Context jndiContext = new InitialContext(props);