Hi,
   Ours is not exactly the same problem because it is  diagnosed as a cache
problem. Sometimes when the session times out and a particular action URL 

  menu.addMenuItem("Menu","location='test.action'");

  was the last one to be executed and we log out and log in, this URL
somehow gets stuck in the browser cache. Other similar URL's work properly.

  So eventhough we use

    <init-param>
      <param-name>nocache</param-name>
      <param-value>true</param-value>
    </init-param>

 still the browser cache has to be cleared. We haven't checked the logs
properly but this particular action never prints anything to the console.

Mohan

-----Original Message-----
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 3:00 AM
To: [EMAIL PROTECTED]
Subject: Re: ActionServlet Action caching problem


Does that Action contain member variables?  Maybe 2 threads are overwritting

member data and causing the Action to fail.

David



>From: "Whitmire, Jeffrey" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
>Subject: ActionServlet Action caching problem
>Date: Mon, 10 Mar 2003 16:07:29 -0500
>
>I've got a weird one.  I'm hoping that somebody else has encountered this
>before and can help.  We are in the midst of load testing our app before
>rolling it out to production.  I have one action class (only one) that
>starts failing well over an hour into the test.
>
>It appears that the instance of that action class cached by the
>ActionServlet becomes invalid.  I can see no reason why the change in
>behaviour, but at some point the RequestProcessor gets an instance to the
>Action that is no longer valid.  It is not null, but it never executes it.
>The rest of the app works perfectly, but that button (tied to that specific
>Action) never works again until the tomcat instance is restarted.  It just
>hangs, and the last indication in the log is the RequestProcessor finding
>and returning an instance of that action class.
>
>Has anyone ever had problems with Action instances going stale?  or some
>other config problem that could cause this?
>
>Thanks, I'm a bit desparate,
>Jeff.
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]


_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to