Look, when you've finished guessing, why don't you go read the FAQ?
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossNSFAQ
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp
In particular, the part where it says don't modify your jndi config to go over
a transport.
anonymous wrote :
| javax.naming.CommunicationException: Receive timed out [Root exception is
java.net.SocketTimeoutExce
| ption: Receive timed out]
| at
org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1302)
| at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1431)
| at org.jnp.interfaces.NamingContext.bind(NamingContext.java:523)
| at org.jnp.interfaces.NamingContext.bind(NamingContext.java:516)
| at javax.naming.InitialContext.bind(InitialContext.java:359)
| at org.jboss.naming.Util.bind(Util.java:85)
| at org.jboss.naming.Util.bind(Util.java:72)
| at
org.jboss.naming.LinkRefPairService.startService(LinkRefPairService.java:89)
|
That code reads (with my annotations):
| THIS CANNOT BE NULL INSIDE JBOSS UNLESS YOU BROKE YOUR JNDI CONFIG
| // Use server in same JVM
| naming = localServer;
|
| if (naming == null)
| {
| AND YET YOU REACH HERE????????
| naming = discoverServer(refEnv);
| if (naming == null)
| // Local, but no local JNDI provider found!
| throw new ConfigurationException("No valid
Context.PROVIDER_URL was found");
| }
|
conf/jndi.properties
anonymous wrote :
| # DO NOT EDIT THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING
| #
| java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890646#3890646
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890646
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user