It's all about the answers!

Ask a question

Running startup/shutdown server scripts from any directory


St Clair Clarke (662618) | asked Oct 29 '08, 12:17 p.m.
Hello,
I see the statement below:

"If you want to run the start and stop scripts from any other directory, you must change the profiles.ini file in JazzInstallDir/server/provision_profiles to use an absolute path."

.. at https://jazz.net/downloads/rational-team-concert/releases/1.0?p=install.docs/install_server#dqx1c_ec_installation_server.

What is the key for the abosolute path of the startup and shutdown scripts in the profile.ini file?

Thanks

3 answers



permanent link
Matt Lavin (2.7k2) | answered Oct 29 '08, 2:11 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
There is a published technote about how to setup Tomcat to run as a
Windows service. Since Windows services need to be able to run from any
directory the steps to setup the service are the same as what you are
looking for.
https://jazz.net/learn/LearnItem.jsp?href=content/tech-notes/jazz-team-server-0_6-running-jazz-team-server-in-tomcat-as-a-windows-service/index.html

The keys points for you would be steps 2 and 7.

--
Matt Lavin
Jazz Server Team


stclair wrote:
Hello,
I see the statement below:

"If you want to run the start and stop scripts from any other
directory, you must change the profiles.ini file in
JazzInstallDir/server/provision_profiles to use an absolute
path."

. at
https://jazz.net/downloads/rational-team-concert/releases/1.0?p=install.docs/install_server#dqx1c_ec_installation_server.

What is the key for the abosolute path of the startup and shutdown
scripts in the profile.ini file?

Thanks

permanent link
Richard Backhouse (6661) | answered Oct 29 '08, 2:11 p.m.
JAZZ DEVELOPER
What it means is that by default the url property in the profile files
is a relative path file based url. e.g.

url=file:./update-site

If you want to run the startup/shutdown scripts from other than the
default (<server>/jazz/server) directory you must modify
the url property value to be an absolute file based url that points to
the relevant update-site directory. For example if you have installed
the jazz server in a directory called rtc then you would change the url
property value to :

url=file:/rtc/jazz/server/update-site

Richard
Jazz Web UI and Server Development

stclair wrote:
Hello,
I see the statement below:

"If you want to run the start and stop scripts from any other
directory, you must change the profiles.ini file in
JazzInstallDir/server/provision_profiles to use an absolute
path."

. at
https://jazz.net/downloads/rational-team-concert/releases/1.0?p=install.docs/install_server#dqx1c_ec_installation_server.

What is the key for the abosolute path of the startup and shutdown
scripts in the profile.ini file?

Thanks

permanent link
St Clair Clarke (662618) | answered Oct 29 '08, 4:33 p.m.
Thanks everyone. I appreciate both replies.

What it means is that by default the url property in the profile files
is a relative path file based url. e.g.

url=file:./update-site

If you want to run the startup/shutdown scripts from other than the
default (<server>/jazz/server) directory you must modify
the url property value to be an absolute file based url that points to
the relevant update-site directory. For example if you have installed
the jazz server in a directory called rtc then you would change the url
property value to :

url=file:/rtc/jazz/server/update-site

Richard
Jazz Web UI and Server Development

stclair wrote:
Hello,
I see the statement below:

"If you want to run the start and stop scripts from any other
directory, you must change the profiles.ini file in
JazzInstallDir/server/provision_profiles to use an absolute
path."

. at
https://jazz.net/downloads/rational-team-concert/releases/1.0?p=install.docs/install_server#dqx1c_ec_installation_server.

What is the key for the abosolute path of the startup and shutdown
scripts in the profile.ini file?

Thanks

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.