job list scheduler problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

job list scheduler problem

rajshekhar
hi,
   I wrote a scheduler which runs after every hour ,But there is no result output of scheduler and time duration in job list between start time and finish time is 1 sec.

regards
G.Rajshekhar
Reply | Threaded
Open this post in threaded view
|

Re: job list scheduler problem

cjhowe
You really need to give more information when you have
a problem.

When developing, at the begining of every method I
create, I always put a log output that the method is
starting and at the end a log output that the method
is finishing.  That way if nothing gets output, I know
that it didn't run (verbose on would work as well, but
i'm only concerned about the things i've created).
When all the bugs seemed worked out, I remove the log
outputs.

--- rajshekhar <[hidden email]> wrote:

>
> hi,
>    I wrote a scheduler which runs after every hour
> ,But there is no result
> output of scheduler and time duration in job list
> between start time and
> finish time is 1 sec.
>
> regards
> G.Rajshekhar
> --
> View this message in context:
>
http://www.nabble.com/job-list-scheduler-problem-tf2138416.html#a5901356
> Sent from the OFBiz - User forum at Nabble.com.
>
>

Reply | Threaded
Open this post in threaded view
|

Re: job list scheduler problem

rajshekhar
yes, i put the debug statement at the start and at the end of service..I did not get any log outputs..from this i guessed that service has not been execuated, but in job list it shows the start time and finish time and time duration is 1 sec.


regards
G.Rajshekhar
Reply | Threaded
Open this post in threaded view
|

Re: job list scheduler problem

cjhowe
what's in your log just before it ran thru just after
it ran?

--- rajshekhar <[hidden email]> wrote:

>
> yes, i put the debug statement at the start and at
> the end of service..I did
> not get any log outputs..from this i guessed that
> service has not been
> execuated, but in job list it shows the start time
> and finish time and time
> duration is 1 sec.
>
>
> regards
> G.Rajshekhar
> --
> View this message in context:
>
http://www.nabble.com/job-list-scheduler-problem-tf2138416.html#a5901452
> Sent from the OFBiz - User forum at Nabble.com.
>
>

Reply | Threaded
Open this post in threaded view
|

Re: job list scheduler problem

rajshekhar
i am not getting  any log related to that service
Reply | Threaded
Open this post in threaded view
|

Re: job list scheduler problem

rajshekhar
In reply to this post by rajshekhar
11291417 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [Control EventListener.java:162:INFO ] visit:[GenericEntity:Visit][clientHostName,72.232. 64.35(java.lang.String)][clientIpAddress,72.232.64.35(java.lang.String)][clientU ser,null()][createdStamp,2006-08-20 20:51:12.194(java.sql.Timestamp)][createdTxS tamp,2006-08-20 20:51:12.193(java.sql.Timestamp)][fromDate,2006-08-20 20:51:12.1 81(java.sql.Timestamp)][initialLocale,en_US(java.lang.String)][initialReferrer,( java.lang.String)][initialRequest,http://www.sendfms.com//control/main(java.lang .String)][initialUserAgent,Java/1.5.0_07(java.lang.String)][lastUpdatedStamp,200 6-08-20 21:52:01.057(java.sql.Timestamp)][lastUpdatedTxStamp,2006-08-20 21:52:01 .057(java.sql.Timestamp)][serverHostName,debian(java.lang.String)][serverIpAddre ss,127.0.0.1(java.lang.String)][sessionId,DBC214743A688E502C7890532911AA01.jvm1( java.lang.String)][thruDate,2006-08-20 20:51:12.182(java.sql.Timestamp)][visitId ,22836(java.lang.String)][visitorId,21960(java.lang.String)][webappName,root(jav a.lang.String)]
11291417 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [Control EventListener.java:162:INFO ] _CLIENT_USER_AGENT_:Java/1.5.0_07
11291418 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [Control EventListener.java:162:INFO ] _BREAD_CRUMB_TRAIL_:[]
11291418 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [Control EventListener.java:162:INFO ] shoppingCart:org.ofbiz.order.shoppingcart.WebShopp ingCart@fc13bc
11291418 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [Control EventListener.java:162:INFO ] CURRENT_CATALOG_ID:sendfms
11291418 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [Control EventListener.java:162:INFO ] _CLIENT_LOCALE_:en_US
11291419 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [Control EventListener.java:162:INFO ] visitor:[GenericEntity:Visitor][createdStamp,2006- 08-20 20:51:12.19(java.sql.Timestamp)][createdTxStamp,2006-08-20 20:51:12.19(jav a.sql.Timestamp)][lastUpdatedStamp,2006-08-20 20:51:12.19(java.sql.Timestamp)][l astUpdatedTxStamp,2006-08-20 20:51:12.19(java.sql.Timestamp)][visitorId,21960(ja va.lang.String)]
11291419 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [Control EventListener.java:164:INFO ] --- End Session Attributes ---
11291419 (ContainerBackgroundProcessor[StandardEngine[default-server]]) [Control EventListener.java:165:INFO ] <================================================= ==================>
11302867 (TP-Processor6) [      ChannelSocket.java:689:INFO ] connection timeout  reached