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

Jazz components & Repository.Server_Version_Record

I have created a Jazz component (common, service & client plugins) that is
now running correctly. However I've made a mistake during one step that
involves the contents of Server_Version_Record table:

1/ I have created the DB with repotools that contains my common plugin. It
did create an extra schema with the tables.

2/ I have made a mistake updating the jazz.war file and put my common &
service plugin in a wrong directory. I have started the server once,
realized my mistake, then fixed it.

3/ My component seems to work correctly, but I have this message in the
server log after the first client connection:

Component has not been installed in the database: <myComponent name>

I have then seen that this table is populated during the very first
connection to the empty database by scanning all the components. Since my
component is working, despite the error, I am confused.

a/ What is the purpose of server_version_Record? How does it relate to
Repository.all_types, which seems to contain more detailed info about the
models of the components?

b/ Since my component is working, can I ignore the error? Can I fix it (how
can I add the missing entry), are there other things that were skipped?

c/ Is it possible to add new components working with an existing DB or
should we always install new components with a new DB?

Thanks!

Nicolas

0 votes



One answer

Permanent link
Nicolas Dangeville wrote:
I have created a Jazz component (common, service & client plugins) that is
now running correctly. However I've made a mistake during one step that
involves the contents of Server_Version_Record table:

1/ I have created the DB with repotools that contains my common plugin. It
did create an extra schema with the tables.

2/ I have made a mistake updating the jazz.war file and put my common &
service plugin in a wrong directory. I have started the server once,
realized my mistake, then fixed it.

3/ My component seems to work correctly, but I have this message in the
server log after the first client connection:

Component has not been installed in the database: <myComponent name

I have then seen that this table is populated during the very first
connection to the empty database by scanning all the components. Since my
component is working, despite the error, I am confused.

a/ What is the purpose of server_version_Record? How does it relate to
Repository.all_types, which seems to contain more detailed info about the
models of the components?

b/ Since my component is working, can I ignore the error? Can I fix it (how
can I add the missing entry), are there other things that were skipped?

c/ Is it possible to add new components working with an existing DB or
should we always install new components with a new DB?

Thanks!

Nicolas



Hi Nicolas,
You're OK, you can safely ignore the error. The server version records
record, on the first boot of a new repository DB, the component versions
which were used to create the DB. They assume the repotools and WAR are
in synch, which yours were not at first.

We have work items open to change the repotools packaging so that it
cannot be out of synch. But, at the moment, you must rebuild your
database whenever you add a new component or rev its model version.

Glad to see you're making progress on your component.

Scott

0 votes

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: May 18 '07, 8:41 a.m.

Question was seen: 8,884 times

Last updated: May 18 '07, 8:41 a.m.

Confirmation Cancel Confirm