[ http://issues.apache.org/jira/browse/BEEHIVE-615?page=all ] Krista Baker closed BEEHIVE-615: --------------------------------
Verified in v1m1 that a ConfigUtil.isInit method and checking have been added. Also verified that the bvt/attached example is passing. > 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 > Assignee: Krista Baker > Fix For: V1 > Attachments: MockPageFlowTestCase.java, ValidationTest.java > > 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
