Re: Installing WO on Centos 5.4
Re: Installing WO on Centos 5.4
- Subject: Re: Installing WO on Centos 5.4
- From: Chuck Hill <email@hidden>
- Date: Fri, 26 Feb 2010 17:40:19 -0800
On Feb 26, 2010, at 5:26 PM, Patrick Robinson wrote:
On Feb 26, 2010, at 2:23 PM, Chuck Hill wrote:
Try editing the apache.conf file (the WebObject's one, not
httpd.conf). Find these lines:
# To change the logging options, read the following comments:
# The option name is "WebObjectsLog" and the first value indicates
the path of the log file.
# The second value indicates the log level. There are five, in
decreasing informational order:
# "Debug", "Info", "Warn", "Error", "User"
#
# Note: To enable logging, touch '/tmp/logWebObjects' as the
administrator user (usually root).
#
# The following line is the default:
# WebObjectsLog /Library/WebObjects/Logs/WebObjects.log Debug
Uncomment the last line, restart Apache and
sudo /tmp/logWebObjects
What Chuck means here is:
sudo touch /tmp/logWebObjects
Well... yeah. Guess that was too late in the day to blame on lack of
coffee?
You just want to create an (empty) file by that name. Its presence
is what triggers the adaptor to log to the file defined by that
"WebObjectsLog" directive in your apache.conf, that Chuck quotes
from above.
Also, I'm pretty sure you need to restart apache *after* creating /
tmp/logWebObjects.
You should be able to use that file like a semaphore to turn logging
off and on. Or you used to be able to.
Chuck
Now try going to your app once or twice to get the error message.
Then look in /Library/WebObjects/Logs/WebObjects.log
The first thing to look for is if the host name it is using is the
one you have configured in JavaMonitor and the application.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden