beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian DeHamer (JIRA)" <beehive-...@incubator.apache.org>
Subject [jira] Created: (BEEHIVE-615) Static _config member in ConfigUtil not uninitialized on servlet destroy()
Date Sat, 07 May 2005 02:44:06 GMT
Static _config member in ConfigUtil not uninitialized on servlet destroy()
--------------------------------------------------------------------------

         Key: BEEHIVE-615
         URL: http://issues.apache.org/jira/browse/BEEHIVE-615
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: V1Beta    
    Reporter: Brian DeHamer


The static _config member of the org.apache.beehive.netui.util.config.ConfigUtil class is
not uninitialized when the destroy() method of the PageFlowActionServlet is called.

This causes problems during JUnit testing since a servlet may be init'ed and destroyed a number
of times during the course of running various test cases.  Since this static variable is not
uninitialized when the servlet is destroyed any subsequent initialization of the servlet will
result in a ConfigInitializationException with a message stating that "Config initialization
already completed; unable to reload the NetUI config file".

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


Mime
View raw message