It's all about the answers!

Ask a question

Jazz components & Repository.Server_Version_Record


Nicolas Dangeville (31632425) | asked May 18 '07, 8:41 a.m.
JAZZ DEVELOPER
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

One answer



permanent link
Scott Rich (57136) | answered May 25 '07, 3:39 p.m.
JAZZ DEVELOPER
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

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.