Last modified by David Avendasora on 2010/11/30 06:59

From version 12.1
edited by David Avendasora
on 2010/11/30 06:13
Change comment: There is no comment for this version
To version 13.1
edited by David Avendasora
on 2010/11/30 06:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,7 +2,7 @@
2 2  
3 3  A current app I'm working freezes up for about a minute when calling editingContext.saveChanges. The following message is added to the system output:
4 4  
5 -{{code}}
5 +{{code value="none"}}
6 6  
7 7  <WorkerThread3> <WOWorkerThread id=3 socket=Socket[addr=/xxx.xxx.xxx.xxx,port=51634,localport=51563]>
8 8  Exception while sending response: java.net.SocketException: Broken pipe
... ... @@ -23,8 +23,12 @@
23 23  * Use the WOLongReponsePage to handle long running requests.
24 24  * Increase the Connect Timeout and Receive Timeout values in JavaMonitor so that the woadaptor will wait long enough for your application to provide the response.
25 25  
26 -**Note:** If this message happens in other contexts (i.e. not when a request takes a long time to process) it might just mean that the user hit stop in their browser or clicked another link.
26 +{{note}}
27 27  
28 +If this message happens in other contexts (i.e. not when a request takes a long time to process) it might just mean that the user hit stop in their browser or clicked another link.
29 +
30 +{{/note}}
31 +
28 28  == Where's my stderr? ==
29 29  
30 30  Wotaskd launches new WOA instances using a script called SpawnOfWotaskd.sh that is located in /System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/SpawnOfWotaskd.sh on OS X. For some reason, this script was written to throw away stdout and redirrect stderr to stdout. This means that if you ever want to get a thread stack dump, you're out of luck. Fortunately this is an easy fix. If you edit SpawnOfWotaskd.sh, the stock version looks like:
... ... @@ -98,7 +98,7 @@
98 98  
99 99  Running this following command in a terminal window will tell you exactly why wotaskd is not launching...
100 100  
101 -{{code}}
105 +{{code title="Command to Manually Maunch wotaskd"}}
102 102  
103 103  sudo -u appserver /System/Library/WebObjects/JavaApplications/wotaskd.woa/Contents/Resources/javawoservice.sh \
104 104  -appPath /System/Library/WebObjects/JavaApplications/wotaskd.woa/wotaskd