Recursive plunge inside sun CORBA code?

I'm seeing a stack overflow from a recursive plunge inside
com.sun.corba.se.impl.protocol.CorbaServerRequestDispatchImpl.dispatch()
with both JDK 1.5 and JDK 1.6.
Sure enough, at line 214 in the source is a recursive call, preceded by
a comment that seems to indicate it shouldn't be a problem:
        // Destroyed POAs can be recreated by normal adapter activation.
        // So just restart the dispatch.
        dispatch(request);However, request is the same as the original argument to dispatch, so a recursive
plunge isn't unexpected! Is that code really correct?
Being a CORBA novice, I'm sure I'm doing something odd that results in
this particular path being taken in dispatch(), but because of the stack overflow,
I haven't been able to trace down exactly what in my code is resulting in reaching
line 214, but it appears related to breaking a CORBA connection. (The application
is multi-threaded application that is connecting/unconnecting to/from multiple
applications.)

Hi Mike,
Thanks for your suggestion. Making the interface local was the first thing I tried. (In fact, I started out with a local interface.) The strange thing is that the servlet cannot resolve the interface when it's local. That's why I made the interface remote. But now I know this only makes things worse.
So the real problem is probably my JSF servlet that doesn't resolve the local interface in the EJB JAR. In fact, it seems all EJB annotations are ignored in the servlet. Even the remote interface could only be resolved "manually" (via an JNDI lookup, using a InitalContext, etc.) Is there any known issue with EJB annotations in JSF servlets?
(By the way: it was hard to find information on the CORBA MARSHAL error. Perhaps this error can be clarified somehow in a newer version of TopLink (Essentials). At least a warning about this happening in the TopLink documentation should be nice.)
Anyway, thanks for your prompt reply. I hope you (or someone else) has some suggestions on how to getting things working the proper way (with a local interface). Do you think it will help to deploy both modules in a single EAR file instead of deploying them as separate JAR and WAR?

Similar Messages

  • IOP00010202 org.omg.CORBA.UNKNOWN:   vmcid: SUN  minor code: 202

    Hi,
    I try to make a servlet call a method of an EJB that return an object. After the execution of the method (during the object result return I get th exception below.
    Any idea ???
    Thanks
    Didier
    [#|2004-10-28T15:54:09.424+0200|WARNING|sun-appserver-pe8.1|javax.enterprise.resource.corba.S1AS-ORB.rpc.protocol|_ThreadID=11;|"IOP00010202: (UNKNOWN) Unknown user exception thrown by the server - exception: java.lang.ClassCastException; message: null"
    org.omg.CORBA.UNKNOWN: vmcid: SUN minor code: 202 completed: Maybe
         at com.sun.corba.ee.impl.logging.ORBUtilSystemException.runtimeexception(ORBUtilSystemException.java:8508)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.convertThrowableToSystemException(CorbaMessageMediatorImpl.java:1921)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleThrowableDuringServerDispatch(CorbaMessageMediatorImpl.java:1871)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleThrowableDuringServerDispatch(CorbaMessageMediatorImpl.java:1824)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:261)
         at com.sun.corba.ee.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1683)
         at com.sun.corba.ee.impl.protocol.SharedCDRClientRequestDispatcherImpl.marshalingComplete(SharedCDRClientRequestDispatcherImpl.java:155)
         at com.sun.corba.ee.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:132)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:129)
         at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:150)
         at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unknown Source)
         at fr.adp.com.gxp.std.moteur.comm_host.EJB.src._Saisie_DynamicStub.execute(_Saisie_DynamicStub.java)
         at servlet.IP.src.GxpServlet.doGet(Unknown Source)
         at servlet.IP.src.GxpServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:246)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:273)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:162)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:236)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:141)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:262)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:618)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:500)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:375)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Caused by: java.lang.ClassCastException
         at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.write(DynamicMethodMarshallerImpl.java:338)
         at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.writeResult(DynamicMethodMarshallerImpl.java:430)
         at com.sun.corba.ee.impl.presentation.rmi.ReflectiveTie._invoke(ReflectiveTie.java:127)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:648)
         at com.sun.corba.ee.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:192)
         ... 40 more
    |#]

    My war archive contains remote and home interface and the return object class.
    The exception is rised between the return of the EJB's result and the reception of the result in my servlet.
    thank you for your help
    didier
    This is my remote interface :
    public interface Saisie extends EJBObject
    public GxpOutput execute(String inputReq)
              throws ResourceException,RemoteException;
    This is my Home interface :
    public interface SaisieHome extends EJBHome
         public Saisie create() throws CreateException,RemoteException;
    This a part of my servlet code :
    //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////servlet
    InitialContext ic = new InitialContext();
    Object objRef = ic.lookup("ejb/ejbGxp");
    saisieHome = (SaisieHome)PortableRemoteObject.narrow(objRef, SaisieHome.class); //narrow is here
    saisie = saisieHome.create();
    output = (GxpOutput)saisie.execute(inputReq);
    /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////end

  • Missing  com.sun.corba.se.internal.iiop.CDRInputStream

    I am trying to test the new OC4J 10.0.3 which supposed to be a J2EE 1.4 compliant.
    I followed the instruction to unzip it, and when I tried to start it I got the error :
    I did a thorugh search for that package in my Java directory and couldnt find a match in either J2SE or J2EE.
    Your help is highly appreciated.
    Starting OC4J...
    05/01/22 02:13:22 Exception in thread "OC4J Launcher" oracle.oc4j.loader.util.An
    notatedNoClassDefFoundError:
    Missing class: com.sun.corba.se.internal.iiop.CDRInputStream
    Dependent class: com.evermind.server.ApplicationContext
    Loader: oc4j:10.1.3
    Code-Source: /D:/Java/Jdev10g/j2ee14/j2ee/home/lib/oc4j-internal.jar
    Configuration: <code-source> in boot.xml in D:\Java\Jdev10g\j2ee14\j2e
    e\home\oc4j.jar
    The missing class is not available from any code-source or loader in the server.
    05/01/22 02:13:22 at oracle.oc4j.loader.PolicyClassLoader.handleClassNotFo
    und (PolicyClassLoader.java:1956) [/D:/Java/Jdev10g/j2ee14/j2ee/home/oc4j.jar (f
    rom system property java.class.path), by sun.misc.Launcher$AppClassLoader@14822
    57]
    at oracle.oc4j.loader.PolicyClassLoader.internalLoadClass (PolicyClassLo
    ader.java:1641) [/D:/Java/Jdev10g/j2ee14/j2ee/home/oc4j.jar (from system propert
    y java.class.path), by sun.misc.Launcher$AppClassLoader@1482257]
    at oracle.oc4j.loader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1591) [/D:/Java/Jdev10g/j2ee14/j2ee/home/oc4j.jar (from system property java.c
    lass.path), by sun.misc.Launcher$AppClassLoader@1482257]
    at oracle.oc4j.loader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1577) [/D:/Java/Jdev10g/j2ee14/j2ee/home/oc4j.jar (from system property java.c
    lass.path), by sun.misc.Launcher$AppClassLoader@1482257]
    at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre b
    ootstrap, by  jre bootstrap]
    at com.evermind.server.ApplicationContext.<clinit> (ApplicationContext.j
    ava:62) [/D:/Java/Jdev10g/j2ee14/j2ee/home/lib/oc4j-internal.jar (from <code-sou
    rce> in boot.xml in D:\Java\Jdev10g\j2ee14\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.Application.<init> (Application.java:173) [/D:/Ja
    va/Jdev10g/j2ee14/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xm
    l in D:\Java\Jdev10g\j2ee14\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ApplicationServer.initializeApplications (Applica
    tionServer.java:1403) [/D:/Java/Jdev10g/j2ee14/j2ee/home/lib/oc4j-internal.jar (
    from <code-source> in boot.xml in D:\Java\Jdev10g\j2ee14\j2ee\home\oc4j.jar), by
    oc4j:10.1.3]
    at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.ja
    va:944) [/D:/Java/Jdev10g/j2ee14/j2ee/home/lib/oc4j-internal.jar (from <code-sou
    rce> in boot.xml in D:\Java\Jdev10g\j2ee14\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerL
    auncher.java:87) [/D:/Java/Jdev10g/j2ee14/j2ee/home/lib/oc4j-internal.jar (from
    <code-source> in boot.xml in D:\Java\Jdev10g\j2ee14\j2ee\home\oc4j.jar), by oc4
    j:10.1.3]
    at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by  jre bootst
    rap]

    Hi
    when i am trying to start the oc4j server, it is throwing me the following error.
    Please give me some solution...
    06/05/19 16:20:40 oracle.classloader.util.AnnotatedClassFormatError: MBeanServer
    EjbHome_StatefulSessionHomeWrapper1 (Unsupported major.minor version 49.0)
    Invalid class: MBeanServerEjbHome_StatefulSessionHomeWrapper1
    Loader: system.root:0.0.0
    Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/application-dep
    loyments/admin_ejb/deployment-cache.jar
    Configuration: <ejb> in wrappers
    Dependent class: com.evermind.server.ejb.deployment.SessionBeanDescripto
    r
    Loader: oc4j:10.1.3
    Code-Source: /C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-intern
    al.jar
    Configuration: <code-source> in META-INF/boot.xml in C:\product\10.1.3
    \OracleAS_1\j2ee\home\oc4j.jar
    This class was compiled for a newer version of the JRE. Expected version
    48.0, found 49.0.
    06/05/19 16:20:40 at oracle.classloader.PolicyClassLoader.findLocalClass (
    PolicyClassLoader.java:1457) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.ja
    r (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@54
    87165]
    at oracle.classloader.SearchPolicy$FindLocal.getClass (SearchPolicy.java
    :167) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from system property
    java.class.path), by sun.misc.Launcher$AppClassLoader@5487165]
    at oracle.classloader.SearchSequence.getClass (SearchSequence.java:119)
    [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from system property java.
    class.path), by sun.misc.Launcher$AppClassLoader@5487165]
    at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLo
    ader.java:1660) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from syste
    m property java.class.path), by sun.misc.Launcher$AppClassLoader@5487165]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1621) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from system proper
    ty java.class.path), by sun.misc.Launcher$AppClassLoader@5487165]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1606) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/pcl.jar (from system proper
    ty java.class.path), by sun.misc.Launcher$AppClassLoader@5487165]
    at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:302) [jre b
    ootstrap, by jre.bootstrap]
    at java.lang.Class.forName0 (Native method) [unknown, by unknown]
    at java.lang.Class.forName (Class.java:219) [jre bootstrap, by jre.boots
    trap]
    at com.evermind.server.ejb.deployment.SessionBeanDescriptor.createHomeIn
    stance (SessionBeanDescriptor.java:443) [/C:/product/10.1.3/OracleAS_1/j2ee/home
    /lib/oc4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10
    .1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstanceCore (EJB
    PackageDeployment.java:1136) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-i
    nternal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\Oracle
    AS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.EJBPackageDeployment.getHomeInstance (EJBPack
    ageDeployment.java:1189) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-inter
    nal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1
    \j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.EJBPackageDeployment.bindRemoteHome (EJBPacka
    geDeployment.java:533) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-interna
    l.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j
    2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.EJBPackageDeployment.bindHomes (EJBPackageDep
    loyment.java:442) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar
    (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\h
    ome\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ejb.EJBContainer.postInit (EJBContainer.java:1010
    ) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-sou
    rce> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), b
    y oc4j:10.1.3]
    at com.evermind.server.ApplicationStateRunning.initializeApplication (Ap
    plicationStateRunning.java:210) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4
    j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\Ora
    cleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.Application.setConfig (Application.java:391) [/C:
    /product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> i
    n META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j
    :10.1.3]
    at com.evermind.server.Application.setConfig (Application.java:308) [/C:
    /product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <code-source> i
    n META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.jar), by oc4j
    :10.1.3]
    at com.evermind.server.ApplicationServer.initializeSystemApplication (Ap
    plicationServer.java:1480) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-int
    ernal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS
    _1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ApplicationServer.initializeAutoDeployedApplicati
    ons (ApplicationServer.java:1467) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/o
    c4j-internal.jar (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\O
    racleAS_1\j2ee\home\oc4j.jar), by oc4j:10.1.3]
    at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.ja
    va:922) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar (from <co
    de-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\home\oc4j.j
    ar), by oc4j:10.1.3]
    at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerL
    auncher.java:113) [/C:/product/10.1.3/OracleAS_1/j2ee/home/lib/oc4j-internal.jar
    (from <code-source> in META-INF/boot.xml in C:\product\10.1.3\OracleAS_1\j2ee\h
    ome\oc4j.jar), by oc4j:10.1.3]
    at java.lang.Thread.run (Thread.java:534) [jre bootstrap, by jre.bootstr
    ap]

  • IOP00710309: (INTERNAL) Worker thread Thread[p: default-threadpool; w: Idle,5,ORB ThreadGroup 0] caught throwable com.sun.corba.se.impl.orbutil.threadpool

    Hi ,
    I am seeing this issue while starting my managed server.
    com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread run
    FINE: "IOP00710309: (INTERNAL) Worker thread Thread[p: default-threadpool; w: Idle,5,ORB ThreadGroup 0] caught throwable com.sun.corba.se.impl.orbutil.threadpool.TimeoutException when requesting work from work queue default-workqueue."
    org.omg.CORBA.INTERNAL:   vmcid: SUN  minor code: 309  completed: No
            at com.sun.corba.se.impl.logging.ORBUtilSystemException.workerThreadThrowableFromRequestWork(ORBUtilSystemException.java:6330)
            at com.sun.corba.se.impl.logging.ORBUtilSystemException.workerThreadThrowableFromRequestWork(ORBUtilSystemException.java:6355)
            at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:494
    I have searched the net for this but didnt find any resolution. Please help.
    Regards,
    Rishi

    This became bug 6560301. And Sun pointed out that it was my bad in not handling spurious wakeups. Java 6 makes spurious wakeups more likely. (My experience is from "never" to "sometimes".)
    More info at:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6560301

  • Sun corba service set time out

    Hi im coding a corba client service using sun default library(without using any 3rd lib. e.g jacorb /visibroker). Is there anyway to set client timeout. This is to solve when server is down then my client won't hog the thread and keep the connection active. As of now if the host is down, i will wait forever, the timeout from sun is very unconsistence

    Thanks a lot for your reply, I guess im kinda confusing. Maybe you can help me and enlighten me a bit. my problem here is i need to set timeout. With weblogic default timeout. THe time out is actually not consistence, from 0- 50 minute.
    below is my snippet of code.
    If im not setting any properties or system variable then the system will run default
    code set 1.
    myOrb = org.omg.CORBA.ORB.init(args, null);
    System.out.println("After System org.omg.CORBA.ORBClass:"+System.getProperty("org.omg.CORBA.ORBClass"));
    System.out.println("After System org.omg.CORBA.ORBSingletonClass:"+System.getProperty("org.omg.CORBA.ORBSingletonClass"));
    -- print line result.
    After System org.omg.CORBA.ORBClass:weblogic.corba.orb.ORB
    After System org.omg.CORBA.ORBSingletonClass:weblogic.corba.orb.ORB
    it still print weblogic.
    code set 2.
    Properties prop = new Properties();     
    prop.put("org.omg.CORBA.ORBClass", "com.sun.corba.se.impl.orb.ORBImpl");
    prop.put("org.omg.CORBA.ORBSingletonClass", "com.sun.corba.se.impl.orb.ORBSingleton");
    //prop.put("com.sun.CORBA.transport.ORBTCPReadTimeouts);
    myOrb = org.omg.CORBA.ORB.init(args, prop);
    -- print line result.
    After System org.omg.CORBA.ORBClass:weblogic.corba.orb.ORB
    After System org.omg.CORBA.ORBSingletonClass:weblogic.corba.orb.ORB

  • UNKNOWN:   vmcid: SUN  minor code: 202

    The idl of the method is:
    void myMethod(in string param1, in string param2, in long param3, in long long param4) raises (anException);
    The problem occure when the two string parameters are empty (not null, but empty).
    org.omg.CORBA.UNKNOWN: vmcid: SUN minor code: 202 completed: Maybe
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
    at java.lang.Class.newInstance0(Class.java:306)
    at java.lang.Class.newInstance(Class.java:259)
    at com.sun.corba.se.internal.iiop.messages.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:90)
    at com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:105)
    at com.sun.corba.se.internal.POA.GenericPOAClientSC.invoke(GenericPOAClientSC.java:129)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
    at conferencing._UnitListenerStub.myMethod(_UnitListenerStub.java:61)
    XP Pro, J2SE 1.4.1_01 on the caller side
    XP Pro, J2SE 1.4.1-b21 on the called side
    Both application run on the same machine for the test
    What's wrong with empty String ?

    Empty string is just fine.
    What is probably happening is that server is failing either a) before reaching servant ( server object ) or b) after reaching server object. In this case the exception will be 'unknown' in client side. Try turning on debug for server and checking trace for messages.
    - Jim

  • Packaging my Java CORBA code

    I'm developing a CORBA application using JAVA IDL when I packaged my code in my defined packages I started getting an error when running the client
    ERROR : org.omg.CORBA.BAD_PARAM: minor code: 1398079489 completed: Maybe
    org.omg.CORBA.BAD_PARAM: minor code: 1398079489 completed: Maybe
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at com.sun.corba.se.internal.iiop.ReplyMessage.getSystemException(ReplyMessage.java:93)
    at com.sun.corba.se.internal.iiop.ClientResponseImpl.getSystemException(ClientResponseImpl.java:83)
    at com.sun.corba.se.internal.corba.ClientDelegate.invoke(ClientDelegate.java:204)
    at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:459)
    at ServiceProvApp._SpStub.processCommand(_SpStub.java:35)
    at SpClient.main(SpClient.java:38)
    This error happens when I try to call a native C code from my application ... can any one help in this please. I have inserted the shared libraries in the proper path and they are loaded properly

    I am getting something very similar does anyone have any idea??????? pls

  • Com.sun.corba.se.impl.orb.ORBImpl is Sun proprietary API and may be removed

    hi again,
    i have a question
    what this means?
    com.sun.corba.se.impl.orb.ORBImpl is Sun proprietary API and may be removed in a future release

    The message means that you are using stuff that you shouldn't be using. Sun may remove that stuff from future versions of Java which will break your code/application/library.

  • How to get source table inside Template Mapping code template

    Hi guys,
    I have the following scenario, I have an table from external database and want to map it to an oracle table. This is done with Template mapping and I selected an Load code template on the execution unit that holds only the external table, this load code template will read row by row from source table and make the inserts into the flow table. I know that oracle use odiRef.getFrom() in order to construct the select statement from the external table. Because i need to do something custom i will need to have a list of the source tables inside the Load code template.
    Is this possible?
    P.S. I use owb 11gr2.
    Regards,
    Cipi
    Edited by: Iancu Ciprian on Jan 11, 2011 10:58 AM

    Hi Suraj,
    Thx for your answer!
    After posting the message i found in ODI documentation about odiRef other function and this I'm trying now to see if works, will let you know my results ...
    I implemented an custom iterator that retrieves the data from an external source and pass it to INSERT commands to execute against flow table. In order that this iterator to work i need the source table name of the current execution unit. Then the iterator is using the that name to get the data from the external entity and retrieve it as an array of Objects, this array of objects will be inserted in the flow table.
    Regards,
    Cipi

  • Why com.sun.CORBA.ORBServerHost can not be cleared after the JVM is closed?

    run an application on a multiple IPs windows box. In order to initialize the ORB on the right IP, i set the com.sun.CORBA.ORBServerHost property at the app startup.
    If the right IP is set, then the software works fine as expected. Btut ionce the wrong IP is set, the software won't work even if I restart it with the right parameter. It looks like the new value just does not take effect.
    And until the box is rebooted, the new parameter will take effect. As per my understanding, this parameter should be set at a JVM level and will be cleared after the JVM is shutdown......
    Have no idea how to fix this issue and even don't know where to start to investigate it?
    Would you please provide any suggestion on it? Thx in advance.

    I had the same problem when I upgraded to snv_114 from snv_98
    on SPARC. The important line in /var/dt/Xerrors is this one:
    could not open default font 'fixed'
    The problem (in my case, anyway) was that the fonts.dir files were
    not updated during the install/upgrade process. This fixed it:
    $ su -
    # cd /usr/X11/lib/X11/fonts
    # for f in *; do cd $f; mkfontdir; cd -; done

  • RMI-IIOP JNDI lookup returns com.sun.corba.se.internal.iiop.CDRInputStream

    I have two different RMI-IIOP java clients, one is working fine and the other is not. Both are using weblogic.jndi.WLInitialContextFactory from wlclient.jar in WLS 8.1sp5 and JDK 1.4.2_6.
    One java client is a straight-forward java main. JNDI lookup is returning EJBHome_Stub correctly loaded by sun.rmi.server.LoaderHandler$Loader
    The other java client is a complex java program with multiple threads and many jars. A thread does the same JNDI lookup as the simple java client, but the object returned is of type com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1 which has NULL classloader (bootstrap classloader).
    What condition triggered the WebLogic InitialContext to default to com.sun.corba.se.internal.iiop.CDRInputStream?

    Kevin Fung <> writes:
    This is usally symptomatic of an IOR without the corresponding stub
    being loaded, usually because the correct security manager is not
    set. However the client jar bypasses the security manager to try and
    avoid this problem, so I am confused as to why you are seeing this. Do
    you know which object it is accessing? Can you try putting IIOP stubs
    for it in the client?
    andy
    I have two different RMI-IIOP java clients, one is working fine and the other is not. Both are using weblogic.jndi.WLInitialContextFactory from wlclient.jar in WLS 8.1sp5 and JDK 1.4.2_6.
    One java client is a straight-forward java main. JNDI lookup is returning EJBHome_Stub correctly loaded by sun.rmi.server.LoaderHandler$Loader
    The other java client is a complex java program with multiple threads and many jars. A thread does the same JNDI lookup as the simple java client, but the object returned is of type com.sun.corba.se.internal.iiop.CDRInputStream_1_0$1 which has NULL classloader (bootstrap classloader).
    What condition triggered the WebLogic InitialContext to default to com.sun.corba.se.internal.iiop.CDRInputStream?

  • Com/sun/corba/se/connection/ORBSocketFactory

    Is the class com/sun/corba/se/connection/ORBSocketFactory in the JRE 1.5.
    I get my WLS 8.1 client working with 1.4 but it desn't work anymore with 1.5 due to the following error:
    java.lang.NoClassDefFoundError: com/sun/corba/se/connection/ORBSocketFactory
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at weblogic.corba.j2ee.naming.ORBHelper.<clinit>(ORBHelper.java:112)
    at weblogic.corba.client.ClientORBInitializer.initialize(ClientORBInitializer.java:84)
    at weblogic.security.auth.login.UsernamePasswordLoginModule.login(UsernamePasswordLoginModul
    e.java:226)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at javax.security.auth.login.LoginContext.invoke(Unknown Source)
    at javax.security.auth.login.LoginContext.access$000(Unknown Source)
    at javax.security.auth.login.LoginContext$4.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(Unknown Source)
    at javax.security.auth.login.LoginContext.login(Unknown Source)
    It seems that the cless doesn't exist any more????
    Thanks in advance for your help,
    Olivier.

    Hi,
    I have faced with the same problem as you, and I am too cannot find any clear and full description/solution about upgrading from 1.4 to 1.5 and com.sun.corba.se.connection and com.sun.corba.se.internal packages. I am trying to find official clarification from java.sun.com but without results. Did you get any results with this question?
    I will be very grateful for you help!

  • Performance checking inside the source code

    performance checking inside the source code who to check it.
    thanks and regards
    chandra sekhar

    I guess you are asking how to check it, then here is the answer
    SQL Trace transaction ST05
    The trace list has many lines that are not related to the SELECT statement in the ABAP program. This is because the execution of any ABAP program requires additional administrative SQL calls. To restrict the list output, use the filter introducing the trace list.
    The trace list contains different SQL statements simultaneously related to the one SELECT statement in the ABAP program. This is because the R/3 Database Interface - a sophisticated component of the R/3 Application Server - maps every Open SQL statement to one or a series of physical database calls and brings it to execution. This mapping, crucial to R/3s performance, depends on the particular call and database system. For example, the SELECT-ENDSELECT loop on the SPFLI table in our test program is mapped to a sequence PREPARE-OPEN-FETCH of physical calls in an Oracle environment.
    The WHERE clause in the trace list's SQL statement is different from the WHERE clause in the ABAP statement. This is because in an R/3 system, a client is a self-contained unit with separate master records and its own set of table data (in commercial, organizational, and technical terms). With ABAP, every Open SQL statement automatically executes within the correct client environment. For this reason, a condition with the actual client code is added to every WHERE clause if a client field is a component of the searched table.
    To see a statement's execution plan, just position the cursor on the PREPARE statement and choose Explain SQL. A detailed explanation of the execution plan depends on the database system in use

  • Sun Studio code hangs at fork, GCC code runs fine

    I am encountering a strange problem where code complied with GCC runs fine, but the same code compiled with Sun Studio 12 compiler hangs at a fork call after an initial set of fork calls.
    I'd appreciate your help in solving this.
    The code was originally written for GCC, I started using the Sun Studio with a view to using Sun's thread analyzer. I made a couple of changes which I think are inoccuous:
    (a) added #ifdef __SUNPRO_CC char * __FUNCTION__ = "name"; #endif
    (b) one more #ifdef around one call to ctime_r because the g++ include expects 2 parameters while Sun Studio 12 expects 3 parameters.
    The g++ is compiled on a Solaris 9 (1 x sparcv9) using GCC 3.3.3
    while the Sun Studio 12 is on a Solaris 10 ( 4 x sparcv9).
    Both runs were on the same Solaris 10 machine which has the compiler.
    The program is a multi instance socket listener, the main program binds to a socket, then forks off a set of processes which accept connections, those children later fork off other client applications based on the connection data; after those clients exit, the children continue accepting etc. The main program only monitors the child processes, records their status and starts if any of those die.
    This is working as expected when compiled with g++.
    The exact same code (note the two sets of #ifdefs above) when compiled with Sun PRO CC alway hangs at the second set of fork. That is, it goes through the first set of forks fine, then when a connection is established, it reads the data but hangs right at the fork call.
    The application code at this point is:
    char * p = pathfind( getenv("PATH"), progname );
    if ( !p ) {  printError(); return false; }
    pid = fork();
    The truss for the Sun Studio code shows
    23914: access("/usr/bin/progname", X_OK) = Err#2 ENOENT
    23914: access("/usr/you/bin/progname", X_OK) = 0
    23914: lwp_park(0x0000000, 0) (sleeping)
    while the truss for the g++ code shows
    23986: access("/usr/bin/progname", X_OK) = Err#2 ENOENT
    23986: access("/usr/you/bin/progname", X_OK) = 0
    23996: fork1() = 24005
    What am I doing wrong?
    Thanks and best regards

    If I understand correctly, you are compiling with gcc on Solaris 9, and with Sun Studio on Solaris 10. Since the OS is different, you might be running into OS issues and not compiler issues. What happens if you build with the same gcc version on the Solaris 10 system where you see the problem?
    By "OS issues", I mean
    1. The program uses unstable or undocumented OS interfaces, or
    2. A bug that is new in Solaris 10.
    A bug was identified in Solaris 10 that could cause forks to hang. It showed up in the libpkcs11 library as used by the JVM. I don't know whether it showed up elsewhere.
    This bug was fixed in Solaris 10u2. If you are using an earlier version of Solaris 10, you could try upgrading.

  • How to catch Exception inside the native code

    Hello,
    I have an error of unexpected exception during running native code,it occurrs randomly, not every time.
    the error text is:
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x9535F359
    Function=acy_match+0xC6
    Library=/usr/lib/libNegativeMatcher.so
    I don't know what exactly cause the crash inside the c code but I think it might be memory leak . What I'm concern is that this exception cause program termination.
    I have few questions:
    1. This exception cause the java program to end. How can I catch this exception and avoid program termination?
    2. What is 0xC6 in:
    Function=acy_match+0xC6
    and PC=0x9535F359?
    Can it help me track the problem inside the native code?
    Thanks for your help.

    An unexpected exception has been detected in native
    code outside the VM.
    Unexpected Signal : 11 occurred at PC=0x9535F359
    Function=acy_match+0xC6
    Library=/usr/lib/libNegativeMatcher.so
    I don't know what exactly cause the crash inside the
    c code but I think it might be memory leak . What
    I'm concern is that this exception cause program
    termination.I doubt it is a memory leak (actually I am rather certain that another error would occur if it was just memory exhaustion.)
    I have few questions:
    1. This exception cause the java program to end. How
    can I catch this exception and avoid program
    termination?I suspect that would be a really bad idea. That particular signal very likely indicates that you have corrupted memory. Continuing is unlikely to work.
    2. What is 0xC6 in:
    As a guess it is an offset into the compiled code which indicates where the memory problem was detected.
    That it unlikely to help you with a pointer/memory problem because that is where it was detected and not where it happened. By comparing the source you might be able to determine what was bad and then trace it back.

Maybe you are looking for

  • Unable to Open Mail "index is read only

    I am unable to open my mail and receive the following message. Mail can't open because its index is read-only. The index file is located in /MacBook Pro HR/Users/tommygorse/Library/Mail/Envelope Index.  If this file is on your computer, use the Get I

  • How to config Free goods process like rebate

    Dear Masters, I have a problem like this: Our customer want using free goods by accrual sales volume. If in a period, sales volume can have exp 1000 m3, buyer will get a free goods. But as I know SAP std does not support like this! Is there anyway to

  • Has anyone had a hinge issue on 2010 Macbook?

    My 2010 Macbook (purchased in December 2009, has a small hinge crack on the left side, and a large one on the right side (almost one inch long) It is a similar crack to that found with the Macbook Air. It has never been dropped, ruling out any excuse

  • Static libraries in Solaris10

    Hi, Static libraries like libm.a are not there in Solaris10.? I am getting following error while linking. <Snapshot> ld: fatal: file[b] /usr/lib/libm.a: open failed: No such file or directory If it is not there, what is the solution.? Should I use on

  • Parent Controls aren't allowing access

    I am an educator with 14 computers in my mobile lab. I can't seem to get Parent Controls to allow access to just the programs I want to allow. We went from Leopard to Snow Leopard and then Lion. I have installed all available updates and now have Mac