• 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 with Embedded Frameworks and Duplicate libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deployment with Embedded Frameworks and Duplicate libraries


  • Subject: Re: Deployment with Embedded Frameworks and Duplicate libraries
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 4 Aug 2009 09:52:47 -0700


On Aug 4, 2009, at 9:32 AM, Mr. Frank Cobia wrote:


I have turned on direct connection to all the instances of the apps and there is one that does not respond.

Which is why you are getting that message, however misleading the text of the message may be.



I did indeed discover that the problem was in the app. When one instance of my app hangs, JavaMonitor says that wotaskd is hung and all kinds of bad things happen. Either the apache adaptor does not redirect to a functioning instance or if it does, it does so after a long pause.

How long? The default is 15 seconds. If you have multiple hung instances, it could redirect to one of them.



Is there some reason that JavaMonitor/wotaskd/Apache Adptor can not deal correctly with a hung instance? Is there anything I can do to make it behave better?

Define better. It deals with it fairly well, given that it can only assume what some symptoms might mean.



Also, I have to turn direct connect off to be able to do the refuse new sessions, so is there another way to figure out which app is hung so that it can be killed?

Look at the stack trace, like below. Also look for growing numbers of worker threads. If you have more than 16, you probably have a problem.



Chuck


Get a thread dump:
http://www.gvcsitemaker.com/gvc.webobjects/faq&mode=single&recordID=41413

I did run jstack and it does appear that some threaded code in my app is deadlocked. I will attempt to fix that.


Frank
_______________________________________________
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


-- 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
  • Follow-Ups:
    • Re: Deployment with Embedded Frameworks and Duplicate libraries
      • From: "Mr. Frank Cobia" <email@hidden>
References: 
 >Deployment with Embedded Frameworks and Duplicate libraries (From: "Mr. Frank Cobia" <email@hidden>)
 >Re: Deployment with Embedded Frameworks and Duplicate libraries (From: Chuck Hill <email@hidden>)
 >Re: Deployment with Embedded Frameworks and Duplicate libraries (From: "Mr. Frank Cobia" <email@hidden>)
 >Re: Deployment with Embedded Frameworks and Duplicate libraries (From: Chuck Hill <email@hidden>)
 >Re: Deployment with Embedded Frameworks and Duplicate libraries (From: "Mr. Frank Cobia" <email@hidden>)
 >Re: Deployment with Embedded Frameworks and Duplicate libraries (From: Chuck Hill <email@hidden>)
 >Re: Deployment with Embedded Frameworks and Duplicate libraries (From: "Mr. Frank Cobia" <email@hidden>)
 >Re: Deployment with Embedded Frameworks and Duplicate libraries (From: Chuck Hill <email@hidden>)
 >Re: Deployment with Embedded Frameworks and Duplicate libraries (From: "Mr. Frank Cobia" <email@hidden>)

  • Prev by Date: Re: Velocity generator template reference available
  • Next by Date: Re: Velocity generator template reference available
  • Previous by thread: Re: Deployment with Embedded Frameworks and Duplicate libraries
  • Next by thread: Re: Deployment with Embedded Frameworks and Duplicate libraries
  • Index(es):
    • Date
    • Thread