#1 2017-08-24 09:23:54

Achilie
Member
From: Hamburg, Deutschland
Registered: 2017-01-24
Website

Error Scheduling a Report

Hi,

i try to schedule a report. It seems i have done something wrong with the scheduled time, but i cannot edit this schedule (Next execution time is set to 2017-09-01 00:15).
I get the following error:
Error
The first fire time comes before the submitted date.
java.lang.IllegalArgumentException: The first fire time comes before the submitted date
<br>    at net.datenwerke.scheduler.service.scheduler.triggers.complex.MonthlyNthDayMthMonthTrigger.getFirstIncludedDayBefore(MonthlyNthDayMthMonthTrigger.java:79)
<br>    at net.datenwerke.scheduler.service.scheduler.triggers.complex.DateTrigger.getFinalFireTime(DateTrigger.java:263)
<br>    at net.datenwerke.scheduler.service.scheduler.triggers.complex.DateTrigger.computeNextFireTime(DateTrigger.java:271)
<br>    at net.datenwerke.scheduler.service.scheduler.entities.AbstractTrigger.getNextScheduleTimes(AbstractTrigger.java:271)
<br>    at net.datenwerke.scheduler.service.scheduler.triggers.complex.DateTrigger.getNextScheduleTimes(DateTrigger.java:299)
<br>    at net.datenwerke.rs.scheduler.server.scheduler.SchedulerRpcServiceImpl.loadScheduleInformation(SchedulerRpcServiceImpl.java:412)
<br>    at net.datenwerke.rs.scheduler.server.scheduler.SchedulerRpcServiceImpl.loadFullScheduleInformation(SchedulerRpcServiceImpl.java:373)
<br>    at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:66)
<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)
<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
<br>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
<br>    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
<br>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
<br>    at java.lang.reflect.Method.invoke(Unknown Source)
<br>    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587)
<br>    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)
<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)
<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
<br>    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)
<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)
<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
<br>    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
<br>    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
<br>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
<br>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)
<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)
<br>    at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
<br>    at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
<br>    at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
<br>    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
<br>    at com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:89)
<br>    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)
<br>    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
<br>    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
<br>    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
<br>    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
<br>    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
<br>    at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
<br>    at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
<br>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
<br>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
<br>    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
<br>    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)
<br>    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
<br>    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
<br>    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
<br>    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)
<br>    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
<br>    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
<br>    at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:877)
<br>    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
<br>    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2508)
<br>    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2497)
<br>    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
<br>    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
<br>    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
<br>    at java.lang.Thread.run(Unknown Source)
<br>

Thanks
Joachim

Offline

#2 2017-08-24 10:50:58

jalbrecht
Administrator
Registered: 2016-10-21

Re: Error Scheduling a Report

Hi Achilie,


There is a misleading chapterisation at 14.1.30 and 14.1.31 in the Admin Guide chapter terminal commands. It should read:
scheduler
The superordinate command scheduler includes the following commands to control the scheduler.
daemon   
Enables to start and stop the scheduler. disable will stop the scheduler and prevent it to restart in case of a ReportServer restart. Commands prefixed by wd refer to Watchdog which is integrated in the Scheduler. For further information on this refer to the Developer manual.
usage:
scheduler daemon [start, stop, restart, enable, disable, status, wdstatus, wdshutdown, wdstart, wdrestart]

listFireTimes
Lists the upcoming fire times.
usage:
scheduler listFireTimes [list, remove, unschedule]

list    Displays the job list

remove    Deletes a job from the dispositions

unschedule    Cancels a job in the dispositions.

Whenever it gets complicated with scheduled jobs i use these Terminalcommands and they work nicely.Pls. try to solve your problem with those.
Pls. get back to us if you do not succeed.

Jan

Offline

#3 2017-08-24 13:21:37

Achilie
Member
From: Hamburg, Deutschland
Registered: 2017-01-24
Website

Re: Error Scheduling a Report

Hi Jan,

thanks for your answer. I was able to delete the Job.

I think, there should be a chance to do this via the GUI, as the error occured when i klick on the entry in the Scheduler GUI.
To reproduce:
I scheduled a report monthly 1.day every 1. month at 0:15 (-> next execution 01.09)
ends at 31.08.
Finished.
Ups, not 08. but 12.
The schedule is displayed but you can not edit it.

Regards
Joachim

Offline

Board footer

Powered by FluxBB