Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ORB.init error

Status
Not open for further replies.

macala30

Technical User
Apr 22, 2004
2
ES
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
 
>>>> java.lang.ClassNotFoundException: CosNaming.Init

Two possible causes :

1) The class CosNaming's Init class is not found - ie its nt on the JVM's CLASSPATH.

2) You have two or more versions on your CLASSPATH which is causing a class confliction.
 
Hi

we're so sorry but we couldn't get in since the other day...
thanks for your response,

We've confirm the CLASSPATH but the error is the same

Our CLASSPATH is:

CLASSPATH=.:/opt/peginst/current/ext/TOPLink/Tools.jar:/opt/peginst/current/ext/TOPLink/TOPLink.jar:/opt/BES5.1/lib/lm.jar:/opt/BES5.1/lib/vbjorb.jar:/opt/BES5.1/lib/vbcdev.jar:/BES5.1/lib/vbdev.jar:/opt/BES5.1/lib/vbjdev.jar:/opt/BES5.1/lib/vbsec.jar:/opt/oracle9i/OraHome/jdbc/lib/oracle-jdbc.jar:/opt/peginst/current/bin/PegaseIdl.jar:/opt/peginst/current/bin/pegaseReadServer.jar:

We have this CLASSPATH at our application and at the system, but is the same..

Do you know what could be the problem

Thanks again
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top