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
Patrick Streule (4.9k21) | answered Mar 25 '09, 5:26 a.m.
JAZZ DEVELOPER
But how to deploy and test a new Precondition?
Where should I put the plug-in (jar)?

Please see
https://jazz.net/wiki/bin/view/Main/UsingJazzProvisioner

--
Regards,
Patrick
Jazz Work Item Team

permanent link
Bruno Braga (48013621) | answered Mar 25 '09, 5:38 p.m.
hmmm... the steps for Jazz Server Component is same of Advisor?


Installing

* First you must run the repotools tool to add any schema information in your database. If your server is currently running shut it down.

repotools -addTables


Precondition / Advisor has no tables...
I need to follow all these Instructions?

permanent link
Patrick Streule (4.9k21) | answered Mar 27 '09, 8:12 a.m.
JAZZ DEVELOPER
hmmm... the steps for Jazz Server Component is same of Advisor?


Installing

* First you must run the repotools tool to add any schema
information in your database. If your server is currently running
shut it down.

repotools -addTables


Precondition / Advisor has no tables...
I need to follow all these Instructions?

Someone from the Repository teams may be more knowledgeable about this,
but I would assume that if you don't have your own item models, just a
service plugin that contributes the Advisors, the following steps from the
Wiki page should be sufficient:

- Build the feature for your plugin(s)

- Create a properties file called "jazztalk-profile.ini" and place it in
the "jazz\server\provision_profiles" directory

- Edit the "jazztalk-profile.ini" file and add two properties as follows
(Replace the "jazz/componentdev/com.example.jazztalk.server.updatesite"
path to point to where your update-site project that you created resides) :
url=file:/jazz/componentdev/com.example.jazztalk.server.updatesite
featureid=com.example.jazztalk.server.feature

(where jazztalk would be your project)

--
Regards,
Patrick
Jazz Work Item Team

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!

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

tks!

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

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.