[ http://issues.apache.org/jira/browse/BEEHIVE-615?page=all ]
Rich Feit resolved BEEHIVE-615:
-------------------------------
Resolution: Fixed
I've fixed this with revision 169423. Tomorrow I'll be adding a token set of
StrutsTestCase/Page Flow tests. In case it helps, I'll attach the base class
I'm using, as well as an example test case class.
> 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: Rich Feit
> Fix For: V1
>
> 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