Petals ESB Container

Service invocation on remote container fails

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 4.2.0, 4.2.3
  • Fix Version/s: 4.2.1, 4.2.4, 5.0.0
  • Component/s: Transporter
  • Security Level: Public
  • Description:
    Hide

    The service invocations on remote container fails with the following error:

    sample-0 2014/02/17 14:17:26,194 GMT+0100 INFO [Petals.Transporter.NioTransportProtocol.NioServerAgent] : A connection is accepted: Socket[addr=/192.168.1.60,port=60455,localport=7800]
    sample-0 2014/02/17 14:17:26,248 GMT+0100 WARNING [Petals.Transporter.NioTransportProtocol.NioServerAgent] : An error occurs during deserialization: (class java.lang.ClassNotFoundException:org.ow2.petals.microkernel.jbi.messaging.endpoint.JBIServiceEndpointImpl). Data are discarded.
    java.io.IOException: class java.lang.ClassNotFoundException:org.ow2.petals.microkernel.jbi.messaging.endpoint.JBIServiceEndpointImpl
    	at org.ow2.petals.jbi.messaging.exchange.MessageExchangeImpl.readObject(MessageExchangeImpl.java:673)
    	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:597)
    	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969)
    	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
    	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1775)
    	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327)
    	at java.io.ObjectInputStream.readUnshared(ObjectInputStream.java:439)
    	at org.ow2.petals.microkernel.transport.platform.nio.server.PipedDeserializerImpl.run(PipedDeserializerImpl.java:87)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    	at java.lang.Thread.run(Thread.java:662)
    Show
    The service invocations on remote container fails with the following error:
    sample-0 2014/02/17 14:17:26,194 GMT+0100 INFO [Petals.Transporter.NioTransportProtocol.NioServerAgent] : A connection is accepted: Socket[addr=/192.168.1.60,port=60455,localport=7800]
    sample-0 2014/02/17 14:17:26,248 GMT+0100 WARNING [Petals.Transporter.NioTransportProtocol.NioServerAgent] : An error occurs during deserialization: (class java.lang.ClassNotFoundException:org.ow2.petals.microkernel.jbi.messaging.endpoint.JBIServiceEndpointImpl). Data are discarded.
    java.io.IOException: class java.lang.ClassNotFoundException:org.ow2.petals.microkernel.jbi.messaging.endpoint.JBIServiceEndpointImpl
    	at org.ow2.petals.jbi.messaging.exchange.MessageExchangeImpl.readObject(MessageExchangeImpl.java:673)
    	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:597)
    	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:969)
    	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
    	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1775)
    	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1327)
    	at java.io.ObjectInputStream.readUnshared(ObjectInputStream.java:439)
    	at org.ow2.petals.microkernel.transport.platform.nio.server.PipedDeserializerImpl.run(PipedDeserializerImpl.java:87)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    	at java.lang.Thread.run(Thread.java:662)
  • Environment:
    -

Issue Links

Activity

Hide
Christophe DENEUX added a comment - Mon, 8 Sep 2014 - 15:19:50 +0200

Real fix uncommented in branch petals-esb-enterprise-4.2.x

Show
Christophe DENEUX added a comment - Mon, 8 Sep 2014 - 15:19:50 +0200 Real fix uncommented in branch petals-esb-enterprise-4.2.x
Hide
Christophe DENEUX added a comment - Mon, 8 Sep 2014 - 14:58:00 +0200 - edited

The problem comes back with Petals ESB 4.2.3, that's why this issue is reopened. This problem does not occur with Petals ESB 4.2.2.

The problem seems to be solved if we replace petals-log:1.0.1 coming with Petals ESB 4.2.3 with petals-log:1.0.0 from Petals ESB 4.2.2.

The problem does not occur with Petals ESB 4.2.1 & 4.2.2 because petals-log:1.0.0 is wrong (it includes a dependency on petals-message-exchange-1.2.0 instead of petals-message-exchange-1.2.1) and the real fix in PipedDeserializerImpl was commented by mistake.

The previous merge in trunk is right, so no merge required.

Show
Christophe DENEUX added a comment - Mon, 8 Sep 2014 - 14:58:00 +0200 - edited The problem comes back with Petals ESB 4.2.3, that's why this issue is reopened. This problem does not occur with Petals ESB 4.2.2. The problem seems to be solved if we replace petals-log:1.0.1 coming with Petals ESB 4.2.3 with petals-log:1.0.0 from Petals ESB 4.2.2. The problem does not occur with Petals ESB 4.2.1 & 4.2.2 because petals-log:1.0.0 is wrong (it includes a dependency on petals-message-exchange-1.2.0 instead of petals-message-exchange-1.2.1) and the real fix in PipedDeserializerImpl was commented by mistake. The previous merge in trunk is right, so no merge required.
Hide
Vincent Zurczak added a comment - Thu, 20 Feb 2014 - 17:35:08 +0100

Bug confirmed on Petals 4.2.0.
Fixed in 4.2.1-SNAPSHOT.

Show
Vincent Zurczak added a comment - Thu, 20 Feb 2014 - 17:35:08 +0100 Bug confirmed on Petals 4.2.0. Fixed in 4.2.1-SNAPSHOT.
Hide
Christophe DENEUX added a comment - Tue, 18 Feb 2014 - 11:13:32 +0100

Merged in trunk

Show
Christophe DENEUX added a comment - Tue, 18 Feb 2014 - 11:13:32 +0100 Merged in trunk
Hide
Christophe DENEUX added a comment - Tue, 18 Feb 2014 - 10:34:41 +0100

To merge in trunk

Show
Christophe DENEUX added a comment - Tue, 18 Feb 2014 - 10:34:41 +0100 To merge in trunk
Hide
Christophe DENEUX added a comment - Tue, 18 Feb 2014 - 10:34:32 +0100

Fixed in branch 4.2.x

Show
Christophe DENEUX added a comment - Tue, 18 Feb 2014 - 10:34:32 +0100 Fixed in branch 4.2.x

People

Dates

  • Created:
    Mon, 17 Feb 2014 - 14:39:51 +0100
    Updated:
    Mon, 8 Sep 2014 - 15:20:06 +0200
    Resolved:
    Mon, 8 Sep 2014 - 15:19:50 +0200