Helpful Tips
May 2005

 

Changing Timesheet's port in Apache

Last month we looked at changing Timesheet's port in IIS, so it seemed only fair to address the same issue in Apache. These instructions for changing the Apache port number use changing from 8080 to 7770 as an example.

  1. Stop Timesheet by running pi/bin/wstop
  2. Locate the port number in the following 3 files (starting from the install directory):
    1. pi/apache/serverroot/conf/httpd.conf
      Change the line:
       Port 8080
      To:
       Port 7770
    2. pi/bin/setup (sequentiality matters here)
      Change the lines:
       APACHEPORT=8080
       PGPORT=8081
       CACHEPORT1=8082
       CACHEPORT2=8083
       CACHEPORT3=8084
       SYNCPORT1=8085
       SYNCPORT2=8086
       SYNCPORT3=8087
      To:
       APACHEPORT=7770
       PGPORT=7771
       CACHEPORT1=7772
    3. ./config
      Change the line:
       HTTP_PORT=8080
      To:
       HTTP_PORT=7770
  3. Restart the service with wstart

Where are Timesheet's log files located?

%TEMP%\JournyxTimesheetSetupLog.txt

This file contains the Installshield logging information. Only the lines that begin with JX** have text written by Journyx programmers. If Installshield failed with an unusual or generic error, often the cause can be found in this log.

%WTHOME%\IntegrationLog.txt
(e.g., C:\Program Files\Journyx\IntegrationLog.txt)

That contains all the output that you see go by in the terminal window when you run the "Setup Web Server and Database" script (the script that runs after installing and rebooting.) It is both printed to screen and captured in the log. The file is always appended to, so it can have data from more than one "run" of the script. (Also, uninstalling causes stuff to be printed to that log.)

Both of these files are critical to obtain in any support situation if it involves either the primary installation (Installshield stuff) or the post-install Integration (getting the web server and database set up.)

Additionally, there is the file known as debug.log, which is part of Timesheet's diagnostic logging. There are also a few other new logfiles in %WTHOME%\jwt\tmp, but typically these will not have anything useful for most support situations. You cannot turn these logs on or off, but in most cases they will not grow very fast at all.

Return to the Tips Archive