Weblogic.rjvm.PeerGoneException: ; nested exception is: java.io.EOFException
Hi,
We are working with Weblogic 6.1.
The system was quite stable, but a couple of days ago some batch process suddenly
started to fail, with no apparent reason, there was no change in the system neither
in the code.
The following exception is received:
Stopped, RemoteException weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException
We have also noticed that other jobs had failed before due to some memory problems,
but using the Weblogic Console; Monitoring; Performance, then when some jobs had
some memory problems forcing the garbage collection the batches worked properly.
Maybe these 2 problems have no relation between one an other, but they appeared
at the same time.
Any help will be appreciated.
Thanks and best regards.
Hi,
We are working with Weblogic 6.1.
The system was quite stable, but a couple of days ago some batch process suddenly
started to fail, with no apparent reason, there was no change in the system neither
in the code.
The following exception is received:
Stopped, RemoteException weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException
We have also noticed that other jobs had failed before due to some memory problems,
but using the Weblogic Console; Monitoring; Performance, then when some jobs had
some memory problems forcing the garbage collection the batches worked properly.
Maybe these 2 problems have no relation between one an other, but they appeared
at the same time.
Any help will be appreciated.
Thanks and best regards.
Similar Messages
-
Weblogic.rjvm.PeerGoneException: ; nested exception is
Hi,
I am trying to access Remote EJB(deployed in server A) from Client (deployed in server B). I am getting this error.
Please help!!!
weblogic.rjvm.PeerGoneException: ; nested exception is:
java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
java.io.InvalidClassException: com.sybase.jdbc2.tds.SybTimestamp; local class incompatible: stream classdesc serialVersionUID = 4038526507615253075, local class serialVersionUID = -4859870295624974195
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:191)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:315)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:250)
at com.bankofny.gdoasis.payment.ejb.PaymentCalculationManagerRemoteEJB_suyjh6_EOImpl_910_WLStub.rollInterestPeriod(Unknown Source)
at com.bankofny.gdoasis.batch.payment.RollInterestPeriod.main(RollInterestPeriod.java:96)
Caused by: java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
java.io.InvalidClassException: com.sybase.jdbc2.tds.SybTimestamp; local class incompatible: stream classdesc serialVersionUID = 4038526507615253075, local class serialVersionUID = -4859870295624974195
at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:430)
at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:362)
at weblogic.socket.AbstractMuxableSocket.dispatch(AbstractMuxableSocket.java:359)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:851)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:787)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:283)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
Caused by: java.io.InvalidClassException: com.sybase.jdbc2.tds.SybTimestamp; local class incompatible: stream classdesc serialVersionUID = 4038526507615253075, local class serialVersionUID = -4859870295624974195
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:546)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1552)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1292)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:36)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:214)
at weblogic.rjvm.MsgAbbrevInputStream.init(MsgAbbrevInputStream.java:169)
at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:424)
... 9 moreHi
This is due to invalid class compatibility. May be you are using the two different versions of classes. one at server side and another at your client side. please make sure both are having the SerialVersion Id's.
regards,
Sudheer -
I have a project that I am porting from WL5.1 to WL6. It was working fine
in WL5.1
but cannot get it working in WL6. So, I went back to the HelloWorld
example to
see if I could get it working. The problem I am having is basically getting
applet to
talk to a server via RMI. The applet works fine alone and RMI works fine
alone.
I can't get the applet to talk to the server via RMI.
I am trying to get the "HelloWorld" applet example in WL6 working with RMI.
I previously had the same app working in WL5.1 with SP9 but cannot get it
working in WL6.
I am running WebLogic Server 6.0 with SP2.
I have registered a startup class in the WebLogic console
named "HelloServer". When starting up the server, it states
that the HelloImpl class has been registered as "HelloServer".
When starting up the client applet I get the following error:
java.rmi.MarshalException: Error marshaling transport header; nested
exception is:
java.io.EOFException
These are two different methods of looking up the same object.
The exception occurs at the "lookup" method call in both cases.
"myserver" is the name of my machine that WL is running on.
7001 is the port that WL is using.
Registry reg = LocateRegistry.getRegistry("myserver", 7001);
obj = (Hello)reg.lookup("HelloServer");
or...
obj = (Hello)weblogic.rmi.Naming.lookup("rmi://" +
getCodeBase().getHost() + ':' + port + "/HelloServer");
I previously ran this same program under WL5.1 SP9 and everything works
fine.
I defined the startupClass in the weblogic.properties file in WL5.1
Can anyone tell my what is causing this exception and how to correct the
problem?
Thanks
Terry Antle"Terry Antle" <[email protected]> writes:
These are two different methods of looking up the same object.
The exception occurs at the "lookup" method call in both cases.
"myserver" is the name of my machine that WL is running on.
7001 is the port that WL is using.
Registry reg = LocateRegistry.getRegistry("myserver", 7001);
obj = (Hello)reg.lookup("HelloServer");
or...
obj = (Hello)weblogic.rmi.Naming.lookup("rmi://" +
getCodeBase().getHost() + ':' + port + "/HelloServer");
I previously ran this same program under WL5.1 SP9 and everything works
fine.
I defined the startupClass in the weblogic.properties file in WL5.1
Can anyone tell my what is causing this exception and how to correct the
problem?I don't know what the problem is but you shouldn't be using either of
these methods for looking up RMI objects - you should use JNDI instead.
Thanks
andy -
RMI - Unmarshell Exception - Nested Exception is java.io.EOFException
Hi,
I get the following error while executing my RMI client.
The fact is that i dont get this everytime. When i make nearly 4000 RMI method calls then for the further method calls i get the exception as given below..
*java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:*
* java.io.EOFException*My RMI Client Implementation is like this.
- Create a static object of RMI Client
m_objRmiServiceProxy = (IExposedInterface) Naming.lookup(ConnectionURL);And use the same object for all my further rmi server calls....
can anyone tell me when we will get the above exception?
What can be the possible cause for it ?
Thanks...If you find an answer elsewhere please let me know, your problem seems to be very much akin to what my program is experiencing. Just one question, is your program affected by the error if you call the one remoteserver method consecutive times or if you call multiple methods in parallel?
Edited by: Inusevs on Sep 10, 2008 6:24 AM
Edited by: Inusevs on Sep 10, 2008 6:24 AM -
Root exception is weblogic.rjvm.PeerGoneException:
I have a problem doing the Look onto the Weblogic server.
Here is the code I use in a method for this purpose and call the
method from main(). I paste the code below (enclosed within "CODE
BEGINS", "CODE ENDS")
-----------------CODE BEGINS-----------------------------------------
System.out.println("DataCollector : Look up serverHome called");
Hashtable props = new Hashtable();
props.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
props.put(Context.PROVIDER_URL, url);
props.put(Context.SECURITY_PRINCIPAL, userName);
props.put(Context.SECURITY_CREDENTIALS, passWord);
System.out.println("Before Inital Context "+props);
Context ctx = new InitialContext(props);
System.out.println("Initial Context successful");
serverHome = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
System.out.println("Look up successful");
ctx.close();
System.out.println("Closed context successfully");
-----------------CODE ENDS-----------------------------------------
On executing this piece of code, I receive the following Exceptions
-------------OUTPUT OF CODE BEGINS---------------------
DataCollector : Look up serverHome called
Before Inital Context
{java.naming.provider.url=T3://njecomprod06:10817,
java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory,
java.naming.security.principal=system,
java.naming.security.credentials=security}
Initial Context successful
Exception in thread "main" javax.naming.CommunicationException. Root
exception is weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException
java.io.EOFException
at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVMConnection.java:599)
at weblogic.socket.JavaSocketMuxer.processSockets2(JavaSocketMuxer.java:303)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:225)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
-------------OUTPUT OF CODE ENDS---------------------
This piece of code fails in the line
serverHome = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
The weblogic server is standalone (not on a cluster). All other
details give for this purpose like port no, username, password etc are
correct.
Also, On the WebLogic server prompt, the following stack trace is
printed. Please let me know what is wrong in this look up code
element.
Thanks in advance for your help.
-------------------------------------------------------EXCEPTION ON
WEBLOGIC SIDE BEGINS--------------------------
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:343)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java:1980)
at weblogic.rmi.internal.MethodDescriptor.readExternal(MethodDescriptor.java:333)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:66)
at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:38)
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:175)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--------------- nested within: ------------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception
creating response stream ] - with nested exception:
[java.io.EOFException]
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:184)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
<Oct 25, 2002 10:57:04 AM EDT> <Error> <Posix Performance Pack>
<Uncaught Throwable in processSockets
java.io.EOFException:
Start server side stack trace:
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:343)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java:1980)
at weblogic.rmi.internal.MethodDescriptor.readExternal(MethodDescriptor.java:333)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:66)
at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:38)
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:175)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
at java.io.DataInputStream.readInt(DataInputStream.java:343)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java:1980)
at weblogic.rmi.internal.MethodDescriptor.readExternal(MethodDescriptor.java:333)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:66)
at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:38)
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:175)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--------------- nested within: ------------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception
creating response stream ]
Start server side stack trace:
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:343)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java:1980)
at weblogic.rmi.internal.MethodDescriptor.readExternal(MethodDescriptor.java:333)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:66)
at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:38)
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:175)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
--------------- nested within: ------------------
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception
creating response stream ] - with nested exception:
[java.io.EOFException]
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:184)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
- with nested exception:
[java.io.EOFException:
Start server side stack trace:
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:343)
at java.io.ObjectInputStream.readInt(ObjectInputStream.java:1980)
at weblogic.rmi.internal.MethodDescriptor.readExternal(MethodDescriptor.java:333)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:66)
at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:38)
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:175)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
End server side stack trace
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:184)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
-------------------------------------------------------EXCEPTION ON
WEBLOGIC SIDE ENDS--------------------------
You may want to open a support case with BEA to resolve this issue. I
suspect that you may be using some server patches which have not also
been applied to your WebLogic client JVMs. If that is the case,
upgrading to the latest service pack may be the easiest and best remedy.
Sincerely,
Charlie Therit
Developer Relations Engineer
BEA Support
Lakshmi Narasimhan wrote:
>I have a problem doing the Look onto the Weblogic server.
>
>Here is the code I use in a method for this purpose and call the
>method from main(). I paste the code below (enclosed within "CODE
>BEGINS", "CODE ENDS")
>
>
>-----------------CODE BEGINS-----------------------------------------
>{
> System.out.println("DataCollector : Look up serverHome called");
> Hashtable props = new Hashtable();
> props.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
> props.put(Context.PROVIDER_URL, url);
> props.put(Context.SECURITY_PRINCIPAL, userName);
> props.put(Context.SECURITY_CREDENTIALS, passWord);
> System.out.println("Before Inital Context "+props);
> Context ctx = new InitialContext(props);
> System.out.println("Initial Context successful");
> serverHome = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
> System.out.println("Look up successful");
> ctx.close();
> System.out.println("Closed context successfully");
>}
>-----------------CODE ENDS-----------------------------------------
>
>On executing this piece of code, I receive the following Exceptions
>
>-------------OUTPUT OF CODE BEGINS---------------------
>DataCollector : Look up serverHome called
>Before Inital Context
>{java.naming.provider.url=T3://njecomprod06:10817,
>java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory,
>java.naming.security.principal=system,
>java.naming.security.credentials=security}
>Initial Context successful
>
>Exception in thread "main" javax.naming.CommunicationException. Root
>exception is weblogic.rjvm.PeerGoneException: ; nested exception is:
>java.io.EOFException
>java.io.EOFException
> at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVMConnection.java:599)
> at weblogic.socket.JavaSocketMuxer.processSockets2(JavaSocketMuxer.java:303)
> at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:225)
> at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>-------------OUTPUT OF CODE ENDS---------------------
>
>This piece of code fails in the line
>
>serverHome = (MBeanHome)ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
>
>The weblogic server is standalone (not on a cluster). All other
>details give for this purpose like port no, username, password etc are
>correct.
>
>Also, On the WebLogic server prompt, the following stack trace is
>printed. Please let me know what is wrong in this look up code
>element.
>
>Thanks in advance for your help.
>
>-------------------------------------------------------EXCEPTION ON
>WEBLOGIC SIDE BEGINS--------------------------
>java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:343)
> at java.io.ObjectInputStream.readInt(ObjectInputStream.java:1980)
> at weblogic.rmi.internal.MethodDescriptor.readExternal(MethodDescriptor.java:333)
> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
> at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:66)
> at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:38)
> at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:175)
> at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
> at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
> at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
> at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
> at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
> at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>--------------- nested within: ------------------
>weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception
>creating response stream ] - with nested exception:
>[java.io.EOFException]
> at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:184)
> at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
> at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
> at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
> at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
> at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
> at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
><Oct 25, 2002 10:57:04 AM EDT> <Error> <Posix Performance Pack>
><Uncaught Throwable in processSockets
>java.io.EOFException:
>Start server side stack trace:
>java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:343)
> at java.io.ObjectInputStream.readInt(ObjectInputStream.java:1980)
> at weblogic.rmi.internal.MethodDescriptor.readExternal(MethodDescriptor.java:333)
> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
> at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:66)
> at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:38)
> at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:175)
> at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
> at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
> at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
> at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
> at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
> at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>End server side stack trace
>
> at java.io.DataInputStream.readInt(DataInputStream.java:343)
> at java.io.ObjectInputStream.readInt(ObjectInputStream.java:1980)
> at weblogic.rmi.internal.MethodDescriptor.readExternal(MethodDescriptor.java:333)
> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
> at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:66)
> at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:38)
> at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:175)
> at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
> at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
> at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
> at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
> at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
> at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>--------------- nested within: ------------------
>weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception
>creating response stream ]
>
>Start server side stack trace:
>java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:343)
> at java.io.ObjectInputStream.readInt(ObjectInputStream.java:1980)
> at weblogic.rmi.internal.MethodDescriptor.readExternal(MethodDescriptor.java:333)
> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
> at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:66)
> at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:38)
> at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:175)
> at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
> at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
> at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
> at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
> at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
> at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>--------------- nested within: ------------------
>weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Exception
>creating response stream ] - with nested exception:
>[java.io.EOFException]
> at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:184)
> at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
> at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
> at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
> at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
> at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
> at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>End server side stack trace
> - with nested exception:
>[java.io.EOFException:
>Start server side stack trace:
>java.io.EOFException
> at java.io.DataInputStream.readInt(DataInputStream.java:343)
> at java.io.ObjectInputStream.readInt(ObjectInputStream.java:1980)
> at weblogic.rmi.internal.MethodDescriptor.readExternal(MethodDescriptor.java:333)
> at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1212)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:386)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:236)
> at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:66)
> at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:38)
> at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:175)
> at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
> at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
> at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
> at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
> at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
> at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>End server side stack trace
>]
> at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:184)
> at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:154)
> at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:579)
> at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:454)
> at weblogic.socket.PosixSocketMuxer.deliverGoodNews(PosixSocketMuxer.java:456)
> at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:385)
> at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:24)
> at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>
>
>
>-------------------------------------------------------EXCEPTION ON
>WEBLOGIC SIDE ENDS--------------------------
>
>
[att1.html]
-
Getting weblogic.rjvm.PeerGoneException while posting request to foreign Q
Hi,
There are two application deployed on 2 different weblogic server .Say application A(EJB) is deployed on weblogic 9 and Application B (Oracle service Bus) is runing on Weblogic 10.3.
Application A sends request to a queue that is on applcation B server. Weblogic (app A) has foreign JMS server that exports the queue of app B. Configuration at Application A is :
<foreign-server name="JmsSyncServer">
<sub-deployment-name>SUBDEPLOYMENT_xyz</sub-deployment-name>
<foreign-destination name="Synchronous Request Queue">
<local-jndi-name>spain.queue.sebulasyncoutput</local-jndi-name>
<remote-jndi-name>osb.jms.queue.extern.service.request</remote-jndi-name>
</foreign-destination>
<foreign-connection-factory name="Sebula Synchronous QCF">
<local-jndi-name>spain.SebulaSyncQueueConnectionFactory</local-jndi-name>
<remote-jndi-name>osb.jms.cf.nonXA</remote-jndi-name>
</foreign-connection-factory>
<initial-context-factory>weblogic.jndi.WLInitialContextFactory</initial-context-factory>
<connection-url>t3://abcd.1.com:20001,abcd.2.com::20002</connection-url>
</foreign-server>
Now this cf and queue osb.jms.cf.nonXA and osb.jms.queue.extern.service.request are implemented on application B weblogic server. No authentication is given to this implementation. As soon as application A posts request to Application B following exception is thrown in application A logs :
2010.05.21 16:31:04,919 | ERROR | SyncEaiSebulaDelegate | <null|null|U289145226331099999430000> Failed to send JMS request: properties[{ClientID=SPAIN, Operation=MsisdnDetails, message_type=sebula.sync.out, RequestTag=U289145226331099999430000}].
com.o2.spain.jms.MessagingException: Failure during JMS setup: destination[sebula_sync_output].
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:85)
at weblogic.jndi.internal.WLContextImpl.translateException(WLContextImpl.java:426)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:382)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:367)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at weblogic.deployment.jms.ForeignOpaqueReference.getReferent(ForeignOpaqueReference.java:196)
at weblogic.jndi.internal.WLNamingManager.getObjectInstance(WLNamingManager.java:95)
at weblogic.jndi.internal.ServerNamingNode.resolveObject(ServerNamingNode.java:348)
at weblogic.jndi.internal.BasicNamingNode.resolveObject(BasicNamingNode.java:856)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:209)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:269)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:367)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at com.o2.spain.jms.ServiceLocator.lookupDestination(ServiceLocator.java:130)
at com.o2.spain.jms.ServiceLocator.getDestination(ServiceLocator.java:109)
at com.o2.spain.jms.MessageDestinationHandler.setup(MessageDestinationHandler.java:193)
at com.o2.spain.jms.MessageDestinationHandler.setupLazyAndAfterFailure(MessageDestinationHandler.java:165)
at com.o2.spain.jms.MessageDestinationHandler.getTemporaryReceiver(MessageDestinationHandler.java:543)
at com.o2.spain.jms.MessageDestination.getTemporaryReceiver(MessageDestination.java:318)
at com.o2.spain.jms.JmsClientImpl.doRequest(JmsClientImpl.java:147)
at com.o2.spain.jms.JmsClientImpl.request(JmsClientImpl.java:125)
at com.o2.spain.interfaces.sebula.sync.SyncEaiSebulaDelegate.executeRequest(SyncEaiSebulaDelegate.java:345)
at com.o2.spain.interfaces.sebula.sync.SyncEaiSebulaDelegate.getMsisdnDetails(SyncEaiSebulaDelegate.java:182)
at com.o2.spain.ejb.SynchronousEaiFacadeBean.getMsisdnDetails(SynchronousEaiFacadeBean.java:221)
at com.o2.spain.ejb.SynchronousEaiFacade_letkhg_ELOImpl.getMsisdnDetails(SynchronousEaiFacade_letkhg_ELOImpl.java:405)
at com.o2.spain.ejb.SpainWebFacadeBean.getMsisdnDetails(SpainWebFacadeBean.java:1084)
at com.o2.spain.ejb.SpainWebFacade_sesxly_ELOImpl.getMsisdnDetails(SpainWebFacade_sesxly_ELOImpl.java:1787)
at com.o2.spain.ejb.ws.SpainWebWSPortSoapBindingImpl.getMsisdnDetails(SpainWebWSPortSoapBindingImpl.java:379)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.o2.spain.ejb.ws.AxisServletFilter.doFilter(AxisServletFilter.java:29)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
Caused by: com.o2.spain.jms.MessagingException: Failed looking up Destination [spain.queue.sebulasyncoutput].
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:215)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:338)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
at weblogic.jndi.internal.ServerNamingNode_923_WLStub.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:379)
... 58 more
Caused by: javax.naming.CommunicationException [Root exception is weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException]
at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:85)
at weblogic.jndi.internal.WLContextImpl.translateException(WLContextImpl.java:426)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:382)
... 58 more
Caused by: weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:215)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:338)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
at weblogic.jndi.internal.ServerNamingNode_923_WLStub.lookup(Unknown Source)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:379)
... 58 more
Caused by: java.io.EOFException
at weblogic.rjvm.t3.MuxableSocketT3.endOfStream(MuxableSocketT3.java:383)
at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:737)
at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:684)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:845)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:802)
at weblogic.socket.DevPollSocketMuxer.processSockets(DevPollSocketMuxer.java:120)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
It will be great if someone helps in finding out the cause....waiting for reply..
thanks,
KshitijI had the exact same issue and found a solution here:
http://kr.forums.oracle.com/forums/thread.jspa?threadID=755132
"The root cause of the PGE in this instance was missing Principle classes in the remote JVM. An authenticated subject's (has our custom principles) security context is propagated to the remote JVM which throws a ClassNotFoundException, this is wrapped in the PGE." -
WLS 9.2 - weblogic.rjvm.PeerGoneException
Hello, I am currently dealing with a particularly annoying problem for which I have already raised a support case with BEA.
Our application makes calls to a thired party security application via EJBs provided by the thired party.
The thired party application registers and RMI stub on the WLS JNDI tree and the thired party EJBs use this stub to make calls to the security application.
We have a simple test harness that Remotely looks up the different EJBs and calls methods on them. This works for the limited set of methods that we test.
However at specific points in the applications usage we run into:
####<Dec 10, 2006 8:13:38 PM GMT> <Notice> <Stdout> <myserver> <examplesServer> <[ACTIVE] ExecuteThread: '0' for
queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1165781618271> <000000> <20:13:38.271: Error: at.client.
AtClient.doService() : Client: Service com/thalesesecurity/at/server/wl92dsms -
has gone down! Trying next server.
Exception: weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException>
Once we get this error all further calls to the thired party beans that use the stub fail with:
####<Dec 10, 2006 8:13:38 PM GMT> <Notice> <Stdout> <myserver> <examplesServer> <[ACTIVE] ExecuteThread: '0' for
queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1165781618489> <000000> <<Dec 10, 2006 20:13:38> <FATAL>
com.output.rule.impl.ValidateAcknowledgement.checkSignature(86): common.service.security.exceptions.Securit
yException: Unexpected exception: com.thalesesecurity.at.service.ServiceException: Client: Could not connect to any server
Error(s):
Client: Service com/thalesesecurity/at/server/wl92dsms -
has gone down! Trying next server.
Exception: java.rmi.ConnectException: Could not establish a connection with 5640100714642584389C:172.21.4.27R:-522103521865481
3556S:myserver:[7003,7003,-1,-1,-1,-1,-1]:wl_server:examplesServer, java.rmi.ConnectException: Destination is not
a server; No available router to destination; nested exception is:
java.rmi.ConnectException: Destination is not a server; No available router to destination
The thired party server is running and is reachable. It seems the exception may be masking some other problem.
So far the only real lead I have has come from turning up some debug parameters which reveals that the EOF at the root of the POE seems to occur shortly after the last of the 100 principles that belong to the user has been transmitted over the socket:
12928: ace2 d273 7100 7e00 0c74 0023 434f 4c4c ...sq.~..t.#COLL
12944: 4543 545f 5052 4f43 4553 5349 4e47 5f52 ECT_PROCESSING_R
12960: 4550 4f52 545f 5052 494e 4349 5041 4c75 EPORT_PRINCIPALu
12976: 7100 7e00 1100 0000 0d31 3136 3733 3239 q.~......1167329
12992: 3636 3638 3130 7571 007e 0011 0000 0010 666810uq.~......
13008: b82b 60ed 529c c990 fa98 c67e d667 174e .+`.R......~.g.N
13024: 78 x
>
####<Dec 28, 2006 7:31:24 PM GMT> <Debug> <RJVM> <myserver> <examplesServer> <ExecuteThread: '8' for queue: 'weblogic.soc
ket.Muxer'> <<WLS Kernel>> <> <> <1167334284325> <BEA-000517> <Error on connection: 'weblogic.rjvm.t3.MuxableSocketT3$T3MsgAbbrevJVMCo
nnection@1f78388'
java.io.EOFException
java.io.EOFException
at weblogic.rjvm.t3.MuxableSocketT3.endOfStream(MuxableSocketT3.java:383)
at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:732)
at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:679)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:840)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:797)
at weblogic.socket.DevPollSocketMuxer.processSockets(DevPollSocketMuxer.java:120)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
>
I have asked our application team to try reducing the number of principles that can be assigned to the user to see if this has any effect on the problem. I have already tried, among others, incleasing the maximum message size for all protocols and ensureing and security jar files before the weblogic.jar file but so far I have had no luck. Any suggestions would be most welcome.
Hussein Badakhchani
http://dev2dev.bea.com/blog/hoos
London Middleware
http://londonmiddleware.org/index.html
Edited by hoos at 12/29/2006 9:25 PM<p>The root cause of the PGE in this instance was missing Principle classes in the remote JVM. An authenticated subject's (has our custom principles) security context is propagated to the remote JVM which throws a ClassNotFoundException, this is wrapped in the PGE.</p>
<p>
Hussein Badakhchani
London Middleware
</p>
Edited by hoos at 01/09/2007 1:48 AM
Edited by hoos at 01/09/2007 1:49 AM -
Weblogic.rjvm.PeerGoneException
this package is not in the API doc on the web for WL5.1... but i still get
an error:
<I> <RJVM> Signaling
peer -2000438937484024190S110.20.116.265:[7031,7031,7032,7032,7031,-1] gone:
weblogic.rjvm.PeerGoneException:
- with nested exception:
[java.io.EOFException]
anyone know where I can find some info on it?Hendry Janto wrote:
Hi,
I got problem in my weblogic server. I got 1 table SQL Server 2000 contains 31 millions of records. When I try to delete some records using Statement.executeUpdate, it tooks about 7 hours, and then comes out error message as follow :
weblogic.rmi.extensions.RemoteRuntimeException - with nested exception:
[weblogic.rjvm.PeerGoneException: ; nested exception is:
weblogic.utils.net.SocketResetException - with nested exception:
[java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read]]
My question is, what is the meaning of this error message, and will this situation cause the weblogic server performance / SQL Server 2000 performance dropping ? Coz after I restart the weblogic server, the performance back to normal again. Thanks.Hi. The PeerGoneException has nothing to do with JDBC, but indicates a communication failure
between WLS and an external client. The SQLServer issue is separate. Whose JDBC driver
are you using? The SQLServer delete problem is internal to the DBMS and certainly a function of the
size of the table. How are you doing the update? Is it via a PreparedStatement? Please show it
to me.
Joe Weinstein at BEA -
Hi,
We are using WebLogic Server 5.1 SP8 as our AppServer.
The server is killed abruptly with the following message :
Mon Aug 20 14:44:39 GMT+08:00 2001:<I> <RJVM> Signaling peer 3688822629303549796C160.96.179.40
gone: weblogic.rjvm.PeerGoneException:
- with nested exception:
[java.io.EOFException]
What should be the possible reasons?
Is it something to do with the N/W breakups ?
Regards,
TejoKiran.YDear Kumar,
Thanks for your interest in answering the Q.
Well, there is no other stack trace available.
The last message we saw is ,
Mon Aug 20 14:44:39 GMT+08:00 2001:<I> <RJVM> Signaling peer 3688822629303549796C160.96.179.40
gone: weblogic.rjvm.PeerGoneException:
- with nested exception:
[java.io.EOFException]
The server was killed completely.
Infact, 160.96.179.40 is the IP Address of our Application Server (WebLogic Server
is runnning at port 7001).
That is the last statement.
We observed this error few times before in our log file, but it
didnot bring down the server.
Would U mind explaining me what exactly does that error mean?
For your info:
We also saw this message few times,
Fri Aug 17 15:08:36 GMT+08:00 2001:<I> <CliCon-#|ccls|0.998032002043> Connection
to client for ClientContext - id: '#|ccls|0.998032002043', bound: 'true', dead:
'false' has been unexpectedly lost because weblogic.rjvm.PeerGoneException:
- with nested exception:
[java.io.EOFException].
Initiating hard disconnect.
Regards,
TejoKiran.Y
Kumar Allamraju <[email protected]> wrote:
Are you sure that the server is killed (crashed)?
The following informative message only says that the client
with IP 160.96.179.40 has peer gone'd
Could you post complete stack trace?
TejoKiran wrote:
Hi,
We are using WebLogic Server 5.1 SP8 as our AppServer.
The server is killed abruptly with the following message :
Mon Aug 20 14:44:39 GMT+08:00 2001:<I> <RJVM> Signaling peer 3688822629303549796C160.96.179.40
gone: weblogic.rjvm.PeerGoneException:
- with nested exception:
[java.io.EOFException]
What should be the possible reasons?
Is it something to do with the N/W breakups ?
Regards,
TejoKiran.Y -
Hi to All
when i am trying to retrieve huge amount of data using the application deployed in the weblogic server 9.1
i am getting the following exception at the client side...
my client was using "weblogic.jar" to run and compile...
this application will take 10-15 mins to process the request.. but i am getting this exception at the 5 min of the request...
the exception follows.....
weblogic.rjvm.PeerGoneException: No message was received for: '240' seconds
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:191)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef
.java:315)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef
.java:250)
at com.nybot.prd.businesscomponent.ProductDictionaryMaintenanceBean_etiu
ur_EOImpl_910_WLStub.retrieveInstruments(Unknown Source)
at RetrieveFuturesInstruments.testInstruments(RetrieveFuturesInstruments
.java:67)
at RetrieveFuturesInstruments.main(RetrieveFuturesInstruments.java:87)
S.PrabhuSenthamarai Prabhu wrote:
Hi to All
when i am trying to retrieve huge amount of data using the application
deployed in the weblogic server 9.1 i am getting the following exception
at the client side... my client was using "weblogic.jar" to run and
compile... this application will take 10-15 mins to process the request..
but i am getting this exception at the 5 min of the request...
the exception follows.....
weblogic.rjvm.PeerGoneException: No message was received for: '240'Hi,
Just increase the timeout on JTA level
B
Schelstraete Bart
[email protected]
http://www.schelstraete.org
http://www.linkedin.com/in/bschelst -
I've got an EJB application which, at one stage, has to go off and import a lot
of data from another external application. A java client is triggering this execution.
I've updated the Transaction timeout setting and Stuck Thread timeout setting
on the server. But the client is still getting a weblogic.rjvm.PeerGoneException.
I've found a previous message which talks about updating either the weblogic.system.periodLength
property on the server or the weblogic.system.idlePeriodsUntilTimeout on the client.
However, the thread was referring to older versions of WLS (5 & 6). Is this
still a valid approach for WLS 7.0? I couldn't find the weblogic.properties file
on the server, and if I try to use the client system property, my client doesn't
start.
If anyone has any guidance on this, I would be very grateful.
Thanks,
EdHello Ed,
It appears that the config.dtd is bundled in the weblogic.jar archive. I don't
believe that the exact location of the DTD/Schema is specified at the top of the
config.xml file. I hope that you are able to figure out how to solve your problem.
Perhaps you could investigate the issue further with a BEA Engineer.
Take care,
Ryan LeCompte
[email protected]
http://www.louisiana.edu/~rml7669
"Ed Hillmann" <[email protected]> wrote:
>
Thanks for the help, Ryan. What is the address for the config.xml Schema/DTD?
It doesn't appear in the file.
That JTA settings is already handled. This error doesn't seem to be
due to a
Transaction being left open (I believe it spits out another exception).
Thanks,
Ed
"Ryan LeCompte" <[email protected]> wrote:
Hello Ed,
I am not very familiar with this particular error, but I did a bit of
research
and it appears that most of these kinds of issues occured in the WLS
5/6 days
(as you mentioned, various parameters are set in the weblogic.properties
file).
However, weblogic.properties is not really used in WLS 6+. There isa
document
describing how to convert the old weblogic.properties to the currently
used config.xml
file:
http://edocs.bea.com/wls/docs70/ConsoleHelp/conversion.html
Also, you may wish to look at the DTD for the config.xml file, as you
may find
various parameters that you can set which may help solve your problem
(for example):
http://edocs.bea.com/wls/docs70/config_xml/JTA.html#536936
There is a TimeoutSeconds parameter which defaults to 30. You may try
changing
this value.
Hope this helps!
Best regards,
Ryan LeCompte
[email protected]
http://www.louisiana.edu/~rml7669
Try adding the -classic parameter along with the other parameters in
the startWebLogic.cmd
file (with the other parameters for remot debugging). -
hello all,
we have done up gradation from 11.1.1.3 to EPM 11.1.2.3.500.
we have financial reporting book for HFM.
when we right click on this books and select "complete book in PDF", we get following error as
"nested exception is: java.lang.NullPointerException"
any idea ?
regards,
-Dattatray Matealso following is the log from E:\Oracle\Middleware\user_projects\domains\EPMSystem\servers\FinancialReporting0\logs\FRLogging.log
[2015-01-29T11:14:05.377-05:00] [FinancialReporting0] [NOTIFICATION] [] [oracle.EPMFR.performance] [tid: [ACTIVE].ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 00iR6CF85cpFw00Fzzw0w00000sk0005Nc,0:1] [APP: FINANCIALREPORTING#11.1.2.0] [URI: /hr/modules/com/hyperion/reporting/web/bookViewer/HRBookPdf.jsp] [SRC_CLASS: com.hyperion.reporting.util.HRLogTimer] [SRC_METHOD: logTimeEnd] PERF: 0000003005 WebDynamicBook getStatus() returned false
[2015-01-29T11:14:05.377-05:00] [FinancialReporting0] [ERROR] [] [oracle.EPMFR.jsp] [tid: [ACTIVE].ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 00iR6CF85cpFw00Fzzw0w00000sk0005Nc,0:1] [APP: FINANCIALREPORTING#11.1.2.0] [URI: /hr/modules/com/hyperion/reporting/web/bookViewer/HRBookPdf.jsp] [SRC_CLASS: jsp_servlet._modules._com._hyperion._reporting._web._reportviewer.__hrrunjob] [SRC_METHOD: _jspService] [[
com.hyperion.reporting.util.HyperionReportException: ; nested exception is:
java.lang.NullPointerException
at com.hyperion.reporting.reportserver.FetchInstanceThread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.hyperion.reporting.haradm.HRAdmUtils.getMemberNameFromMemberSelection(Unknown Source)
at com.hyperion.reporting.results.ExecBook.processChapterMemberSelections(Unknown Source)
at com.hyperion.reporting.results.ExecBook.executeChapterReport(Unknown Source)
at com.hyperion.reporting.results.ExecBook.executeChapter(Unknown Source)
at com.hyperion.reporting.results.ExecBook.executeBook(Unknown Source)
at com.hyperion.reporting.reportserver.FetchInstanceThread.runBook(Unknown Source)
... 1 more -
Nested exception is: java.lang.ClassCastException
Hi All,
I am using Jdeveloper 11.3 with Integrated WLS server and database : 11g.
I am deploying the web and ejb application. It runs first time but when I an deploying web application next time. It throws exception :
]] Root cause of ServletException.
javax.faces.el.EvaluationException: javax.ejb.EJBException: EJB Exception: ; nested exception is:
java.lang.ClassCastException: com.bt.mri.entities.EquipmentMultiple cannot be cast to com.bt.mri.entities.EquipmentMultiple; nested exception is: java.lang.ClassCastException: com.bt.mri.entities.EquipmentMultiple cannot be cast to com.bt.mri.entities.EquipmentMultiple
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:90)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:698)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:285)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:94)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)Resolved by using
BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
OperationBinding method = bindings.getOperationBinding("getDisplayFlag");
Object result = method.execute(); -
Error in PI mapping "nested exception is: java.lang.OutOfMemoryError "
Hi Experts ,
I encounter an error in the PI mapping while calling a Java Mapping (Mercator Map)
Error Message as ::-
java.lang.RuntimeException: RemoteException in setMercGeneral: Error occurred in server thread; nested exception is: java.lang.OutOfMemoryError at com.philips.xi.mercator.MercatorCall.execute(MercatorCall.java:90) at
Could anyone suggest , how we can overcome this error message
I have also tried to restart the RMI Server , but that was not not helpful.
Regards,
ShwetaSweta,
Is this a java mapping or Graphical, If Java, you should not run into this issue as you dont load the nested XSD`s.
Also the error message indicates outofMemory in mercator side when posting your Large message.
java.lang.OutOfMemoryError at com.philips.xi.mercator.MercatorCall.execute(MercatorCall.java:90) at
Regards
Ravi Raman
Edited by: Ravi Raman on Jun 30, 2010 4:26 PM -
Service call exception; nested exception is: java.lang.IllegalMonitorStateE
Hi All,
when we try to run the Message Monitoring in our RWB then we get the following error:
Service call exception; nested exception is: java.lang.IllegalMonitorStateException
Has anybody of you an idea what this error occurs?
Thank you for the support..
Kind Regards
Markushi,
restarting the java stack would be enough. You can do that at SMICM. Before you should deregister all queues in SMQR so that incoming messages has to wait in the queue. Of coz all synchronous msgs would fail, as well messages going to your Java Inbound Adapters.
note:reward points if solution found helpfull.....
regards
chandrakanth.k
Maybe you are looking for
-
Best practice regarding package-private or public classes
Hello, If I was, for example, developing a library that client code would use and rely on, then I can see how I would design the library as a "module" contained in its own package, and I would certainly want to think carefully about what classes to e
-
How do I change the order of photos for a slideshow?
Not sure how to do this. It's not as intuitive as I had hoped.
-
When I generate a PDF of my Framemaker book, I have bookmarks to TOC chapter names showing up in the PDF bookmarks. I've checked my PDF set-up, and I did not select the TOC chapter names to show up there. Does anyone know how to eliminate this? I hav
-
"Shadow" next to cursor question
Hello. Very basic question I'm sure but I only bought FCE as I couldn't adjust very well to the i-Movie change..... Anyway, I was happily dragging clips into the Timeline, putting some transition effects on them, adjusting, rendering and moving to th
-
Error Code -36 Connect to Microsoft Windows StorageServer 2003
Hope someone can help me Each time i connect to our office server cifs://192.XXX.X.XX logging into the server as the administrator i can open our office documents and see the files.. but i cant move any files over to it comes up with error -36 The of