• 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: Deployment woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deployment woes


  • Subject: Re: Deployment woes
  • From: Mark Ritchie <email@hidden>
  • Date: Sat, 5 Apr 2008 18:05:35 -0400

On 5-Apr-08, at 5:18 PM, Yury Peskin wrote:

Did I mention I'm running the app on 10.3.9?


Hey, this sounds familiar!   I was doing exactly this on solaris 2 days ago! :-)

When I encounter situations like this, I (sometimes only temporarily) modify the SpawnOfWotaskd.sh script.
It's located inside wotaskd.woa and on MacOSX that would typically be somewhere like:
/System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/SpawnOfWotaskd.sh
Note, on Windows SpawnOfWotaskd.exe in the same folder is used.

When you ask JavaMonitor.woa to launch an application, it passes a message to wotaskd.woa and the above script is what actually launches the WOF application. 

Anyway, the default version of that script redirects all the startup messages to /dev/null and it's usually those messages which you need to debug situations like this.

At the minimum, change /dev/null   to /tmp/SpawnOfWotaskd.log and try to launch the application again.  For me, there hasn't been a need to restart wotaskd.woa for the modified script to be used.    I usually change the script to append to the log file and record all the given arguments so that I can see exactly what's being passed in.  Something like this is a place to start:

#!/bin/sh
LOG=/tmp/SpawnOfWotaskd.log
echo "****" >>$LOG
date >> $LOG
echo $@ >> $LOG
$@ 1>>$LOG 2>&1 & 


Good luck and post back any error messages from the SpawnOfWotaskd.log which you can't figure out!
Mark
__
Mark Ritchie
Cocoa and WebObjects Developer
Diamond Lake Consulting Inc.
Toronto, Ontario, Canada



 _______________________________________________
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

References: 
 >Deployment woes (From: Yury Peskin <email@hidden>)
 >Re: Deployment woes (From: Chuck Hill <email@hidden>)
 >RE: Deployment woes (From: "Yury Peskin" <email@hidden>)
 >Re: Deployment woes (From: Guido Neitzer <email@hidden>)
 >RE: Deployment woes (From: "Yury Peskin" <email@hidden>)

  • Prev by Date: RE: Deployment woes
  • Next by Date: Re: mystery insert
  • Previous by thread: RE: Deployment woes
  • Next by thread: Re: Deployment woes
  • Index(es):
    • Date
    • Thread