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:
- Start Task Manager
- Find tomcat under the Processes tab
- If TomCat isn't visible in the Processes tab, check "Show processes from all users" in the lower left
- Select "View" menu and choose "Select Columns"
- Check "PID" and hit OK
- Go to the services tab to find the PID of the service you want to kill
- Go back to Processes tab
- 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
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…
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