Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.NoClassDefFoundError: com.inprise.vbroker.IIOP.Task

 
Vladimir Bezugliy
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are migrating to VisiBroker 7.0.
In our client application we started to use VBJ Client Runtime provided as a Java archive vbjclientorb.jar file.

There is no com.inprise.vbroker.IIOP.Task in vbjclientorb.jar for AIX.
But com.inprise.vbroker.IIOP.Connection class located in vbjclientorb.jar uses com.inprise.vbroker.IIOP.Task class.

java.lang.NoClassDefFoundError: com.inprise.vbroker.IIOP.Task
at com.inprise.vbroker.IIOP.Connection.write(Unknown Source)
at com.inprise.vbroker.GIOP.OutputStream.write(Unknown Source)
at com.inprise.vbroker.GIOP.OutputStream.writeUnfragmented(Unknown Source)
at com.inprise.vbroker.GIOP.OutputStream.writeFragmented(Unknown Source)
at com.inprise.vbroker.GIOP.Message.write(Unknown Source)
at com.inprise.vbroker.GIOP.GiopConnection.send_message(Unknown Source)
at com.inprise.vbroker.GIOP.GiopConnection.send_message(Unknown Source)
at com.inprise.vbroker.GIOP.ProtocolConnector.invoke(Unknown Source)
at com.inprise.vbroker.orb.DelegateImpl.invoke(Unknown Source)

Is it a bug?
Or we should include some additional jar?
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy, Vladimir!

Well, it looks like com.inprise.vbroker.IIOP.Connection depends on com.inprise.vbroker.IIOP.Task. So, if this class can't be found in the class-path when you run the client, then you'll get NoClassDefFoundErrors. I tried to find the name of a jar that contains this class, but couldn't find any. Do you happen to know what is the jar file that contains this com.inprise.vbroker.IIOP.Task class? If you have it, try including it in your class path and hopefully everything will work well.
 
Vladimir Bezugliy
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Roberto Perillo wrote:Well, it looks like com.inprise.vbroker.IIOP.Connection depends on com.inprise.vbroker.IIOP.Task. So, if this class can't be found in the class-path when you run the client, then you'll get NoClassDefFoundErrors. I tried to find the name of a jar that contains this class, but couldn't find any. Do you happen to know what is the jar file that contains this com.inprise.vbroker.IIOP.Task class? If you have it, try including it in your class path and hopefully everything will work well.

Hello Roberto.

Jar: vbjclientorb.jar
Class com\inprise\vbroker\IIOP\Connection.class uses class com\inprise\vbroker\IIOP\Task.class
But there is only com\inprise\vbroker\IIOP\Connection.class in vbjclientorb.jar.

Jar: vbjorb.jar
Class com\inprise\vbroker\IIOP\Connection.class uses class com\inprise\vbroker\IIOP\Task.class
There are both com\inprise\vbroker\IIOP\Connection.class and com\inprise\vbroker\IIOP\Task.class in vbjorb.jar.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic