You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Steve <st...@neobits.com> on 2010/02/01 20:08:44 UTC

Thread list - more info

So, here are the relevant logging entries:

2010-02-01 11:01:12,762 (TP-Processor26) [ ServiceDispatcher.java: 
599:INFO ] [[ASync service started...- total:0.0,since last(Begin): 
0.0]] - 'store / sendOrderConfirmation'
2010-02-01 11:01:12,767 (TP-Processor26) [ GenericAsyncEngine.java: 
137:INFO ] Persisted job queued : 1265050872766
2010-02-01 11:01:12,768 (TP-Processor26) [ ServiceDispatcher.java: 
696:INFO ] [[ASync service finished...- total:0.006,since last(ASync  
service sta...):0.006]] - 'store / sendOrderConfirmation'
2010-02-01 11:01:31,174 (default-invoker-Thread-980027)  
[ JobInvoker.java:231:INFO ] Invoker [default-invoker-Thread-980027]  
received job [1265050872766] from poller  
[org.ofbiz.service.job.JobPoller@6aadae91]
2010-02-01 11:01:31,176 (default-invoker-Thread-980027)  
[PersistedServiceJob.java:176:INFO ]  
org.ofbiz.service.job.PersistedServiceJob@4ed9bcaa[72203] -- Next  
runtime: Wed Dec 31 15:59:59 PST 1969
2010-02-01 11:01:31,195 (default-invoker-Thread-980027)  
[ WicketURLEncoder.java:203:WARN ] No current Application found -  
defaulting encoding to UTF-8
2010-02-01 11:01:31,195 (default-invoker-Thread-980027)  
[ WicketURLEncoder.java:203:WARN ] No current Application found -  
defaulting encoding to UTF-8
2010-02-01 11:01:31,239 (default-invoker-Thread-980027)  
[ServiceEcaCondition.java:155:WARN ] From Field (communicationEventId)  
is not found in context for sendMail, defaulting to null.
2010-02-01 11:01:31,240 (default-invoker-Thread-980027)  
[ ServiceEcaRule.java:133:INFO ] For Service ECA [sendMail] on  
[commit] got false for condition: [partyId][equals][1][true][String]
2010-02-01 11:01:31,241 (default-invoker-Thread-980027)  
[ ServiceDispatcher.java:578:INFO ] Sync service [JobDispatcher/ 
sendMailFromScreen] finished in [57] milliseconds
2010-02-01 11:01:31,241 (default-invoker-Thread-980027)  
[ ServiceEcaRule.java:150:INFO ] Running Service ECA Service:  
createOrderNotificationLog, triggered by rule on Service:  
sendOrderConfirmation
2010-02-01 11:01:31,244 (default-invoker-Thread-980027)  
[ ServiceDispatcher.java:578:INFO ] Sync service [JobDispatcher/ 
sendOrderConfirmation] finished in [64] milliseconds

Note it says the service finished, yet, it is still marked as running  
in the webtools thread list. Those seem to never go away, eventually,  
I presume we will run out of available threads.

Where can I look to help debug this further? I looked back and this  
did not happen on the old machine, the jobs were always marked as  
finished.

Email was in fact sent, to me and I got it, so, it did run.

Re: Thread list - more info

Posted by Adrian Crum <ad...@hlmksw.com>.
Threads and jobs are not the same thing. What is it that you are trying 
to debug?

-Adrian

Steve wrote:
> So, here are the relevant logging entries:
> 
> 2010-02-01 11:01:12,762 (TP-Processor26) [ 
> ServiceDispatcher.java:599:INFO ] [[ASync service started...- 
> total:0.0,since last(Begin):0.0]] - 'store / sendOrderConfirmation'
> 2010-02-01 11:01:12,767 (TP-Processor26) [ 
> GenericAsyncEngine.java:137:INFO ] Persisted job queued : 1265050872766
> 2010-02-01 11:01:12,768 (TP-Processor26) [ 
> ServiceDispatcher.java:696:INFO ] [[ASync service finished...- 
> total:0.006,since last(ASync service sta...):0.006]] - 'store / 
> sendOrderConfirmation'
> 2010-02-01 11:01:31,174 (default-invoker-Thread-980027) [ 
> JobInvoker.java:231:INFO ] Invoker [default-invoker-Thread-980027] 
> received job [1265050872766] from poller 
> [org.ofbiz.service.job.JobPoller@6aadae91]
> 2010-02-01 11:01:31,176 (default-invoker-Thread-980027) 
> [PersistedServiceJob.java:176:INFO ] 
> org.ofbiz.service.job.PersistedServiceJob@4ed9bcaa[72203] -- Next 
> runtime: Wed Dec 31 15:59:59 PST 1969
> 2010-02-01 11:01:31,195 (default-invoker-Thread-980027) [ 
> WicketURLEncoder.java:203:WARN ] No current Application found - 
> defaulting encoding to UTF-8
> 2010-02-01 11:01:31,195 (default-invoker-Thread-980027) [ 
> WicketURLEncoder.java:203:WARN ] No current Application found - 
> defaulting encoding to UTF-8
> 2010-02-01 11:01:31,239 (default-invoker-Thread-980027) 
> [ServiceEcaCondition.java:155:WARN ] From Field (communicationEventId) 
> is not found in context for sendMail, defaulting to null.
> 2010-02-01 11:01:31,240 (default-invoker-Thread-980027) [ 
> ServiceEcaRule.java:133:INFO ] For Service ECA [sendMail] on [commit] 
> got false for condition: [partyId][equals][1][true][String]
> 2010-02-01 11:01:31,241 (default-invoker-Thread-980027) [ 
> ServiceDispatcher.java:578:INFO ] Sync service 
> [JobDispatcher/sendMailFromScreen] finished in [57] milliseconds
> 2010-02-01 11:01:31,241 (default-invoker-Thread-980027) [ 
> ServiceEcaRule.java:150:INFO ] Running Service ECA Service: 
> createOrderNotificationLog, triggered by rule on Service: 
> sendOrderConfirmation
> 2010-02-01 11:01:31,244 (default-invoker-Thread-980027) [ 
> ServiceDispatcher.java:578:INFO ] Sync service 
> [JobDispatcher/sendOrderConfirmation] finished in [64] milliseconds
> 
> Note it says the service finished, yet, it is still marked as running in 
> the webtools thread list. Those seem to never go away, eventually, I 
> presume we will run out of available threads.
> 
> Where can I look to help debug this further? I looked back and this did 
> not happen on the old machine, the jobs were always marked as finished.
> 
> Email was in fact sent, to me and I got it, so, it did run.
>