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.

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책