• 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: WO application silently dies.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WO application silently dies.


  • Subject: Re: WO application silently dies.
  • From: David Koski <email@hidden>
  • Date: Mon, 24 Oct 2005 08:17:07 -0700

cd to your project directory and then do something like this:

build/YourApp.woa/YourApp

The Terminal part is just because I don't know how to type a ^\ in xcode :-)

dk

On Oct 24, 2005, at 8:11 AM, Gennady Kushnir wrote:

Maybe it will help. Thank you.
But how do I run my app from Terminal?
Should I execute .woa bundle or .jar archive?

Regards,
Gennady

On 24.10.2005, at 18:59, David Koski wrote:


Hi,

The "growing threads" message means that more requests are coming in and there are not enough threads to satisfy them. Assuming this is just you hitting it, that suggests that the previous threads are all tied up. Perhaps you have an infinite loop in there (less likely) or locking problems (more likely)?

You may be able to get some data if you run your application from in Terminal and type ^\ while it is running, or kill -QUIT <pid>. Either of those will trigger a thread dump. If there is detectable deadlock, it will print that too (java monitors are detectable, I am not sure if NSLock is).

Anyway, if your threads are doing something other than accepting input from the socket, that is a good indication of what is going on.

dk

On Oct 24, 2005, at 3:49 AM, Gennady Kushnir wrote:



Hello, list.
After making some minor modifications to my applications business logic i've bumped into strange bug.
When I click try to perform some certain actions Safari writes "connecting to server: 127.0.0.1" and after that application does not respond to any requests. There are no error messages in system out.
I can separate these "certain actions" from others as "leading to addition of new EOs".
I tried to debug the problem. But but debugger doesn't come to the breakpoint in the action invoked by these buttons, and even to Component's invokeAction and Application's takeValuesFromRequest.
However some lower layer still lives. I say that because when I click some links many times there appears in output console:
[2005-10-24 14:43:09 MSD] <WorkerThread15> <com.webobjects.appserver._private.WODefaultAdaptor>: Growing number of WOWorkerThreads to 32
However still nothing is returned and debugger does not come to any breakpoint.


Where may be the problem?


Thanks in advance Gennady



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


This email sent to 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
References: 
 >WO application silently dies. (From: Gennady Kushnir <email@hidden>)
 >Re: WO application silently dies. (From: Gennady Kushnir <email@hidden>)

  • Prev by Date: Re: WO application silently dies.
  • Next by Date: File Upload
  • Previous by thread: Re: WO application silently dies.
  • Next by thread: File Upload
  • Index(es):
    • Date
    • Thread