StarTeam Agile Tomcat service fails to start but shows the status as starting


The StarTeam Agile Tomcat service can fail to start under either of the following situations,

  • The tomcat folder is locked down by permissions
  • One of the StarTeam Agile batch files needs an additional parameter

First step is to stop the corrupted service. The best way to stop this service is to do the following:

  1. Start Task Manager 
  2. Find tomcat under the Processes tab
  3. If TomCat isn't visible in the Processes tab, check "Show processes from all users" in the lower left
  4. Select "View" menu and choose "Select Columns"
  5. Check "PID" and hit OK
  6. Go to the services tab to find the PID of the service you want to kill
  7. Go back to Processes tab
  8. Right-click and select "End Process"

Assigning rights to Apache:

Now that the service has been successfully stopped please go to the directory

C:\Program Files\Borland\StarTeam Agile 2.0\apache-tomcat-7.0.19

right-click and ensure that the directory is not read only and the system has full set of privielges.

Editing the startup batch files:

Browse to the folder

C:\Program Files\Borland\StarTeam Agile 2.0

Open the StarTeamService64.bat in a text editor

The default contents will look as follows:

set JAVA_HOME=C:\Program Files\Borland\Java\Sun1.6.0_29
set PR_JVM=%JAVA_HOME%\bin\server\jvm.dll
set TOMCAT_VERSION=apache-tomcat-7.0.19

Now modify the contents to look as follows:

set JAVA_HOME=C:\Program Files\Borland\Java\Oracle1.7.0_17
set PR_JVM=%JAVA_HOME%\bin\server\jvm.dll << Verify existence…
set TOMCAT_VERSION=apache-tomcat-7.0.47

Open a CMD window and browse to

C:\Program Files\Borland\StarTeam Agile 2.0.

Run the command StarTeamService64 install

This will reinstall Tomcat as a windows service. You can then start the service from the batch files or from the windows service UI

Comment List