Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7090

org.jboss.jdbc.DerbyDatabase used by varia example has a bug and never attempts to shut down derby database

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • No Release
    • JBossAS-4.0.5.GA
    • Other
    • None
    • Documentation (Ref Guide, User Guide, etc.)
    • Low
    • Workaround Exists
    • Hide

      Connection needs to be released (set to null) before attempting getConnection("jdbc:derby:;shutdown=true");

      Show
      Connection needs to be released (set to null) before attempting getConnection("jdbc:derby:;shutdown=true");

    Description

      org.jboss.jdbc.DerbyDatabase used by varia example has a following bug.
      1. connection member is created at service start-up
      2. getConnection(String dbURL) creates new connection only if connection member is null
      3. on service shut down when getConnection("jdbc:derby:;shutdown=true"); is called nothing happens and Derby is not brought down.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ishaigorodsky Irena Shaigorodsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: