Re: Deployment with Embedded Frameworks and Duplicate libraries
Re: Deployment with Embedded Frameworks and Duplicate libraries
- Subject: Re: Deployment with Embedded Frameworks and Duplicate libraries
- From: Chuck Hill <email@hidden>
- Date: Sun, 2 Aug 2009 21:43:41 -0700
On Aug 2, 2009, at 7:28 PM, Mr. Frank Cobia wrote:
I have a new application in production and the wotaskd has
failed several times causing great problems.
"failed". What does that mean?
It no longer responds to JavaMonitor
Details?
I really do not have any other than JavaMonitor says that wotaskd on
that box is not responding. Next time it happens I will see if I can
hit its URL. I assume JavaMonitor is asking for the configuration
file. Is there any other reason that JavaMonitor tries to contact
wotaskd?
I suspect that the message you are seeing means that wotaskd was not
able to get a response out of your application before a timeout. If
your app is deadlocked or busy, the message you see is rather
misleading.
and the apps were acting strangely because of it.
Details?
It was really bizarre. I have an app that is called Bids.woa and I
have apache configured to rewrite URLS so that http://host/ gets
mapped to /apps/WebObjects/Bids.woa, but, of course, the user still
sees http://host/ in their browser. When wotaskd stopped responding
hitting http://host/ cause the URL in the browser to change to http://host/apps/WebObjects/Bids.woa
and Safari said it could not load the page because the URL was
redirecting back to itself too many times.
That might be the result of incorrect JavaMonitor configuration for
the application.
I was able to cure this by restarting wotaskd. It did not require
restarting apache. I really do not understand how this could happen.
Curing this by restarting wotaskd seems odd and may contradict it
being a bug in your app. But I still suspect a bug in your app. :-)
I need to do some more investigating, but the only way I was able to
get the apps to respond again was to restart wotaskd.
Wonder's wotasks? Apples? Which version?
THe version from Wonder from about1 week ago.
AFAIK that is OK.
Any tips on how to investigate wotaskd?
Same as a regular WO app, turn up the NSLog levels.
I will look into that. Can I use the log4j configurations from the
sample properties file in wonder?
Not sure about the Wonder version. I'd try NSLog defines on the
command line.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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