Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Release 1.0-RC2
    • Fix Version/s: Release 1.1
    • Component/s: Server
    • Labels:
      None

      Description

      A user has problems when shuting down Tomcat in that Tomcat hangs and must be closed using a kill-9. This maybe linked to the derby.related problems. Based on conversations on the lift list (http://groups.google.com/group/liftweb/browse_thread/thread/bf498414b18d4226/4299ce36a03749f0?show_docid=4299ce36a03749f0) the solution may be to use StandardDBVendor.

      An initial step may be to add "LiftRules.unloadHooks.append(() => dbVendor.closeAllConnections_!()) " to Boot.scala

        Activity

        Dick Hirsch created issue -
        Hide
        Ethan Jewett added a comment -

        From Dick's message to the mailing list:

        I just looked and if we want to use the StandardDBVendor we will have
        to rewrite the object DBVendor to use the StandardDBVendor.

        Here is a blog with details / examples:
        http://jgoday.wordpress.com/2009/12/25/lift-testing-with-dbunit-and-specs/

        Show
        Ethan Jewett added a comment - From Dick's message to the mailing list: I just looked and if we want to use the StandardDBVendor we will have to rewrite the object DBVendor to use the StandardDBVendor. Here is a blog with details / examples: http://jgoday.wordpress.com/2009/12/25/lift-testing-with-dbunit-and-specs/
        Dick Hirsch made changes -
        Field Original Value New Value
        Affects Version/s Release 1.0-RC2 [ 12314801 ]
        Affects Version/s Backlog [ 12314285 ]
        Dick Hirsch made changes -
        Fix Version/s Release 1.0-RC2 [ 12314801 ]
        Fix Version/s Backlog [ 12314285 ]
        Ethan Jewett made changes -
        Fix Version/s Release 1.1 [ 12314823 ]
        Fix Version/s Release 1.0-RC2 [ 12314801 ]
        Show
        Dick Hirsch added a comment - Here is another example: http://groups.google.com/group/liftweb/browse_thread/thread/3427b6cb113f729b/5d658fd11f3eb111?show_docid=5d658fd11f3eb111
        Hide
        Ethan Jewett added a comment -

        From Dick's email: Made the change on the weekend - someone has to test in Tomcat to see if the
        problem still exists

        Show
        Ethan Jewett added a comment - From Dick's email: Made the change on the weekend - someone has to test in Tomcat to see if the problem still exists
        Hide
        Dick Hirsch added a comment -

        Tried on Tomcat 6.0 - started ESME - created a message and then stopped Tomcat via Monitor. Was successful. Looks like change in Boot.scala was successful

        Show
        Dick Hirsch added a comment - Tried on Tomcat 6.0 - started ESME - created a message and then stopped Tomcat via Monitor. Was successful. Looks like change in Boot.scala was successful
        Dick Hirsch made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Dick Hirsch [ rhirsch ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Dick Hirsch
            Reporter:
            Dick Hirsch
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development