On Aug 29, 2008, at 4:01 PM, Bruno Wiesen wrote:
Hi all,We have a problem deploying our application under Mac OS X 10.5.4 server with JavaMonitor...We develop under Mac OS X 10.5.4 with XCode (we hope moving to Eclipse soon).We use Project Wonder (latest frameworks).When we launch the application everything is right, we can use it for a while...But it appears regularly the message "no instance available" or "Internal server error". We discover that when many users are connected, requests are slower and then these error...The only solution is then restart manually the app...This app worked fine under Mac OS X 10.4.11 and apache 1.3...We try changing the receive timeout but nothing changes !What can we check ? The application log doesn't show us any errors...Is the fact that we don't extend ERXSession, ERXApplication can be faulty ?Thanks, -------------------------------------------------------------------------- Bruno Wiesen --------------------------------------------------------------------------
Sounds familiar...If you check your apache access_log, I'll bet you find it logging 500 errors. If you're getting "No Instances Available" then it is hitting your adaptor, but never making it to your application. You can start your adaptor logging by creating a file in the /tmp directory like so...
touch /tmp/logWebObjectsYou may also need to edit /System/Library/WebObjects/Adaptors/ Apache2.2/apache.conf and uncomment the last line
WebObjectsLog /Library/WebObjects/Logs/WebObjects.log DebugBut that's a default setting, it may not be necessary... Of course, you'll need to create that log file too...
touch /Library/WebObjects/Logs/WebObjects.logAnd even though I chown'ed it to the _appserver/_appserveradm user/ group, I couldn't get it to actually start logging before making the file world writable with a
sudo chmod ugo+w /Library/WebObjects/Logs/WebObjects.logOnce you do that, you should at least be able to watch it failing. That might provide some clues as to what is causing your particular failure.
Ramsey
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-deploy mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]
