Re: Tiger + WO5.2.4 update and wo adaptor not getting requests

John Pollard <[email protected]> Fri, 24 Jun 2005 20:19:19 +0100
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
Chuck,

How can I tell if mod_webobjects is being loaded? Wouldn't the apache error 
log say something if it wasn't?

I have looked at /System/Library/WebObjects/Adaptors/Apache/apache.conf but 
don't really know what I am looking for. The first line of this file says:
# WebObjects 4.5.1/5: Enable the WebObjects module

One thing I did notice was different to the old version of this file is 
that it doesn't have the AddModule line after the LoadModule, but when I 
added this apache just said it had already been added and was therefore 
ignoring it.

A message I do get in the apache log when starting up is:
Cannot remove module mod_WebObjects.c: not found in module list

On an app access attempt I get:
script not found or unable to stat: 
/Library/WebServer/CGI-Executables/WebObjects

If none of the above gives the game away, I'm not familiar with what a cgi 
adaptor is or how to check it but I will do some research.

Thanks, John

At 18:51 24/06/2005, Chuck Hill wrote:


>On Jun 24, 2005, at 6:56 AM, John Pollard wrote:
>
>>I have just updated a server from from Panther to Tiger and
>>upgraded WO from 5.2.2 to 5.2.4
>>
>>I now can't get through to my WO apps via apache. The apps are
>>running and I can connect to JavaMonitor and my apps via direct
>>connect.
>>
>>When trying to access via apache I get:
>>
>>The requested URL /cgi-bin/WebObjects/MyApp.woa... was not found on
>>this server.
>That does sound like the CGI adaptor is not found and mod_webobjects
>is not getting loaded.
>
>
>>If I touch /tmp/logWebObjects I do not see any WebObjects.log
>>created so I think it is clear that WebObjects isn't getting to
>>process the requests at all. What I am not sure is whether it has
>>started up ok.
>>
>>My httpd.conf does include the line:
>>
>>Include /System/Library/WebObjects/Adaptors/Apache/apache.conf
>>
>>Apache (v 1.3.33) has no complaints when it starts up though I
>>don't see any startup logging within /tmp/WebObjects.log - that
>>file just isn't created - I've noticed it isn't written out on a
>>working server either until the first WO app request comes in.
>Correct, it is created on demand when requests arrive.  If it is not
>getting created, then the woadaptor is not getting the message from
>Apache.
>
>
>>wotaskd is running ok but I don't think I'm getting that far.
>I agree.  Check the contents of  /System/Library/WebObjects/Adaptors/ 
>Apache/apache.conf to ensure that it matches your system.  I can't
>think of what might be wrong, but that is the first place I would
>look.  Then try commenting out that Include and trying the CGI
>adaptor to see if that will work.
>
>
>Chuck
>
>--
>Practical WebObjects - a book for intermediate WebObjects developers
>who want to increase their overall knowledge of WebObjects, or those
>who are trying to solve specific application development problems.
>http://www.global-village.net/products/practical_webobjects
>
>
>
>
>
>
>
>
>-- incoming mail is certified Virus Free.
>Checked by AVG Anti-Virus.
>Version: 7.0.323 / Virus Database: 267 - Release Date: 23/06/2005

John Pollard
020 889 22143
077 422 10024