I'm not sure you'd need to restart Apache if you could wait and start the WO processes at the right time. Or maybe you would, simply because if it starts too soon, as well.
I'm working on setting up a new deployment environment, and was going to work on fleshing out that skeleton code. I'll share it here when I have it finished.
On Feb 29, 2012, at 7:43 PM, Gaastra Dennis - WO Lists wrote:
Now what booting script do you use to delay starting up wotaskd + JavaMonitor, and do an apache restart afterwards? Something similar to what Simon suggested?
Thanks
Dennis
On 28/Feb/12 11:49 PM, Chuck Hill wrote:
Yes. Four. :-)
On Feb 29, 2012, at 12:48 PM, Gaastra Dennis - WO Lists < email@hidden> wrote:
and the webobjects apache configuration WebObjectsConfig http://<hostname>:1085 10
On 28/Feb/12 7:49 PM, Chuck Hill wrote:
All three of wotaskd, java monitor, and your apps need to agree on WOHost
On Feb 29, 2012, at 8:52 AM, Gaastra Dennis - WO Lists < email@hidden> wrote:
Hi Ken et al,
After restarting the launchdaemons, Monitor seems to be happy with its instances showing as running, but we still get the famous "The requested application was not found on this server."
Thanks
Dennis.
On 27/Feb/12 10:41 PM, ISHIMOTO Ken wrote:
Hi,
It looks we have a problem with JavaMonitor and wotask, that had to be fixed.
I have seen this Problem now on several Machines, and found the problem, but think about a fix.
Maybe the only way is to fix the Apps Javacode itself...
Test Machine was OS X Lion & OS X SnowLeopard
------------------------------------------------------------------------------------
What is going on:
The correctway : If the Machine starts
* LaunchD starts the Database
* LaunchD start JavaMonitor & wotask
* wotask will start the Instances
* Everybody is Happy
------------------------------------------------------------------------------------
The Problem only appears if the Boot disk is a SSD Drive.
* LaunchD starts the Database
* LaunchD start JavaMonitor & wotask
BUT, JavaMonitor and wotask Launches and try to get the Network Interface for making work,
the OS Networking isn't setup at that time. The Boot was to fast. Both Apps try for several time,
and give up. But running. a Zombi process
* wotask can't start the Instances
The only way after the Launch is to go to Activity Monitor to kill both processes, LaunchD will boot
both again and everybody is happy.
------------------------------------------------------------------------------------
1. Fix 1 : LaunchD Script <- I have no idea if that is possible to say launch at Boot but delayed or so
2. Fix 2 : In the javacode after retry the App and can't get a Connection kill itself, and let launchD boot it again..
Thank you
Ken Ishimoto
--------------------------------------------------------
K's ROOM
--------------------------------------------------------
_____________________________________________________________________
This e-mail has not been scanned for viruses because it was written on an Mac,
and there are NO Viruses on an Apple Computer.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to
email@hidden
--
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
--
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
--
Simon J. Oliver
MA (Cantab.)
CISSP-ISSAP, ISSMP, GWAPT, OSWP
Information, Architecture & Data Security Consultant
Applied Information Technology Center/SBBER
University of Memphis, TN
Phone: 901
313 4485
Skype: SJO0923
AIM/Yahoo: simonjoliver
|