Hi,

After a lot of tests, and some problems we update our Script.

http://www.ksroom.com/App/WebObjects/Kisa.woa/wa/woDeploy

Now there is a WOReboot LauchD script installed together.

After the to fast Launch. WOReboot will

* wait for 8 sec
* stop wotask
* stop womonitor
* wait for 3 sec
* start wotask
* start womonitor
* restart apache
* send a Mail to you "WO Reboot Executed"
* wait 30 sec
* stop working, (only every Reboot it will work again)

If you already used the deploy script you can overwrite it, the new script 
checks 
and don't delete anything that is already there.

Tested on two OS X Lion Server.

Greetings 

Ken Ishimoto



On 2012/03/01, at 21:19, Tim Worman wrote:

> All:
> 
> I'm not using SSD's but I definitely recently had a problem on Lion where I'd 
> made no changes and monitor and wotaskd were just not working. This was just 
> a couple days ago and I posted about it in the thread:
> 
> http://osdir.com/ml/general/2012-02/msg38384.html
> 
> Ken, You're such a great contributor to the community. I'm WOndering if your 
> deploy stuff could be moved onto wocommunity as a supported deployment method 
> there? If there are problems deploying on Lion, we should leverage all the 
> "easy" methods we have and make them all very visible. We should make it bone 
> simple to find the easiest solutions to problems.
> 
> Tim
> 
> On Feb 29, 2012, at 10:16 PM, ISHIMOTO Ken <k...@ksroom.com> wrote:
> 
>> Hi,
>> 
>> In Deployment there can be 3 Problems.
>> 
>> 1. The WO Part
>> 
>> 2. The Application
>> 
>> 3. Apache
>> 
>> About the WO Part, I made the Installer 
>> 
>> http://www.ksroom.com/App/WebObjects/Kisa.woa/wa/woDeploy
>> 
>> because the standard WO543 Installer installed more then we need, also the 
>> Apple wotask & JavaMonitor
>> is the standard one. The Apache .so file is for Leopard, and won't work on 
>> SnowLeopard or Lion.
>> 
>> Usually if you make an embedded Deploy you need only the woDeploy Script, 
>> everything is in one Folder easy
>> to find and check. No hidden files^^
>> 
>> The problem if you install both, then it can happens that you run 
>> * Apples wotask
>> * Wonders wotask
>> * Apple JavaMonitor
>> * Wonder JavaMonitor
>> 
>> Also the Apache looks maybe to the Leopard *so file.
>> 
>> I haven't try to use both yet. For my installations and that is the 8 Lion 
>> Server now, everything works with woDeploy in Minutes.
>> 
>> Also this installer will install a Sample "Hello World" like App for 
>> testing, if everything works. If that App works then your App
>> know the Machine is ready to go.
>> 
>> The App show's only a Text, and a Picture (to can see that the 
>> WebServerResources) split install is working.
>> 
>> Also for FrontBase User, it connects to the Sample Movie DB and find 1 
>> Record, to check the connection.
>> 
>> 
>> I think it is best to try to find if this installment is working, and the 
>> Sample App is working. Then you can go next step to find the problem.
>> 
>> 
>> Ken
>> 
>> 
>> On 2012/02/28, at 0:02, Gaastra Dennis - WO Lists wrote:
>> 
>>> Dear List,
>>> 
>>> Just upgrading several boxes to Lion Server. 
>>> We applied the standard WO543 Installer and Ken's Wonder wotaskd and 
>>> WOMonitor from:
>>> 
>>> http://www.ksroom.com/App/WebObjects/Kisa.woa/wa/woDeploy
>>> 
>>> BTW: Thanks for making this available
>>> 
>>> When clicking on:
>>> 
>>> http://localhost:1085/cgi-bin/WebObjects/wotaskd.woa/wa/woconfig
>>> 
>>> We see our configured instances nicely listed; however, in Monitor, we all 
>>> instances "Off" with 1 "Death" for each.
>>> Also, the URLs (from remotely) don't work and show: The requested 
>>> application was not found on this server.
>>> However, in the application instances' log, everything starts up  and stays 
>>> running nicely. 
>>> Also,  the instances are running correctly according to ps -ax or sudo lsof 
>>> -i tcp:
>>> I don't understand how to debug this; already tried the spawof...ssh, and 
>>> there everything was OK. Also DNS is working correclty both ways.
>>> 
>>> Another weird this is that one of the boxes works correctly every 5 reboots 
>>> or so.
>>> 
>>> Any ideas? Thanks for any assistance.
>>> 
>>> 
>>> -- 
>>> With Kind Regards,
>>> 
>>> Dennis Gaastra, 
>>> WEBAPPZ®  Systems, Inc.
>>> (+1) 604.921.1333
>>> 
>>> www.webappz.com & www.scheduleDS.com & www.1tracker.com
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> This message contains confidential information and is intended only for the 
>>> individual named. If you are not the named addressee you should not 
>>> disseminate, distribute or copy this e-mail. Please notify the sender 
>>> immediately by e-mail if you have received this e-mail by mistake and 
>>> delete this e-mail from your system. E-mail transmission cannot be 
>>> guaranteed to be secure or error-free as information could be intercepted, 
>>> corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. 
>>> The sender therefore does not accept liability for any errors or omissions 
>>> in the contents of this message, which arise as a result of e-mail 
>>> transmission. If verification is required please request a hard-copy 
>>> version. WEBAPPZ Systems, Inc., 726 - 1489 Marine Drive, West Vancouver, 
>>> BC, CANADA V7T 1B8, 
>>> www.webappz.com
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> https://lists.apple.com/mailman/options/webobjects-dev/ken%40ksroom.com
>>> 
>>> This email sent to k...@ksroom.com
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/lists%40thetimmy.com
>> 
>> This email sent to li...@thetimmy.com
> 



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to