It's all about the answers!

Ask a question

updating server jars using the server provisioner


Annie Ying (2061103) | asked Oct 21 '08, 2:57 p.m.
JAZZ DEVELOPER
Does the server provisioner (https://jazz.net/wiki/bin/view/Main/UsingJazzProvisioner) support updates to the server code? The server provisioner works fine with I installed my updatesite project the first time to the RTC server. Now I have updated my code, rebuilt the updatesite project, and wanted to deploy my new code, but the server provisioner doesn't seem to be picking up my updated jars. Any ideas of what went wrong?

Thanks for the help in advance!

Annie

3 answers



permanent link
Richard Backhouse (6661) | answered Oct 21 '08, 3:45 p.m.
JAZZ DEVELOPER
You will have to reset the server to get it to re-provision from your
rebuild update-site. You do this via this admin url :

https://localhost:9443/jazz/admin?internal#action=com.ibm.team.repository.admin.serverReset

Once you have shutdown the server and restarted it after requesting a
server reset it should run the provisioner again using your new update-site.

Richard
Jazz Web UI and Server Development

aying wrote:
Does the server provisioner
(https://jazz.net/wiki/bin/view/Main/UsingJazzProvisioner) support
updates to the server code? The server provisioner works fine with I
installed my updatesite project the first time to the RTC server. Now
I have updated my code, rebuilt the updatesite project, and wanted to
deploy my new code, but the server provisioner doesn't seem to be
picking up my updated jars. Any ideas of what went wrong?

Thanks for the help in advance!

Annie

permanent link
Annie Ying (2061103) | answered Oct 22 '08, 1:32 p.m.
JAZZ DEVELOPER
Richard,

Thanks so much for your help. It turns out that I forgot to update the version number on the feature, so the server provisioner didn't realize that I have upgraded my code to a newer version. With the new version number and going to the reset url, it works!

There's another question I'm wondering:
Does this url
https://localhost:9443/jazz/admin/cmd/requestReset
do the same thing as the reset url you mentioned:
https://localhost:9443/jazz/admin?internal#action=com.ibm.team.repository.admin.serverReset

The first url appears in the server provisioner documentation on the wiki.

Annie

permanent link
Richard Backhouse (6661) | answered Oct 22 '08, 1:46 p.m.
JAZZ DEVELOPER
Yes, both urls will result in the same thing. The 2nd one is just a
nicer ui layer that calls the 1st url under the covers.

Richard
Jazz Web UI and Server development.

aying wrote:
Richard,

Thanks so much for your help. It turns out that I forgot to update
the version number on the feature, so the server provisioner didn't
realize that I have upgraded my code to a newer version. With the
new version number and going to the reset url, it works!

There's another question I'm wondering:
Does this url
https://localhost:9443/jazz/admin/cmd/requestReset
do the same thing as the reset url you mentioned:
https://localhost:9443/jazz/admin?internal#action=com.ibm.team.repository.admin.serverReset

The first url appears in the server provisioner documentation on the
wiki.

Annie

Your answer


Register or to post your answer.