Continuum
  1. Continuum
  2. CONTINUUM-1355

No admin user found after Tomcat shutdown (Tomcat doesn't shutdown properly)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1-beta-1
    • Fix Version/s: 1.1-beta-4
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux, Tomcat 5.5.17

      Description

      Hi,

      using the latest snapshot (from yesterday) running on Tomcat 5.5.17. After the Tomcat kill and running again, Continuum starts with "Create Admin User" page saying "No admin user found" in the log.

      This has been experienced even with the older versions (1.1 snapshots).

      1. continuum.xml
        0.8 kB
        Pavel Halas

        Issue Links

          Activity

          Pavel Halas created issue -
          Hide
          Jesse McConnell added a comment -

          this sounds like the user database is not getting linked up correctly with tomcat or something..

          what database are you using, the derby one or are you setting up jndi goop in tomcat?

          Show
          Jesse McConnell added a comment - this sounds like the user database is not getting linked up correctly with tomcat or something.. what database are you using, the derby one or are you setting up jndi goop in tomcat?
          Hide
          Pavel Halas added a comment -

          Tomcat context definition file.

          Show
          Pavel Halas added a comment - Tomcat context definition file.
          Pavel Halas made changes -
          Field Original Value New Value
          Attachment continuum.xml [ 28732 ]
          Hide
          Pavel Halas added a comment -

          You can take a look at the config file – Derby is used as a data source.

          I admit it might be purely Tomcat or Derby issue – this happens when Tomcat needs to be killed (kill -9) and the database hence is not parked properly – that's my guess. So the question might be "Why tomcat needs to be killed?" or "Why Derby is not able to recover after shut down?"...

          I'm waiting for anyone else dealing with the same to provide some additional remarks.

          Thanks.

          Show
          Pavel Halas added a comment - You can take a look at the config file – Derby is used as a data source. I admit it might be purely Tomcat or Derby issue – this happens when Tomcat needs to be killed (kill -9) and the database hence is not parked properly – that's my guess. So the question might be "Why tomcat needs to be killed?" or "Why Derby is not able to recover after shut down?"... I'm waiting for anyone else dealing with the same to provide some additional remarks. Thanks.
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          Which tomcat version do you use ?
          IMHO The shutdown doesn't work properly with tomcat due to the ehcache shutdowHook which failed witn an NPE.
          Looks related to http://issues.apache.org/bugzilla/show_bug.cgi?id=40212.
          A solution is to upgrade ehcache to version 1.3 which has a shutdowhook off by default. (testing with tomcat 6.0.14 and works fine)
          Can you try with manual replace of ehcache jar in continuum webapp ?
          Thanks

          Show
          Olivier Lamy (*$^¨%`£) added a comment - Which tomcat version do you use ? IMHO The shutdown doesn't work properly with tomcat due to the ehcache shutdowHook which failed witn an NPE. Looks related to http://issues.apache.org/bugzilla/show_bug.cgi?id=40212 . A solution is to upgrade ehcache to version 1.3 which has a shutdowhook off by default. (testing with tomcat 6.0.14 and works fine) Can you try with manual replace of ehcache jar in continuum webapp ? Thanks
          Olivier Lamy (*$^¨%`£) made changes -
          Assignee Olivier Lamy [ olamy ]
          Fix Version/s 1.1-beta-4 [ 13727 ]
          Joakim Erdfelt made changes -
          Link This issue relates to MRM-213 [ MRM-213 ]
          Olivier Lamy (*$^¨%`£) made changes -
          Summary No admin user found after Tomcat shutdown No admin user found after Tomcat shutdown (Tomcat doesn't shutdown properly)
          Hide
          Olivier Lamy (*$^¨%`£) added a comment -

          upgrade ehcache version to 1.3.0 in rev 578388.

          Show
          Olivier Lamy (*$^¨%`£) added a comment - upgrade ehcache version to 1.3.0 in rev 578388.
          Olivier Lamy (*$^¨%`£) made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 08:36:01 UTC 2015 [ 1428222961749 ]
          Mark Thomas made changes -
          Workflow jira [ 12710023 ] Default workflow, editable Closed status [ 12739724 ]
          Mark Thomas made changes -
          Project Import Sun Apr 05 21:12:18 UTC 2015 [ 1428268338676 ]
          Mark Thomas made changes -
          Workflow jira [ 12947273 ] Default workflow, editable Closed status [ 12985301 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Closed Closed
          56d 22h 17m 1 Olivier Lamy (*$^¨%`£) 22/Sep/07 03:31

            People

            • Assignee:
              Olivier Lamy (*$^¨%`£)
              Reporter:
              Pavel Halas
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development