Re: SnowLeopard deployment

David Holt <[email protected]> Sat, 20 Feb 2010 06:49:28 -0800
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
On 2010-02-20, at 2:16 AM, Dev WO wrote:

> Hello Stavros,
> 
> I think there's already quite a bunch of informations on the woproject site:
> http://wiki.objectstyle.org/confluence/display/WO/Programming__WebObjects-Web+Applications-Deployment-Mac+OS+X+Server

I can confirm that following the directions at this page will get you a fully functioning Snow Leopard deployment. I did this about two weeks ago with a brand new machine.

David

> 
> So for exemple your Apache modification isn't correct.
> 
> I fond surprising that the machine is also a development machine, if that's the case (you said it was working for development) you're are using DirectConnect for development which is, as you can see every time it is mentioned, evil;)
> 
> Are you really using this machine for WO development or did you just install the dev tools for "other" purpose?
> 
> Another question which will be very important if you ever need to really use the server: does this machine has a static IP or is this a "mobile" computer?
> If it's a "mobile" computer, you should get back to the client version, almost everything in OS X server is related to a fully functional DNS service which you won't be able to get with a dynamic IP.
> 
> To summarize, before we start to fix:)
> Is this a real server (static IP/fully functional DNS)
> 	=> Yes: even if you could use it for development purpose, it doesn't really make sense, but it's ok, we'll try to make everything work
> 	=> No: sorry if I look "not nice", but you have to get back to a client version, everything you'll be able to make work on a server without the DNS and stuff will be what you have on the client version anyway
> 
> Xavier
> 
> 
> 
>> Hi,
>> 
>> I did as follows
>> 
>> -I downloaded mod_WebObjects.so from Wonder
>> -I put a line in httpd.conf as follows
>> ...
>> 
>> #LoadModule python_module libexec/apache2/mod_python.so
>> #LoadModule xsendfile_module libexec/apache2/mod_xsendfile.so
>> 
>> LoadModule WebObjects_module libexec/apache2/mod_WebObjects.so
>> 
>> ## 
>> ## If you wish httpd to run as a different user or group, you must run
>> ## httpd as root initially and it will switch.
>> ##
>> ---
>> 
>> Then I restarted SnowLeopard server and apache.
>> 
>> I am sorry to say that the problem still remains the same.
>> 
>> Any more suggestions?
>> 
>> Alex
>> 
>> On Feb 19, 2010, at 10:00 PM, [email protected] wrote:
>> 
>>> Send WebObjects-dev mailing list submissions to
>>> 	[email protected]
>>> 
>>> To subscribe or unsubscribe via the World Wide Web, visit
>>> 	http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>>> or, via email, send a message with subject or body 'help' to
>>> 	[email protected]
>>> 
>>> You can reach the person managing the list at
>>> 	[email protected]
>>> 
>>> When replying, please edit your Subject line so it is more specific
>>> than "Re: Contents of WebObjects-dev digest..."
>>> 
>>> 
>>> Today's Topics:
>>> 
>>> 1. Snow Leopard deployment (Stavros Panidis)
>>> 2. Re: Snow Leopard deployment (Matteo Centro)
>>> 3. Re: Snow Leopard deployment (Johann Werner)
>>> 
>>> 
>>> ----------------------------------------------------------------------
>>> 
>>> Message: 1
>>> Date: Fri, 19 Feb 2010 11:47:49 +0200
>>> From: Stavros Panidis <[email protected]>
>>> Subject: Snow Leopard deployment
>>> To: [email protected]
>>> Message-ID: <[email protected]>
>>> Content-Type: text/plain; charset="us-ascii"
>>> 
>>> Hi all,
>>> 
>>> I am trying to deploy on a SnowLeopard server. The same machine is used also for development and everything works fine. Also JavaMonitor works but when I try to access application in the form of
>>> 
>>> 
>>> http://hostname/cgi-bin/WebObjects/MyApp.woa
>>> 
>>> I get the following error:
>>> 
>>> Object not found!
>>> 
>>> The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
>>> 
>>> If you think this is a server error, please contact the webmaster.
>>> 
>>> Error 404
>>> 
>>> hostname
>>> Thu Feb 18 16:36:11 2010
>>> Apache/2.2.13 (Unix)
>>> 
>>> 
>>> Is there any help on this?
>>> 
>>> Many thanks in advance 
>>> 
>>> Alex
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: /mailman/archive/webobjects-dev/attachments/20100219/c81310ca/attachment-0001.html
>>> 
>>> ------------------------------
>>> 
>>> Message: 2
>>> Date: Fri, 19 Feb 2010 10:54:15 +0100
>>> From: Matteo Centro <[email protected]>
>>> Subject: Re: Snow Leopard deployment
>>> To: Stavros Panidis <[email protected]>
>>> Cc: [email protected]
>>> Message-ID: <[email protected]>
>>> Content-Type: text/plain; charset="us-ascii"
>>> 
>>> Hi,
>>> 
>>> looks like your apache doesn't know how to handle cgi-bin/WebObjects requests... By default SL server doesn't have a WebObjects adaptor, unfortunately you can't use an adaptor compiled from Leopard because Snow Leopard is 64 bit, you must compile it yourself.
>>> There is source code in wonder.
>>> 
>>> Hope it helps,
>>> 
>>> 
>>> Matteo
>>> 
>>> Matteo Centro
>>> 
>>> Altera 
>>> www.altera.it
>>> 
>>> 
>>> 
>>> On Feb 19, 2010, at 10:47 AM, Stavros Panidis wrote:
>>> 
>>>> Hi all,
>>>> 
>>>> I am trying to deploy on a SnowLeopard server. The same machine is used also for development and everything works fine. Also JavaMonitor works but when I try to access application in the form of
>>>> 
>>>> 
>>>> http://hostname/cgi-bin/WebObjects/MyApp.woa
>>>> 
>>>> I get the following error:
>>>> 
>>>> Object not found!
>>>> 
>>>> The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
>>>> 
>>>> If you think this is a server error, please contact the webmaster.
>>>> 
>>>> Error 404
>>>> 
>>>> hostname
>>>> Thu Feb 18 16:36:11 2010
>>>> Apache/2.2.13 (Unix)
>>>> 
>>>> 
>>>> Is there any help on this?
>>>> 
>>>> Many thanks in advance 
>>>> 
>>>> Alex
>>>> _______________________________________________
>>>> WebObjects-dev mailing list
>>>> [email protected]
>>>> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>>> 
>>> -------------- next part --------------
>>> An HTML attachment was scrubbed...
>>> URL: /mailman/archive/webobjects-dev/attachments/20100219/7a7fcd42/attachment-0001.html
>>> 
>>> ------------------------------
>>> 
>>> Message: 3
>>> Date: Fri, 19 Feb 2010 11:29:01 +0100
>>> From: Johann Werner <[email protected]>
>>> Subject: Re: Snow Leopard deployment
>>> To: Matteo Centro <[email protected]>
>>> Cc: [email protected], Stavros Panidis
>>> 	<[email protected]>
>>> Message-ID: <[email protected]>
>>> Content-Type: text/plain; charset="iso-8859-1"
>>> 
>>> Skipped content of type multipart/alternative-------------- next part --------------
>>> A non-text attachment was scrubbed...
>>> Name: smime.p7s
>>> Type: application/pkcs7-signature
>>> Size: 3906 bytes
>>> Desc: not available
>>> Url : /mailman/archive/webobjects-dev/attachments/20100219/5b58787c/smime-0001.bin
>>> 
>>> ------------------------------
>>> 
>>> _______________________________________________
>>> WebObjects-dev mailing list
>>> [email protected]
>>> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>>> 
>>> 
>>> End of WebObjects-dev Digest, Vol 53, Issue 1
>>> *********************************************
>> 
>> _______________________________________________
>> WebObjects-dev mailing list
>> [email protected]
>> http://www.omnigroup.com/mailman/listinfo/webobjects-dev
>> 
> 
> _______________________________________________
> WebObjects-dev mailing list
> [email protected]
> http://www.omnigroup.com/mailman/listinfo/webobjects-dev