Okay, I'll answer my own question here, for the benefit of
anyone else that ends up in a similar situation.
From: "Scott Eade" <[EMAIL PROTECTED]>
> Anyway, this has not solved my problem. Now the problem is
> that when TurbineIntakeService attempts to write to appData.ser
> it gets a "Permission denied" error.
>
> So my question now is, is there a way, say through web.xml that
> I can give turbine the necessary permissions to write to the appropriate
> directory or do I need to organize some special directory permissions?
>
> From turbine.log:
>
> [Wed Jul 25 17:43:06 EST 2001] -- ERROR --
> Exception: org.apache.turbine.services.InitializationException:
>TurbineIntakeService failed to initialize:
> /www/clientweb/au/b/backstagetech.com.au/./WEB-INF/appData.ser (Permission denied)
The trick is of course that the userid used to run the servlet
container needs to have write access to the directory where
appData.ser will be written. Simply:
chmod 777 WEB-INF (dangerous, but we will change it back in a moment)
Restart the servlet so that the file will be created. Note that
with the setup offered by my hosting provider, simply touching
web.xml is enough to cause turbine to be restarted. Access
the site so that intake is initialised and appData.ser is written.
And finally put the WEB-INF permissions back how you
found them, typically:
chmod 755 WEB-INF
Bingo - a working intake service.
Having deployed my application to somebody else's server and
now having everything working (so far anyway) makes me a much
happier person.
Cheers,
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]