What is the Java default ORB implementation class?

I have a web application deployed on the Sun Java System Application Server 8. This application will also act as a CORBA client by invoking remote methods on another CORBA server.
Our first approach was to use the ORB provided by the Sun App Server. But whenever the code reaches the point to initialize the ORB:
orb = ORB.init(as, null); we encountered such exceptions:
[#|2005-02-03T00:38:43.912-0600|WARNING|sun-appserver-pe8.0.0_01|javax.enterpris
e.resource.corba._DEFAULT_.rpc.transport|_ThreadID=14;|"IOP00710209: (INTERNAL)
Unable to create listener thread on the specific port"                         
org.omg.CORBA.INTERNAL:   vmcid: SUN  minor code: 209  completed: No  
at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFa
iled(ORBUtilSystemException.java:3142)                                         
        at com.sun.corba.ee.impl.logging.ORBUtilSystemException.createListenerFa
iled(ORBUtilSystemException.java:3160)     When we deployed the same app on Tomcat, it worked fine. We later reasoned the exception was happening on the Sun App Server because perhaps it was trying to initialize another ORB with the same properties as the one initialized by the Sun App Server, and thus was trying to create another listener on a port already in use.
On tomcat, the ORB used was the default ORB provided by Java. Thus, we thought we would try 'overriding' the ORB properties for the Sun App Server by specifiying this in the ORB.init() method:
        String as[] = null;
     Properties orbProperties = new Properties();
     orbProperties.put("org.omg.CORBA.ORBClass","com.sun.corba.se.internal.iiop.ORB");
     orbProperties.put("org.omg.CORBA.ORBSingletonClass","com.sun.corba.se.internal.iiop.ORB");
        orb = ORB.init(as, orbProperties);But when executing this, we get the exception as follows:
Caused by: org.omg.CORBA.INITIALIZE: can't instantiate custom socket factory: co
m.sun.enterprise.iiop.IIOPSSLSocketFactory  vmcid: 0x0  minor code: 0  completed
: No                                                                           
        at com.sun.corba.se.internal.corba.ORB.parseProperties(ORB.java:1250)  
        at com.sun.corba.se.internal.POA.POAORB.parseProperties(POAORB.java:267)
        at com.sun.corba.se.internal.Interceptors.PIORB.parseProperties(PIORB.ja
va:341)                                                                        
        at com.sun.corba.se.internal.corba.ORB.set_parameters(ORB.java:460)    
        at com.sun.corba.se.internal.POA.POAORB.set_parameters(POAORB.java:153)
        at com.sun.corba.se.internal.Interceptors.PIORB.set_parameters(PIORB.jav
a:333)                                                                         
        at org.omg.CORBA.ORB.init(ORB.java:337)                                
        at com.covansys.ipceuc.corbalogic.SessionManager.<clinit>(SessionManager
.java:159)      Some Sun sites mentioned that com.sun.CORBA.iiop.ORB is the Java ORB implementation. When trying to use this, we got a ClassNotFoundException.
Also tried the following classes:
com.sun.corba.se.internal.corba.ORB
com.sun.corba.se.internal.core.ORB
com.sun.corba.se.internal.org.omg.ORBAll of them reported exceptions as follows:
Caused by: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementati
n org.omg.CORBA.ORB  vmcid: 0x0  minor code: 0  completed: No                 
        at org.omg.CORBA.ORB.create_impl(ORB.java:297)                        
        at org.omg.CORBA.ORB.init(ORB.java:336)                               
        at com.covansys.ipceuc.corbalogic.SessionManager.<clinit>(SessionManage
.java:158)                                                                    
        ... 55 more                                                           
Caused by: java.lang.InstantiationException                                   
        at sun.reflect.InstantiationExceptionConstructorAccessorImpl.newInstanc
(InstantiationExceptionConstructorAccessorImpl.java:30)                       
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)    
        at java.lang.Class.newInstance0(Class.java:308)                       
        at java.lang.Class.newInstance(Class.java:261)                        
        at org.omg.CORBA.ORB.create_impl(ORB.java:295)                        
        ... 57 more                                                           
|#]                                                                            Anyone know what the Java ORB implementation class is, or whether this is possible at all?
Thanks in advance.

Hello
The defaults for JDK 1.4.2 (at least) are shown it the code below:
        Properties p = new Properties ();
        p.put ("org.omg.CORBA.ORBSingletonClass",
               "com.sun.corba.se.internal.corba.ORBSingleton");
        p.put ("org.omg.CORBA.ORBClass",
               "com.sun.corba.se.internal.Interceptors.PIORB");
        p.put ("javax.rmi.CORBA.UtilClass",
               "com.sun.corba.se.internal.POA.ShutdownUtilDelegate");
        p.put ("javax.rmi.CORBA.PortableRemoteObjectClass",
               "com.sun.corba.se.internal.javax.rmi.PortableRemoteObject");
        System.setProperties (p);Of course you can use this code to set these defaults back. Be careful, if you do this inside Weblogic, for instance, it will likely abend.
[]'s
Marcond

Similar Messages

  • Org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation

    Hello,
    I'm getting a following error message in .trc file (in udump):
    org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
    This error is caused by very simple construction in my stored
    java procedure
    org.omg.CORBA.ORB orb = org.omg.CORBA.ORB.init();
    While loading my java procedure into Oracle 8.1.6.1 for NT,
    there are no error messages nor warning during resolving.
    I found, it's only problem of 8.1.6 version for NT,
    I can run my stored java programs on 8.1.5 for Linux.
    Doe's anybody have any idea what wrong with internal ORB
    in 8.1.6 Oracle RDBMS ?
    Thank you very much.
    null

    Laurent,
    When are you getting this error ? Is this error coming from Oc4J or are you getting this error from JDeveloper 9i ?
    regards
    Debu Panda
    Oracle

  • Can't instantiate default ORB implementation ....

    I'm developing a J2EE application, and I have this ERROR :
    java.lang.ExceptionInInitializerError: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.visigenic.vbroker.orb.ORB minor code: 0 completed: No
         at java.lang.Throwable.fillInStackTrace(Native Method)
         at java.lang.Throwable.fillInStackTrace(Compiled Code)
         at java.lang.Throwable.(Compiled Code)
         at java.lang.Exception.(Compiled Code)
         at java.lang.RuntimeException.(RuntimeException.java:47)
         at org.omg.CORBA.SystemException.(SystemException.java:49)
         at org.omg.CORBA.INITIALIZE.(INITIALIZE.java:73)
         at org.omg.CORBA.INITIALIZE.(INITIALIZE.java:47)
         at org.omg.CORBA.ORB.create_impl(ORB.java:305)
         at
         at com.bo.wibean.WIServerImpl.init(WIServerImpl.java:214)
         at com.bo.wibean.WIServerImpl.(WIServerImpl.java:142)
         at retry.jspService(_retry.java:51)
    I'm using the OC4J r2. Some boby can help me ?

    Laurent,
    When are you getting this error ? Is this error coming from Oc4J or are you getting this error from JDeveloper 9i ?
    regards
    Debu Panda
    Oracle

  • What is the exact mean of  classname.class.

    what is the exact mean of classname.class. what situations it will be use ful . how to use . give me one example .

    Each class, interface, or enum loaded into the JVM has an associated Class object. This contains a lot of information about the class in question, including lists of fields and methods. <classname>.class gives you a reference to the Class object of the class mentioned.
    See the java.lang.Class javadocs for all the things you can do with a Class object.
    For example:
    theImage = new ImageIcon(MainClass.class.getResource("item.png"));to retrieve an image file from the directory containing the MainClass class file.

  • What is the advantage of using Wrapper Classes ?

    Hi friends,
    I am happy to join Java/J2EE tech. My project is scaled over the network. MVC-II struts, EJB based architecture, we are using.
    We are asked to use Wrapper Classes in in Java programs and not the primitive data types. I could not understand the reason.
    Pls tell me what is the advantage of using Wrapper Classes over the primitive data types ?
    means Integer instead of int, etc....

    Hi friends,
    I am happy to join Java/J2EE tech. My project is
    scaled over the network. MVC-II struts, EJB based
    architecture, we are using.
    We are asked to use Wrapper Classes in in Java
    programs and not the primitive data types. I could
    not understand the reason.
    Pls tell me what is the advantage of using Wrapper
    Classes over the primitive data types ?
    means Integer instead of int, etc....I am not sure why use Integer over int; but Wrapper classes are used to remove coupling between classes and create one hand doesn't know what the other hand does effect.
    for example:
    when you have a SFTP java package but doesn't do everything that your application needs to do in one step and you need to do sftp stuff at many places in your application, it would be wise not to use SFTP java package directly from all the classes that need to do sftp stuff. Because if you were to change the SFTP package later due to say some bug fix or newer version or ... you would have to go and modify all the classes that had sftp stuff to update.
    Instead you could write a custom sftp wrapper that handles all the sftp stuff for your application needs and that wrapper deals with the SFTP java package. So all the classes don't need to know which SFTP java package is being used only the custom-wrapper needs to know.

  • What's the naming convention for Helper Class?

    Hi Experts,
    What's the naming convention for helper class?
    cl_util? or cl_heper?
    Thanks in advance!

    Hi.,
    Normally in JAVA the naming convention for Helper Class is <EventID>Util.java. The Naming convention for helper class must start with EventID.
    here Event ID is  the event Name , Util.java is the helper class for java.
    I believe the same will be followed in ABAP OO too..
    here the helper class is cl_uitl.,
    so <EventID><ABAP hepler class> is the naming convention.
    wait for experts reply..,
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • What is the Java Library Path?

    Hi,
    I have a Java package that I need to add to my computer. The instillation information that I received with this package is as follows:
    * For this package to function, you must modify your java library path
    (the "java.library.path" property) or you must copy <WInterface.dll> to
    a directory that is already on that path.
    My questions are
    1). What is the java.library.path?
    2). How do I determine what the path is for my computer,
    3). And finally how do I modify this path?
    Thanks for your assistance.

    1) It is the list of paths to search when loading libraries.
    2) That can be found out with this program:public class PrintLibraryPath {
        public static void main(String[] args) {
            System.out.println(System.getProperty("java.library.path"));
    }3) By giving the java launcher the command line argument "-Djava.library.path=yourpath".

  • What are the java components?

    hi iam new to this it field. this is the question asked by interviewer. so please help me.
    what are the java components you can use in a webproject? how you use those components in your project?

    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/

  • Dear All,what are the major issues in implementation in sap hcm

    what are the major issues in implementation in SAP HCM project scope is PA ,OM,TIME, INDIA PAYROLL

    Hi Ramjan,
    Try to have a clear understanding of requirements and find the best solution in SAP. Keep as much as possible everything standard and based on SAP best practices.
    In PA look for a comprehensive enterprise structure. It's base for everything.
    DON"T do anything through development(ABAP code) as much as possible specially in PT and PY. Try to do claculation by PCRs and Schema.
    Regards,
    Omid

  • What is the best way to implement a cluster-wide object ID generator?

    What is the best way to implement a cluster-wide object ID generator?

    What is the best way to implement a cluster-wide
    object ID generator?Always use 3 because it is prime.
    Alternatively more information about the system and the needs of the system might prompt alternative ideas some of which are likely to be better than others for your particular implementation and system constraints.

  • What are the benefits of bw implementation

    Hai Experts,
    If any one have  an idea the below query Please share with me.
      What are the benefits of BW Implementation in an organization.
    Thanks & Regards.
    suresh

    Hi,
    BW/BI is the information backbone engine for SAP and the mySAP landscape. Traditional R/3 reporting does a good job of generating tactical (operational reports). But in the past few years SAP has growingly introduced the business information warehouse as the defacto reporting framework for the mySAP suite of solutions. Some reasons for introducing SAP BW:
    a) An information warehouse that enables analytical reporting
    b) In a typical SAP user community more than 70% of the users would be "read-only" or reporting users. It is unnecessary to provide SAP transaction system reporting to the 70%.
    c) Ability to create reports on the fly providing much more flexibility to information insight.
    BW is clearly the fastest growing SAP technology in terms of user adoption. In the last few years alone, over 3000 installations of BW have been reported. SAP has thrown in a very creative licensing strategy that provides attractive incentives to migrate to mySAP BW.
    The key components of BW that have gained momentum:
    1) Strategic & tactical information analytics
    2) Portal integration for extended and easier information consumption
    3) Pre-delivered best business practices (Business content) for expedited implementations.
    4) BW-BPS/BI IP  for planning and feedback into SAP transaction system
    *pls search forum, you will get  more details**
    Hope this helps,
    Regards
    CSM Reddy

  • What are the pre requisites for implementing ChaRM

    Hi
    We are planning to implement ChaRM & CTS+ in our organization. We are using three system landscape and we have EP, PI, BI and ECC systems.
    Can you please tell me what are the pre requisites for implementing ChaRM & CTS+ and what are the areas i need to look before starting the configuration
    Thanks & Regards
    Anand

    The listed pre-requisites for the implementation of ChaRM are;
    1.  Already completed the basic configuraiton of SAP Solution Manager
    2.  You have set-up your solution, landscape and installed base (iBase) for the systems to be integrated
    3.  you have setup business partners for the users (or at least 1)
    4.  satellite systems are at the minimum  support package level required (note 907768)
    5.  connections are available to the satelite systems
    6.  CTS+ if you wish to control non ABAP change requests through ChaRM

  • What is the best way to implement writable many-to-many relations

    As everyone knows, the many-to-many associations provided by BC4J are quite good to read many-to-many associations, but they are not able to write such associations.
    There are other solutions using composite associations or cascading-delete foreign keys, but as I was tought now, they are also quite problematic. See thread Internal error: Entity.afterRollback.status_dead   -- What does this mean? for more details.
    So I ask you: What is the best way to implement writable many to many associations? Do you really have to manage them "by hand"?
    Thanks for your ideas
    Frank

    I'd appreciate any hint
    Thanks

  • What's the best strategy to implement ads?

    Hello Everyone,
    I’ve inherited a site as the content manager and the
    owners would like to start selling ad space on certain pages.
    Mostly the ad banners will be on the either side of the web pages.
    To see the site with out signing-up this page is public:
    http://www.kidstylesource.com/industry/index.php?option=com_content&task=blogcategory&id=2 7&Itemid=91
    The site is built with Joomla and Dreamweaver. The site is
    fairly removed from the Joomla structure that Dreamweaver will be
    playing a big part here setting up ad banner areas. Joomla has
    it’s own way of running ad banners but as mentioned
    it’s very removed from the Joomla way.
    I’m just wondering what is the best strategy to
    implement the ads with placement on the page, tables and/or div
    with out doing a whole rewrite of each page? The body of the pages
    are a mix of tables and div.
    Also I’d like to think about the future using an ad
    server as I’ve never used one before and don’t know
    what code/structure the ad server is expecting on the website. At
    this time the website is just getting off the ground so I feel an
    ad server is not necessary until traffic picks-up.
    Many Thanks,
    John V.

    Hi Helen,
    Are Form1, Form2 etc five different pages? Are they based on different tables?
    Typically, a tree would be a heirarchical structure (child, parent, grandparent etc) - your structure is more like a simple list.
    Also typically, a report is used as the front-end to a form. A link on the report would move the user to a form that allows them to insert/update/delete data. If the five "forms" are based on different data, I would have five tabs in your app - one for each - and have the front-end report as the main page for each tab.
    Or, perhaps, I'm reading your requirement wrong?
    Andy

  • What is the by default optimizer in 9i and 10g?

    Hi
    All,
    What is the by default optimizer in 9i and 10g?
    Thanks,
    Vishal

    That must be a drag, having access to the Internet but not being able to search documentation.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/optimops.htm#PFGRF10102

Maybe you are looking for