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

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • No Release
    • JBossAS-4.0.5.GA
    • Other
    • None
    • JBoss 4.0.5.GA and JBoss 4.2.3.GA

    • 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");

      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.

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

                Created:
                Updated:
                Resolved: