You can reload the _mappings_ by doing
http://myserver:myport/myapp/admin/reload.do

You can ask your servlet container to grab new classes... exact method
depends on the container... I'm using Tomcat 4 and the steps were recently
posted by someone else... I'll go grab the relevant part of the note...

- - - - - - 

> From: Chris Birch [mailto:[EMAIL PROTECTED]]
> 
> As you're are using Tomcat4 you can reload a web apps context 
> using the
> built-in Tomcat management web app.
> 
> If your web-apps context is /myWebApp/
> 
> Simply enter http://localhost:8080/manager/reload?path=/myWebApp
> 
> This should return a simple string that tells you your 
> context has been
> reloaded and is usually much quicker than restarting.
> 
> The manager app is protected, so you must have a user who can 
> log in with a
> manager role.  If you are using the simple memory realm 
> authentication then
> update $TOMAT_HOME/conf/tomcat-users.xml and add:
> 
> <user name="jeff" password="foo" roles="manager" />
> 
> For more information on the manager app see:
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html
> 
> After making code changes building/deploying with ant to 
> test, I always use
> this method as I often have a couple of struts web-apps in my 
> Tomcat server.
> 
> Regards,
> Chris.

- - - - - - 

+= Jeff Knee

> -----Original Message-----
> From: Frank Lawlor [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 13, 2001 10:42 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Struts intermittently not working after startup
> 
> 
> > Error 500: No action instance for path /findEntity could be created
> > ...
> 
> I've gotten this type of thing when I'm changing any
> of the action classes during development.  I assume
> struts might be doing its own class loading and I'm
> pulling the old class out from under it.  If you are
> not modifying the classes, I don't know what might be
> the cause.
> 
> By the way, is there any way to tell struts to 
> re-initialize itself, including reloading the classes?
> 
> Frank Lawlor
> Athens Group, Inc.
> (512) 345-0600 x151
> Athens Group, an employee-owned consulting firm integrating technology
> strategy and software solutions.
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

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

Reply via email to