You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Brian DeHamer (JIRA)" <be...@incubator.apache.org> on 2005/05/07 04:44:06 UTC

[jira] Created: (BEEHIVE-615) Static _config member in ConfigUtil not uninitialized on servlet destroy()

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


[jira] Closed: (BEEHIVE-615) Static _config member in ConfigUtil not uninitialized on servlet destroy()

Posted by "Krista Baker (JIRA)" <be...@incubator.apache.org>.
     [ 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


[jira] Updated: (BEEHIVE-615) Static _config member in ConfigUtil not uninitialized on servlet destroy()

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-615?page=all ]

Rich Feit updated BEEHIVE-615:
------------------------------

    Attachment: MockPageFlowTestCase.java

Base class for Page Flow test cases running under StrutsTestCase/JUnit.

> 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
>  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


[jira] Updated: (BEEHIVE-615) Static _config member in ConfigUtil not uninitialized on servlet destroy()

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-615?page=all ]

Rich Feit updated BEEHIVE-615:
------------------------------

    Fix Version: V1

> 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


[jira] Resolved: (BEEHIVE-615) Static _config member in ConfigUtil not uninitialized on servlet destroy()

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ 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


[jira] Assigned: (BEEHIVE-615) Static _config member in ConfigUtil not uninitialized on servlet destroy()

Posted by "Krista Baker (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-615?page=all ]

Krista Baker reassigned BEEHIVE-615:
------------------------------------

    Assign To: Krista Baker  (was: Rich Feit)

> 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


[jira] Assigned: (BEEHIVE-615) Static _config member in ConfigUtil not uninitialized on servlet destroy()

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-615?page=all ]

Rich Feit reassigned BEEHIVE-615:
---------------------------------

    Assign To: Rich Feit

> 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


[jira] Updated: (BEEHIVE-615) Static _config member in ConfigUtil not uninitialized on servlet destroy()

Posted by "Rich Feit (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-615?page=all ]

Rich Feit updated BEEHIVE-615:
------------------------------

    Attachment: ValidationTest.java

Sample TestCase 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
>  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