running the tomcat bundled version

Hi
I find the version of TeamCity that comes bundled with Tomcat to be more stable than the .war version. This is probably because I do not configure the agent correctly.
I need to setup the TeamCity server to run behind "pound" - a reverse proxy server on Linux. Therefore I can not run TeamCity from the ROOT in the webapps directory. This is because pound requires the url to contain some unique part of on which to do the mapping to another service url. Is it possible to change the bundled version to run from, for example http://somehost:8111/teamcity/ and not just http://somehost:8111/
If it is possible I would appreciate if you could indicate what changes I need to make.
Regards
Ian

1 comment
Comment actions Permalink

Hi,

Ian de Beer wrote:

Hi
I find the version of TeamCity that comes bundled with Tomcat to be more stable than the .war version. This is probably because I do not configure the agent correctly.
I need to setup the TeamCity server to run behind "pound" - a reverse proxy server on Linux. Therefore I can not run TeamCity from the ROOT in the webapps directory. This is because pound requires the url to contain some unique part of on which to do the mapping to another service url. Is it possible to change the bundled version to run from, for example http://somehost:8111/teamcity/ and not just http://somehost:8111/
If it is possible I would appreciate if you could indicate what changes I need to make.


Try the following steps:

- shutdown TeamCity (both agent and server)
- mkdir TeamCity/webapps/teamcity/
- move TeamCity/webapps/ROOT/* TeamCity/webapps/teamcity/
- in TeamCity/buildAgent/bin/buildAgent.properties file, update serverUrl value.
- Make corresponding changes in other build agents, if any.
- start TeamCity.

Hope, this helps,
KIR

--
Kirill Maximov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.