Org.omg.CORBA.INV_OBJREF:   minor code: 1398079490  completed: No

I have written a small application to interface with Domino server5.0 using IIOP. When I run the client application on HP UX using JDK 1.3.1.08, it works fine. When I deploy the client code within a OC4J container (version 9.0.3.0.0) the same code gives me the following error: org.omg.CORBA.INV_OBJREF: minor code: 1398079490 completed: No
I am able to run this application with the client deployed in OC4J version 9.0.3.0.0 using JDK version 1.3.1_02 on a Win NT4.0 system.
Any idea what's going wrong???
Thanks in advance . . .
Amitabh.

I too have this problem with jdk1.3.1. Same code works fine with 1.2.2
I am connecting TAO Trading service from Java Client.
org.omg.CORBA.INV_OBJREF: minor code: 1398079490 completed: No
     at com.sun.corba.se.internal.core.CodeSetComponentInfo.read(CodeSetComponentInfo.java:95)
     at com.sun.corba.se.internal.core.Profile.<init>(Profile.java:114)
     at com.sun.corba.se.internal.core.IOR.getProfile(IOR.java:278)
     at com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputStream.java:592)
     at com.sun.corba.se.internal.iiop.CDRInputStream.read_Object(CDRInputStream.java:578)
     at com.sun.corba.se.internal.corba.TCUtility.unmarshalIn(TCUtility.java:222)
     at com.sun.corba.se.internal.corba.AnyImpl.read_value(AnyImpl.java:359)
     at com.sun.corba.se.internal.corba.RequestImpl.unmarshalParams(RequestImpl.java:403)
     at com.sun.corba.se.internal.corba.RequestImpl.doInvocation(RequestImpl.java:369)
     at com.sun.corba.se.internal.corba.RequestImpl.invoke(RequestImpl.java:223)
     at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:156)
     at TradingViewer.resolveRootNC(TradingViewer.java:72)
     at TradingViewer.<init>(TradingViewer.java:44)
     at TradingViewer.main(TradingViewer.java:39)

Similar Messages

  • Error:org.omg.CORBA.INTERNAL:   minor code: 1398079697  completed: No

    When I run : j2ee -verbose.
    I get the following error:
    J2EE server listen port: 1050
    org.omg.CORBA.INTERNAL: minor code: 1398079697 completed: No
    at com.sun.corba.ee.internal.iiop.GIOPImpl.createListener(GIOPImpl.java:
    256)
    I have include j2ee.jar in my classpath.What's wrong??

    the bin folder of j2sdkee has a file called setEnv. THe file has reference to the port 1060. I changed the port and it worked for me.

  • Org.omg.CORBA.BAD_OPERATION:   minor code: 1414878249 completed: Maybe

    Hello everybody,
    does somebody know something about this minor code we receive in WLE
    5.1. At the same time, we get an ulog entry of an
    java.lang.OutOfMemoryError. Those two things seem to be related, but
    without knowing the meaning of this minor code, it is difficult to
    understand what really happened. Every help is appreciated, thank you!
    Best regards, Werner Koch

    Finally, after some investigation, we found out that the minor code 1414878249 relates
    to null values in Strings or sequences passed in CORBA structures. According to the
    spec, you should initialize those attributes with empty values, but not pass a null
    value. As an example, instead of a null String pass a new String() and for a sequence
    pass an empty array.
    For a good article on the subject, look at
    CORBA
    programming: Storage management responsibilities for arguments
    HTH
    Kostas
    Werner Koch <[email protected]> wrote:
    Hello everybody,
    does somebody know something about this minor code we receive in WLE
    5.1. At the same time, we get an ulog entry of an
    java.lang.OutOfMemoryError. Those two things seem to be related, but
    without knowing the meaning of this minor code, it is difficult to
    understand what really happened. Every help is appreciated, thank you!
    Best regards, Werner Koch

  • REP-50125: Caught exception: org.omg.CORBA.OBJECT_NOT_EXIST:   minor code:

    i have a problem with the users who request a report, the following error appears
    REP-50125: Caught exception: org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No
    i don have any idea, what it's mean. and sometimes only appears in some users, and others can execute the reports ok.
    please really i need some help

    Juan, we are having the same problem, and my cluster of 2 servers 9.0.2.2.
    I was explained by support, and they were explained by developers that this error is caused by the NULL instead of 0 returned parameter, when no engine available.
    This means if you hit refresh long enough it will work.
    I personally found this error happens when server's content in cluster is not in synch and just could not explain some other situations, our TAR is still open.
    Let me know where are you on this issue

  • JMS over iiop -- org.omg.CORBA.UNKNOWN

    I have simple java client which tries to lookup a jms QueueConnectionFactory
    over iiop .
    The code is
    ht.put(
    Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory" );
    ht.put( Context.PROVIDER_URL,"iiop://222.222.222.222:1111" );
    ctx = new InitialContext( ht );
    qConnectionFactory = (QueueConnectionFactory) ctx.lookup( "My queue con
    factory"); < -- this line cause a
    org.omg.CORBA.UNKNOWN: minor code: 0 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(ClientR
    esponseImpl.java:83)
    at
    com.sun.corba.se.internal.corba.RequestImpl.doInvocation(RequestImpl.java:32
    1)
    at com.sun.corba.se.internal.corba.RequestImpl.invoke(RequestImpl.java:223)
    at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:156)
    at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:368)
    at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:417)
    at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:395)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at Jms.<init>(Jms.java:75)
    at Jms.main(Jms.java:22)
    Anybody know if looking up JMS con factories is ok on iiop in WLs61sp2 ?
    Thanks

    "golibaar" <[email protected]> writes:
    JMS over IIOP is not supported, not required by the spec and will not work.
    This is a WLS 7.1 feature.
    andy
    I have simple java client which tries to lookup a jms QueueConnectionFactory
    over iiop .
    The code is
    ht.put(
    Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.cosnaming.CNCtxFactory" );
    ht.put( Context.PROVIDER_URL,"iiop://222.222.222.222:1111" );
    ctx = new InitialContext( ht );
    qConnectionFactory = (QueueConnectionFactory) ctx.lookup( "My queue con
    factory"); < -- this line cause a
    org.omg.CORBA.UNKNOWN: minor code: 0 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(ClientR
    esponseImpl.java:83)
    at
    com.sun.corba.se.internal.corba.RequestImpl.doInvocation(RequestImpl.java:32
    1)
    at com.sun.corba.se.internal.corba.RequestImpl.invoke(RequestImpl.java:223)
    at org.omg.CosNaming._NamingContextStub.resolve(_NamingContextStub.java:156)
    at com.sun.jndi.cosnaming.CNCtx.callResolve(CNCtx.java:368)
    at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:417)
    at com.sun.jndi.cosnaming.CNCtx.lookup(CNCtx.java:395)
    at javax.naming.InitialContext.lookup(InitialContext.java:350)
    at Jms.<init>(Jms.java:75)
    at Jms.main(Jms.java:22)
    Anybody know if looking up JMS con factories is ok on iiop in WLs61sp2 ?
    Thanks

  • J2ee tutorial on Windows 98 - runclient error org.omg.CORBA:NO_PERMISSION

    I am using Win98...I have successfully run J2ee , deployement tool, and can run Web clients for the examples. However my runclient utility is giving errors.
    javax.naming.CommunicationException: org.omg.CORBA.NO_PERMISSION: minor code:
    0 completed: No
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:237)
    at com.sun.corba.ee.internal.iiop.messages.ReplyMessage_1_2.getSystemExc
    eption(ReplyMessage_1_2.java:93)
    I am enclosing the codes for my .bat files.
    J2EE.BAT FILE CONTENTS:
    @echo off
    rem
    rem Set JAVA_HOME and J2EE_HOME before running this script.
    rem
    rem set JAVA_HOME to the path where you have Java 2 (JDK1.2) installed.
    rem
    rem set J2EE_HOME to the path where you have installed this package (EJB server).
    rem
    if not "%J2EE_HOME%" == "" goto CONT0
    echo ERROR: Set J2EE_HOME before running this script.
    goto END
    :CONT0
    if EXIST "%J2EE_HOME%\bin\setenv.bat" goto CONT1
    echo ERROR: Set J2EE_HOME to the path of a valid j2sdkee.
    goto END
    :CONT1
    call %J2EE_HOME%\bin\setenv.bat
    if not "%JAVA_HOME%" == "" goto CONT2
    echo ERROR: Set JAVA_HOME before running this script.
    goto END
    :CONT2
    if EXIST "%JAVA_HOME%\bin\java.exe" goto CONT3
    echo ERROR: Set JAVA_HOME to the path of a valid jdk.
    goto END
    :CONT3
    rem @echo on
    rem for win98 %JAVACMD% %LISTEN_OPTIONS% -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl -Djms.home=%JMS_HOME% -Dcom.sun.jms.service.jdbc.dbpath=%JMS_DB_PATH% -Djms.properties=%J2EE_HOME%\config\jms_service.properties -Djava.security.policy==%J2EE_HOME%\lib\security\server.policy -Djava.security.auth.login.config=%J2EE_HOME%\lib\security\login.config -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath %CPATH% com.sun.enterprise.server.J2EEServer %*
    @echo on
    %JAVACMD% -D%SSL_A%=%SSL_B% -D%JAAS_A%=%JAAS_B% -D%LISTEN_A%=%LISTEN_B% -Dorg.xml.sax.parser=org.xml.sax.helpers.XMLReaderAdapter -Dorg.xml.sax.driver=org.apache.crimson.parser.XMLReaderImpl -Djms.home=%JMS_HOME% -Dcom.sun.jms.service.jdbc.dbpath=%JMS_DB_PATH% -Djms.properties=%J2EE_HOME%\config\jms_service.properties -Djava.security.policy=%J2EE_HOME%\lib\security\server.policy -Djava.security.auth.login.config=%J2EE_HOME%\lib\security\login.config -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath %CPATH% com.sun.enterprise.server.J2EEServer %
    cd c:\j2sdkee1.3\bin
    :END
    SETENV.BAT FILE CONTENTS:
    rem
    rem Set JAVA_HOME and J2EE_HOME before running this script.
    rem
    rem first include user-specified definitions.
    call %J2EE_HOME%\bin\userconfig.bat
    if "%JMS_HOME%" == "" set JMS_HOME=%J2EE_HOME%
    set LIBDIR=%J2EE_HOME%\lib
    set LOCALEDIR=%J2EE_HOME%\lib\locale
    set CLOUDSCAPE_INSTALL=%LIBDIR%\cloudscape
    set CLASSESDIR=%LIBDIR%\classes
    set JMS_CLASSESDIR=%JMS_HOME%\classes
    set J2EEJARS=%LIBDIR%\j2ee.jar
    set JAVATOOLS=%JAVA_HOME%\lib\tools.jar
    set JAVAHELPJARS=%LIBDIR%\jhall.jar
    rem JMS DB PATH must end in slash to specify a directory
    set JMS_DB_PATH=%J2EE_HOME%\repository\%COMPUTERNAME%\db\
    set SYSTEM_LIB_DIR=%LIBDIR%\system
    set JMS_RI_JDBC=%SYSTEM_LIB_DIR%\cloudscape.jar;%SYSTEM_LIB_DIR%\tools.jar
    set CLOUDJARS=%JMS_RI_JDBC%;%CLOUDSCAPE_INSTALL%\RmiJdbc.jar;%CLOUDSCAPE_INSTALL%\cloudclient.jar
    set CPATH=%CLOUDJARS%;%CLASSESDIR%;%JMS_CLASSESDIR%;%J2EEJARS%;%LOCALEDIR%;%J2EE_CLASSPATH%;%JAVATOOLS%;%JAVAHELPJARS%
    rem for win98 set JAAS_OPTIONS=-Djava.security.auth.policy=%J2EE_HOME%\lib\security\jaas.policy
    rem for win98 set SSL_OPTIONS=-Djavax.net.ssl.trustStore=%J2EE_HOME%\lib\security\cacerts.jks
    rem set LISTEN_OPTIONS=-Dcom.sun.CORBA.connection.ORBListenSocket=SSL:0,SSL_MUTUALAUTH:0,PERSISTENT_SSL:1060
    rem for win98 set JAVACMD=%JAVA_HOME%\bin\java -Xmx128m %SSL_OPTIONS% %JAAS_OPTIONS%
    set JAAS_A=java.security.auth.policy
    set JAAS_B=%J2EE_HOME%\lib\security\jaas.policy
    set SSL_A=javax.net.ssl.trustStore
    set SSL_B=%J2EE_HOME%\lib\security\cacerts.jks
    rem set LISTEN_A=-Dcom.sun.CORBA.connection.ORBListenSocket
    set LISTEN_A=com.sun.CORBA.connection.ORBSocketFactoryClass
    set LISTEN_B=SSL:0,SSL_MUTUALAUTH:0,PERSISTENT_SSL:1060
    @echo on
    set JAVACMD=%JAVA_HOME%\bin\java -Xmx128m
    RUNCLIENT.BAT FILE CONTENTS:
    @echo off
    rem
    rem Set JAVA_HOME and J2EE_HOME before running this script.
    rem
    rem set JAVA_HOME to the path where you have Java 2 (JDK1.2) installed.
    rem
    rem set J2EE_HOME to the path where you have installed this package (EJB server).
    rem
    if not "%J2EE_HOME%" == "" goto CONT0
    echo ERROR: Set J2EE_HOME before running this script.
    goto END
    :CONT0
    if EXIST "%J2EE_HOME%\bin\setenv.bat" goto CONT1
    echo ERROR: Set J2EE_HOME to the path of a valid j2sdkee.
    goto END
    :CONT1
    call %J2EE_HOME%\bin\setenv.bat
    if not "%JAVA_HOME%" == "" goto CONT2
    echo ERROR: Set JAVA_HOME before running this script.
    goto END
    :CONT2
    if EXIST "%JAVA_HOME%\bin\java.exe" goto CONT3
    echo ERROR: Set JAVA_HOME to the path of a valid jdk.
    goto END
    :CONT3
    @echo on
    %JAVACMD% -D%SSL_A%=%SSL_B% -D%JAAS_A%=%JAAS_B% -D%LISTEN_A%=%LISTEN_B% %VMARGS% -Djms.home=%JMS_HOME% -Djms.properties=%J2EE_HOME%\config\jms_client.properties -Djava.security.policy=%J2EE_HOME%\lib\security\client.policy -Djava.security.auth.login.config=%J2EE_HOME%\lib\security\login.config -Dcom.sun.enterprise.home=%J2EE_HOME% -classpath %CPATH%;%APPCPATH% com.sun.enterprise.appclient.Main %1 %2 %3 %4
    :END

    I am answering my own question, I have all the bat files to successfully run J2ee on windows 98. Mail me at [email protected]

  • Org.omg.CORBA.UNKNOWN

    Could somebody please reply as to why this error occurs when i try to publish the CORBA Server object name..
    Thanks
    askani
    publish /home/odsdh04/employee employeeServer.EmployeeImpl employee.EmployeeHelper -user ods_dev -password perfect -service sess_iiop://kcodsh1:2481:D1TOP01
    ::: org.omg.CORBA.UNKNOWN
    ::::A non CORBA exception is caught by the ORB runtime on the server:::::::
    org.omg.CORBA.UNKNOWN[minor=16, completed=MAYBE]
    at com.visigenic.vbroker.orb.SE.read(SE.java:36)
    at com.visigenic.vbroker.orb.GiopStubDelegate.invoke(Compiled Code)
    at com.visigenic.vbroker.orb.GiopStubDelegate.invoke(Compiled Code)
    at com.inprise.vbroker.CORBA.portable.ObjectImpl._invoke(Compiled Code)
    at oracle.aurora.AuroraServices._st_LoginServer.O3Logon_A_Locale(Compiled Code)
    at oracle.aurora.client.Login.authenticate(Login.java:35)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.login(SessionCtx.java:605)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.login(SessionCtx.java:599)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.login(ServiceCtx.java:309)
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.initializeSession(ToolImpl.java:100)
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.parseStdArgs(Compiled Code)
    at oracle.aurora.server.tools.sess_iiop.ToolImpl.invoke(ToolImpl.java:118)
    at oracle.aurora.server.tools.sess_iiop.Publish.main(Publish.java:137)

    This indicates that an exception (probably a RuntimeException) was thrown on the server. I'd recommend checking the user dump trace file for hints.

  • Org.omg.CORBA.BAD_OPERATION:   vmcid: 0x2000  minor code: 2049  completed:

    Hi,
    I have a stupid CORBA error, can someone please help me to have a clue why this client gives me a hart time?
    Properties props = new Properties();
    props.put("org.omg.CORBA.ORBInitialPort", "1570");
    props.put("org.omg.CORBA.ORBInitialHost", "192.168.10.44");
    ORB orb = ORB.init(args, props);
    org.omg.CORBA.Object obj = orb.resolve_initial_references("NameService");
    NamingContextExt ctx = NamingContextExtHelper.narrow(obj);
    org.omg.CORBA.BAD_OPERATION: vmcid: 0x2000 minor code: 2049 completed: No
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(Unknown Source)
         at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_0.getSystemException(Unknown Source)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(Unknown Source)
         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(Unknown Source)
         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknown Source)
         at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
         at com.sun.corba.se.impl.resolver.BootstrapResolverImpl.invoke(Unknown Source)
         at com.sun.corba.se.impl.resolver.BootstrapResolverImpl.resolve(Unknown Source)
         at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Unknown Source)
         at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Unknown Source)
         at com.sun.corba.se.impl.resolver.CompositeResolverImpl.resolve(Unknown Source)
         at com.sun.corba.se.impl.orb.ORBImpl.resolve_initial_references(Unknown Source)

    I too have the same error my friend.
    I am trying to call a remote method of an entity bean when I get the same org.omg.CORBA.BAD_OPERATION message.

  • Org.omg.CORBA.NO_RESPONSE:   vmcid: 0x0  minor code: 0 completed: Maybe

    Hi,
    We are using a ejb to connect to corba server (tuxedo) at the backend , in most cases things are fine , but if the server takes more than 65 - 75 secs the above error occurs. The processing at the backend completes just fine ..
    We are not using network access points. I have tried setting the following properties to no avail
    IdleIIOPConnectionTimeout="300"
    CompleteIIOPMessageTimeout="300"
    The ejb is invoked via a jsp. The code snippet to invoke the corba server is as follows
                   //Use the factory finder to find the connection factory. Replace
                   // here with appropriate connection factory
                   org.omg.CORBA.Object connection_fact_oref = IIOPFactory.getFactoryFinder().find_one_factory_by_id(TxnConnectionFactoryHelper.id());
                   // Narrow the connection factory.
                   TxnConnectionFactory connection_factory_ref = TxnConnectionFactoryHelper.narrow(connection_fact_oref);
                   // Find the connection object.
                   TxnConnection connection = connection_factory_ref.getTxnConnection();
                   recv_buff = new byte[Constants.XML_BUFF_LEN];
                   //Prepare for the output
                   org.omg.CORBA.StringHolder buf = new org.omg.CORBA.StringHolder(new String(recv_buff));
                   //Invoke the neccessary method
                   TXNMON.MessageHolder msgHldr = new TXNMON.MessageHolder(new TXNMON.Message(sb));
                   int arrayLength = sb.length;
                   connection.sendByteMessage(arrayLength, msgHldr);
    Meanwhile we are trying to reduce the server processing time ...
    This is ruining my XMas, any help will be greatly appreciated.
    Thanks,
    George

    Sabarinath Kundoor <> writes:
    Are you using WTC? WTC connections should never be timed out. Its
    possible this is coming from the WTC layer, or maybe the gateway
    process is closing the connection. What version of WLS and Tux?
    andy
    Hi,
    We are using a ejb to connect to corba server (tuxedo) at the backend , in most cases things are fine , but if the server takes more than 65 - 75 secs the above error occurs. The processing at the backend completes just fine ..
    We are not using network access points. I have tried setting the following properties to no avail
    IdleIIOPConnectionTimeout="300"
    CompleteIIOPMessageTimeout="300"
    The ejb is invoked via a jsp. The code snippet to invoke the corba server is as follows
                   //Use the factory finder to find the connection factory. Replace
                   // here with appropriate connection factory
                   org.omg.CORBA.Object connection_fact_oref = IIOPFactory.getFactoryFinder().find_one_factory_by_id(TxnConnectionFactoryHelper.id());
                   // Narrow the connection factory.
                   TxnConnectionFactory connection_factory_ref = TxnConnectionFactoryHelper.narrow(connection_fact_oref);
                   // Find the connection object.
                   TxnConnection connection = connection_factory_ref.getTxnConnection();
                   recv_buff = new byte[Constants.XML_BUFF_LEN];
                   //Prepare for the output
                   org.omg.CORBA.StringHolder buf = new org.omg.CORBA.StringHolder(new String(recv_buff));
                   //Invoke the neccessary method
                   TXNMON.MessageHolder msgHldr = new TXNMON.MessageHolder(new TXNMON.Message(sb));
                   int arrayLength = sb.length;
                   connection.sendByteMessage(arrayLength, msgHldr);
    Meanwhile we are trying to reduce the server processing time ...
    This is ruining my XMas, any help will be greatly appreciated.
    Thanks,
    George

  • 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

  • Unable to create reference: org.omg.CORBA.OBJ_ADAPTER

    What is causing this error? I believe it is a configuration error, but I cannot discern what it is.
    Setup:
    I have two beans: a User entity bean, and a UserWrapper stateful session bean.
    Execution:
    My testing client-code looks up the UserWrapper EJB and creates a new object. In the UserWrapper ejbCreate method I am attempting to obtain a reference to a specific User by looking up the User EJB and calling its findByPrimaryKey method.
    Everything works fine right up until the UserWrapper.ejbCreate method is ready to close; I catch this exception:
    RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: nested exception is: java.lang.RuntimeException:
    Unable to create reference org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 1015 completed: No;
    Observations:
    User.ejbFindByPrimaryKey(UserPK pk) is NOT throwing ANY EXCEPTIONS! The error is passed to UserWrapper.ejbCreate from the container, or so it seems, but I am relatively positive it is not orginiating from the finder method. At this time the User.ejbFindByPrimaryKey method only returns the primary key object.
    UserWrapper.ejbCreate code:
    public void ejbCreate(String usrnm, String pswrd) throws CreateException {
      // instance variables
      UserHome userHome = null;
      // implementation
      try {
        // obtain an instance of the EJBHomeFactory and have it return an
        // instance of the UserHome interface
        userHome = (UserHome)EJBHomeFactory.getInstance().lookup(
            "ejb/User", net.cmpro.app.entity.user.UserHome.class);
        // request the container supply a User object for the specified
        // primary key object
        this.user = userHome.findByPrimaryKey(new UserPK(usrnm, pswrd));
      catch(FinderException e) {
        throw new CreateException(e.toString());
      catch(RemoteException e) {
        throw new EJBException(e.toString(), e);
    }Need a little help here. I'm getting very frustrated because I've never had this problem before.
    Thanks for any advice, no matter how off the wall it is.

    Yes, it is. This returns an EJBHome object from a cache. I picked this up from the IBM website. It is very handy. The method in question is as follows:
    public EJBHome lookup(String jndi, Class home) throws EJBException {
      // instance variables
      EJBHome ejbHome = null;
      Object obj = null;
      // implementation
      try {
        // looks for the interface in the collection by class
        ejbHome = (EJBHome)interfaces.get(home);
        if(ejbHome == null) {
          // looks up the interface by its JNDI name
          obj = context.lookup(jndi);
          // casts the returned object into the interface desired
          ejbHome = (EJBHome)PortableRemoteObject.narrow(obj, home);
          // put the newly retreived interface into the collection and
          // list it by its class      never use the interfaces JNDI name
          // because a single EJB object could have multiple JNDI names
          interfaces.put(home, ejbHome);
      catch(ClassCastException e) {
        throw new EJBException(e.toString());
      catch(NamingException e) {
        throw new EJBException(e.toString(true), e);
      return ejbHome;
    }

  • DACF,BC4J,EJB,Java Web Start: org.omg.CORBA.INITIALIZE

    Hi,
    I'm trying to use Java Web Start with DACF-application having AMs deployed as Session EJB to O9IAS 1.0.2.0.0 NT.
    During opening first iiop-session I get the 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 org.omg.CORBA.ORB.create_impl(Unknown Source)
    at org.omg.CORBA.ORB.<clinit>(Unknown Source)
    at oracle.aurora.jndi.orb_dep.Orb.init(Orb.java:287)
    at oracle.aurora.jndi.orb_dep.IRFinder.getObject(IRFinder.java:75)
    at oracle.aurora.jndi.orb_dep.IRFinder.getInitialReference(IRFinder.java:124)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.initialContext(SessionCtx.java:637)
    at oracle.aurora.jndi.sess_iiop.SessionCtx.<init>(SessionCtx.java:67)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(ServiceCtx.java:161)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSession(ServiceCtx.java:177)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSubcontext(ServiceCtx.java:205)
    at oracle.aurora.jndi.sess_iiop.ServiceCtx.createSubcontext(ServiceCtx.java:189)
    at oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.createSession(AuroraEJBAmHomeImpl.java:155)
    at oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.initRemoteHome(AuroraEJBAmHomeImpl.java:125)
    at oracle.jbo.client.remote.ejb.aurora.AuroraEJBAmHomeImpl.<init>(AuroraEJBAmHomeImpl.java:59)
    at oracle.jbo.client.remote.ejb.aurora.AuroraEJBInitialContext.createJboHome(AuroraEJBInitialContext.java:47)
    at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:72)
    at javax.naming.InitialContext.lookup(InitialContext.java:276)
    at oracle.dacf.dataset.connections.Connection._createAppModule(Connection.java:256)
    at oracle.dacf.dataset.connections.Connection.connect(Connection.java:169)
    at oracle.dacf.dataset.SessionInfo.connect(SessionInfo.java:1771)
    at oracle.dacf.dataset.DbAccessImpl.connect(DbAccessImpl.java:450)
    at oracle.dacf.control.swing.LoginDlg._connectToDB(LoginDlg.java:1754)
    at oracle.dacf.control.swing.LoginDlg._okButtonClicked(LoginDlg.java:1689)
    Could anybody comment the case and/or propose a workaround ?
    (or even say that this works in someone's implementation)
    Thanks,
    Arkadi

    <<
    java.lang.ExceptionInInitializerError: org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
    com.visigenic.vbroker.orb.ORB minor code: 0 completed: No
    <<
    com.visigenic.vbroker.orb.ORB is part of vbjorb.jar. make sure this file is listed in your archive tag. The jar file can be found in the lib directory of JDev installation
    null

  • RROR : org.omg.CORBA.INITIALIZE: can't instantiate default ORB

    When a try to call stored procedure in java i have this error:
    ERROR : org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
    com.sun.corba.se.internal.iiop.ORB minor code: 0 completed: No
    org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation
    com.sun.corba.se.internal.iiop.ORB minor code: 0 completed: No
    at org.omg.CORBA.ORB.create_impl(ORB.java)
    at org.omg.CORBA.ORB.init(ORB.java)
    at HelloClient.hola(HelloClient.java:31)

    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

  • Report Server Failed To Start : REP-50125: org.omg.CORBA.INTERNAL:

    Hi all,
    I try to start my in process report server as below and it shows REP-50102 error as below :
    [oracle@icbadev ~]$ rwserver.sh server=rep_icbadev
    REP-50125: org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 208 completed: No
    [oracle@icbadev ~]$
    [oracle@icbadev ~]$ rwdiag.sh -findAll; rwclient.sh server=rep_icbadev report=test destype=cache
    Naming service used to locate servers
    Naming Server host = icbadev.smebank.net
    Naming Server port = 14021
    Exception in thread "main" org.omg.CORBA.INTERNAL: vmcid: SUN minor code: 208 completed: No
    at com.sun.corba.se.internal.corba.ORB.getLocalHostName(ORB.java:924)
    at com.sun.corba.se.internal.corba.ORB.checkApplicationPropertyDefaults(ORB.java:888)
    at com.sun.corba.se.internal.corba.ORB.set_parameters(ORB.java:457)
    at com.sun.corba.se.internal.POA.POAORB.set_parameters(POAORB.java:153)
    at com.sun.corba.se.internal.Interceptors.PIORB.set_parameters(PIORB.java:333)
    at org.omg.CORBA.ORB.init(ORB.java:337)
    at oracle.reports.utility.DiagServerLocator.readConfigFile(DiagServerLocator.java:138)
    at oracle.reports.utility.DiagServerLocator.init(DiagServerLocator.java:90)
    at oracle.reports.utility.DiagServerLocator.locateServer(DiagServerLocator.java:154)
    at oracle.reports.utility.DiagServerLocator.handleRequest(DiagServerLocator.java:546)
    at oracle.reports.utility.DiagServerLocator.main(DiagServerLocator.java:566)
    REP-0178: Cannot connect to Reports Server 'rep_icbadev'.
    [oracle@icbadev ~]$
    Anyone ever encounter the same problem with mine. Appreciate if someone could help me with this.
    The Forms and Reports Services 10.1.2.2.0 was installed on RHEL 4 Update 6 on HP Proliant box.
    Any kind of help are highly appreciated.
    Thank you.

    Found something during my search as follow eventhough it was refering to AIX platform:
    <variable id="IBM_JAVA_OPTIONS" value="-Djava.net.preferIPv4Stack=true"/>
    I try to put above line into opmn.xml as below and try to start report server via opmnctl command line, still not a good news.
    <ias-component id="rep_dev" status="enabled" id-matching="false">
    <process-type id="ReportsServer" module-id="ReportsServices">
    <process-set id="rep_dev" restart-on-death="true" numprocs="1">
    <environment>
    <variable id="PATH"
    value="/usr/oracle/10gAS/apps1/bin:/usr/bin:/usr/ccs/bin:/bin:/usr/oracle/10gAS/apps1/bin:/usr/orac
    e/10gAS/apps1/dcm/bin:/usr/oracle/10gAS/apps1/opmn/bin:/usr/ccs/bin:/usr/bin/X11:/usr/bin:/etc:/usr
    sbin:/usr/ucb:/home/oracle/bin:/sbin:.:/oraclbackup/GFRS/Disk1/install"/>
    <variable id="IBM_JAVA_OPTIONS" value="-Djava.net.preferIPv4Stack=true"/>
    </environment>
    <module-data>
    some info on java installed:
    [root@icbadev ~]# whereis java
    java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java
    [root@icbadev ~]# java -version
    java version "1.4.2"
    gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-9)
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions. There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    [root@icbadev ~]#
    Any kind of help are highly appreciated.

  • Unable to create reference-org.omg.CORBA.OBJ_ADAPTER(Session- BMPEntityEJB)

    Hi All
    I am having following senerio with Sun One Application Server 7 on Win 2000.
    UserRegistrationBean (Java Client) -> RegistrationBean (Session EJB) -> UserBean (Entity EJB)
    The Java Client lookup and invokes Session EJB. It works fine.
    Further, when the Session EJB calls the Entity EJB I get the following exception.
    SEVERE: IOP5013: Unable to create reference: [org.omg.CORBA.OBJ_ADAPTER:   vmcid: SUN  minor code: 1015  completed: No]SEVERE: EJB5029: Exception getting ejb context : [UserBean]
    SEVERE:
    SEVERE: IOP5012: Some runtime exception ocurred in IIOP: [javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: Unable to create reference org.omg.CORBA.OBJ_ADAPTER:   vmcid: SUN  minor code: 1015  completed: No]
    Any idea what could be wrong?
    Thanks for the help.
    Regards
    Satish

    Make sure PrimaryKey class for entity has the equals
    and hashcode methods implemented right.
    You've to ensure that hashCode generated is
    the same everytime for same primaryKey
    and you do the right comparison for the
    equals method.
    HTH
    -hima

Maybe you are looking for

  • How to Modify the Selection Screen in Report Painter

    Hi All, I am working on Report painter and writer, can any body helpme how to change the selection screen i.e i want add some more  select options to the exisiting roport . how can i  add more select options to the exisiting one please let me know th

  • Dynamic properties in a process

    Hi everyone, I am trying to find a solution to create some dynamic properties in my process. JPD are good but too many things are hard-coded and changing them needs the project to be recompiled :( My aim is to remove most of the hardcoded values and

  • How can i get back a film i purchesed

    i purchest a film for my ipod touch and it is no longer there how can i get it back

  • ACE Redirection

    I have ACE 4710 and I want to use this to redirect port 80 traffic to my proxy server. But I am not able to do that. MY ACE is in routed mode. Below is my ACE configuration when I am applying the policy on the interface I am not able to browse the In

  • Business data toolset flow :

    hi , I need to include custom fields from business partner on the custom tab in the business activity , using business bata toolsets. regards, Ankush.