0 Replies Latest reply on Jun 30, 2008 9:14 AM by 666705

    Getting Error writing to oracle database- using Weblogic JNDI

    666705
      Hi alll,

      I am getting the following error while inserting a row into the database. However, I am able to delete a row from the database using my code. I am using Oracle XA Driver in my DataSource configuration.
      here is the stack trace:

      02:41:44,806 ERROR AnnotateWSDL:? - weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception
      weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception
           at weblogic.jdbc.rmi.internal.PreparedStatementImpl_weblogic_jdbc_wrapper_PreparedStatement_oracle_jdbc_driver_T4CPreparedStatement_920_WLStub.setObjectAtName(Unknown Source)
           at weblogic.jdbc.rmi.internal.PreparedStatementStub_weblogic_jdbc_rmi_internal_PreparedStatementImpl_weblogic_jdbc_wrapper_PreparedStatement_oracle_jdbc_driver_T4CPreparedStatement_920_WLStub.setObjectAtName(Unknown Source)
           at weblogic.jdbc.rmi.SerialPreparedStatement_weblogic_jdbc_rmi_internal_PreparedStatementStub_weblogic_jdbc_rmi_internal_PreparedStatementImpl_weblogic_jdbc_wrapper_PreparedStatement_oracle_jdbc_driver_T4CPreparedStatement_920_WLStub.setObjectAtName(Unknown Source)
           at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3916)
           at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
           at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13759)
           at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:801)
           at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
           at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
           at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
           at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:687)
           at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2657)
           at oracle.jbo.server.ViewRowSetIteratorImpl.refresh(ViewRowSetIteratorImpl.java:2915)
           at oracle.jbo.server.ViewRowSetImpl.notifyRefresh(ViewRowSetImpl.java:2085)
           at oracle.jbo.server.ViewRowSetImpl.refreshRowSet(ViewRowSetImpl.java:4839)
           at oracle.jbo.server.ViewRowSetIteratorImpl.notifyDetailRowSets(ViewRowSetIteratorImpl.java:3408)
           at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigationToRow(ViewRowSetIteratorImpl.java:3549)
           at oracle.jbo.server.ViewRowSetIteratorImpl.notifyNavigation(ViewRowSetIteratorImpl.java:3509)
           at oracle.jbo.server.ViewRowSetIteratorImpl.internalSetCurrentRow(ViewRowSetIteratorImpl.java:3293)
           at oracle.jbo.server.ViewRowSetIteratorImpl.doInsertRow(ViewRowSetIteratorImpl.java:2274)
           at oracle.jbo.server.ViewRowSetIteratorImpl.insertRow(ViewRowSetIteratorImpl.java:2217)
           at oracle.jbo.server.ViewRowSetImpl.insertRow(ViewRowSetImpl.java:2453)
           at oracle.jbo.server.ViewObjectImpl.insertRow(ViewObjectImpl.java:6605)
           at oracle.apps.aia.bsr.publishdb.AnnotateInterface.processInterface(Unknown Source)
           at oracle.apps.aia.bsr.publishdb.AnnotateWSDL.processWSDL(Unknown Source)
           at oracle.apps.aia.bsr.publishdb.AnnotateWSDL.execute(Unknown Source)
           at oracle.apps.aia.bsr.publishwsdl.PublishWSDL.pubSingleWSDL(Unknown Source)
           at oracle.apps.aia.bsr.publishwsdl.PublishWSDL.publishingWSDL(Unknown Source)
           at oracle.apps.aia.bsr.publish.BsrPublish.callPublisher(Unknown Source)
           at oracle.apps.aia.bsr.publish.BsrPublish.invokeOperations(Unknown Source)
           at oracle.apps.aia.bsr.publish.BsrPublish.main(Unknown Source)
      Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
           java.io.StreamCorruptedException
           at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:195)
           at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:224)
           ... 31 more
      Caused by: java.io.StreamCorruptedException
           at java.io.ObjectInputStream.readObject0(Unknown Source)
           at java.io.ObjectInputStream.skipCustomData(Unknown Source)
           at java.io.ObjectInputStream.readSerialData(Unknown Source)
           at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
           at java.io.ObjectInputStream.readObject0(Unknown Source)
           at java.io.ObjectInputStream.readObject(Unknown Source)
           at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
           at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
           at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191)
           at weblogic.jdbc.rmi.internal.PreparedStatementImpl_weblogic_jdbc_wrapper_PreparedStatement_oracle_jdbc_driver_T4CPreparedStatement_WLSkel.internalInvoke1(Unknown Source)
           at weblogic.jdbc.rmi.internal.PreparedStatementImpl_weblogic_jdbc_wrapper_PreparedStatement_oracle_jdbc_driver_T4CPreparedStatement_WLSkel.invoke(Unknown Source)
           at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517)
           at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407)
           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:403)
           at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56)
           at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)