Do you have this "load-on-startup" tag for your Struts ActionServlet in your
web.xml file?

<servlet>
  ...
  <load-on-startup>1</load-on-startup>
</servlet>

I had a somewhat similar problem; the solution was to make sure the Struts
servlet loads immediately on startup (and thus initializes Struts before any
requests are processed).

I'm not sure if that's the problem, just an idea.

Sean


----- Original Message -----
From: "Rob Breeds" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, December 13, 2001 10:46 AM
Subject: Struts intermittently not working after startup


> I've been developing my first real Struts application for last several
> weeks and things have been going OK. But I reached a point (about Sunday)
> where the web app now doesn't always work correctly, in that it give
errors
> like:
>
> Error 500: No action instance for path /findEntity could be created
>
> and other objects that should have been instantiated but arent'. If I
> restart the server a few times the web app works again.
>
> There is nothing in the log to suggest that the web app startup is failing
> (all action mappings seem to be added ok). It's only when I click on a
link
> that I see the problem - Struts trys to forward me to appropriate Action
> but can't find it. The errors just sem to have appeared as my web app grew
> to a certain point but I only have about 30 mappings in the config file -
I
> can't see that's a limitation. I have a colleague whose Struts app is now
> also exhibiting same problem.
>
> Any ideas please? (I'm using Struts 1.0 release version - not nightly
> build)
>
> Thanks
>
> Rob
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to