2 Replies Latest reply: Apr 6, 2009 4:41 AM by 653968 RSS

    Exception TOPLINK-23004: oracle.toplink.exceptions.TransactionException

    639430

      Hi All,



      In my bpel process, I am using DB sensor.
      Previously it is working fine(sensor values are inserted into variable_sensor_values).
      But now it is not working now.
      As per OPMN log details, the error details are as given below.
      I have already tried suggestions mentioned existing forum discussions related to the same problem.
      pls help me with some other solutions soon, considering it on high priority.

      Thank you.



      ...........................................................................................................................................................................................................................


      Data Publisher failed.
      The Reporting Data Publisher SensorAction failed.
      Please examine the log file for more details.

      at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publish(BpelPublisher.java:137)
      at com.collaxa.cube.engine.sensor.registry.BpelSensorActionInfo.publish(BpelSensorActionInfo.java:148)
      at com.collaxa.cube.engine.sensor.sa.DataRouter.send(DataRouter.java:93)
      ... 50 more
      Caused by: Exception [TOPLINK-23004|http://forums.oracle.com/forums/] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.TransactionException
      Exception Description: Error obtaining the Transaction Manager
      Internal Exception: Exception [TOPLINK-23001|http://forums.oracle.com/forums/] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.TransactionException
      Exception Description: Error looking up external Transaction resource under JNDI name java:comp/pm/TransactionManager
      Internal Exception: javax.naming.NameNotFoundException: Name does not exist in the environment naming context
      at oracle.toplink.exceptions.TransactionException.errorObtainingTransactionManager(TransactionException.java:112)
      at oracle.toplink.transaction.JTATransactionController.<init>(JTATransactionController.java:53)
      at oracle.toplink.transaction.oc4j.Oc4jTransactionController.<init>(Oc4jTransactionController.java:20)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
      at java.lang.Class.newInstance0(Class.java:354)
      at java.lang.Class.newInstance(Class.java:307)
      at oracle.toplink.internal.security.PrivilegedAccessController.newInstanceFromClass(PrivilegedAccessController.java:542)
      at oracle.toplink.platform.server.ServerPlatformBase.initializeExternalTransactionController(ServerPlatformBase.java:194)
      at oracle.toplink.publicinterface.DatabaseSession.login(DatabaseSession.java:499)
      at com.collaxa.cube.engine.sensor.sa.publisher.toplink.ToplinkPublisher.getServer(ToplinkPublisher.java:228)
      at com.collaxa.cube.engine.sensor.sa.publisher.toplink.ToplinkPublisher.createToplinkSession(ToplinkPublisher.java:273)
      at com.collaxa.cube.engine.sensor.sa.publisher.toplink.ToplinkPublisher.publish(ToplinkPublisher.java:318)
      at com.collaxa.cube.engine.sensor.sa.FilteredToplinkDataPublisher.publish(FilteredToplinkDataPublisher.java:104)
      at com.collaxa.cube.engine.sensor.sa.BpelPublisher.publish(BpelPublisher.java:129)
      ... 52 more
      Caused by: Exception [TOPLINK-23001|http://forums.oracle.com/forums/] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070608)): oracle.toplink.exceptions.TransactionException
      Exception Description: Error looking up external Transaction resource under JNDI name java:comp/pm/TransactionManager
      Internal Exception: javax.naming.NameNotFoundException: Name does not exist in the environment naming context
      at oracle.toplink.exceptions.TransactionException.jndiLookupException(TransactionException.java:34)
      at oracle.toplink.transaction.AbstractTransactionController.jndiLookup(AbstractTransactionController.java:396)
      at oracle.toplink.transaction.oc4j.Oc4jTransactionController.acquireTransactionManager(Oc4jTransactionController.java:28)
      at oracle.toplink.transaction.JTATransactionController.<init>(JTATransactionController.java:51)
      ... 67 more
      Caused by: javax.naming.NameNotFoundException: Name does not exist in the environment naming context
      at oracle.oc4j.environment.naming.java.javaURLContext.lookup(javaURLContext.java:33)
      at javax.naming.InitialContext.lookup(InitialContext.java:351)
      at oracle.toplink.transaction.AbstractTransactionController.jndiLookup(AbstractTransactionController.java:394)
      ... 69 more
      09/03/06 12:16:10 <sensors xmlns="http://xmlns.oracle.com/bpel/sensor">
      <sensor sensorName="VariableSensor" classname="oracle.tip.pc.services.reports.dca.agents.BpelVariableSensorAgent" kind="variable" target="$RequestId" xmlns:pc="http://xmlns.oracle.com/bpel/sensor" xmlns:tns="http://xmlns.oracle.com/Billing_LatefeeWriteOffDebtAdj">
      <variableConfig outputDataType="string" outputNamespace="http://www.w3.org/2001/XMLSchema"/>
      </sensor>
      </sensors>

      09/03/06 12:16:17 <sensors xmlns="http://xmlns.oracle.com/bpel/sensor">
      <sensor sensorName="VariableSensor" classname="oracle.tip.pc.services.reports.dca.agents.BpelVariableSensorAgent" kind="variable" target="$RequestId" xmlns:pc="http://xmlns.oracle.com/bpel/sensor" xmlns:tns="http://xmlns.oracle.com/Billing_LatefeeWriteOffDebtAdj">
      <variableConfig outputDataType="string" outputNamespace="http://www.w3.org/2001/XMLSchema"/>
      </sensor>
      </sensors>

      09/03/06 12:17:31 <sensors xmlns="http://xmlns.oracle.com/bpel/sensor">
      <sensor sensorName="VariableSensor" classname="oracle.tip.pc.services.reports.dca.agents.BpelVariableSensorAgent" kind="variable" target="$RequestId" xmlns:pc="http://xmlns.oracle.com/bpel/sensor" xmlns:tns="http://xmlns.oracle.com/Billing_LatefeeWriteOffDebtAdj">
      <variableConfig outputDataType="string" outputNamespace="http://www.w3.org/2001/XMLSchema"/>
      </sensor>
      </sensors>

      <2009-03-06 12:21:03,527> <ERROR> <default.collaxa.cube.sensor> <DataRouter::send> error
      ORABPEL-20301
      ...................................................................................................................................................................................................................