Let me preface this by saying that I don't know whether this is a
problem with tomcat or with webwork or with something in my code.  In
fact, I am struggling to figure out where and how to start debugging
this one.

I have a web application that is built with WW2 and hibernate.  All of
it works fine for some undefined period of time.  However, when we leave
for the night and come back in the morning I am getting odd behavior.
This specifically happens on my login form (which I have included at the
end of this message).  This page is also wrapped by a sitemesh
decorator. When I first start up tomcat and throughout an entire day of
testing the form renders correctly.  However, after a period of
prolonged inactivity, which I can only define at this point as
overnight, the page stops rendering as expected.  Instead it renders the
decorators and all of the elements of the login page correctly except
for the webwork tag lib form in the page.  It is also important to note
that it took the execution of a ww action and a forward via xwork.xml to
get to this page.  The action and the forward work correctly (I can
verify this from logs). So, webwork and it's associated servlets
(including the lifecycle servlet) are working. Tomcat is correctly
executing tag libs since sitemesh is working.  So, I have no idea why
this part of the form would not render after a period of time.  I am
running on sparc solaris 8 on jdk 1.4.2.  I would appreciate any ideas
of where to look or how to fix this issue.

Thanx,
LES



***********************************************
<%@ taglib prefix="ww" uri="webwork" %>
<html>
<head>
<title>Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#666699">
<p>
        <font color="#FFFFFF" size="+2" face="Century Gothic, Verdana,
Trebuchet MS, MS Sans Serif, Arial">Login</font><br/>
        <%      
                String error =
(String)request.getSession().getAttribute("error");
                if(error != null && !error.equals("")){
        %>
        <div class="errorMessage"><%=error%></div>
        <%      }%>
</p>
<ww:form action='<%= response.encodeURL("j_security_check") %>'
method="post">
        <ww:action name="CCNLookup" id="ccnLookup"/>
        <ww:select label="login.ccn" name="ccn" list="#ccnLookup.ccns"
listKey="name" listValue="ccn"/>
        <ww:textfield label="login.userName" required="true" size="30"
name="j_username"/>
        <ww:password label="login.password" required="true" size="30"
name="j_password"/>
        <ww:submit name="Submit" align="right" value="Login"/>
</ww:form>

<p>&nbsp;</p>
<p>&nbsp; </p>
</body>
</html>
*****************************************************


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to