|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Cache coordination in weblogic using RMI - problemsHi 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. Prashanth Talapala | Senior Staff Engineer Oracle Communications Global Business Unit ORACLE India | Building No. 8, Raheja Mindspace, Madhapur | 500081 Hyderabad
_______________________________________________ eclipselink-users mailing list eclipselink-users@... https://dev.eclipse.org/mailman/listinfo/eclipselink-users |
||
|
|
Re: Cache coordination in weblogic using RMI - problemsSee,
http://forums.oracle.com/forums/thread.jspa?threadID=832866&tstart=0
James Sutherland EclipseLink, TopLink Wiki: EclipseLink, TopLink Forums: TopLink, EclipseLink Book: Java Persistence |
| Free embeddable forum powered by Nabble | Forum Help |