1. timemachine
  2. scheduler
  3. Issues
Issue #29 resolved

Make timemachine-web.war executable

Zemian Deng
created an issue

Make it so that we can run {{{java -jar timemachine-web.war}}} to get started by beginners, while war should still deploy into full blow scheduler by normal web container.

Comments (3)

  1. Zemian Deng reporter

    Added in 1f4f3f77587c.

    Sample run

    ZEMIANs-iMac:target zemian$ java -jar timemachine-web-1.3.0-SNAPSHOT.war
    Preparing /Users/zemian/.winstone-timemachine directory to unpack and run web application.
    Extracting WEB-INF/lib-winstone/ecj-3.7.jar
    Extracting WEB-INF/lib-winstone/el-api-6.0.35.jar
    Extracting WEB-INF/lib-winstone/jasper-6.0.35.jar
    Extracting WEB-INF/lib-winstone/jasper-el-6.0.35.jar
    Extracting WEB-INF/lib-winstone/jsp-api-2.1.jar
    Extracting WEB-INF/lib-winstone/jsp-api-6.0.35.jar
    Extracting WEB-INF/lib-winstone/jstl-1.1.2.jar
    Extracting WEB-INF/lib-winstone/juli-6.0.35.jar
    Extracting WEB-INF/lib-winstone/standard-1.1.2.jar
    Extracting WEB-INF/lib-winstone/winstone-0.9.10.jar
    Starting Winstone Servlet Container with /Users/zemian/projects/scheduler/timemachine-web/target/timemachine-web-1.3.0-SNAPSHOT.war
    Server args: [--warfile=/Users/zemian/projects/scheduler/timemachine-web/target/timemachine-web-1.3.0-SNAPSHOT.war, --ajp13Port=-1, --webroot=/Users/zemian/.winstone-timemachine/tmp, --commonLibFolder=/Users/zemian/.winstone-timemachine, --useJasper]
    [Winstone 2012/09/22 23:33:07] - Beginning extraction from war file
    23:33:07 main INFO timemachine.scheduler.web.SchedulerContextListener| Loading TimeMachine Scheduler config from: classpath:timemachine/scheduler/default.properties
    23:33:07 main INFO timemachine.scheduler.service.SchedulerEngine| TimeScheduler system services initialized: [
      scheduler: SchedulerData[id=1, name=TimeMachineScheduler],
      schedulerNode: SchedulerNode[nodeId=1, name=ZEMIANs-iMac.local, ip=192.168.1.135],
      configProps: classpath:timemachine/scheduler/default.properties,
      dataStore: MemoryDataStore[name=1659911353],
      scheduleRunner: PollingScheduleRunner[name=62586292],
      classLoader: SimpleClassLoaderService[name=210220389],
      jobTaskFactory: SimpleJobTaskFactory[name=1447113288],
      jobTaskPoolNameResolver: SimpleJobTaskPoolNameResolver[name=1901299656],
      jobTaskThreadPool: DynamicThreadPool[name=jobTaskThreadPool.DEFAULT],
    ]
    23:33:07 main INFO timemachine.scheduler.service.SchedulerEngine| Scheduler[id=1, nodeId=1, nodeIp=192.168.1.135] initialized. Version=1.3.0-SNAPSHOT.092220122207
    23:33:07 main INFO timemachine.scheduler.service.SchedulerEngine| Scheduler[id=1, nodeId=1, nodeIp=192.168.1.135] started.
    [Winstone 2012/09/22 23:33:07] - HTTP Listener started: port=8080
    [Winstone 2012/09/22 23:33:07] - Winstone Servlet Engine v0.9.10 running: controlPort=disabled
    
  2. Log in to comment