It's all about the answers!

Ask a question

repotools failure


N Z (36212127) | asked Jun 01 '11, 1:12 a.m.
RTC 2.0.0.2 iFix 4. Win2003. SQL2008.

I've trying to run the following command:

C:\Program Files (x86)\IBM\JazzTeamServer\server>repotools -rebuildTextIndices teamserver.properties=conf\jaz\teamserver.properties

but have had little luck. I keep getting the following error:

Repo Tools
Rational Team Concert, Version 2.0.0.2 iFix 4 (I20100903-0816)
Jazz Foundation - Jazz Team Server, Version 1.0.0.2 iFix 4 (I20100903-0816)

Rational Jazz Team Server - Enterprise
CRJAZ1363I Loading configuration from "file:conf\jazz\teamserver.properties".
CRJAZ1365I Attempting Initial Database Connection Using
Db Name/Location: //SQLAU182.aus.corptst.anz.com:49168;databaseName=JAZZ;user=xxxxxxxx;password=xxxxxxxx;
CRJAZ1093I Service class "com.ibm.team.repository.service.internal.schemagen.PersistentMappingService" failed to activate.
CRJAZ1141I Failed to get the service "com.ibm.team.repository.service.internal.rdb.IDatabaseStateService".
CRJAZ1203I Could not determine the database location.
CRJAZ1306I The service "com.ibm.team.repository.service.internal.rdb.IDatabaseStateService" is not available.
CRJAZ1204I The database "//SQLAU182.aus.corptst.anz.com:49168;databaseName=JAZZ;user=xxxxxxxx;password=xxxxxxxx;" does not exist, the database tables have not been created, or the database user does not have the required privileges to access the database.

The DB does exist. Does anyone have any ideas on what may be causing this?

2 answers



permanent link
Ralph Schoon (63.5k33646) | answered Jun 01 '11, 3:14 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

I'd suggest to try to provide the full path to the teamserver.properties. The parameter should not matter, if you run it from the server directory, I think.

also, please make sure you open the shell with administrative rights (run as Administrator). I have seen these commands failing on Windows machines if you start the command line just running CMD even if you are administrator.

In general my suggestion is to not install into the Program Files, and even change the shared files directory to somewhere else on Windows 2008, Vista, Win7, because the Program Files foilders are virtualized and Windows seems to behave strange if you don't run then as Administrator. The shared folder can only be changed at the very first install though.

Thanks,

Ralph

RTC 2.0.0.2 iFix 4. Win2003. SQL2008.

I've trying to run the following command:

C:\Program Files (x86)\IBM\JazzTeamServer\server>repotools -rebuildTextIndices teamserver.properties=conf\jaz\teamserver.properties

but have had little luck. I keep getting the following error:

Repo Tools
Rational Team Concert, Version 2.0.0.2 iFix 4 (I20100903-0816)
Jazz Foundation - Jazz Team Server, Version 1.0.0.2 iFix 4 (I20100903-0816)

Rational Jazz Team Server - Enterprise
CRJAZ1363I Loading configuration from "file:conf\jazz\teamserver.properties".
CRJAZ1365I Attempting Initial Database Connection Using
Db Name/Location: //SQLAU182.aus.corptst.anz.com:49168;databaseName=JAZZ;user=xxxxxxxx;password=xxxxxxxx;
CRJAZ1093I Service class "com.ibm.team.repository.service.internal.schemagen.PersistentMappingService" failed to activate.
CRJAZ1141I Failed to get the service "com.ibm.team.repository.service.internal.rdb.IDatabaseStateService".
CRJAZ1203I Could not determine the database location.
CRJAZ1306I The service "com.ibm.team.repository.service.internal.rdb.IDatabaseStateService" is not available.
CRJAZ1204I The database "//SQLAU182.aus.corptst.anz.com:49168;databaseName=JAZZ;user=xxxxxxxx;password=xxxxxxxx;" does not exist, the database tables have not been created, or the database user does not have the required privileges to access the database.

The DB does exist. Does anyone have any ideas on what may be causing this?

permanent link
N Z (36212127) | answered Jun 01 '11, 7:38 p.m.
Hi,

In general my suggestion is to not install into the Program Files, and even change the shared files directory to somewhere else on Windows 2008, Vista, Win7, because the Program Files foilders are virtualized and Windows seems to behave strange if you don't run then as Administrator. The shared folder can only be changed at the very first install though.

Thanks,

Ralph


Thanks Ralph, for the ideas. I did have Administrator rights when I ran it, and for better of worse, Program Files is the organisational standard for application installs.

In the end, the problem was for SQLSERVER, you need to set the variable SQLSERVER_ABSPATH and set it to the location of the sqljdbc.jar. After that, it was fine. I don't know if that is documented anywhere, but I got that info from the repotools.bat file. There were a couple of other DB's that this needed to be done for, including ORACLE, although the variable name was a little different.

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.