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

How to deploy a precondition?

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)?

0 votes



13 answers

Permanent link
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

0 votes


Permanent link
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?

0 votes


Permanent link
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

0 votes


Permanent link
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!

0 votes


Permanent link
any help?

tks!

0 votes


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

0 votes


Permanent link
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

0 votes


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

0 votes


Permanent link

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

0 votes


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

0 votes

1–15 items
page 1of 1 pagesof 2 pages

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: Mar 24 '09, 6:55 p.m.

Question was seen: 14,292 times

Last updated: Mar 24 '09, 6:55 p.m.

Confirmation Cancel Confirm