It's all about the answers!

Ask a question

How to deploy a precondition?


Bruno Braga (48013621) | asked Mar 24 '09, 6:55 p.m.
This page explains how to create a Precondition:

https://jazz.net/wiki/bin/view/Main/PreconditionFollowupCreation

But how to deploy and test a new Precondition?
Where should I put the plug-in (jar)?

13 answers



permanent link
sam detweiler (12.5k6195201) | answered Mar 29 '12, 1:54 p.m.
that is the official way to force a plugin reload.

permanent link
Claudio Neves (4133) | answered Mar 29 '12, 1:03 p.m.


(1) If you are using Tomcat , delete the tomcat cache by deleting the folder catalina under tomcat / work and restart the server .


Does anyone know how to delete the Websphere cache ?! In our dev environment, we use Tomcat, and deleting "JazzTeamServer\server\tomcat\work\Catalina\localhost\ccm\eclipse" works for us, but we are having a problem in production, where RTC is running on Websphere. Caliing /ccm/admin/cmd/requestReset and then restarting Websphere always worked, but it doesn't seem to be working anymore. I would like to wipe out the Websphere cache to make sure our advisors are being refreshed.

Any advice is really appreciated.

Thanks,
Claudio Neves

permanent link
Noel Gimeno (1521417) | answered Apr 12 '10, 12:27 p.m.
Thanks so much!
It is already solved.
It was caused by an incompatibility of the Java platform between the plugin and the one I had installed on my RTC machine.

Thanks very much for your contribution.

Regards,
NOEL.

permanent link
Noel Gimeno (1521417) | answered Feb 01 '10, 9:57 a.m.
I am testing the steps you recommended me. As soon as I finish it, I will write again with the results in case someone else is in the same situation.
Thanks!!


(1) If you are using Tomcat , delete the tomcat cache by deleting the folder catalina under tomcat / work and restart the server .


A few months ago I could do using this way.

But so far I don't know if it was the correct way, because doing that the RTC licenses are lost, the server returns to trial and you must upload the jars again.

Is there a way to avoid this?

----

For me, what caused difficulty is that I didn't find any technote explaining these items (how to deploy) step by step, and I needed to find a solution alone.

permanent link
Bruno Braga (48013621) | answered Jan 27 '10, 11:56 a.m.

(1) If you are using Tomcat , delete the tomcat cache by deleting the folder catalina under tomcat / work and restart the server .


A few months ago I could do using this way.

But so far I don't know if it was the correct way, because doing that the RTC licenses are lost, the server returns to trial and you must upload the jars again.

Is there a way to avoid this?

----

For me, what caused difficulty is that I didn't find any technote explaining these items (how to deploy) step by step, and I needed to find a solution alone.

permanent link
Jagadish R Rao (10612111) | answered Jan 27 '10, 12:35 a.m.
Hi

I too faced this initially, but you need to check two things

(1) If you are using Tomcat , delete the tomcat cache by deleting the folder catalina under tomcat / work and restart the server .

(2) Another option is to start the tomcat server in debugger mode and check wether your installed bundle (Plugin) in OSGI console is ACTIVE , if it is in INSTALLED state , check the jazz.log it will contain the reason for not having the bundle started.

Thx & Regds
Jagadish


any help?

tks!


Hi Fausto, I am having the same problem with deploying the condition advisors.
I create an advisor just like explained in :https://jazz.net/wiki/bin/view/Main/RTCSDK20_ProcessPreConditionExample, but when I am deploying it into the server, it doesnt seem to be captured by the server.
Did you find any solution? Could you please share it with me?

Thanks a lot!

NOEl.

permanent link
Jared Burns (4.5k29) | answered Jan 25 '10, 2:07 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The best test that we made was copying an existing pre-condition (just to ensure that nothing was missed). We create the plugin, the feature and the update site project. Later, on the server, we create the .ini file and set the two parameters, "url" and "featureid".


Have you also hit the URL to reset your server's provisioning? I believe this is required for any new plugins to get picked up:

https://localhost:9443/jazz/admin/cmd/requestReset

- Jared
--------------------------
Jazz Team Process

permanent link
Noel Gimeno (1521417) | answered Jan 22 '10, 9:05 a.m.
any help?

tks!


Hi Fausto, I am having the same problem with deploying the condition advisors.
I create an advisor just like explained in :https://jazz.net/wiki/bin/view/Main/RTCSDK20_ProcessPreConditionExample, but when I am deploying it into the server, it doesnt seem to be captured by the server.
Did you find any solution? Could you please share it with me?

Thanks a lot!

NOEl.

permanent link
Fausto Lemos (16811518) | answered Apr 06 '09, 10:20 a.m.
any help?

tks!

permanent link
Fausto Lemos (16811518) | answered Mar 31 '09, 5:00 p.m.
Hello Patrick,

im working with Bruno on this task and after a lot of tests we cant deploy our new pre-condition.

The best test that we made was copying an existing pre-condition (just to ensure that nothing was missed). We create the plugin, the feature and the update site project. Later, on the server, we create the .ini file and set the two parameters, "url" and "featureid".

Just to check the directories structure:

server
.......provision_profiles
..........test.ini
.......update-site
..........features
..........plugin
..........site.xml

When we try to open Team Concert and go to the pre-conditions session, nothing appears. Our new pre-condition doesnt exists their!

Can you help? There is others configurations to be done ?

tks!

Your answer


Register or 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.