Hi
We are working with visibroker 5.2 and jdk 1.4
We have at the Application.java (main class) the lines
private static org.omg.CORBA.ORB orb = null;
orb = com.inprise.vbroker.orb.ORB.init(args,null);
It compiles,, but when we try to execute our application there is this
error:
org.omg.CORBA.INITIALIZE: java.lang.ClassNotFoundException: CosNaming.Init
vmcid: 0x0 minor code: 0 completed: No
at
com.inprise.vbroker.orb.ORB.installServiceCollection(ORB.java:1286)
at com.inprise.vbroker.orb.ORB.installServices(ORB.java:1298)
at com.inprise.vbroker.orb.ORB.initialize(ORB.java:1091)
at com.inprise.vbroker.orb.ORB.set_parameters(ORB.java:1332)
at org.omg.CORBA.ORB.init(ORB.java:337)
at serveurlecture.server.Application.Init(Application.java:54)
at serveurlecture.server.Application.main(Application.java:328)
First, we didn't undertand why if we use the
com.inprise.vbroker.orb.ORB.init method, the first error is at
org.omg.CORBA.ORB.init
Second, why this error occurs???
Thanks
Marc - 23 Apr 2004 16:29 GMT
> Thanks
The VBJ 3.x ServiceInit class used to load wrapper initializers dynamically
with the ORBservices option has been deprecated.
Use the VBJ 5.0 ServiceLoader class and vbroker.orb.dynamicLibs property.
macala - 28 Apr 2004 16:13 GMT
Hi again
First thanks for your response, but we didn't understatnd what you say we
have to do with vbroker 5.0.
Could you explain this please?
Thanks again