Oracle to WebLogic error - OBJ_ADAPTER: MINOR CODE: 1398079492

I am trying to perform an RMI call from a Java Stored Procedure within Oracle 9i to Weblogic 8.1. I am using the following code:
env.put("java.naming.factory.initial", "com.sun.jndi.cosnaming.CNCtxFactory");
env.put("java.naming.provider.url", "iiop://myserver:7001");
Context initialNamingContext = new InitialContext(env);
LogServiceRmi rmiTest= (LogServiceRmi)PortableRemoteObject.narrow(initialNamingContext.lookup(LogServiceRmi.JNDI_NAME),LogServiceRmi.class);
miTest.log(event);In the InitialContext constructor, the following exception is generated
org.omg.CORBA.OBJ_ADAPTER:   minor code: 1398079492  completed: No
  at com.sun.corba.se.internal.corba.ORB.connect(ORB.java)
  at com.sun.corba.se.internal.corba.ORB.getServantIOR(ORB.java)
  at com.sun.corba.se.internal.corba.ClientDelegate.getServiceContexts(ClientDelegate.java)
  at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java)
  at com.sun.corba.se.internal.corba.ClientDelegate.createRequest(ClientDelegate.java)
  at com.sun.corba.se.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java)
  at com.sun.corba.se.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java)
  at com.sun.corba.se.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java)
  at com.sun.corba.se.internal.corba.ORB.resolve_initial_references(ORB.java)
  at com.sun.jndi.cosnaming.CNCtx.setOrbAndRootContext(CNCtx.java)
  at com.sun.jndi.cosnaming.CNCtx.initUsingUrl(CNCtx.java)
  at com.sun.jndi.cosnaming.CNCtx.initOrbAndRootContext(CNCtx.java)
  at com.sun.jndi.cosnaming.CNCtx.<init>(CNCtx.java)
  at com.sun.jndi.cosnaming.CNCtxFactory.getInitialContext(CNCtxFactory.java)
  at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java)
  at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java)
  at javax.naming.InitialContext.init(InitialContext.java)
  at javax.naming.InitialContext.<init>(InitialContext.java)
  at com.carlson.cmg.awards.logservice.rmi.CmgRmiAppender.activateOptions(CmgRmiAppender.java:100)Everything works fine when I execute it in a 1.3 JVM outside of Oracle. Any ideas what would cause this to happen? Thanks in advance.

Hi
I am getting exactly the same error ? Did you manage to find a resolution to this ?

Similar Messages

  • EJB different JVM's giving Serialization error --IBM minor code: 89A

    Envoirnment : Java 1.4 ,RAD 7 (RSA) on Websphere6 , Windows OS.
    I am testing through JUnit and UTC.
    Background: We have a multiple JVM situation here where EJB's deployed on Websphere "talk" with EJB's on a WebLogic server.
    While testing the EJB from my Junit (or UTC) eventhough I pass through the first step of getting the Home, the call fails when I try to get an Object (call a business method)from the EJB's on Weblogic.This gives me a peculiar error
    CORBA MARSHAL 0x4942f89a No; nested exception is: org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization UIDs : Source (Rep. IDRMI:***.**.**.**.BLReimbursementAccount:39784B2BBA00F350:57AE98BA9295194A) = 57AE98BA9295194A whereas Target (Rep. ID RMI:***.**.**.**.BLReimbursementAccount:EA247A4E0D7F6D1F:5F25F0A11BF4F1E4) = 5F25F0A11BF4F1E4 vmcid: IBM minor code: 89A completed: No
    Thanks for your time

    I remember seeing that post sometime ago. And yes, your guess is quite good. WAS 5.1 uses jdk 1.3.1
    As for Ant, if you want to use a different version class, I think you need to set "build.compiler" property. Of course, a look into Ant docs would be more helpful.
    Cheers!
    ***Annie***

  • Error While reading CLOB from Oracle using WebLogic Connection Pool, Works fine with out using pool

    PROBLEM DESCRIPTION :
         When I try to read a clob from Oracle, I receive "ORA-03120: two-task
    conversion routine: integer overflow" Error.
         This error occurs only for CLOB Type and only if I try to connect to
    Oracle using WebLogic JDriver/Oracle POOL.
         IMPORTANT NOTE: I can read CLOB or any other data using direct JDBC
    connection to ORacle with out any problem.
         Below Please find the JAVA CODE for Both Working and NON Working .
    Created a Connection Pool as:
    Name: MyJDBCConnectionPool
    URL : jdbc:weblogic:oracle
    DIRVER:weblogic.jdbc.oci.Driver
    NON WORKING JAVA CODE (USES WEBLOGIC JDBC CONNECTION POOL TO ORACLE):
    Driver myDriver =
    (Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    Connection mconn =
    myDriver.connect("jdbc:weblogic:pool:MyJDBCConnectionPool",null);
    mconn.setAutoCommit (false);
    CallableStatement cs = mconn.prepareCall("{call
    P_XMLTEST2(?)}"); //This returns a CLOB
    cs.registerOutParameter(1,java.sql.Types.CLOB);
    cs.execute();
    Clob clob = null;
    clob = cs.getClob(1);
    String data =new String();
    data = clob.getSubString(1, (int)clob.length());
    System.out.println(data); //print the data
    data = null;
    clob=null;
    cs.close();
    WORKING JAVA CODE (USES DIRECT THIN JDBC CONNECTION TO ORACLE):
    Driver myDriver =
    (Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    Connection mconn =
    myDriver.connect("jdbc:oracle:thin:@server:1521:DB",null);
    mconn.setAutoCommit (false);
    CallableStatement cs = mconn.prepareCall("{call
    P_XMLTEST2(?)}"); //This returns a CLOB
    cs.registerOutParameter(1,java.sql.Types.CLOB);
    cs.execute();
    Clob clob = null;
    clob = cs.getClob(1);
    String data =new String();
    data = clob.getSubString(1, (int)clob.length());
    System.out.println(data); //print the data
    data = null;
    clob=null;
    cs.close();
    ERROR MESSAGE:
         ORA-03120: two-task conversion routine: integer overflow
    I appreciate your help on this problem.

    PROBLEM DESCRIPTION :
         When I try to read a clob from Oracle, I receive "ORA-03120: two-task
    conversion routine: integer overflow" Error.
         This error occurs only for CLOB Type and only if I try to connect to
    Oracle using WebLogic JDriver/Oracle POOL.
         IMPORTANT NOTE: I can read CLOB or any other data using direct JDBC
    connection to ORacle with out any problem.
         Below Please find the JAVA CODE for Both Working and NON Working .
    Created a Connection Pool as:
    Name: MyJDBCConnectionPool
    URL : jdbc:weblogic:oracle
    DIRVER:weblogic.jdbc.oci.Driver
    NON WORKING JAVA CODE (USES WEBLOGIC JDBC CONNECTION POOL TO ORACLE):
    Driver myDriver =
    (Driver)Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    Connection mconn =
    myDriver.connect("jdbc:weblogic:pool:MyJDBCConnectionPool",null);
    mconn.setAutoCommit (false);
    CallableStatement cs = mconn.prepareCall("{call
    P_XMLTEST2(?)}"); //This returns a CLOB
    cs.registerOutParameter(1,java.sql.Types.CLOB);
    cs.execute();
    Clob clob = null;
    clob = cs.getClob(1);
    String data =new String();
    data = clob.getSubString(1, (int)clob.length());
    System.out.println(data); //print the data
    data = null;
    clob=null;
    cs.close();
    WORKING JAVA CODE (USES DIRECT THIN JDBC CONNECTION TO ORACLE):
    Driver myDriver =
    (Driver)Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    Connection mconn =
    myDriver.connect("jdbc:oracle:thin:@server:1521:DB",null);
    mconn.setAutoCommit (false);
    CallableStatement cs = mconn.prepareCall("{call
    P_XMLTEST2(?)}"); //This returns a CLOB
    cs.registerOutParameter(1,java.sql.Types.CLOB);
    cs.execute();
    Clob clob = null;
    clob = cs.getClob(1);
    String data =new String();
    data = clob.getSubString(1, (int)clob.length());
    System.out.println(data); //print the data
    data = null;
    clob=null;
    cs.close();
    ERROR MESSAGE:
         ORA-03120: two-task conversion routine: integer overflow
    I appreciate your help on this problem.

  • Oracle errors in Weblogic Error logs appear in non english

    We have a problem with weblogic error logging. Specifically, in a managed server's log file, Oracle errors such as ORA-XXXX show in Greek, not English. We are assuming
    that this is because the timezone is Europe/Athens. However, the weblogic application server runs with user.language=en, user.country=US. What's more, there are 4 application servers and 2 of them have this problem. The oracle database is accessed via weblogic datasources.
    Oracle database server Setup: Oracle Server 11gR2 running on Oracle Linux 64 bit, timezone set to Europe/Athens
    Weblogic Server: Weblogic 10.3.5 running on Oracle Linux 64 bit, timezone set to Europe/Athens
    The managed server, according to jrockit, the jvm runs with the following language related system properties:
    user.language=en, user.country=US, user.timezone=Europe/Athens
    The question is: How do we tell oracle / weblogic to log english text for the ORA errors?
    Thanks,
    Chris

    I digged in the weblogic installation directory and it seems like the domain configuration wizard messed up the jdbc configs for the data sources.
    The config xml files for the data sources in the /domain root/config/jdbc directory had oracle driver but the test query was for pointbase. I double checked from the database.xml file in the init-info directory and corrected the entry in the datasource config xmls and voila!.. the errors were gone.
    I am not sure if this was the right approach and whether i have solved the issue or simply patched it.. so I am keeping the question open. If any one has any inputs I will be grateful.
    If the mods/admins feel that the thread should be marked as solved I will surely do so.
    Thanks.

  • Error while running code template mapping between two oracle tables

    Hello All
    Iam getting the following error while running code template mapping between two oracle tables. Using OWB 11gR2 and oracle 11gR2 DB.
    java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    c: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4                                        
    Job 51 error: java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1065
    ORA-06512: at "OWBSYS.WB_RT_MAPAUDIT_UTIL", line 1087
    ORA-06512: at "SOURCE.FILENET_EX_UNIT_3", line 555
    ORA-06512: at line 4
    Quick help is highly appreciated.

    Dera Dallan
    its only a target user for the workspace where you are deploying the mapping from.
    I have two repositories for two different projects. each repositary has its own workspace.
    ex:-
    Project 1
    Work space bpms_rep_owner
    Repositary owner bpms_rep_owner
    Repositary user bpms_rep_user
    Project 2
    Work space dem_rep_owner
    Repositary owner dem_rep_owner
    Repositary user dem_rep_user
    Reg
    S.Gyazuddin

  • Oracle VM 3 Manager installation hangs Step 8 of 9 on Weblogic error

    Hi all,
    I am installing Oracle VM 3.0.3 Manager component for Oracle VM on RHEL 5.5 64 bit Linux OS platform.
    1) The installation hangs on the following step
    Step 6 of 9 : Oracle VM ...
    Retrieving Oracle VM Manager Application ...
    Extracting Oracle VM Manager Application ...
    Installing Oracle VM Manager Core ...
    Step 7 of 9 : Domain creation ...
    Creating Oracle WebLogic Server domain ...
    Starting Oracle WebLogic Server 11g ...
    Configuring data source 'OVMDS' ...
    Creating Oracle VM Manager user 'admin' ...
    Step 8 of 9 : Deploy ...
    Deploying Oracle VM Manager Core container ...
    2) Reviewing the OVM 3.0.3 Manager installation logs shows the following errors:
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    Connecting to t3://localhost:7001 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_adf_domain'.
    Warning: An insecure protocol was used to connect to the
    server. To ensure on-the-wire security, the SSL port or
    Admin port should be used instead.
    Location changed to edit tree. This is a writable tree with
    DomainMBean as the root. To make changes you will need to start
    an edit session via startEdit().
    For more help, use help(edit)
    Connecting to t3://localhost:7001 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_adf_domain'.
    Warning: An insecure protocol was used to connect to the
    server. To ensure on-the-wire security, the SSL port or
    Admin port should be used instead.
    Location changed to edit tree. This is a writable tree with
    DomainMBean as the root. To make changes you will need to start
    an edit session via startEdit().
    For more help, use help(edit)
    Starting an edit session ...
    Started edit session, please be sure to save and activate your
    changes once you are done.
    Saving all your changes ...
    Saved all your changes successfully.
    Activating all your changes, this may take a while ...
    The edit lock associated with this edit session is released
    BUILD FAILED
    weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 0 failed: [Deployer:149026]deploy application ovm_core on AdminServer.
    Target state: deploy failed on Server AdminServer
    java.lang.Exception: [DeploymentService:290051]The commit message for the deployment '1,331,919,570,897' could not be completed because the deployment timed out.
    at weblogic.deploy.service.internal.adminserver.AdminRequestStatus.signalCommitFailed(AdminRequestStatus.java:1007)
    at weblogic.deploy.service.internal.statemachines.adminserver.AwaitingCommitResponses.requestTimedOut(AwaitingCommitResponses.java:42)
    at weblogic.deploy.service.internal.adminserver.AdminRequestImpl.requestTimedout(AdminRequestImpl.java:354)
    at weblogic.deploy.service.internal.RequestImpl$TimeoutMonitor.timerExpired(RequestImpl.java:242)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
    3) Previous weblogic errors that caused the OVM 3.0.3 Manager installation to hang and fail:
    Your environment has been set.
    Initializing WebLogic Scripting Tool (WLST) ...
    Welcome to WebLogic Server Administration Scripting Shell
    Type help() for help on available commands
    user: weblogic
    timeout: 300
    Connecting to t3://localhost:7001 with userid weblogic ...
    This Exception occurred at Fri Mar 16 10:33:13 PDT 2012.
    Connecting to t3://localhost:7001 with userid weblogic ...
    This Exception occurred at Fri Mar 16 10:34:27 PDT 2012.
    Connecting to t3://localhost:7001 with userid weblogic ...
    Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_adf_domain'.
    Warning: An insecure protocol was used to connect to the
    server. To ensure on-the-wire security, the SSL port or
    Admin port should be used instead.
    Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
    For more help, use help(domainRuntime)
    Current status is RUNNING
    Disconnected from weblogic server: AdminServer
    03-16 10:34 system.process DEBUG system.process.run stderr:
    javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://localhost:7001: Destination unreachable; nested exception is:
            java.net.ConnectException: Connection refused; No available router to destination]
    at weblogic.jndi.internal.ExceptionTranslator.toNamingException(ExceptionTranslator.java:40)
    at weblogic.jndi.WLInitialContextFactoryDelegate.toNamingException(WLInitialContextFactoryDelegate.java:788)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:366)
    at weblogic.jndi.Environment.getContext(Environment.java:315)
    at weblogic.jndi.Environment.getContext(Environment.java:285)
    at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialContextFactory.java:117)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
    at javax.naming.InitialContext.init(InitialContext.java:223)
    at javax.naming.InitialContext.<init>(InitialContext.java:197)
    at weblogic.management.scripting.WLSTHelper.populateInitialContext(WLSTHelper.java:520)
    at weblogic.management.scripting.WLSTHelper.initDeprecatedConnection(WLSTHelper.java:573)
    at weblogic.management.scripting.WLSTHelper.initConnections(WLSTHelper.java:313)
    at weblogic.management.scripting.WLSTHelper.connect(WLSTHelper.java:203)
    at weblogic.management.scripting.WLScriptContext.connect(WLScriptContext.java:61)
    at weblogic.management.scripting.utils.WLSTUtil.initializeOnlineWLST(WLSTUtil.java:147)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Any ideas how to resolve these issues so that I can successfully install OVM 3.0.3 Manager?

    Issue resolved had to disable Linux firewall

  • MINOR CODE: jms corba marshalling error

    I have a JMS queue connection factory and queue deployed on Sun Application Server 8.2 that I am trying to access through jndi. I am able to look up the queues using JNDI when I run a command line test program. It sets the context using my jndi.properties file.
    java.naming.factory.initial=com.sun.appserv.naming.S1ASCtxFactory
    java.naming.provider.url=iiop://smosi-1:3360
    b2bconnection.queueConnectionFactory=jms/B2BintegrationMDBDestinationFactory
    b2bconnection.queueName=jms/B2BintegrationMDBBeanWhen I run the code from within another application server called pramati, I get the stack trace printed out below. Pramati is the application server from where I'm trying to access the JMS qeueus located on sun application server. It looks like a marshalling error. I did some digging around, and found out that I am able to read all of the objects from JNDI ( i.e. jms, jdbc, ejb, etc ) except for a mysterious context called __SYSTEM that is being used by the java libraries to load the jmsra resource adapter. This context can be loaded from the command line, but not within the pramati application server. Any attempt to load it gives the error below... If I can solve this, I'll be the star of the development team for sure. PLEASE help me if you can. Thanks.
    Other things to note are that both servers have been configured to use the same JDK version, which is 1.4.2_12.
    Aug 16, 2006 4:42:32 PM com.sun.corba.ee.impl.encoding.CDRInputStream_1_0 read_v
    alue
    WARNING: "IOP00810210: (MARSHAL) Error from readValue on ValueHandler in CDRInpu
    tStream"
    org.omg.CORBA.MARSHAL: vmcid: SUN minor code: 210 completed: Maybe
    at com.sun.corba.ee.impl.logging.ORBUtilSystemException.valuehandlerRead
    Error(ORBUtilSystemException.java:6646)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
    Stream_1_0.java:1048)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
    Stream_1_0.java:879)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_inter
    face(CDRInputStream_1_0.java:873)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_inter
    face(CDRInputStream_1_0.java:863)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_abstract_interface
    (CDRInputStream.java:275)
    at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectDelegate(IIOPInput
    Stream.java:363)
    at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectOverride(IIOPInput
    Stream.java:526)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
    at java.util.Hashtable.readObject(Hashtable.java:848)
    at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.corba.ee.impl.io.IIOPInputStream.invokeObjectReader(IIOPInput
    Stream.java:1694)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.
    java:1212)
    at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputSt
    ream.java:400)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHand
    lerImpl.java:330)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.
    java:296)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
    Stream_1_0.java:1034)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStre
    am.java:259)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputSt
    ream.java:1989)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputSt
    ream.java:2213)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.
    java:1221)
    at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputSt
    ream.java:400)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHand
    lerImpl.java:330)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.
    java:296)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
    Stream_1_0.java:1034)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
    Stream_1_0.java:879)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_inter
    face(CDRInputStream_1_0.java:873)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_inter
    face(CDRInputStream_1_0.java:863)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_abstract_interface
    (CDRInputStream.java:275)
    at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectDelegate(IIOPInput
    Stream.java:363)
    at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectOverride(IIOPInput
    Stream.java:526)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
    at java.util.Hashtable.readObject(Hashtable.java:848)
    at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.corba.ee.impl.io.IIOPInputStream.invokeObjectReader(IIOPInput
    Stream.java:1694)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.
    java:1212)
    at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputSt
    ream.java:400)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHand
    lerImpl.java:330)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.
    java:296)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
    Stream_1_0.java:1034)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStre
    am.java:259)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObjectField(IIOPInputSt
    ream.java:1989)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputClassFields(IIOPInputSt
    ream.java:2213)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.
    java:1221)
    at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputSt
    ream.java:400)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHand
    lerImpl.java:330)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.
    java:296)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
    Stream_1_0.java:1034)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
    Stream_1_0.java:879)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_inter
    face(CDRInputStream_1_0.java:873)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_abstract_inter
    face(CDRInputStream_1_0.java:863)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_abstract_interface
    (CDRInputStream.java:275)
    at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectDelegate(IIOPInput
    Stream.java:363)
    at com.sun.corba.ee.impl.io.IIOPInputStream.readObjectOverride(IIOPInput
    Stream.java:526)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333)
    at java.util.Hashtable.readObject(Hashtable.java:848)
    at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.sun.corba.ee.impl.io.IIOPInputStream.invokeObjectReader(IIOPInput
    Stream.java:1694)
    at com.sun.corba.ee.impl.io.IIOPInputStream.inputObject(IIOPInputStream.
    java:1212)
    at com.sun.corba.ee.impl.io.IIOPInputStream.simpleReadObject(IIOPInputSt
    ream.java:400)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValueInternal(ValueHand
    lerImpl.java:330)
    at com.sun.corba.ee.impl.io.ValueHandlerImpl.readValue(ValueHandlerImpl.
    java:296)
    at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInput
    Stream_1_0.java:1034)
    at com.sun.corba.ee.impl.encoding.CDRInputStream.read_value(CDRInputStre
    am.java:259)
    at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14
    .read(DynamicMethodMarshallerImpl.java:333)
    at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.re
    adResult(DynamicMethodMarshallerImpl.java:424)
    at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invo
    ke(StubInvocationHandlerImpl.java:133)
    at com.sun.corba.ee.impl.presentation.rmi.bcel.BCELStubBase.invoke(Unkno
    wn Source)
    at com.sun.enterprise.naming._SerialContextProvider_DynamicStub.list(_Se
    rialContextProvider_DynamicStub.java)
    at com.sun.enterprise.naming.SerialContext.list(SerialContext.java:478)
    at javax.naming.InitialContext.list(InitialContext.java:395)
    at com.sun.b2b.connection.B2BConnector.printContext(B2BConnector.java:72
    Message was edited by:
    queperknuckle

    Tried with following error,
    String orbArgs[] = new String[] { "-ORBInitRef", nameService };
    java.util.Properties props = System.getProperties();
    props.put("org.omg.CORBA.ORBClass", "com.iona.corba.art.artimpl.ORBImpl");
    props.put("org.omg.CORBA.ORBSingletonClass", "com.iona.corba.art.artimpl.ORBSingleton");
    // create and initialize the ORB
    orb = ORB.init(orbArgs, props);
    But now received,
    org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.iona.corba.art.artimpl.ORBImpl  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)
    Please help.

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

  • CORBA MINOR CODE ERROR

    Hello All,
    I am getting following error when I am making CORBA connection,
    173938.019:Connection handler pasapap-vip-51664:LOW :<<static>>:
    : (ERROR) Exception occured during connection -
    >> 173938.020:Connection handler pasapap-vip-51664:SANE:com.mslv.activation.cartridge.eci.ls.v1.EciConnectionHandler:
    Exception occured during connection - org.omg.CORBA.INTERNAL:   vmcid: SUN  minor code: 261  completed: Yes
    >> 173938.020:Connection handler pasapap-vip-51664:LOW :com.mslv.activation.cartridge.eci.ls.v1.EciConnectionHandler:
    Closing EMS Session...
    What problem occurs "SUN  minor code: 261"
    Please help.
    Thank you,
    Bhaskar

    Tried with following error,
    String orbArgs[] = new String[] { "-ORBInitRef", nameService };
    java.util.Properties props = System.getProperties();
    props.put("org.omg.CORBA.ORBClass", "com.iona.corba.art.artimpl.ORBImpl");
    props.put("org.omg.CORBA.ORBSingletonClass", "com.iona.corba.art.artimpl.ORBSingleton");
    // create and initialize the ORB
    orb = ORB.init(orbArgs, props);
    But now received,
    org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementation com.iona.corba.art.artimpl.ORBImpl  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)
    Please help.

  • Can't get struct from Oracle via Weblogic DB connection?

    There are two ways to connect oracle, within Weblogic or without Weblogic.
    Without Weblogic way works. Code here:
    import java.sql.Connection;
    Class.forName("oracle.jdbc.driver.OracleDriver");
    dbConn = DriverManager.getConnection("Connection");
    StructDescriptor st = new StructDescriptor("Name of Object in Oracle ",dbConn);
    Within Weblogic way doesn’t work. Code here:
    import javax.naming.InitialContext;
    import javax.sql.DataSource
    import java.sql.Connection;
    Connection conn = null;
    javax.sql.DataSource ds = null;
    ds = (javax.sql.DataSource) _cntx.lookup(poolName);
    conn = ds.getConnection();
    StructDescriptor st = new StructDescriptor("Name of Object in Oracle ",dbConn); // Error java.rmi.MarshalException: error marshalling return; nested exception is: java.io.NotSerializableException: oracle.jdbc.driver.T4CConnection
    Reference:
    http://e-docs.bea.com/wls/docs81/jdbc/thirdparty.html#1090291
    I don’t know what the exact reason is. And my work is hanging by this thread. Could anyone help me pls? Thank you.

    Man, what problem?
    About how to use array,
    CREATE TYPE department_type AS OBJECT (
    DNO NUMBER (10),
    NAME VARCHAR2 (50),
    LOCATION VARCHAR2 (50)
    CREATE TYPE dept_array AS TABLE OF department_type;
    CREATE OR REPLACE PACKAGE objecttype AS
    PROCEDURE insert_object (d dept_array);
    END objecttype;
    CREATE OR REPLACE PACKAGE BODY objecttype
    AS
    PROCEDURE insert_object (d dept_array)
    AS
    BEGIN
    FOR i IN d.FIRST..d.LAST
    LOOP
    INSERT INTO department_teststruct
    VALUES (d(i).dno,d(i).name,d(i).location);
    END LOOP;
    END insert_object;
    END objecttype;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import oracle.jdbc.OracleCallableStatement;
    import oracle.sql.ARRAY;
    import oracle.sql.ArrayDescriptor;
    import oracle.sql.STRUCT;
    import oracle.sql.StructDescriptor;
    public class TestStruct ...{
    public static void main(String[] args)
    sendStruct();
    public static void sendStruct()
    Connection dbConn = null;
    try...{   
    Object[] so1 = ...{"10","Accounts","LHR"};
    Object[] so2 = ...{"20","HR","ISB"};
    OracleCallableStatement callStatement = null;
    Class.forName("oracle.jdbc.driver.OracleDriver");
    dbConn = DriverManager.getConnection("jdbc:oracle:thin:@ServerName:Port:ORa", "UserName", "Password");
    StructDescriptor st = new StructDescriptor("DEPARTMENT_TYPE",dbConn);
    STRUCT s1 = new STRUCT(st,dbConn,so1);
    STRUCT s2 = new STRUCT(st,dbConn,so2);
    STRUCT[] deptArray = ...{s1,s2};
    ArrayDescriptor arrayDept = ArrayDescriptor.createDescriptor("DEPT_ARRAY", dbConn);
    ARRAY deptArrayObject = new ARRAY(arrayDept, dbConn, deptArray);
    callStatement = (OracleCallableStatement)dbConn.prepareCall("{call insert_object(?)}");
    ((OracleCallableStatement)callStatement).setArray(1, deptArrayObject);
    callStatement.executeUpdate();
    dbConn.commit();
    callStatement.close();
    catch(Exception e)...{
    System.out.println(e.toString());
    About how to do explain plan
    EXPLAIN PLAN FOR
    SELECT * FROM TABLE(DEPT_ARRAY(DEPARTMENT_TYPE(
    1, --DNO NUMBER (10),
    'NAME', --NAME VARCHAR2 (50),
    'LOCATION' --LOCATION VARCHAR2 (50)
    ))) T
    JOIN TABLE2 T2 ON T.DNO = T2.DNO;
    SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);
    But if u want let Oracle know how many rows in that array, one way follows can help.
    Usually way:
    EXPLAIN PLAN FOR
    SELECT * FROM TABLE(DEPT_ARRAY(DEPARTMENT_TYPE(
    1, --DNO NUMBER (10),
    'NAME', --NAME VARCHAR2 (50),
    'LOCATION' --LOCATION VARCHAR2 (50)
    ))) T
    JOIN TABLE2 T2 ON T.DNO = T2.DNO;
    SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);
    PLAN_TABLE_OUTPUT
    1 Plan hash value: 1748000095
    2
    3 ----------------------------------------------------------------------------------------------
    4 | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    5 ----------------------------------------------------------------------------------------------
    6 | 0 | SELECT STATEMENT | | *8168* | 16336 | 24 (0)| 00:00:01 |
    7 | 1 | COLLECTION ITERATOR CONSTRUCTOR FETCH| | | | | |
    8 ----------------------------------------------------------------------------------------------
    When add cardinality parameter there, the result will be correct.
    EXPLAIN PLAN FOR
    SELECT /*+ cardinality(t 10 ) */ * FROM TABLE(DEPT_ARRAY(DEPARTMENT_TYPE(
    1, --DNO NUMBER (10),
    'NAME', --NAME VARCHAR2 (50),
    'LOCATION' --LOCATION VARCHAR2 (50)
    ))) T
    JOIN TABLE2 T2 ON T.DNO = T2.DNO;
    SELECT * FROM TABLE(DBMS_XPLAN.DISPLAY);
    PLAN_TABLE_OUTPUT
    1 Plan hash value: 1748000095
    2
    3 ----------------------------------------------------------------------------------------------
    4 | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    5 ----------------------------------------------------------------------------------------------
    6 | 0 | SELECT STATEMENT | | 10 | 20 | 24 (0)| 00:00:01 |
    7 | 1 | COLLECTION ITERATOR CONSTRUCTOR FETCH| | | | | |
    8 ----------------------------------------------------------------------------------------------

  • * IBM Websphere Vs Oracle's Weblogic server *

    IBM Websphere Vs Oracle's Weblogic server
    Can ODI run on IBM Websphere?
    How feasible is it to shift ODI from Oracle Web logic to IBM Websphere?
    What challenges , efforts required in ODI code to do so?
    Please suggest.
    Thanks in Advance.
    Regards,
    Dinesh.

    1. Well for your 1st question I believe you can.
    2. I believe it will go fine because you just need one application server to deploy your ee agent.
    3. I have never tried IBM websphere as an application sewrver in ODI but it shouldnt be that much completed as you are thinking. Better you do R&D in your local system. Also I am not sure about the issues you will face in future. ( for ex maple PermGen errors, issues in clustering etc)
    Thanks

  • Problem integrating Oracle 9i, Weblogic 7.0, and MDB

    (REFORMATTED??)
    All:
    I would really appreciate an answer to this question.
    Background:
    - We are using Oracle 9i and Weblogic 7
    - I have an MDB that receives a message, then in the onMessage
    (Message) method performs a findByPrimaryKey(String).
    Problem:
    The deployment descriptors and the MDB all work fine when I set
    them up to query against a Pointbase database and deploy to
    Weblogic. Everything worked fine. But this was only a test to
    see if everything would work.I now need to query against an
    Oracle database.
    I got the updated version of theOracle Thin Driver and put it in
    the WL_HOME/server/lib/classes12.zip file. I even added it to
    the beginning of the classpath in the startWeblogic.cmd file.But
    am still having problems.
    To test the just the Oracle connection I double checked the
    user, password, URL,and driver settings in a java file using
    JDBC connections - and they worked fine.They just aren't working
    when integrated into Weblogic.
    The problem lies in the Weblogic 7 server integration with
    Oracle 9i. The softwareintegrated fine when tables from a
    Pointbase database were queried. The only changes made have been
    to make the connectivity to Oracle.
    My errors are in the attached myserver.log file. If anyone knows
    if this is aknown problem or what the problem is please let me
    know.Just FYI my settings are as follows:
    Driver: oracle.jdbc.driver.OracleDriver
    URL=jdbc:oracle:thin:@192.168.6.10:1521:proType1
    user=protype1
    password=protype1
    Any advice is welcomed! I've tried everything I can think of.
    Angie
    [myserver_errors.txt]

    Angela Biche wrote:
    (REFORMATTED??)
    All:
    I would really appreciate an answer to this question.
    Background:
    - We are using Oracle 9i and Weblogic 7
    - I have an MDB that receives a message, then in the onMessage
    (Message) method performs a findByPrimaryKey(String).
    Hi. Show me your pool definition, and the standalone code that makes a good
    JDBC connection with the driver you want to use. I assume you've
    verified that the driver you want to use comes before any weblogic
    stuff in the classpath for the server.
    It seems the pool was configured with zero initial capacity, and is being
    asked to create connections at runtime. I would make the pool make all it's
    connections at startup. This is faster and more stable, and will also narow
    the problem down to the pool not booting until we get the JDBC connections
    made.
    Joe
    >
    Problem:
    The deployment descriptors and the MDB all work fine when I set
    them up to query against a Pointbase database and deploy to
    Weblogic. Everything worked fine. But this was only a test to
    see if everything would work.I now need to query against an
    Oracle database.
    I got the updated version of theOracle Thin Driver and put it in
    the WL_HOME/server/lib/classes12.zip file. I even added it to
    the beginning of the classpath in the startWeblogic.cmd file.But
    am still having problems.
    To test the just the Oracle connection I double checked the
    user, password, URL,and driver settings in a java file using
    JDBC connections - and they worked fine.They just aren't working
    when integrated into Weblogic.
    The problem lies in the Weblogic 7 server integration with
    Oracle 9i. The softwareintegrated fine when tables from a
    Pointbase database were queried. The only changes made have been
    to make the connectivity to Oracle.
    My errors are in the attached myserver.log file. If anyone knows
    if this is aknown problem or what the problem is please let me
    know.Just FYI my settings are as follows:
    Driver: oracle.jdbc.driver.OracleDriver
    URL=jdbc:oracle:thin:@192.168.6.10:1521:proType1
    user=protype1
    password=protype1
    Any advice is welcomed! I've tried everything I can think of.
    Angie
    Name: myserver_errors.txt
    myserver_errors.txt Type: Plain Text (text/plain)
    Encoding: base64

  • Installation error Install Failed: Error Domain=PKInstallErrorDomain Code=112

    Trying to install an application or "whatever", from a mounted dmg image installer gives this error:
    Install Failed: Error Domain=PKInstallErrorDomain Code=112.
    A developer I contacted suggested a workaround by disabling/enabling checkmark of "Ignore ownership on this volume".
    Is there anyone knowing the reason for this issue and final solution?
    PS I already have verified/repaired permissions on boot disk.

    Steps to do
    1) /etc/hosts now reads:
    127.0.0.1     localhost
    192.168.56.101 demo.us.oracle.com oracle-pc
    2) updated java in path /usr/java from 1.5 to the latest version (1.6.0_27) by rpm-deinstalling the old version first and
    then rpm-installing the new version.
    3) Don't do a simple install.
    Instead u installed WebLogic Server 10.3.5 first, than do the Repository creation with RCU, followed by the BI Server software only install
    and finally the BI Server configuration.
    Marks as correct if helpful or let me know the updates?

  • Oracle.jms.AQjmsException: Error creating the db_connection( OSB PS2.)

    hi All,
    I am beginner in OSB 11g. Please excuse me if I am asking any dumb question.
    I am trying to post messages to Oracle AQ by configuring JMS Destination in OSB Alert destination
    I have configured AQ JMS in weblogic 10.3.3 ( OSB PS2) following the blog (http://jianmingli.com/wp/?p=2950)
    When i invoked my proxy OSB proxy service i am getting following exception. Can you please help if i am missing any kind of setup while configuring the JMS Module.
    Caused By: oracle.jms.AQjmsException: Error creating the db_connection
         at oracle.jms.AQjmsDBConnMgr.getConnection(AQjmsDBConnMgr.java:625)
         at oracle.jms.AQjmsDBConnMgr.<init>(AQjmsDBConnMgr.java:399)
         at oracle.jms.AQjmsXAConnection.<init>(AQjmsXAConnection.java:112)
         at oracle.jms.AQjmsXAQueueConnectionFactory.createAllXAConnection(AQjmsXAQueueConnectionFactory.java:320)
         at oracle.jms.AQjmsXAQueueConnectionFactory.createXAQueueConnection(AQjmsXAQueueConnectionFactory.java:198)
         at weblogic.deployment.jms.JMSConnectionHelper.openConnection(JMSConnectionHelper.java:282)
         at weblogic.deployment.jms.JMSConnectionHelper.<init>(JMSConnectionHelper.java:144)
         at weblogic.deployment.jms.JMSSessionPool.getConnectionHelper(JMSSessionPool.java:517)
         at weblogic.deployment.jms.PooledConnectionFactory.createConnectionInternal(PooledConnectionFactory.java:355)
         at weblogic.deployment.jms.PooledConnectionFactory.createQueueConnection(PooledConnectionFactory.java:188)
         at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext.getSession(JmsOutboundMessageContext.java:399)
         at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext.newMessage(JmsOutboundMessageContext.java:621)
         at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext.setRequestMetaData(JmsOutboundMessageContext.java:229)
         at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext.access$100(JmsOutboundMessageContext.java:72)
         at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext$SendAction.run(JmsOutboundMessageContext.java:788)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.security.Security.runAs(Security.java:61)
         at com.bea.wli.sb.transports.jms.JmsOutboundMessageContext.send(JmsOutboundMessageContext.java:551)
         at com.bea.wli.sb.transports.jms.JmsTransportProvider.sendMessageAsync(JmsTransportProvider.java:680)
         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:597)
         at com.bea.wli.sb.transports.Util$1.invoke(Util.java:83)
         at $Proxy111.sendMessageAsync(Unknown Source)
         at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageWithoutService(TransportManagerImpl.java:489)
         at com.bea.wli.sb.transports.TransportManagerImpl.sendMessageAsync(TransportManagerImpl.java:417)
         at com.bea.wli.sb.init.FrameworkStarter$TransportServiceImpl.sendMessageAsync(FrameworkStarter.java:391)
         at com.bea.alsb.alert.action.jms.JmsActionProvider.executeAction(JmsActionProvider.java:345)
         at com.bea.alsb.alert.AlertDestinationHandlerImpl.sendAlertToDestination(AlertDestinationHandlerImpl.java:105)
         at com.bea.alsb.alert.pipeline.PipelineAlertManager.processAlert(PipelineAlertManager.java:59)
         at stages.logging.runtime.AlertRuntimeStep.processMessage(AlertRuntimeStep.java:125)
         at com.bea.wli.sb.pipeline.debug.DebuggerRuntimeStep.processMessage(DebuggerRuntimeStep.java:74)
         at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
         at com.bea.wli.sb.stages.impl.SequenceRuntimeStep.processMessage(SequenceRuntimeStep.java:33)
         at stages.routing.runtime.RouteRuntimeStep.processMessage(RouteRuntimeStep.java:102)
         at com.bea.wli.sb.pipeline.debug.DebuggerRuntimeStep.processMessage(DebuggerRuntimeStep.java:74)
         at com.bea.wli.sb.stages.StageMetadataImpl$WrapperRuntimeStep.processMessage(StageMetadataImpl.java:346)
         at com.bea.wli.sb.pipeline.RouteNode.doRequest(RouteNode.java:106)
         at com.bea.wli.sb.pipeline.Node.processMessage(Node.java:67)
         at com.bea.wli.sb.pipeline.PipelineContextImpl.execute(PipelineContextImpl.java:922)
         at com.bea.wli.sb.pipeline.Router.processMessage(Router.java:214)
         at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:99)
         at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:593)
         at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:591)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
         at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:590)
         at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:329)
         at com.bea.wli.sb.test.service.ServiceMessageSender.access$000(ServiceMessageSender.java:76)
         at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:134)
         at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:132)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
         at com.bea.wli.sb.test.service.ServiceMessageSender.send(ServiceMessageSender.java:137)
         at com.bea.wli.sb.test.service.ServiceProcessor.invoke(ServiceProcessor.java:454)
         at com.bea.wli.sb.test.TestServiceImpl.invoke(TestServiceImpl.java:172)
         at com.bea.wli.sb.test.client.ejb.TestServiceEJBBean.invoke(TestServiceEJBBean.java:167)
         at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl.invoke(TestService_sqr59p_EOImpl.java:353)
         at com.bea.wli.sb.test.client.ejb.TestService_sqr59p_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:477)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:473)
         at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:118)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused By: java.lang.ClassCastException: weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1033_WLStub cannot be cast to oracle.jdbc.internal.OracleConnection
         at oracle.jms.AQjmsGeneralDBConnection.getProviderKey(AQjmsGeneralDBConnection.java:96)
         at oracle.jms.AQjmsGeneralDBConnection.<init>(AQjmsGeneralDBConnection.java:65)
         at oracle.jms.AQjmsDBConnMgr.getConnection(AQjmsDBConnMgr.java:566)
         at oracle.jms.AQjmsDBConnMgr.<init>(AQjmsDBConnMgr.java:399)
         at oracle.jms.AQjmsXAConnection.<init>(AQjmsXAConnection.java:112)
         at oracle.jms.AQjmsXAQueueConnectionFactory.createAllXAConnection(AQjmsXAQueueConnectionFactory.java:320)
         at oracle.jms.AQjmsXAQueueConnectionFactory.createXAQueueConnection(AQjmsXAQueueConnectionFactory.java:198)
         at weblogic.deployment.jms.JMSConnectionHelper.openConnection(JMSConnectionHelper.java:282)
         at weblogic.deployment.jms.JMSConnectionHelper.<init>(JMSConnectionHelper.java:144)
         at weblogic.deployment.jms.JMSSessionPool.getConnectionHelper(JMSSessionPool.java:517)
         at weblogic.deployment.jms.PooledConnectionFactory.createConnectionInternal(PooledConnectionFactory.java:355)
         at weblogic.deployment.jms.PooledConnectionFactory.createQueueConnection(PooledConnectionFactory.java:188)

    hi All,
    Here is the actual exception while posting message into AQ ( AQ JMS) from OSB.
    Caused By: java.lang.ClassCastException: weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1033_WLStub cannot be cast to oracle.jdbc.internal.OracleConnection
    at oracle.jms.AQjmsGeneralDBConnection.getProviderKey(AQjmsGeneralDBConnection.java:96)
    at oracle.jms.AQjmsGeneralDBConnection.<init>(AQjmsGeneralDBConnection.java:65)
    Not sure what is missing in my AQ JMS configuration. Please help.
    Regards,
    Nagi

  • Porting from Oracle 10g AS to Oracle 11g Weblogic server

    Hi,
    I am trying to port J2EE applicatin from Oracle 10g AS to Oracle 11g Weblogic Server. I have jsp files which contains sql code embedded to fetch data from the DB. The components used in this application are Java, JSP, Servlets and Stateless session beans.
    I have a commonjar which is used to create DB Connection manager and other common stuff which is present inside web-inf/lib. My application is packaged as an ear and which contains the war and different ejb-project.jar files. When the Stateless bean is trying to call the ConnectionManager class, which is present inside the commonjar inside web-inf/lib, I get InvocationTargetException. When I debugged in Eclipse, I see that that inside ejb the reference ConnectionManager, the variable cannot be resolved. So I guess at runtime, ejb is not able to locate ConnectionManager Class.
    I tried to copy this jar to APP-INF/lib and the same jar is present inside web-inf/lib as well. In that case what happens is the jsp fails with the exception ConnectionManager cannot be resolved.
    How can I make the ejb work by keeping the commonjar inside web-inf/lib alone.
    Any help or suggestions?
    Thanks
    Raj

    The classloader hierarchy in WLS looks like this (arrows denote inheritance direction):
    Java bootstrap classloader <- Java CLASSPATH classloader <- WLS $DOMAIN_HOME/lib classloader <- Application (e.g., EAR) classloader <- web app classloader <- single JSP classloader
    The Connection Manager is loaded by the web app classloader while the EJBs are loaded by the application classloader so the EJBs have no visibility to the classes loaded by the child (web app) classloader.
    The simplest fix might be to move the Connection Manager jar file to the EAR file's APP-INF/lib directory.
    One word of caution though, you need to be using WebLogic Server's Data Sources and JDBC connection pooling to make sure that you correct transactional behavior if the application is doing any sort of JTA transaction (regardless of whether the JTA transactions are using XA or not...).
    Hope this helps,
    Robert

Maybe you are looking for