java.lang.IllegalStateException: Non-transactional command attempted in transaction

Oracle Community | Tim K. | 1 year ago
  1. 0
    Update to Grails 3.0.x
  2. 0
    All look like I had something else running on my machine that was interfering with it. Once I rebooted it runs without issue.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0
    Check if there is no nexus running. If not, delete sonatype-work/nexus/nexus.lock .
  5. 0
    The solution is to run as root using sudo or to set different port in "application.properties" file, e.g. server.port=${port:8181}

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      Non-transactional command attempted in transaction

      at oracle.disco.model.corbaserver.ServerAPIState.outsideTransaction()
    2. oracle.disco.model
      WorkbookImpl.closeWorkbook
      1. oracle.disco.model.corbaserver.ServerAPIState.outsideTransaction(Unknown Source)
      2. oracle.disco.model.corbaserver.serverrequest.DsrGeneralCorbaXML.outsideTransaction(Unknown Source)
      3. oracle.disco.model.corbaserver.serverrequest.DsrCloseWorkbook.xmlUpdateServer(Unknown Source)
      4. oracle.disco.model.corbaserver.serverrequest.DsrCorbaXML.corbaUpdateServer(Unknown Source)
      5. oracle.disco.model.corbaserver.serverrequest.DsrGeneralCorbaXML.updateServer(Unknown Source)
      6. oracle.disco.model.corbaserver.execengine.ExecuteEngineImpl._nonReentrantExecute(Unknown Source)
      7. oracle.disco.model.corbaserver.execengine.ExecuteEngineImpl.execute(Unknown Source)
      8. oracle.disco.model.corbaserver.execengine.SessionControllerImpl.execute(Unknown Source)
      9. oracle.disco.model.corbaserver.execengine.SessionControllerImpl.execute(Unknown Source)
      10. oracle.disco.model.corbaserver.Discoverer.closeActiveWorkbook(Unknown Source)
      11. oracle.disco.model.corbaserver.SessionImpl.closeActiveWorkbook(Unknown Source)
      12. oracle.disco.model.corbaserver.WorkbookImpl.closeWorkbook(Unknown Source)
      12 frames
    3. oracle.disco.worker
      DiscoWorker.runWorker
      1. oracle.disco.worker.MiscellaneousWorker$1.runDiscoWorker(Unknown Source)
      2. oracle.disco.worker.DiscoWorker.runWorker(Unknown Source)
      2 frames
    4. oracle.bali.ewt
      ThreadWorkerQueue$TaskAdapter.runTask
      1. oracle.bali.ewt.worker.AbstractWorker.run(Unknown Source)
      2. oracle.bali.ewt.worker.AbstractWorkerQueue._runWorker(Unknown Source)
      3. oracle.bali.ewt.worker.AbstractWorkerQueue.access$100(Unknown Source)
      4. oracle.bali.ewt.worker.AbstractWorkerQueue$WorkerContext._run(Unknown Source)
      5. oracle.bali.ewt.worker.AbstractWorkerQueue$WorkerContext._runMaybeBlocked(Unknown Source)
      6. oracle.bali.ewt.worker.AbstractWorkerQueue$WorkerContext.run(Unknown Source)
      7. oracle.bali.ewt.worker.ThreadWorkerQueue$TaskAdapter.runTask(Unknown Source)
      7 frames
    5. oracle.bali.share
      Timer.run
      1. oracle.bali.share.thread.TaskScheduler.runTask(Unknown Source)
      2. oracle.bali.share.thread.TaskScheduler.processTask(Unknown Source)
      3. oracle.bali.share.thread.TaskScheduler$TaskQueue.run(Unknown Source)
      4. oracle.bali.share.thread.Timer.doRun(Unknown Source)
      5. oracle.bali.share.thread.Timer.run(Unknown Source)
      5 frames
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame