Mac OS X; embedded Jetty: expanded war files in temp dir being deleted after a while

View: New views
3 Messages — Rating Filter:   Alert me  

Mac OS X; embedded Jetty: expanded war files in temp dir being deleted after a while

by mrpantsuit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Mac OS X 10.5.8
Jetty 6.1.1

I have an app that serves up a war using embedded Jetty.  I'm running the app on Mac OS X as a service/daemon using a launchd plist in /Library/LaunchDaemons.  On app startup, Jetty seems to expand the war into the folder /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-, and everything works fine.

However, after the app has been running for some time (e.g., a couple days), if I refresh the browser, it no longer shows my web app, but instead a "Directory:..." page listing META-INF, WEB-INF, etc.  Then if I check the /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp- folder, it now only contains the empty directory structure of the expanded war (META-INF, etc.) and no files.

Has anyone seen this before?

Re: Mac OS X; embedded Jetty: expanded war files in temp dir being deleted after a while

by janb :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

An oldie but a goodie, here's a troubleshooting entry that might help you:
http://docs.codehaus.org/display/JETTY/Webapp+suddenly+stopped+working

Jan

mrpantsuit wrote:

> Mac OS X 10.5.8
> Jetty 6.1.1
>
> I have an app that serves up a war using embedded Jetty.  I'm running the
> app on Mac OS X as a service/daemon using a lunchd plist in
> /Library/LaunchDaemons.  On app startup, Jetty seems to expand the war into
> the folder /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-, and everything
> works fine.
>
> However, after the app has been running for some time (e.g., a couple days),
> if I refresh the browser, it no longer shows my web app, but instead a
> "Directory:..." page listing META-INF, WEB-INF, etc.  Then if I checking the
> /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp- folder, it now only
> contains the empty directory structure, and no files.
>
> Has anyone seen this before?


--
Jan Bartel, Webtide LLC | janb@... | http://www.webtide.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



Re: Mac OS X; embedded Jetty: expanded war files in temp dir being deleted after a while

by mrpantsuit :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think that was it.  You are pragmatic and wise.

janb wrote:
An oldie but a goodie, here's a troubleshooting entry that might help you:
http://docs.codehaus.org/display/JETTY/Webapp+suddenly+stopped+working

Jan

mrpantsuit wrote:
> Mac OS X 10.5.8
> Jetty 6.1.1
>
> I have an app that serves up a war using embedded Jetty.  I'm running the
> app on Mac OS X as a service/daemon using a lunchd plist in
> /Library/LaunchDaemons.  On app startup, Jetty seems to expand the war into
> the folder /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-, and everything
> works fine.
>
> However, after the app has been running for some time (e.g., a couple days),
> if I refresh the browser, it no longer shows my web app, but instead a
> "Directory:..." page listing META-INF, WEB-INF, etc.  Then if I checking the
> /var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp- folder, it now only
> contains the empty directory structure, and no files.
>
> Has anyone seen this before?


--
Jan Bartel, Webtide LLC | janb@webtide.com | http://www.webtide.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email