Re: [Resin-interest] [Resin 0002646]: Resin does not work when it's run in the background

2008-05-27 Thread Jose Quinteiro
Scott Ferguson wrote: Thanks. The log fix is a good one. Actually, though, we could also add the log-directory to the resin.conf since the watchdog reads the resin.conf. Either solution would be great. It's just inconvenient to have to hange log settings in two different places.

Re: [Resin-interest] [Resin 0002646]: Resin does not work when it's run in the background

2008-05-20 Thread Maurice Volaski
On May 19, 2008, at 4:54 PM, Maurice Volaski wrote: On May 19, 2008, at 3:23 PM, Maurice Volaski wrote: After extending the debugging, I immediately found the problem [19:02:56.255] {main} Caused by: java.io.IOException: Cannot create directory: /usr/share/resin/admin Once I changed ownership

Re: [Resin-interest] [Resin 0002646]: Resin does not work when it's run in the background

2008-05-20 Thread Scott Ferguson
On May 19, 2008, at 10:22 PM, Jose Quinteiro wrote: Gentoo moves the Resin /ROOT webapp to /var/lib/resin/webapps, so it's reasonable to assume that Gentoo means /var/lib/resin to be resin.root. They don't, however, pass the -root-directory command-line switch appropriately. I've

Re: [Resin-interest] [Resin 0002646]: Resin does not work when it's run in the background

2008-05-19 Thread Scott Ferguson
On May 19, 2008, at 3:23 PM, Maurice Volaski wrote: After extending the debugging, I immediately found the problem [19:02:56.255] {main} Caused by: java.io.IOException: Cannot create directory: /usr/share/resin/admin Once I changed ownership on /usr/share/resin to be owned by the

Re: [Resin-interest] [Resin 0002646]: Resin does not work when it's run in the background

2008-05-19 Thread Scott Ferguson
On May 19, 2008, at 4:54 PM, Maurice Volaski wrote: On May 19, 2008, at 3:23 PM, Maurice Volaski wrote: After extending the debugging, I immediately found the problem [19:02:56.255] {main} Caused by: java.io.IOException: Cannot create directory: /usr/share/resin/admin Once I changed

Re: [Resin-interest] [Resin 0002646]: Resin does not work when it's run in the background

2008-05-19 Thread Jose Quinteiro
Scott Ferguson wrote: (snip) In your configuration, where is resin.root? i.e. where does the content go? That resin.root should be the only writable directory. Gentoo moves the Resin /ROOT webapp to /var/lib/resin/webapps, so it's reasonable to assume that Gentoo means /var/lib/resin to