"java.lang.InternalError: TX was null"


EJB programming & troubleshooting: "java.lang.InternalError: TX was null"

  1. "java.lang.InternalError: TX was null" (2 messages)

    "I am getting the following error.I am using bmp,sls,jsp.Can any one tell what mmight be the exact reason for that. Exception is com.evermind.server.rmi.OrionRemoteException: Transaction was rolled back: Error in transaction: java.lang.InternalError: TX was null; nested exception is:
    java.lang.InternalError: TX was null"
  2. Are you trying to give transactions to the View? This exception genarally comes when the rollback takes place and on the course of rollback it tries to rollback the Transaction. So the container is trying to rollback a transaction which does not exists.
  3. "Hi,

    Here it is printing the last statement od the Statelesssession bean (From which i am invoking a call to BeanManaged EntityBean's findByPrimaryKey). Once it is completely execution the commit operation at database side, throwing exception at JSP page."