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

Checking server component version, in case of caching

We're developing a plug-in that has both a client and a server component. Since we're releasing a new version of the component to our customers every two weeks, we want to make sure that when they install the latest version of the server component, the old version doesn't get cached by Tomcat (or some other part of Jazz).

So my first question is: how can I check to make sure that the correct server component version is installed? When I go to "Component Status" on the server, I can see that our service is running, but I don't see any version info.

And my second question is: if I do have a caching problem for a new server component, is there a way to flush that cache?

0 votes



3 answers

Permanent link
On 30-Nov-09 5:23 PM, andy.meneely wrote:

And my second question is: if I do have a caching problem for a new
server component, is there a way to flush that cache?

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

0 votes


Permanent link
On 30-Nov-09 5:23 PM, andy.meneely wrote:

So my first question is: how can I check to make sure that the correct
server component version is installed? When I go to "Component
Status" on the server, I can see that our service is running,
but I don't see any version info.

One way to know, it is activating OSGi console in RTC Server:

Edit the $RTCINSTALL\server\tomcat\webapps\jazz\WEB-INF\web.xml file and
uncomment the following lines:

<!--
<init>
<param>commandline</param>
<param>-console</param>
</init>
-->

and execute ss command from OSGi console like: ss example
will show all features with example word in it name and the version.

Hope this helps,

Chemi.

0 votes


Permanent link
That works! 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
× 10,938

Question asked: Nov 30 '09, 11:17 a.m.

Question was seen: 5,112 times

Last updated: Nov 30 '09, 11:17 a.m.

Confirmation Cancel Confirm