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?
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
On 30-Nov-09 5:23 PM, andy.meneely wrote:
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.
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.