[jboss-jira] [JBoss JIRA] Created: (JBAS-7090) org.jboss.jdbc.DerbyDatabase used by varia example has a bug and never attempts to shut down derby database

Irena Shaigorodsky (JIRA) jira-events at lists.jboss.org
Thu Jul 9 15:06:29 EDT 2009


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

                 Key: JBAS-7090
                 URL: https://jira.jboss.org/jira/browse/JBAS-7090
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Other
    Affects Versions: JBossAS-4.0.5.GA
         Environment: JBoss 4.0.5.GA and JBoss 4.2.3.GA
            Reporter: Irena Shaigorodsky


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list