Skip to main content

VisiBroker 6.5 interoperability issue with Distributed Object Group's JavaORB 2.2.6

  • February 16, 2013
  • 0 replies
  • 0 views

Problem:

  • Product Name: VisiBroker Java
  • Product Version: 6.5
  • Product Component: ORB
  • Platform/OS Version: All

The Client application is using VBJ 6.5 and the Server application is using Distributed Object Group's JavaORB 2.2.6. The request is hanging on the client side on a read socket.

This is the stack trace of the thread in question:

VBJ ThreadPool Worker id=0 se=iiop_tp scm=iiop_tp" daemon prio=10 tid=011f22a8 nid=28 lwp_id=2050026 runnable [0x6baf0000..0x6baef4f0]
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:134)
at com.inprise.vbroker.IIOP.Connection.read(Connection.java:280)
at com.inprise.vbroker.GIOP.InputStream.readFromConnection(InputStream.java:141)
at com.inprise.vbroker.GIOP.MessageFactory.readMessage(MessageFactory.java:61)
at com.inprise.vbroker.GIOP.GiopConnection.receive_message(GiopConnection.java:536)
at com.inprise.vbroker.IIOP.ProtocolConnection.receive(ProtocolConnection.java:163)
at com.inprise.vbroker.IIOP.ProtocolConnection.receive_reply(ProtocolConnection.java:385)
at com.inprise.vbroker.GIOP.ProtocolConnector.invoke(ProtocolConnector.java:780)
at com.inprise.vbroker.orb.DelegateImpl.invoke(DelegateImpl.java:783)
at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
at ......

 

The JavaORB processes other requests successfully.

For the request which fails, the following exception can be seen in the trace file:

( Thread Thread[Thread-4,5,main] ) Operation demandee : getSupportedManagers ]
! Error ! Rattrapage d"une exception inattendue java.lang.NegativeArraySizeException !
# Exception stack # java.lang.NegativeArraySizeException
at JavaORB.iiop.ServerConnectionIIOP.parseRequestMessage(ServerConnectionIIOP.java)
at JavaORB.iiop.ServerConnectionIIOP.proceed(ServerConnectionIIOP.java)
at JavaORB.iiop.ServerConnectionIIOP.run(ServerConnectionIIOP.java)
#

Resolution:

There is a bug in JavaORB 2.2.6 which causes this problem. This has been fixed in JavaORB 2.2.7. Upgrading the JavaORB 2.2.6 to JavaORB 2.2.7 on the Server side would resolve this problem.


#Security
#VisiBroker
#Interop
#Java
#JavaORB