• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: JavaMonitor & wotask SSD Problem.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JavaMonitor & wotask SSD Problem.


  • Subject: Re: JavaMonitor & wotask SSD Problem.
  • From: email@hidden
  • Date: Thu, 01 Mar 2012 14:21:16 -0500


I recall modifying the app.woa/app startup script at the end.

Basically, wotaskd should start first (it will start your app), then after it is running javamonitor should start. The tail end of my wotaskd.woa/wotaskd is like:

#
# Launch the application.
#
# gsb 6/9/2010
# wait untill things boot all the way up
/usr/sbin/ipconfig waitall
#extra time for db
/bin/sleep 100

#
# Launch the application.
#
echo gb fixed? Launching ${SCRIPT_NAME}.woa ...
echo Launching ${SCRIPT_NAME}.woa ...

echo ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} 
eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} 


And for my  JavaMonitor.woa/JavaMonitor:

# gsb 6/9/2010
# wait untill things boot all the way up
/usr/sbin/ipconfig waitall
#extra time for db
/bin/sleep 240

#
# Launch the application.
#
echo gb fixed? Launching ${SCRIPT_NAME}.woa ...

#
# Launch the application.
#
echo Launching ${SCRIPT_NAME}.woa ...

echo ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} 
eval exec ${JAVA_EXECUTABLE} ${JAVA_EXECUTABLE_ARGS} -classpath WOBootstrap.jar com.webobjects._bootstrap.WOBootstrap ${COMMAND_LINE_ARGS} 


So I had javamonitor trying to restart wotaskd which was waiting for things to happen. This did not allow proper startup. With the wait and extra time for javamonitor reboots work properly.

I think the apple wo 5.4.3 startups had some waiting; this is the Wonder versions I had to modify.

A wait maybe should be added to the Wonder wotaskd and JavaMonitor startup scripts.

I could be wrong, of course.

Greg Brown
email@hidden



--
email@hidden
 _______________________________________________
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

  • Follow-Ups:
    • Re: JavaMonitor & wotask SSD Problem.
      • From: "Simon J Oliver (sjoliver)" <email@hidden>
  • Prev by Date: Re: 5.4 uploading large files
  • Next by Date: Re: WebObjects 5.4.3 and JavaClient Apps
  • Previous by thread: Re: JavaMonitor & wotask SSD Problem.
  • Next by thread: Re: JavaMonitor & wotask SSD Problem.
  • Index(es):
    • Date
    • Thread