1 Reply Latest reply: Nov 27, 2007 5:03 PM by 843829 RSS

    Unexpected error detected by HotSpot Virtual Machine - Ugent please help!

    843829
      I have a rather strange error somehow related to cron, i guess.

      Application runs no problem when just manually typing command line to run, or use nohup and ' & ' to run in background. However if i put it in cron to schedule it to run. The error message said:

      An unexpected error has been detected by HotSpot Virtual Machine
      SIGSEGV (0xb) at pc=0xfeaa5084, pid=4519, tid=1
      Java VM: Java HotSpot(TM) Server VM (1.5.0_06-erdist-20060404 mixed mode)
      Problematic frame:
      V [libjvm.so+0x2a5084]
      .....

      The system is
      SunOS 5.10 Generic January 2005

      We use IBM WebSphere Java VM

      There's a log file that has a lot of info. It indicates before the crash at libjvm.so, libocijdbc10.so is called. It seems native code is called.

      I tried test program that does not have jdbc code and it works fine from cron. So seem something to do with that oracle oci native code.

      But why only happens from cron?

      Is it true if the app run from cron will have different user ID? What user ID cron itself has?

      Thanks for your helps!
      gary