On Jun 25, 2009, at 11:00 PM, Saavedra, Gisella wrote:
> I am using Tomcat and IDEA for development. When classes are
> updated, they are reloaded. The application server in some
> instances restarts the application.
> When the application is restarted dynamically, I can see in the log
> file that my REST services are found (same message as when starting
> manually),
> but if I send a message to any of the services, I get a 404 status
> code. I need to stop the application and restart it.
>
> Any thoughts or comments?
>
Try adding logging to your app [1] just to see if the request is
getting through to Jersey after the reload.
Perhaps ask on an IDEA or Tomcat list?
BTW GF v3 has a dynamic redeploy feature and it has been working fine
with Jersey.
Paul.
[1]
https://jersey.dev.java.net/nonav/apidocs/1.1.0-ea/jersey/com/sun/jersey/api/container/filter/LoggingFilter.html
> Gisella Saavedra
> Sr. Software Engineer
> gsaavedra_at_zebra.com
> <image001.gif>
> 1000 Broadway, Suite 150, Oakland, CA 94607 | T+1 510 267 5123 T
> Main+1 510 267 5000 F+1 510 267 5100 | http://www.zebra.com/zes
>
>
>