Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Running startup/shutdown server scripts from any directory

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

0 votes



3 answers

Permanent link
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

0 votes


Permanent link
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

0 votes


Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Oct 29 '08, 12:17 p.m.

Question was seen: 6,308 times

Last updated: Oct 29 '08, 12:17 p.m.

Confirmation Cancel Confirm