Issue

When you try to start your instance, it returns the following error:

30.08.2007 00:02:12 *ERROR* webapp-Author: engine: Unexpected error during engine initialization java.lang.NumberFormatException: For input string: "27634s" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Long.parseLong(Long.java:403) at java.lang.Long.parseLong(Long.java:452) at com.day.cq.util.scheduler.EventQueue.load(EventQueue.java:105) at com.day.cq.util.scheduler.EventQueue.<init>(EventQueue.java:76) at com.day.cq.util.scheduler.Scheduler.<init>(Scheduler.java:65) at com.day.cq.engine.services.SchedulerService.doStart(SchedulerService.java:81) at com.day.cq.engine.AbstractService.start(AbstractService.java:140) at com.day.cq.engine.AbstractModule.load(AbstractModule.java:159) at com.day.cq.engine.Engine.load(Engine.java:469) at com.day.cq.engine.Engine.init(Engine.java:227) at com.day.cq.engine.servlet.CommuniqueServlet.init(CommuniqueServlet.java:58) at javax.servlet.GenericServlet.init(GenericServlet.java:366) at com.day.cq.bootstrap.ServletProxy.init(ServletProxy.java:89) at com.day.cq.bootstrap.CommuniqueServlet.init(CommuniqueServlet.java:58)

Solution

  1. Search for the string in the error.log (in this case, 27634s).
  2. Back up the history/schedulerqueue.hist file.
  3. Manually edit the history/schedulerqueue.hist file, and either try to repair the incorrect entry if the issue is obvious, or delete the corrupted lin.
  4. Save the file.

Additional information

This issue occurs when there is a corrupted line in the /hist/schedulerqueue.hist file.

Šis darbs ir licencēts saskaņā ar Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported licenci  Uz portālā Twitter™ un Facebook izvietotajiem ziņojumiem neattiecas Creative Commons sistēmas noteikumi.

Juridisks paziņojums   |   Tiešsaistes konfidencialitātes politika