Re: SnowLeopard deployment
Anders Peterson <[email protected]> Mon, 15 Mar 2010 22:57:39 +0100
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Chuck Hill wrote: > > On Mar 13, 2010, at 12:16 PM, Anders Peterson wrote: > >> Hi, I'm just about to set up a new deployment server (probably not >> using plain Mac OS X 10.6, not Server), >> >> So far I've been experimenting with Tomcat, but I have a problem with >> web server resources. >> >> Can you, anyone, confirm that it is possible to install only >> WebObjectsRuntime.pkg, and not the other three? > > Not sure what the "other three" are. I setup a SL server with WebObjects543.dmg from Apple contains 4 packages: WebObjectsDevelopment.pkg WebObjectsDocumentation.pkg WebObjectsExamples.pkg WebObjectsRuntime.pkg > - wotaskd and JavaMonitor from Wonder (both fully embedded) > - my apps (fully embedded) > - scripts for launch to start wotaskd and JavaMonitor > - mod_webobjects from Wonder > - apache.conf copied from somewhere Are you saying I don't need the Apple WebObjects disk image at all (to set up a deployment server)? I'm guessing I should be able to follow these instructions http://wiki.objectstyle.org/confluence/display/WO/Programming__WebObjects-Web+Applications-Deployment-Mac+OS+X+Server and modify the plist-files to point at whatever version of wotaskd and Monitor I have. /Anders > Chuck > > >> Doesn't Monitor require all the usual WebObjects frameworks, or is it >> fully embedded? My own application is fully embedded. >> >> /Anders >> >> >> Dev WO wrote: >>> >>>> Xavier, >>>> >>>> I'd install only "WebObjectsRuntime.pkg", the weird thing is that >>>> the installer (the ..mpkg) installs only the other three >>>> (Development, Documentation and Examples) which, on a deployment >>>> machine, are not that useful. >>>> I'm not very fond of the embedded approach but maybe it's just me... >>>> I have tons of apps made for a lot of clients and it's faster to >>>> deploy just the app if you have to upload it via a slow network >>>> connection. >>> >>> Embedded application will lead to bigger stuff to upload, that's 100% >>> true. And I was also reluctant at first. But you could get quite >>> reasonable upload times even on slow connection with a zip/tar.gz >>> file, not as fast as only the app for sure, but fast enough. >>> But it allows you quite interesting things: >>> -you don't need to take care of the runtime version deployed on the >>> server >>> -you don't need to have all your apps with the same runtime/libraries >>> -you can update only one app framework or runtime without needing to >>> make sure it won't break the others >>> >>> There's probably other interesting things:) >>> >>> I'm not saying not embedding is "bad", I'm just saying embedding >>> provides more flexibility, less stress, easier upgrade path with only >>> a little longer upload time and disk space. >>> >>> The size of the embedded app aren't that big to me as I'm handling >>> all resources through Apache directly (css/images) so I only need to >>> upload those resources when I change them, without deploying the app. >>> >>> At least for me, I would have start that process earlier, it was >>> quite a lot of work to migrate the already existing apps to embedded >>> (and some of them also needed to move to ERPrototypes), but I only >>> have 5 more apps left to convert now:) And as soon as this is done, >>> upgrades, migration, etc will be almost a pleasure;) >>> At least it will really ease the upcoming Snow Leopard migration:) >>> >>> Let's imagine you have a newer version of WO (or more likely a >>> related frameworks;)), you can just start the new apps directly with >>> this framework. And when you need to update a previous app, you can >>> just make sure this specific one works as expected with the new >>> framework. You don't need to "validate" everything. >>> >>> If I had to be part of a lobby I would go for the "embed working >>> group";) >>> >>> Xavier >>> >>>> >>>> Matteo >>>> >>>> >>>> On Feb 23, 2010, at 10:51 AM, Dev WO wrote: >>>> >>>>> Hello Matteo, >>>>> >>>>> Personally I wouldn't install the entire WO on the deployment >>>>> machine, just to make sure my apps are correctly embedded. >>>>> But I haven't try this setup right now, I'll do this week probably. >>>>> >>>>> If it works, I would go with only wotaskd, JavaMonitor and >>>>> mod_webobjects. >>>>> >>>>> But thanks to mention the issue with the installer. >>>>> I think I'll try to make a brand new wiki page with my setup and >>>>> maybe someone will add a more regular install with WORuntime. >>>>> >>>>> Xavier >>>>> >>>>> >>>>> >>>>>> Hi everybody, >>>>>> >>>>>> I discovered this morning that on a "virgin" SL Server (without >>>>>> XCode installed) installing WebObjects 5.4.3 from the DMG >>>>>> available on the Apple website, the most important part for a >>>>>> deployment doesn't get installed: no JavaMonitor or WOTaskd. >>>>>> It is weird... >>>>>> Manually opening the Packages directory you will find a >>>>>> "WebObjectsRuntime.pkg" which is not installed by default, just >>>>>> double click it and voilĂ , monitor and wotaskd appear. >>>>>> >>>>>> Hope it helps, >>>>>> >>>>>> >>>>>> Matteo >>>>>> >>>>>> On Feb 23, 2010, at 10:13 AM, Dev WO wrote: >>>>>> >>>>>>> Hello Stavros, >>>>>>> >>>>>>> You can keep the discussion on the list, it can be of help to >>>>>>> other in addition to the woproject wiki. >>>>>>> >>>>>>> I think it's a good idea to separate development and deployment. >>>>>>> The one thing you'll loose with this is the ease of testing apps >>>>>>> and rewrite rules with vhost settings (multiple apps/domain name). >>>>>>> >>>>>>> Regarding the "evil" thing, I was saying that because you said >>>>>>> development was OK and not deployment, so I assumed development >>>>>>> was ok under 10.6 but not deployment so the most likely way you >>>>>>> to be in this setup was with DirectConnect=true. But maybe you >>>>>>> were perfectly ok in 10.5. >>>>>>> >>>>>>> As far as deployment goes, I think you can only install the >>>>>>> Wonder versions of wotaskd/JavaMonitor/mod_webobjects (adjusting >>>>>>> the setup for Apache, etc) and deploy your apps "embedded". >>>>>>> Someone will correct me if I'm wrong with this or I'll correct >>>>>>> myself within a couple weeks as I will setup new Snow Leopard >>>>>>> servers for WO. >>>>>>> >>>>>>> I don't know if you are using Wonder (even if you don't, you >>>>>>> should use the wotaskd/JavaMonitor/mod_webobject from it), but I >>>>>>> personally think it should be considered the default setup now >>>>>>> and it will ease a lot of things for you. >>>>>>> >>>>>>> Personally I'm using WO 5.3 as all you get in 5.4 is already in >>>>>>> Wonder. But 5.3 setup is a little bit complicated as there's no >>>>>>> "complete installer" like in 5.4. You would need to extract the >>>>>>> parts from a version 2.5 Xcode... >>>>>>> If you are already on 5.4, just stick with it. >>>>>>> >>>>>>> Let us know how you things goes, >>>>>>> >>>>>>> Xavier >>>>>>> >>>>>>> >>>>>>>> Hello Xavier, >>>>>>>> >>>>>>>> thank you very much for your assistance. Also please excuse my >>>>>>>> poor knowledge in many aspects. >>>>>>>> >>>>>>>> For many years I did development and deployment on the same >>>>>>>> machine (OSX Leopard, 10.5) without to note any problem >>>>>>>> (problems started from the day I installed Snow Leopard). Also I >>>>>>>> never noted somewhere that this is evil. Anyway, from now on I >>>>>>>> will separate. >>>>>>>> >>>>>>>> The server has a static IP address. Regarding DNS I rely on DNS >>>>>>>> provided from my ISP. >>>>>>>> >>>>>>>> I will try with a clean installation following instructions of >>>>>>>> the woproject site. Since I believe that this is something that >>>>>>>> is not of interest to the list, please let me know if I can >>>>>>>> contact you again directly for any questions. >>>>>>>> >>>>>>>> Many thanks for all your efforts, >>>>>>>> >>>>>>>> Yours >>>>>>>> >>>>>>>> Stavros >>>>>>>> >>>>>>>> On Feb 20, 2010, at 12:16 PM, 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 >>>>>>>>> >>>>>>>>> >>>>>>>>> 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 >>>>>> >>>>> >>>> >>> >>> >>> _______________________________________________ >>> 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 >