Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE

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

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
 

DISCLAIMER:

Some content on Community Tips & Information pages is not officially supported by Micro Focus. Please refer to our Terms of Use for more detail.
Top Contributors
Version history
Revision #:
1 of 1
Last update:
‎2014-07-16 11:12
Updated by:
 
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.