Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

ORB.init error

ORB.init error

ORB.init error


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

org.omg.CORBA.INITIALIZE: java.lang.ClassNotFoundException: CosNaming.Init
 vmcid: 0x0  minor code: 0  completed: No
        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

Second, why this error occurs???

Replies continue below

Recommended for you

RE: ORB.init error

>>>>  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.

RE: ORB.init error


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



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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close