Skip to main content

VBE 5.x: Exception: java.lang.ClassNotFoundException: CosNaming.Init

  • February 16, 2013
  • 0 replies
  • 0 views

Problem:

  • Product Name: VisiBroker Java
  • Product Version: 5.x
  • Product Component: Naming Service

User encountered the following exception when starting a VisiBroker process:

Exception: org.omg.CORBA.INITIALIZE: java.lang.ClassNotFoundException:
 CosNaming.Init minor code: 0 completed: No
Stack:
org.omg.CORBA.INITIALIZE: java.lang.ClassNotFoundException: CosNaming.Init minor
 code: 0 completed: No
at com.inprise.vbroker.orb.ORB.installServiceCollection(ORB.java:1271)
at com.inprise.vbroker.orb.ORB.installServices(ORB.java:1283)
at com.inprise.vbroker.orb.ORB.initialize(ORB.java:1080)
at com.inprise.vbroker.orb.ORB.set_parameters(ORB.java:1317)
at org.omg.CORBA.ORB.init(ORB.java:324)
at com.test.Server.main(Server.java:31)

Resolution:

The presence of the deprecated property, "-DORBservices=CosNaming", can cause "ORB.init()" method to fail with the stack trace shown.

This property is no longer needed to bootstrap Naming Service.

 

Support Case # 581414


#Security
#NamingService
#Java
#VisiNaming
#classnotfoundexception
#VisiBroker