Page tree
Skip to end of metadata
Go to start of metadata

Please replace $java with the correct Java Runtime Environment installation folder name, such as C:\Program Files\jdk1.8.0_xxx.

Please replace $producer_home with the correct installation folder name of the MyTimetable Producer, such as C:\Program Files\mytimetable-ec-producer.

Please replace $consumer_home with the correct installation folder name of the MyTimetable Consumer, such as C:\Program Files\mytimetable-ec-consumer.

Please replace $instance by a descriptive text of the instance you are installing, such as prd, acc or tst.

Installing the MyTimetable Producer

  • Unpack your MyTimetable Producer distribution ZIP into $producer_home.
  • Configure clustering in the Tomcat and Producer configuration files.
  • Go to the $producer_home/bin folder.
  • Run the following batch file to install the MyTimetable Producer as a Windows Service:
    • x86: InstallService-x86.bat
    • x64: InstallService-amd64.bat
  • Run MyTimetableEcProducerw.exe.
  • In the Java tab:
    • Uncheck the "Use default" box.
    • Set "Java Virtual Machine" to $java\jre\bin\server\jvm.dll
    • Replace "Java Options" by the following. Make sure to replace the $producer_home and $instance variables!
-Dlogback.configurationFile=logback.xml
-Dapplication.home=$producer_home
-Dapplication.instance=$instance
-Djava.io.tmpdir=$producer_home/temp
-Xloggc:$producer_home/logs/gc.log
-XX:+PrintGCDetails
-XX:+PrintGCDateStamps
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=5
-XX:GCLogFileSize=5M
-XX:+HeapDumpOnOutOfMemoryError
    • Start the service in the tab General.

Installing the MyTimetable Consumer

  • Unpack your MyTimetable Consumer distribution ZIP into $consumer_home.
  • Go to the $consumer_home/bin folder.
  • Run the following batch file to install the MyTimetable Consumer as a Windows Service:
    • x86: InstallService-x86.bat
    • x64: InstallService-amd64.bat
  • Run MyTimetableEcConsumerw.exe.
    • In the Java tab:
      • Uncheck the "Use default" box.
      • Set "Java Virtual Machine" to $java\jre\bin\server\jvm.dll
      • Replace "Java Options" by the following. Make sure to replace the $customer_home and $instance variables!
-Dlogback.configurationFile=logback.xml
-Dapplication.home=$consumer_home
-Dapplication.instance=$instance
-Djava.io.tmpdir=$consumer_home/temp
-Xloggc:$consumer_home/logs/gc.log
-XX:+PrintGCDetails
-XX:+PrintGCDateStamps
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles=5
-XX:GCLogFileSize=5M
-XX:+HeapDumpOnOutOfMemoryError
    • Start the service in the tab General.

 

  • No labels