It's all about the answers!

Ask a question

Checking server component version, in case of caching


Andy Meneely (26132) | asked Nov 30 '09, 11:17 a.m.
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?

3 answers



permanent link
Jose Miguel Ordax Cassa (2.4k2122100) | answered Nov 30 '09, 11:38 a.m.
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

permanent link
Jose Miguel Ordax Cassa (2.4k2122100) | answered Nov 30 '09, 11:38 a.m.
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.

permanent link
Andy Meneely (26132) | answered Nov 30 '09, 1:16 p.m.
That works! Thanks!

Your answer


Register or to post your answer.