On 21/07/2008, at 3:51 PM, Rams wrote:
And either of those seems to cure the 403 Forbidden problem, but
now my problem is that I'm getting "No Instance Available" pages
seemingly at random. The apache access_log shows a 500 error.
If you are getting No Instance Available it would seem that the
adaptor was processing requests so you should be getting something in
the adaptor log
I tried enabling logging with a $ sudo touch /tmp/logWebObjects
and so far I see no WebObjects.log in the tmp directory or
anything WO related in /var/log either.
To get logging working in Leopard I also had to
edit /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf and
uncomment the last line
WebObjectsLog /Library/WebObjects/Logs/WebObjects.log Debug
and I had to create the file with permission for _appserver to
write to it
touch /Library/WebObjects/Logs/WebObjects.log
chown _appserver /Library/WebObjects/Logs/WebObjects.log
I've tried all this and still don't see anything showing up in the
log. I would assume if it were working, I would at least see an
info message or two in debug mode... So, I'm still having no luck
getting the adaptor log working. Do I need to restart my instances
after I sudo touch /tmp/logWebObjects or something?
I didn't have to restart instances. Logging just started. You might
try making log file world writable in case your adaptor is running as
another user.
chmod ugo+w /Library/WebObjects/Logs/WebObjects.log
tail -f /Library/WebObjects/Logs/WebObjects.log
Tim
rg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-
[EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/timcu%
40tpg.com.au
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]