Oracle.toplink.exceptions.QueryException

I get the following error when I attempt to create a table from my oject in the workbench:
Throwable Class Name:
oracle.toplink.exceptions.QueryException
Message:
when trying to generate a table from a class in the workbench i get the followin error:
Exception Description: The object [MWClassDescriptor[973268] (Address -> null)], of class [class oracle.toplink.workbench.model.desc.MWClassDescriptor], with identity hashcode (System.identityHashCode()) [9,908,840],
is not from this UnitOfWork object space, but the parent session's. The object was never registered in this UnitOfWork,
but read from the parent session and related to an object registered in the UnitOfWork. Ensure that you are correctly
registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() method to
help debug where the error occurred. For more information, see the manual or FAQ.
Stack trace:
Local Exception Stack:
Exception [TOPLINK-6004] (OracleAS TopLink - 10g (10.0.3) Developer Preview (Build 031022)): oracle.toplink.exceptions.QueryException
Exception Description: The object [MWClassDescriptor[973268] (Address -> null)], of class [class oracle.toplink.workbench.model.desc.MWClassDescriptor], with identity hashcode (System.identityHashCode()) [9,908,840],
is not from this UnitOfWork object space, but the parent session's. The object was never registered in this UnitOfWork,
but read from the parent session and related to an object registered in the UnitOfWork. Ensure that you are correctly
registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() method to
help debug where the error occurred. For more information, see the manual or FAQ.
     at oracle.toplink.exceptions.QueryException.backupCloneIsOriginalFromParent(QueryException.java:158)
     at oracle.toplink.publicinterface.UnitOfWork.getBackupClone(UnitOfWork.java:1539)
     at oracle.toplink.publicinterface.UnitOfWork.calculateChanges(UnitOfWork.java:425)
     at oracle.toplink.publicinterface.UnitOfWork.getChanges(UnitOfWork.java:1595)
     at oracle.toplink.workbench.ui.WorkbenchSession.saveProject(WorkbenchSession.java:680)
     at oracle.toplink.workbench.ui.MainView.saveProject(MainView.java:1914)
     at oracle.toplink.workbench.ui.MainView.saveSelectedProjects(MainView.java:1983)
     at oracle.toplink.workbench.ui.MainView.generateTableDefinitionsForClasses(MainView.java:728)
     at oracle.toplink.workbench.ui.MainView.generateTableDefinitionsForSelected(MainView.java:753)
     at oracle.toplink.workbench.ui.action.ActionManager$86.actionPerformed(ActionManager.java:2055)
     at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
     at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
     at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
     at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
     at javax.swing.AbstractButton.doClick(Unknown Source)
     at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
     at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(Unknown Source)
     at java.awt.Component.processMouseEvent(Unknown Source)
     at java.awt.Component.processEvent(Unknown Source)
     at java.awt.Container.processEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Window.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)

Hello,
Without more information, I can't determine what the problem is. This exception's english wording is "Object comparisons can only use the equal() or notEqual() operators. Other comparisons must be done through query keys or direct attribute level comparisons.", and implies that the query expression is using a Like operator where atleast one side of the comparison is an entity instead of a string value. Entity/object comparisons are only supported with the equal or notEqual comparisons.
Best Regards,
Chris

Similar Messages

  • Oracle.toplink.exceptions.ConcurrencyException

    Hi,
    We encountered a ConcurrencyException while running our batch process.
    - The have our minNumReadPoolsize = 5
    - The have our maxNumReadPoolsize = 20
    - read Pool is exclusive
    and we run our batch with 4 threads.
    Here is the stack trace.
    Any ideas?
    Thanks
    com.fmrco.gett.dataaccess.DAException: Exception while doing a commit
    at com.fmrco.gett.dataaccess.toplink.ToplinkDATransaction.commit(ToplinkDATransaction.java:115)
    at com.fmrco.compliance.cws.ipe.batch.IPETask.run(IPETask.java:159)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:642)
    at java.lang.Thread.run(Unknown Source)
    Caused by: Exception [TOPLINK-2003] (OracleAS TopLink - 10g (9.0.4.2) (Build 040311)): oracle.toplink.exceptions.ConcurrencyException
    Exception Description: Wait failure on ClientSession.
    Internal Exception: java.lang.InterruptedException
    at oracle.toplink.exceptions.ConcurrencyException.waitFailureOnClientSession(ConcurrencyException.java:44)
    at oracle.toplink.threetier.ConnectionPool.acquireConnection(ConnectionPool.java:72)
    at oracle.toplink.threetier.ServerSession.acquireClientConnection(ServerSession.java:272)
    at oracle.toplink.threetier.ClientSession.basicBeginTransaction(ClientSession.java:100)
    at oracle.toplink.publicinterface.Session.beginTransaction(Session.java:448)
    at oracle.toplink.publicinterface.UnitOfWork.beginTransaction(UnitOfWork.java:387)
    at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1066)
    at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1134)
    at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:955)
    at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:770)
    at com.fmrco.gett.dataaccess.toplink.ToplinkDATransaction.commit(ToplinkDATransaction.java:111)
    ... 3 more
    Caused by: java.lang.InterruptedException
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Unknown Source)
    at oracle.toplink.threetier.ConnectionPool.acquireConnection(ConnectionPool.java:70)
    ... 12 more
    20050512 05:22:19 EDT FATAL ipe.batch.IPETask [Thread-4] IPE Failed
    com.fmrco.gett.dataaccess.DAException: Exception while doing a commit
    at com.fmrco.gett.dataaccess.toplink.ToplinkDATransaction.commit(ToplinkDATransaction.java:115)
    at com.fmrco.compliance.cws.ipe.batch.IPETask.run(IPETask.java:159)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:642)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:258)
    at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:559)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2960)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:724)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:778)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:639)
    at oracle.toplink.publicinterface.UnitOfWork.executeCall(UnitOfWork.java:1397)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:134)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(CallQueryMechanism.java:115)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeNoSelectCall(CallQueryMechanism.java:167)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.updateObject(CallQueryMechanism.java:648)
    at oracle.toplink.internal.queryframework.StatementQueryMechanism.updateObject(StatementQueryMechanism.java:425)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.updateObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:1004)
    at oracle.toplink.queryframework.WriteObjectQuery.executeCommitWithChangeSet(WriteObjectQuery.java:107)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:258)
    at oracle.toplink.queryframework.WriteObjectQuery.execute(WriteObjectQuery.java:51)
    at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:493)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1958)
    at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(UnitOfWork.java:2252)
    at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1086)
    at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1038)
    at oracle.toplink.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:177)
    at oracle.toplink.publicinterface.Session.writeAllObjectsWithChangeSet(Session.java:3223)
    at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(UnitOfWork.java:1089)
    at oracle.toplink.publicinterface.UnitOfWork.commitToDatabaseWithChangeSet(UnitOfWork.java:1134)
    at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(UnitOfWork.java:955)
    at oracle.toplink.publicinterface.UnitOfWork.commit(UnitOfWork.java:770)
    at com.fmrco.gett.dataaccess.toplink.ToplinkDATransaction.commit(ToplinkDATransaction.java:111)

    The ConcurrencyException is occurring attempting to get a connection from the write-pool, not the read-pool. What size are you using for the write pool, ensure that it is large enough?
    Could you include your entire session configuration or sessions.xml file.
    Does the error only occur under heavy load, or does it start occurring after a certain point or after the null-pointer exception occurs?
    The null-pointer exception occurring in the JDBC driver is also very odd; the driver should never be encountering a null-pointer. Are you using the correct JDBC driver version for your database version?

  • TopLink Exception(TOPLINK-6075)

    Warning: Unhandled Exception thrown: class oracle.toplink.exceptions.QueryException
    [TopLink 警告]: 2009.11.20 03:25:53.917--ClientSession(8035327)--异常状况 [TOPLINK-6075] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.QueryException
    异常状况说明: 对象比较仅能使用 equal() 或 notEqual() 运算子. 其它比较则必须透过查询索引键或直接属性层次比较完成.
    表示式: [
    Relation operator LIKE
    Query Key coordinaid
    Base model.ACoordinator
    Constant D%]
    查询: ReadAllQuery(model.ACoordinator)

    Hello,
    Without more information, I can't determine what the problem is. This exception's english wording is "Object comparisons can only use the equal() or notEqual() operators. Other comparisons must be done through query keys or direct attribute level comparisons.", and implies that the query expression is using a Like operator where atleast one side of the comparison is an entity instead of a string value. Entity/object comparisons are only supported with the equal or notEqual comparisons.
    Best Regards,
    Chris

  • Exception [TOPLINK-46] (OracleAS TopLink - 10g (9.0.4) (Build 031126))

    Hi,
    I am using TopLink for simple Department-Employee relation, i have my project xml configured, But i am facing the problem with following exception
    Descriptor Exceptions:
    Exception [TOPLINK-46] (OracleAS TopLink - 10g (9.0.4) (Build 031126)): oracle.toplink.exceptions.DescriptorException
    Exception Description: There should be one non-read-only mapping defined for the primary key field [emp.empno].
    Descriptor: Descriptor(com.oracle.mssql.emp.toplink.EmpTopLinkBean --> [DatabaseTable(emp)])
    Runtime Exceptions:
    What could be the reason?
    Thanks
    Madhu

    My best guess would be that you have a 1:1 mapping from Employee to Department. This mapping represents part of the primary key.
    Make sure that your 1:1 mapping is not configured as read-only. Another issue is that you may have set the relationship as target foreign key. This has the same effect as read-only and is not applicable in the 1:1 returning from a 1:M.
    Doug

  • Toplink Exception in BPEL process

    Hi All,
    We get the attached error while running a BPEL process which uses a DBAdapter (which uses Toplink under the covers). Can you provide any pointers on why this exception might be happening.
    Exception Description: java.sql.SQLException: invalid arguments
    in call
    Internal Exception: java.sql.SQLException: invalid arguments
    in call
    Error Code: 17433.
    at
    oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:310)
    at
    oracle.tip.adapter.db.exceptions.DBResourceException.couldNotCreateTopLinkSessionException(DBResourceException.java:174)
    at
    oracle.tip.adapter.db.DBManagedConnectionFactory.acquireClientSession(DBManagedConnectionFactory.java:512)
    at oracle.tip.adapter.db.DBManagedConnection.getSession(DBManagedConnection.java:208)
    at oracle.tip.adapter.db.transaction.DBCciLocalTransaction.getSession(DBCciLocalTransaction.java:149)
    at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:143)
    at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:528)
    at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:164)
    at
    oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:458)
    at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452)
    at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327)
    at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.expire(BPELInvokeWMP.java:120)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:3868)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:2228)
    at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:145)
    at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:116)
    at
    IActivityManagerLocalBean_StatelessSessionBeanWrapper52.expireActivity(IActivityManagerLocalBean_StatelessSessionBeanWrapper52.java:645)
    at
    com.collaxa.cube.engine.dispatch.message.instance.ExpirationMessageHandler.handle(ExpirationMessageHandler.java:43)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
    at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:568)
    Caused by: Exception [TOPLINK-4002] (OracleAS TopLink - 10g
    (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: invalid arguments
    in call
    Internal Exception: java.sql.SQLException: invalid arguments
    in call
    Error Code: 17433
    at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:221)
    at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:105)
    at oracle.toplink.sessions.DatabaseLogin.connect(DatabaseLogin.java:218)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:398)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:423)
    at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:90)
    at oracle.toplink.threetier.ExternalConnectionPool.startUp(ExternalConnectionPool.java:114)
    at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:447)
    at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:531)
    at
    oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:648)
    at
    oracle.tip.adapter.db.DBManagedConnectionFactory.acquireClientSession(DBManagedConnectionFactory.java:329)
    ... 26 more
    Caused by: java.sql.SQLException: invalid arguments in call
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java(Compiled
    Code))
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:205)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:433)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:571)
    at com.evermind.sql.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:160)
    at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:100)
    ... 35 more
    <2007-05-22 12:47:15,075> <ERROR> <default.collaxa.cube.ws>
    <AdapterFramework::Outbound>
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    [ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
    ] - Rolling back JCA LocalTransaction
    <2007-05-22 12:47:15,075> <DEBUG> <default.collaxa.cube.ws>
    <AdapterFramework::Outbound>
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    [ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
    ] - Marking this exception as Retriable
    <2007-05-22 12:47:15,076> <DEBUG> <default.collaxa.cube.ws>
    <WSIFInvocationHandler::invoke> invoke failed
    org.collaxa.thirdparty.apache.wsif.WSIFException:
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    [ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
    ] - WSIF JCA Execute of operation 'ReceiveRequest' failed due
    to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    ; nested exception is:
    ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need
    to configure the connection settings in the deployment descriptor
    (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml)
    and restart the server. Caused by Exception [TOPLINK-4002]
    (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
    oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: invalid arguments
    in call
    Internal Exception: java.sql.SQLException: invalid arguments
    in call
    Error Code: 17433.
    at
    oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:570)
    at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452)
    at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327)
    at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.expire(BPELInvokeWMP.java:120)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:3868)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:2228)
    at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:145)
    at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:116)
    at
    IActivityManagerLocalBean_StatelessSessionBeanWrapper52.expireActivity(IActivityManagerLocalBean_StatelessSessionBeanWrapper52.java:645)
    at
    com.collaxa.cube.engine.dispatch.message.instance.ExpirationMessageHandler.handle(ExpirationMessageHandler.java:43)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
    at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:568)
    Caused by: ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need
    to configure the connection settings in the deployment descriptor
    (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml)
    and restart the server. Caused by Exception [TOPLINK-4002]
    (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
    oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: invalid arguments
    in call
    Internal Exception: java.sql.SQLException: invalid arguments
    in call
    Error Code: 17433.
    at
    oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:310)
    at
    oracle.tip.adapter.db.exceptions.DBResourceException.couldNotCreateTopLinkSessionException(DBResourceException.java:174)
    at
    oracle.tip.adapter.db.DBManagedConnectionFactory.acquireClientSession(DBManagedConnectionFactory.java:512)
    at oracle.tip.adapter.db.DBManagedConnection.getSession(DBManagedConnection.java:208)
    at oracle.tip.adapter.db.transaction.DBCciLocalTransaction.getSession(DBCciLocalTransaction.java:149)
    at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:143)
    at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:528)
    at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:164)
    at
    oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:458)
    ... 20 more
    Caused by: Exception [TOPLINK-4002] (OracleAS TopLink - 10g
    (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: invalid arguments
    in call
    Internal Exception: java.sql.SQLException: invalid arguments
    in call
    Error Code: 17433
    at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:221)
    at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:105)
    at oracle.toplink.sessions.DatabaseLogin.connect(DatabaseLogin.java:218)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:398)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:423)
    at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:90)
    at oracle.toplink.threetier.ExternalConnectionPool.startUp(ExternalConnectionPool.java:114)
    at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:447)
    at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:531)
    at
    oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:648)
    at
    oracle.tip.adapter.db.DBManagedConnectionFactory.acquireClientSession(DBManagedConnectionFactory.java:329)
    ... 26 more
    Caused by: java.sql.SQLException: invalid arguments in call
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java(Compiled
    Code))
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:205)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:433)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:571)
    at com.evermind.sql.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:160)
    at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:100)
    ... 35 more
    <2007-05-22 12:47:15,082> <DEBUG> <default.collaxa.cube.ws>
    <WSIFInvocationHandler::invoke> Fault happened:
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    [ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
    ] - WSIF JCA Execute of operation 'ReceiveRequest' failed due
    to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    ; nested exception is:
    ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need
    to configure the connection settings in the deployment descriptor
    (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml)
    and restart the server. Caused by Exception [TOPLINK-4002]
    (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
    oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: invalid arguments
    in call
    Internal Exception: java.sql.SQLException: invalid arguments
    in call
    Error Code: 17433.
    <2007-05-22 12:47:16,119> <DEBUG> <default.collaxa.cube.ws>
    <WSInvocationManager::invoke> operation: ReceiveRequest,
    partnerLink: <partnerLink name="DBReceiveRequest"
    partnerLinkType="{http://xmlns.oracle.com/pcbpel/adapter/db/ReceiveRequest/}ReceiveRequest_plt">
    <myRole name="null">
    <ServiceName>null</ServiceName>
    <PortType>null</PortType>
    <Address>null</Address>
    </myRole>
    <partnerRole name="ReceiveRequest_role">
    <ServiceName>{http://xmlns.oracle.com/pcbpel/adapter/db/ReceiveRequest/}ReceiveRequest</ServiceName>
    <PortType>{http://xmlns.oracle.com/pcbpel/adapter/db/ReceiveRequest/}ReceiveRequest_ptt</PortType>
    <Address>null</Address>
    </partnerRole>
    <conversationId>bpel://localhost/default/BPEL_XXP4UHRADRV~1.0/601-BpInv1-BpSeq2.6-1</conversationId>
    <properties>{}</properties>
    </partnerLink>
    <2007-05-22 12:47:16,120> <DEBUG> <default.collaxa.cube.ws>
    <WSInvocationManager::invoke> def is
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    <2007-05-22 12:47:16,120> <DEBUG> <default.collaxa.cube.ws>
    <WSIFInvocationHandler::invoke> opName=ReceiveRequest,
    parnterLink=<partnerLink name="DBReceiveRequest"
    partnerLinkType="{http://xmlns.oracle.com/pcbpel/adapter/db/ReceiveRequest/}ReceiveRequest_plt">
    <myRole name="null">
    <ServiceName>null</ServiceName>
    <PortType>null</PortType>
    <Address>null</Address>
    </myRole>
    <partnerRole name="ReceiveRequest_role">
    <ServiceName>{http://xmlns.oracle.com/pcbpel/adapter/db/ReceiveRequest/}ReceiveRequest</ServiceName>
    <PortType>{http://xmlns.oracle.com/pcbpel/adapter/db/ReceiveRequest/}ReceiveRequest_ptt</PortType>
    <Address>null</Address>
    </partnerRole>
    <conversationId>bpel://localhost/default/BPEL_XXP4UHRADRV~1.0/601-BpInv1-BpSeq2.6-1</conversationId>
    <properties>{}</properties>
    </partnerLink>
    <2007-05-22 12:47:16,120> <DEBUG> <default.collaxa.cube.ws>
    <WSIFInvocationHandler::doShortCut> Parner Property optShortCut
    <2007-05-22 12:47:16,126> <INFO> <default.collaxa.cube.ws>
    <AdapterFramework::Outbound>
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    [ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
    ] - Using JCA Connection Pool - max size = <unbounded>
    <2007-05-22 12:47:16,127> <DEBUG> <default.collaxa.cube.ws>
    <AdapterFramework::Outbound>
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    [ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
    ] - Looking up Resource Adapter JDNI location 'eis/DB/APPS'
    <2007-05-22 12:47:16,127> <DEBUG> <default.collaxa.cube.ws>
    <AdapterFramework::Outbound> Instantiating outbound JCA
    interactionSpec oracle.tip.adapter.db.DBStoredProcedureInteractionSpec
    <2007-05-22 12:47:16,127> <DEBUG> <default.collaxa.cube.ws>
    <AdapterFramework::Outbound> Populating outbound JCA interactionSpec
    oracle.tip.adapter.db.DBStoredProcedureInteractionSpec with
    properties: {ProcedureName=DEQ_REQ_MSG, PackageName=XXP4U_HRADRV_BPEL_PKG,
    SchemaName=APPS}
    <2007-05-22 12:47:16,139> <DEBUG> <default.collaxa.cube.ws>
    <AdapterFramework::Outbound>
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    [ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
    ] - No XMLRecord headers provided
    <2007-05-22 12:47:16,139> <DEBUG> <default.collaxa.cube.ws>
    <AdapterFramework::Outbound>
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    [ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
    ] - Starting JCA LocalTransaction
    <2007-05-22 12:47:16,139> <DEBUG> <default.collaxa.cube.ws>
    <AdapterFramework::Outbound>
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    [ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
    ] - Invoking JCA outbound Interaction
    <2007-05-22 12:47:16,154> <DEBUG> <default.collaxa.cube.ws>
    <Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory
    createServerSession> create a new ServerSession
    <2007-05-22 12:47:16,155> <DEBUG> <default.collaxa.cube.ws>
    <Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory
    createServerSession> The platform class name was specified as:
    oracle.toplink.internal.databaseaccess.Oracle9Platform
    <2007-05-22 12:47:16,156> <DEBUG> <default.collaxa.cube.ws>
    <Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory
    createServerSession> Using an app server connection pool. DataSource name is jdbc/OracleHRAppsDataSourceDS
    <2007-05-22 12:47:16,158> <DEBUG> <default.collaxa.cube.ws>
    <Database Adapter::Outbound> <oracle.tip.adapter.db.TopLinkLogger
    log> TopLink, version: OracleAS TopLink - 10g (9.0.4.5) (Build
    040930)
    <2007-05-22 12:47:16,159> <DEBUG> <default.collaxa.cube.ws>
    <Database Adapter::Outbound> <oracle.tip.adapter.db.TopLinkLogger
    log> connecting session: Not named
    <2007-05-22 12:47:16,159> <DEBUG> <default.collaxa.cube.ws>
    <Database Adapter::Outbound> <oracle.tip.adapter.db.TopLinkLogger
    log> connecting(DatabaseLogin(
    platform=>Oracle9Platform
    datasource name=>jdbc/OracleHRAppsDataSourceDS
    <2007-05-22 12:47:16,161> <ERROR> <default.collaxa.cube.ws>
    <Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory
    acquireClientSession> unable to build the TopLink Session
    <2007-05-22 12:47:16,162> <DEBUG> <default.collaxa.cube.ws>
    <Database Adapter::Outbound> <oracle.tip.adapter.db.DBManagedConnectionFactory
    acquireClientSession>
    Exception Description: java.sql.SQLException: invalid arguments
    in call
    Internal Exception: java.sql.SQLException: invalid arguments
    in call
    Error Code: 17433
    <2007-05-22 12:47:16,165> <ERROR> <default.collaxa.cube.ws>
    <AdapterFramework::Outbound>
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    [ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
    ] - Could not invoke operation 'ReceiveRequest' against the
    'Database Adapter' due to:
    ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need
    to configure the connection settings in the deployment descriptor
    (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml)
    and restart the server. Caused by Exception [TOPLINK-4002]
    (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
    oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: invalid arguments
    in call
    Internal Exception: java.sql.SQLException: invalid arguments
    in call
    Error Code: 17433.
    at
    oracle.tip.adapter.db.exceptions.DBResourceException.createEISException(DBResourceException.java:310)
    at
    oracle.tip.adapter.db.exceptions.DBResourceException.couldNotCreateTopLinkSessionException(DBResourceException.java:174)
    at
    oracle.tip.adapter.db.DBManagedConnectionFactory.acquireClientSession(DBManagedConnectionFactory.java:512)
    at oracle.tip.adapter.db.DBManagedConnection.getSession(DBManagedConnection.java:208)
    at oracle.tip.adapter.db.transaction.DBCciLocalTransaction.getSession(DBCciLocalTransaction.java:149)
    at oracle.tip.adapter.db.DBConnection.getSession(DBConnection.java:143)
    at oracle.tip.adapter.db.DBInteraction.executeStoredProcedure(DBInteraction.java:528)
    at oracle.tip.adapter.db.DBInteraction.execute(DBInteraction.java:164)
    at
    oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:458)
    at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452)
    at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327)
    at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.expire(BPELInvokeWMP.java:120)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:3868)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:2228)
    at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:145)
    at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:116)
    at
    IActivityManagerLocalBean_StatelessSessionBeanWrapper52.expireActivity(IActivityManagerLocalBean_StatelessSessionBeanWrapper52.java:645)
    at
    com.collaxa.cube.engine.dispatch.message.instance.ExpirationMessageHandler.handle(ExpirationMessageHandler.java:43)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
    at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:568)
    Caused by: Exception [TOPLINK-4002] (OracleAS TopLink - 10g
    (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: invalid arguments
    in call
    Internal Exception: java.sql.SQLException: invalid arguments
    in call
    Error Code: 17433
    at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:221)
    at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:105)
    at oracle.toplink.sessions.DatabaseLogin.connect(DatabaseLogin.java:218)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:398)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connect(DatabaseAccessor.java:423)
    at oracle.toplink.threetier.ConnectionPool.buildConnection(ConnectionPool.java:90)
    at oracle.toplink.threetier.ExternalConnectionPool.startUp(ExternalConnectionPool.java:114)
    at oracle.toplink.threetier.ServerSession.connect(ServerSession.java:447)
    at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:531)
    at
    oracle.tip.adapter.db.DBManagedConnectionFactory.createServerSession(DBManagedConnectionFactory.java:648)
    at
    oracle.tip.adapter.db.DBManagedConnectionFactory.acquireClientSession(DBManagedConnectionFactory.java:329)
    ... 26 more
    Caused by: java.sql.SQLException: invalid arguments in call
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java(Compiled
    Code))
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:239)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:205)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:433)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:150)
    at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:31)
    at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:571)
    at com.evermind.sql.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:160)
    at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:100)
    ... 35 more
    <2007-05-22 12:47:16,165> <ERROR> <default.collaxa.cube.ws>
    <AdapterFramework::Outbound>
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    [ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
    ] - Rolling back JCA LocalTransaction
    <2007-05-22 12:47:16,165> <DEBUG> <default.collaxa.cube.ws>
    <AdapterFramework::Outbound>
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    [ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
    ] - Marking this exception as Retriable
    <2007-05-22 12:47:16,165> <DEBUG> <default.collaxa.cube.ws>
    <WSIFInvocationHandler::invoke> invoke failed
    org.collaxa.thirdparty.apache.wsif.WSIFException:
    file:/oracle/crp1/BPEL/integration/orabpel/domains/default/tmp/.bpel_BPEL_XXP4UHRADRV_1.0.jar/ReceiveRequest.wsdl
    [ ReceiveRequest_ptt::ReceiveRequest(InputParameters,OutputParameters)
    ] - WSIF JCA Execute of operation 'ReceiveRequest' failed due
    to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    ; nested exception is:
    ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need
    to configure the connection settings in the deployment descriptor
    (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml)
    and restart the server. Caused by Exception [TOPLINK-4002]
    (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
    oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: invalid arguments
    in call
    Internal Exception: java.sql.SQLException: invalid arguments
    in call
    Error Code: 17433.
    at
    oracle.tip.adapter.fw.wsif.jca.WSIFOperation_JCA.executeRequestResponseOperation(WSIFOperation_JCA.java:570)
    at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452)
    at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327)
    at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.expire(BPELInvokeWMP.java:120)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:3868)
    at com.collaxa.cube.engine.CubeEngine.expireActivity(CubeEngine.java:2228)
    at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:145)
    at com.collaxa.cube.ejb.impl.ActivityManagerBean.expireActivity(ActivityManagerBean.java:116)
    at
    IActivityManagerLocalBean_StatelessSessionBeanWrapper52.expireActivity(IActivityManagerLocalBean_StatelessSessionBeanWrapper52.java:645)
    at
    com.collaxa.cube.engine.dispatch.message.instance.ExpirationMessageHandler.handle(ExpirationMessageHandler.java:43)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
    at
    com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:568)
    Caused by: ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need
    to configure the connection settings in the deployment descriptor
    (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml)
    and restart the server. Caused by Exception [TOPLINK-4002]
    (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)):
    oracle.toplink.exceptions.DatabaseException
    Exception Description: java.sql.SQLException: invalid arguments
    in call
    Internal Exception: java.sql.SQLException: invalid arguments
    in call
    Error Code: 17433.

    It looks like you are not providing a username or password in your DataSource.

  • Toplink exception

    Hi ,
    In asyncronous process , i am trying to connect database using DB adapter , i am getting this error . ( If i restart the server it is working for some time again same error getting)
    file:/opt/oracle/product/10.1.3.1/OracleAS1/bpel/domains/usa/tmp/.bpel_MesaReclass_1.0_9bf2415563f0b0f620c92a46ef10d243.tmp/selectifibpelk.wsdl [ selectifibpelk_ptt::selectifibpelkSelect(selectifibpelkSelect_inparameters,IfibpelkCollection) ] - WSIF JCA Execute of operation 'selectifibpelkSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    ; nested exception is:
         ORABPEL-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    See root exception for the specific exception. You may need to configure the connection settings in the deployment descriptor (i.e. $J2EE_HOME/application-deployments/default/DbAdapter/oc4j-ra.xml) and restart the server. Caused by Exception [TOPLINK-0] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.IntegrityException
    Descriptor Exceptions:
    Exception [TOPLINK-48] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DescriptorException
    Exception Description: Multiple writable mappings exist for the field [@version]. Only one may be defined as writable, all others must be specified read-only.
    Mapping: oracle.toplink.ox.mappings.XMLTransformationMapping[null]
    Descriptor: XMLDescriptor(oracle.toplink.sessions.Project --> [DatabaseTable(toplink:object-persistence)])
    Runtime Exceptions:
    java.lang.NullPointerException
    java.lang.NullPointerException
    Any one please provide solution
    Regards
    janardhan

    11622 this is the error where your connection pool and the data source for the connection pool might not be the same all you need to do is to create a connection pool and data source with same JNDI name and make use of that jndi name in your database adapter configuration as
    eg: eis/db/*******(watever name u create for the connection pool)
    this can solve your top link issue

  • Oracle Toplink - OptimisticLockException

    Hi
    I have a timestamp field in my table which is a Timestamp locking field. I could insert a record succesully in to the table,but when I try to update the same record or try to delete the record, I am getting the following exception
    [TOPLINK-5003] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.OptimisticLockException
    Exception Description: The object [] cannot be deleted because it has changed or been deleted since it was last read.
    Could any one help me in, how can I update/delete a record succesfully? but at the same time, I need to have the Timestamp locking policy on this field.

    Is the field stored in the Object? Are you updating the field in the object? Are you using StoredProcedures? Is the Optimistic Lock Exception being thrown for a legitimate reason (ie. the row has been updated on the database since the object was read into a UnitOfWork)?
    Perhaps more details on the lifecycle of the object in question (when is it read, how is it changed, are there any other applications changing the object) would help diagnose the issue.
    --Gordon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • TOPLINK Exception 7009

    Scenario:
    Creating an entity bean from a session bean
    Error message:
    javax.ejb.CreateException: EXCEPTION [EJB - 10001]: Exception creating bean of type [com.x.y.z.OrderBean].
    [EXCEPTION [TOPLINK-7009] (TopLink (WLS CMP) - 9.0.3.3 (Build Patch for 2992647)): oracle.toplink.exceptions.ValidationException
    EXCEPTION DESCRIPTION:
    Missing descriptor for [class java.math.BigDecimal]. Verify that the descriptor has been properly registered with the Session.]at oracle.toplink.internal.ejb.cmp.EJBExceptionFactory.createException(Unknown Source)

    Errors like "Missing descriptor for [class java.math.BigDecimal]" happen when you accidentally put a primitive wrapper where you have a Relationship mapping. For example, if you had a 1-M mapping and somehow put a BigDecimal in the collection, or accidentally mapped a BigDecimal as a 1-1 when really it should be a Direct-to-field, etc.
    - Don

  • Help with: oracle.toplink.essentials.exceptions.ValidationException

    hi guys,
    I really need ur help with this.
    I have a remote session bean that retrieves a list of books from the database using entity class and I call the session bean from a web service. The problem is that when i display the books in a jsp directly from the session bean everything works ok but the problem comes when I call the session bean via the web service than it throws this:
    Exception Description: An attempt was made to traverse a relationship using indirection that had a null Session. This often occurs when an entity with an uninstantiated LAZY relationship is serialized and that lazy relationship is traversed after serialization. To avoid this issue, instantiate the LAZY relationship prior to serialization.
    at oracle.toplink.essentials.exceptions.ValidationException.instantiatingValueholderWithNullSession(ValidationException.java:887)
    at oracle.toplink.essentials.internal.indirection.UnitOfWorkValueHolder.instantiate(UnitOfWorkValueHolder.java:233)
    at oracle.toplink.essentials.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:105)
    at oracle.toplink.essentials.indirection.IndirectList.buildDelegate(IndirectList.java:208)
    at oracle.toplink.essentials.indirection.IndirectList.getDelegate(IndirectList.java:330)
    at oracle.toplink.essentials.indirection.IndirectList$1.<init>(IndirectList.java:425)
    at oracle.toplink.essentials.indirection.IndirectList.iterator(IndirectList.java:424)
    at com.sun.xml.bind.v2.runtime.reflect.Lister$CollectionLister.iterator(Lister.java:278)
    at com.sun.xml.bind.v2.runtime.reflect.Lister$CollectionLister.iterator(Lister.java:265)
    at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeListBody(ArrayElementProperty.java:129)
    at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:152)
    at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:322)
    at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:681)
    at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.serializeItem(ArrayElementNodeProperty.java:65)
    at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeListBody(ArrayElementProperty.java:168)
    at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:152)
    at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:322)
    at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:681)
    at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:277)
    at com.sun.xml.bind.v2.runtime.BridgeImpl.marshal(BridgeImpl.java:100)
    at com.sun.xml.bind.api.Bridge.marshal(Bridge.java:141)
    at com.sun.xml.ws.message.jaxb.JAXBMessage.writePayloadTo(JAXBMessage.java:315)
    at com.sun.xml.ws.message.AbstractMessageImpl.writeTo(AbstractMessageImpl.java:142)
    at com.sun.xml.ws.encoding.StreamSOAPCodec.encode(StreamSOAPCodec.java:108)
    at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:258)
    at com.sun.xml.ws.transport.http.HttpAdapter.encodePacket(HttpAdapter.java:320)
    at com.sun.xml.ws.transport.http.HttpAdapter.access$100(HttpAdapter.java:93)
    at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:454)
    at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244)
    at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135)
    at com.sun.enterprise.webservice.JAXWSServlet.doPost(JAXWSServlet.java:176)
    ... 29 more
    This happens when I test the web service using netbeans 6.5.
    here's my code:
    session bean:
    ArrayList bookList = null;
    public ArrayList retrieveBooks()
    try
    List list = em.createNamedQuery("Book.findAll").getResultList();
    bookList = new ArrayList(list);
    catch (Exception e)
    e.getCause();
    return bookList;
    web service:
    @WebMethod(operationName = "retrieveBooks")
    public Book[] retrieveBooks()
    ArrayList list = ejbUB.retrieveBooks();
    int size = list.size();
    Book[] bookList = new Book[size];
    Iterator it = list.iterator();
    int i = 0;
    while (it.hasNext())
    Book book = (Book) it.next();
    bookList[i] = book;
    i++;
    return bookList;
    Please help guys, it's very urgent

    Yes i have a relationship but i didnt want it to be directly. Maybe this is a design problem but in my case I dont expect any criminals to be involved in lawsuit. My tables are like that:
    CREATE TABLE IF NOT EXISTS Criminal(
         criminal_id INTEGER NOT NULL AUTO_INCREMENT,
         gender varchar(1),
         name varchar(25) NOT NULL,
         last_address varchar(100),
         birth_date date,
         hair_color varchar(10),
         eye_color varchar(10),
         weight INTEGER,
         height INTEGER,
         PRIMARY KEY (criminal_id)
    ENGINE=INNODB;
    CREATE TABLE IF NOT EXISTS Lawsuit(
         lawsuit_id INTEGER NOT NULL AUTO_INCREMENT,
         courtName varchar(25),
         PRIMARY KEY (lawsuit_id),
         FOREIGN KEY (courtName) REFERENCES Court_of_Law(courtName) ON DELETE NO ACTION
    ENGINE=INNODB;
    CREATE TABLE IF NOT EXISTS Rstands_trial(
         criminal_id INTEGER,
         lawsuit_id INTEGER,
         PRIMARY KEY (criminal_id, lawsuit_id),
         FOREIGN KEY (criminal_id) REFERENCES Criminal(criminal_id) ON DELETE NO ACTION,
         FOREIGN KEY (lawsuit_id) REFERENCES Lawsuit(lawsuit_id) ON DELETE CASCADE
    ENGINE=INNODB;So I couldnt get it.

  • Oracle.toplink.essentials.exceptions.ValidationException

    Hi,
    In my EJB 3 application we added a Schema entity to our already existing Student entity.
    I added the followning code in the student entity:
    @OneToOne(cascade = CascadeType.ALL)
    @JoinColumn(
              nullable = true,
              name = "SCHEMA_ID"
    private Schema schema;
    After adding the Schema enity I tried to compile and run the tests. I got the following toplink error message (roughly):
    nternal Exception: Exception [TOPLINK-7250] (Oracle TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): oracle.toplink.essentials.exceptions.ValidationException
    Exception Description: [class se.myapp.subsytem.alpha.Student] uses a non-entity [class se.myapp.subsytem.domain.Schema] as target entity in the relationship attribute [private e.myapp.subsytem.domain.Schema].
    I found out that I had to change the persistence.xml but not why?
    I would be very happy if someone could shed some light in this matter since I have no clue why I must put it in the persistence.xml
    cheers,
    //mike

    You must either annotate every Entity with the @Entity annotation, or map it through the ORM.xml. All Entities must also define an @Id annotation.
    -- James : http://www.eclipselink.org

  • Oracle.toplink.internal.helper.NonSynchronizedVector exception

    I get following exception when invoking session bean from EJB client generated by JDev (EJB JPA project). Session bean returns the list of value objects created using TopLink Essentials based JPA native query. Does anybody know what is causing this exception and if there is a workaround?
    java.lang.ClassCastException: oracle.toplink.internal.helper.NonSynchronizedVector
    List<ProfileBasicVO> profiles = searchFacade.queryBasicProfilesByLastName( partialName );
    I get exception at this point:
    for( ProfileBasicVO profile: profiles ) {
    System.out.println( "lastName = " + profile.getLastName() );
    ...

    I changed the code to return List and I added mapping as a second parameter:
    public List queryBasicProfilesByLastName(String partialName) {
    Query basicProfileQuery =em.createNativeQuery( "findBasicProfilesByLastName", "BasicProfileResults" );
    return basicProfileQuery.getResultList();
    It fails with following exception:
    Internal Exception: java.sql.SQLException: SQL string is not QueryError Code: 17128
    and the query is defined as
    <query>
    select o.last_name as LAST_NAME,
    o.first_name as FIRST_NAME,
    o.middle_name as MIDDLE_NAME,
    o.birth_date as BIRTH_DATE,
    o.sex_code as SEX_CODE,
    a.height_cm as HEIGHT_CM,
    a.weight_kg as WEIGHT_KG,
    o.PERSON_ID as PERSON_ID
    from offenders o,
    person_bookings b,
    person_physical_attributes a
    where o.PERSON_ID = b.PERSON_ID
    and b.PERSON_BOOK_ID = a.PERSON_BOOK_ID
    and o.last_name = 'POTTER'
    </query>
    Mapping is defined as:
    <sql-result-set-mapping name="BasicProfileResults">     
    <entity-result entity-class="entities.Persons">
    <field-result column="LAST_NAME" name="lastName"/>
    <field-result column="FIRST_NAME" name="firstName"/>
    <field-result column="MIDDLE_NAME" name="middleName"/>
    <field-result column="BIRTH_DATE" name="birthDate"/>
    <field-result column="SEX_CODE" name="sexCode"/>
    <field-result column="PERSON_ID" name="personId"/>
    </entity-result>
    <entity-result entity-class="entities.PersonPhysicalAttributes">
    <field-result column="HEIGHT_CM" name="heightCm"/>
    <field-result column="WEIGHT_KG" name="weightKg"/>
    </entity-result>
    </sql-result-set-mapping>
    I can execute the query manually without problem, i.e. it is valid query, but I still get exception

  • TopLink exceptions

    When I am adding a new object to the existing Toplink map and while creating Java objects from existing tables, I am getting the following exception and Java object creation process is stuck and I have to exit the Jdeveloper by terminating the process. Is this bug or any issue with Toplink map, I mean is the TopLink map got corrupted? If so, is there any solution to fix Toplink map. I will higly appreciate if someone respond quickly.
    Thanks in Advance
    java.lang.NullPointerException
         at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:101)
         at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1102)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:269)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:206)
         at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
         at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
         at java.lang.Thread.run(Thread.java:595)
    java.util.ConcurrentModificationException
         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:787)
         at java.util.HashMap$EntryIterator.next(HashMap.java:829)
         at java.util.HashMap$EntryIterator.next(HashMap.java:827)
         at oracle.ideimpl.controls.SwitchablePanel.getTabPageForComponent(SwitchablePanel.java:556)
         at oracle.ideimpl.controls.FlatTabbedWindow.getTabPageForComponent(FlatTabbedWindow.java:304)
         at oracle.ideimpl.log.TabbedPage.getTabPageForLogPage(TabbedPage.java:238)
         at oracle.ideimpl.log.TabbedLogManager.getMsgPage(TabbedLogManager.java:100)
         at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1102)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:269)
         at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:206)
         at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
         at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
         at java.lang.Thread.run(Thread.java:595)

    Hi,
    My web application configured on jdeveloper, jsf, toplink has already a data base configured, i am trying to connect to another database which leads to multiple data bases through session broker. But i am not using session manager to acquire session rather using Session factory which takes Environment.getTopLinkSessionName() to locate session. I am getting below exception when deployed.
    Internal Exception: java.sql.SQLException: ORA-00942: table or view does not exist
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:317)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:67)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CSFacade_LocalProxy_59gcb4h.findAcctHouseholdClaims(Unknown Source)
         at com.allstate.amc.view.delegates.AMCLookups.findAcctHouseholdClaims(AMCLookups.java:495)
         at com.allstate.amc.view.backing.MyMembership.getClaims(MyMembership.java:113)
         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:585)

  • Data truncation with oracle.toplink.internal.databaseaccess.OraclePlatform

    Hello everyone
    I use Toplink 10g(9.0.4.5) with Oracle Lite database. I use the oracle.toplink.internal.databaseaccess.OraclePlatform and everything seems to be fine, except that when I pass a String more than the length defined in the Database, data is getting truncated to the maximum possible length in the Database and no exception is thrown. If I run a SQL statement directly on the Oracle Lite database using msql "value too large for column" exception is thrown.
    The question is it the default behviour of oracle.toplink.internal.databaseaccess.OraclePlatform to truncate the data for the large Strings? How can i change this behaviour to throw an exception?
    Any information on this would be highly appreciated.
    Thanks in advance..

    Thanks for the reply.
    But my tests are pointing towards ToplinkPlatform only. I use the oracle.lite.poljdbc.POLJDBCDriver with Oracle Database Lite, and when I do a simple test to insert a large String wiht plaing JDBC and POLJDBCDriver, i receive the following error.
    [POL-2403] value too large for column
    However if i did the same using Toplink and oracle.toplink.internal.databaseaccess.OraclePlatform, the SQL statement generated by Toplink does not throw any errors. When i query the database, i see that the data is truncated. I use the same oracle.lite.poljdbc.POLJDBCDriver with Toplink.
    <session>
    <name>testLite</name>
    <project-class>com.entityobjects.mappings.testLite</project-class>
    <session-type>
    <server-session/>
    </session-type>
    <login>
    <driver-class>oracle.lite.poljdbc.POLJDBCDriver</driver-class>
    <connection-url>jdbc:polite:POLITE;DataDirectory=C:\;Database=testLite;</connection-url>
    <platform-class>oracle.toplink.internal.databaseaccess.OraclePlatform</platform-class>
    <user-name>test1</user-name>
    <password>test1</password>
    <should-bind-all-parameters>true</should-bind-all-parameters></login>
    <enable-logging>true</enable-logging>
    <logging-options/>
    </session>
    I do not want to add a check at the object setter level, as the same object model is used in different projects and published across.
    Any more ideas why data is getting truncated?
    Thanks in advance for any suggestions..

  • Oracle Toplink Jaxb mapping

    Hi,
    i try to use the developer Preview 3(10.1.3.0)workbench
    and it work fine with simple java class (two xml files generation).
    But with java servlet who use the same classes nothing
    work i got some exception :
    05/03/01 08:24:33 exceptionProvider oracle.toplink.ox.jaxb.JAXBContextFactory could not be instantiated: java.lang.NoSuchMethodError: oracle.toplink.publicinterface.Session oracle.toplink.tools.sessionmanagement.SessionManager.getSession(oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader, java.lang.String, java.lang.ClassLoader, boolean, boolean)
    I have also a strange message in the log window in jdev 9052 :
    Cutting log (size: 101767, max: 100000)Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIFileOutputStream.write]Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIFileOutputStream.write]Component returned failure code: 0x80470002 (NS_BASE_STREAM_CLOSED) [nsIFileOutputStream.write]Cutting log (size: 101866, max: 100000)Error cleaning up log: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsISeekableStream.seek]
    Thank you for your help.

    The version of TopLink on your application server class path may be an older version of TopLink that does not contain the method mentioned in the stack trace.
    If you are using OC4J the toplink.jar can be found in the following location:
    &lt;OC4J_HOME&gt;\toplink\jlib\toplink.jar
    The 10.1.3 DP3 version of OC4J can be found on OTN in the following location:
    http://www.oracle.com/technology/software/products/ias/preview.html

  • Oracle.toplink errors, but no toplink installed? (10G, SRDemo)

    Hello, I installed the Chapter 4 SRDemo on my machine, and I am receiving an error. (at bottom)
    However, I am able to connect to the database without any problems, have been using the same database connection for over a month, but wanted to trying doing the EJBs and following the SRDemo tutorial.
    This locks my account, so it is using the correct account name (Which is not the same as the default from the demo)
    What is really confusing me is the references to TopLink everwhere. I do not have TopLink installed. When I try to debug when I step into the line where the error is thrown it tells me "Unable to find source file for package oracle.toplink.essentials.exceptions, filename TopLinkException.java.
    Here is the error I receive on running the ServiceRequestFacadeClientEmbed.java in the SRDemo:
    Mar 16, 2009 12:05:14 PM oracle.toplink.essentials.session.file:/C:/TEMP/oratemp/SRDEMO/Model/classes/-Model
    INFO: TopLink, version: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))
    Mar 16, 2009 12:05:14 PM oracle.toplink.essentials.session.file:/C:/TEMP/oratemp/SRDEMO/Model/classes/-Model
    INFO: Server: unknown
    Mar 16, 2009 12:05:16 PM com.evermind.server.ejb.logging.EJBMessages logException
    SEVERE: [ServiceRequestFacade:public org.srdemo.persistence.Products org.srdemo.business.ServiceRequestFacadeBean.findProductById(java.lang.Long)] exception occurred during method invocation: oracle.oc4j.rmi.OracleRemoteException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Error Code: 1017; nested exception is:
         Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    ....

    OK... so I started with a new try. (Same machine) Edit --- installed Oracle and JDev on a new machine, got the exact same results.
    Downloaded JDeveloper 10G
    Extracted to new directory.
    New application - accepted all defaults.
    New Business Tier->EJB->Entities from Tables
    Substep - New Database Connection Accepted defaults, entered user name and password, entered hostname (not on localhost) and sid. Tested connection (Success!)
    Selected only Address Table and accept all defaults.
    project1.Addresses.java is created.
    New Session Bean -> accepted all defaults
    SessionEJBBean.java is created
    New Sample Java Client -> accepted all defaults
    SessionEJBClient.java is created
    Ran SessionEJBBean.java
    [Starting OC4J using the following ports: HTTP=8989, RMI=23891, JMS=9227.]
    C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\config>
    C:\Jdev10-2\jdk\bin\javaw.exe -client -classpath C:\Jdev10-2\j2ee\home\oc4j.jar;C:\Jdev10-2\jdev\lib\jdev-oc4j-embedded.jar -Xverify:none -XX:MaxPermSize=256m -DcheckForUpdates=adminClientOnly -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false oracle.oc4j.loader.boot.BootStrap -config C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\dms.war...
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Unjar C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\dms.war in C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\dms
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Finished auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\dms.war
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\connectors\datasources\datasources.rar...
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Unjar C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\connectors\datasources\datasources.rar in C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\connectors\datasources\datasources
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Finished auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\connectors\datasources\datasources.rar
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags.ear...
    Mar 17, 2009 10:54:42 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Unjar C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags.ear in C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags
    Mar 17, 2009 10:54:43 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Finished auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags.ear
    Mar 17, 2009 10:54:43 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags\webapp.war...
    Mar 17, 2009 10:54:43 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Unjar C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags\webapp.war in C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags\webapp
    Mar 17, 2009 10:54:46 AM oracle.oc4j.util.FileUtils autoUnpack
    INFO: Finished auto-unpacking C:\Jdev10-2\jdev\system\oracle.j2ee.10.1.3.42.70\embedded-oc4j\applications\datatags\webapp.war
    Mar 17, 2009 10:54:46 AM com.evermind.server.XMLApplicationServerConfig randomizeJtaAdminPassword
    INFO: Updating JtaAdmin account
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 31654 ms.
    09/03/17 10:54:51 Oracle Containers for J2EE 10g (10.1.3.4.0)  initializedRun SessionEJBClient.java
    Mar 17, 2009 10:55:30 AM oracle.j2ee.rmi.RMIMessages EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
    WARNING: Exception returned by remote server: {0}
    javax.ejb.EJBException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Error Code: 1017; nested exception is:
         Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Error Code: 1017; nested exception is: oracle.oc4j.rmi.OracleRemoteException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Error Code: 1017; nested exception is:
         Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Error Code: 1017
    oracle.oc4j.rmi.OracleRemoteException: Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: ORA-01017: invalid username/password; logon denied
    Error Code: 1017
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:346)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:75)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at SessionEJB_RemoteProxy_11o700f.queryAddressesFindAll(Unknown Source)
         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:585)
         at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    .....So I would really appreciate any help, I have no good idea where to go next. I'm going to go try wiping a machine in the next cube and installing Oracle from scratch too.
    Thanks,
    Jeff
    Edited by: jeffles on Mar 17, 2009 9:49 AM

Maybe you are looking for

  • How to wrap the long text in page when the item is a messageStyledText

    Hi, I have one region which is a labeledfieldRN and two items under this RN which are messageStyledText.Now, those items are mapped to two VO attributes.Both are VARCHAR2(240). While running the page all 240 characters are appearing for these two fie

  • X-Fi Xtreme Gamer Fatality Pro Vista x64 Drivers Unavailabl

    How come there arent any dirvers for my X-Fi Xtreme Gamer Fatality Pro for Vista x64 ? Keeps saying.. "No Update Available"Message Edited by RudeBoyNvidia on 06-26-200709:50 PM

  • Three seperate layers or not

    Hi Everybody, Using three tiered architecture is an industry wide accepted standard for developing good applications. But what do u tell people who refuse to accept that. I'm sure atleast some of you would have had to work with people who have strong

  • Help...java.io.IOException Problem

    Hello, I am having problems running Weblogic 4.5.1 as Windows NT Service but no problems when running from command window. The configuration is such: Hardware: Dual Processor PIII, 1GB memory, 2 NICs, mirrored internal RAID SCSI drive on Compaq 1850R

  • I can't open the software download for UniversalBrowser from Canon

    I just bought a Canon VIXIA HFR400 and to transfer mp4's to my computer I need to instal UniversalBrowser but it goes to open and then doesn't each time I click on it to instal. Is there something I'm doing wrong?