updating server jars using the server provisioner
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
Thanks for the help in advance!
Annie
3 answers
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:
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
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
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
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:
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