I have recently begun having serious problems
retrieving beans from JNDI. For some reason,
InitialContext.lookup() keeps throwing a
CommunicationException. However, it doesn't always
happen! (Although after it happens once, it happens
fairly consistently until a re-deploy or restart
JBoss, at which times it will *sometimes* recover.)
Has anyone seen this (or anything like this) before?
I'm stumped.
My context properties are:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=localhost:1099
java.naming.factory.url.pkgs=org.jboss.naming
Here is the stack trace:
javax.naming.CommunicationException. Root exception
is java.rmi.ConnectIOException: Exception creating
connection to: 24.250.12.187; nested exception is:
java.net.SocketException: no further information
(code=10055)
java.net.SocketException: no further information
(code=10055)
at java.net.PlainSocketImpl.socketConnect(Native
Method)
at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)
at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:100)
at
sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:25)
at
sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:120)
at
sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:499)
at
sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:190)
at
sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:174)
at
sun.rmi.server.UnicastRef.invoke(UnicastRef.java:83)
at org.jnp.server.NamingServer_Stub.lookup(Unknown
Source)
at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:349)
at
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:333)
at
javax.naming.InitialContext.lookup(InitialContext.java:350)
__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user