Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] Cache coordination in weblogic using RMI - problems

See, 

http://forums.oracle.com/forums/thread.jspa?threadID=832866&tstart=0


Prashanth Talapala wrote:
> 
> Hi all,
> I am trying to create a small ejb app which uses EclipseLink as its JPA
> provider and am trying to do cache coordination of the EclipseLink cache
> using RMI. When I try to run a standalone program using rmiregistry and
> rmi://localhost:1099 things work fine for me. I am able to start several
> instances of the program and do cache coordination. however, when I try to
> do this in weblogic the application runs but I dont get any cache
> coordination messages in the log. I get the following exception:
> 
> EL Warning: 2008.12.02
> 17:14:05.969--ServerSession(11247912)--Thread(ThreadThread-19,5,Pooled
> Threads)--Exception 
> EclipseLink-22102 (Eclipse Persistence Services - 1.0.1 (Build 20080905)):
> org.eclipse.persistence.exceptions.RemoteCommandManagerException
> Exception Description: Could not post connection in local naming service
> under name rmi://10.178.139.99:7001/a02f39ea-6aa4-4108-bb50-d69f8cb48be7
> Internal Exception: java.rmi.ConnectIOException: error during JRMP
> connection establishment; nested exception is:
> java.io.EOFException
> Exception in thread "Thread-19" Local Exception Stack:
> Exception EclipseLink-22102 (Eclipse Persistence Services - 1.0.1 (Build
> 20080905)):
> org.eclipse.persistence.exceptions.RemoteCommandManagerException
> Exception Description: Could not post connection in local naming service
> under name rmi://10.178.139.99:7001/a02f39ea-6aa4-4108-bb50-d69f8cb48be7
> Internal Exception: java.rmi.ConnectIOException: error during JRMP
> connection establishment; nested exception is:
> java.io.EOFException
> at
> org.eclipse.persistence.exceptions.RemoteCommandManagerException.errorBindingConnection(RemoteCommandManagerException.java:87)
> at
> org.eclipse.persistence.sessions.coordination.rmi.RMITransportManager.createLocalConnectionInRegistry(RMITransportManager.java:172)
> at
> org.eclipse.persistence.sessions.coordination.rmi.RMITransportManager.createLocalConnection(RMITransportManager.java:125)
> at
> org.eclipse.persistence.sessions.coordination.DiscoveryManager.run(DiscoveryManager.java:197)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.rmi.ConnectIOException: error during JRMP connection
> establishment; nested exception is:
> java.io.EOFException
> at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:286)
> at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
> at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
> at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
> at java.rmi.Naming.rebind(Naming.java:160)
> at
> org.eclipse.persistence.sessions.coordination.rmi.RMITransportManager.createLocalConnectionInRegistry(RMITransportManager.java:169)
> ... 3 more
> Caused by: java.io.EOFException
> at java.io.DataInputStream.readByte(DataInputStream.java:250)
> at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:228)
> ... 8 more
> 
> This exception comes a couple of seconds after I run the query and get the
> results. Any help in solving this problem would be very helpful.
> 
> Thanks in advance,
> Prashanth.
> 


-----
---
http://wiki.eclipse.org/User:James.sutherland.oracle.com James Sutherland 
http://www.eclipse.org/eclipselink/
 EclipseLink ,  http://www.oracle.com/technology/products/ias/toplink/
TopLink 
Wiki:  http://wiki.eclipse.org/EclipseLink EclipseLink , 
http://wiki.oracle.com/page/TopLink TopLink 
Forums:  http://forums.oracle.com/forums/forum.jspa?forumID=48 TopLink , 
http://www.nabble.com/EclipseLink-f26430.html EclipseLink 
Book:  http://en.wikibooks.org/wiki/Java_Persistence Java Persistence 
-- 
View this message in context: http://www.nabble.com/Cache-coordination-in-weblogic-using-RMI---problems-tp20791049p20834448.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.



Back to the top