It's all about the answers!

Ask a question

Upgrade from 2.x to 3.x (redhat linux) migration_importJTSData script fails.


Harlan Whitley (1111) | asked Jun 18 '13, 9:57 a.m.
retagged Jun 18 '13, 12:00 p.m. by Amy Laird (16514)
I am attempting to upgrade from 2.x to 3.x and when using the "upgrading manually from version 2 to 3.01" instructions from http://pic.dhe.ibm.com/infocenter/clmhelp/v3r0m1/index.jsp?topic=%2Fcom.ibm.jazz.install.doc%2Ftopics%2Ft_upgrade_jts.html it fails.

I get the error:

CRJAZ1093I The following service class was not activated: "com.ibm.team.repository.service.internal.rdb.ConnectionPoolService"
CRJAZ1728E An unexpected error has been detected. See the log file "/opt/IBM/JazzTeamServer_v3/server/repotools-jts_migration_im
portJTSData.log" for more details.


Any help is appreciated.

-Harlan

Comments
Krzysztof Kaźmierczyk commented Jun 18 '13, 10:24 a.m.

Hi Harlan,
Could you provide the output from /opt/IBM/JazzTeamServer_v3/server/repotools-jts_migration_im?


Harlan Whitley commented Jun 18 '13, 10:36 a.m. | edited Jun 20 '13, 10:40 a.m.

Sure.

2013-06-13 15:40:33,996 Repo Tools
2013-06-13 15:40:33,997 java.version=1.5.0
2013-06-13 15:40:33,997 java.runtime.version=pxa64dev-20120810 (SR14 )
2013-06-13 15:40:33,999 Provisioning using "./conf/jts/provision_profiles".
2013-06-13 15:40:34,019 repotools-jts -migration_importJTSData createMappingFile=rtc-mapping.txt fromFile=jtsData.tar
2013-06-13 15:40:34,020   Jazz Foundation - Core Libraries, Version 3.0.1.5 (RJF-I20121026-1636)

2013-06-13 15:40:34,034 CRJAZ1363I Loading the configuration from "file:conf/jts/teamserver.properties".
2013-06-13 15:40:34,034
2013-06-13 15:40:34,608 CRJAZ1779I This server is configured as a JTS.
2013-06-13 15:40:34,609 CRJAZ1971I The server is configured with:
  Public URI: "https://rtc.tx.fnc.fujitsu.com:9443/jts"
2013-06-13 15:40:36,503 CRJAZ1093I The following service class was not activated: "com.ibm.team.repository.service.internal.rdb.
ConnectionPoolService"
com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1126I The service "com.ibm.team.repository.service.i
nternal.rdb.ConnectionPoolService" has some invalid configuration properties.
        CRJAZ1125I The configuration property value "Remove this property after fixing the database property values." is not val
id for the property "db.vendor". CRJAZ0818I Unsupported or misconfigured database vendor "Remove this property after fixing the
database property values." for the property "com.ibm.team.repository.db.vendor".  Check the server configuration. CRJAZ0818I Uns
upported or misconfigured database vendor "Remove this property after fixing the database property values." for the property "co
m.ibm.team.repository.db.vendor".  Check the server configuration.

        at com.ibm.team.repository.common.transport.internal.registry.ServiceConfiguration.assertValidProperties(ServiceConfigur
ation.java:296)
        at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.bindConfigurationProperties
(AbstractActivationManagerOwner.java:221)
        at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.performActivation(AbstractA
ctivationManagerOwner.java:602)
        at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivati
onManagerOwner.java:665)
        at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.activate(AbstractActivation
ManagerOwner.java:168)
        at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.activate(BundleActivationManager.java:290
)
        at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.performActivation(BundleActivationManager
.java:1589)
        at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.access$2(BundleActivationManager.java:157
4)
        at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager$3.acquired(BundleActivationManager.java:5
73)
        at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer.serviceAcquired(ImportServiceRecordC
ontainer.java:582)
        at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer.access$1(ImportServiceRecordContaine
r.java:566)
        at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer$5.serviceAcquired(ImportServiceRecor
dContainer.java:352)
        at org.eclipse.soda.sat.core.internal.record.ImportServiceRecord.acquire(ImportServiceRecord.java:116)
        at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer$1.execute(ImportServiceRecordContain
er.java:64)
        at org.eclipse.soda.sat.core.internal.record.container.ServiceRecordContainer.doForService(ServiceRecordContainer.jav
81)
        at org.eclipse.soda.sat.core.internal.record.container.ServiceRecordContainer.doForEach(ServiceRecordContainer.java:150)
        at org.eclipse.soda.sat.core.internal.record.container.ServiceRecordContainer.doForEach(ServiceRecordContainer.java:365)
        at org.eclipse.soda.sat.core.internal.record.container.ImportServiceRecordContainer.acquire(ImportServiceRecordContainer
.java:303)
        at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.acquireImportedServices(BundleActivationM
anager.java:234)
        at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.acquireImportServiceRecords(BundleActivat
ionManager.java:250)
        at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.startSync(BundleActivationManager.java:20
54)
        at org.eclipse.soda.sat.core.internal.framework.bundle.BundleActivationManager.start(BundleActivationManager.java:2023)
        at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.register(OsgiServicesManager.java:403)
        at com.ibm.team.repository.common.transport.services.TeamServiceRegistry.registerServices(TeamServiceRegistry.java:325)
        at com.ibm.team.repository.common.transport.services.TeamServiceRegistry.initialize(TeamServiceRegistry.java:286)
        at com.ibm.team.repository.common.transport.services.TeamServiceRegistry.start(TeamServiceRegistry.java:367)
        at com.ibm.team.repository.common.transport.services.TeamServiceRegistry.getService(TeamServiceRegistry.java:220)
        at com.ibm.team.repotools.commands.local.LocalRepositoryCommand.getService(LocalRepositoryCommand.java:198)
        at com.ibm.team.repotools.commands.local.LocalRepositoryCommand.getServerDescriptionService(LocalRepositoryCommand.java:
215)
        at com.ibm.team.repotools.commands.local.LocalRepositoryCommand.isThisJazzTeamServer(LocalRepositoryCommand.java:202)
        at com.ibm.team.repotools.commands.local.internal.ImportJTSDataCommand.execute(ImportJTSDataCommand.java:57)
        at com.ibm.team.repotools.command.AbstractCommand.execute(AbstractCommand.java:64)
        at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:736)
        at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:811)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:619)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
2013-06-13 15:40:36,689 CRJAZ1126I The service "com.ibm.team.repository.service.internal.rdb.ConnectionPoolService" has some inv
alid configuration properties.
        CRJAZ1125I The configuration property value "Remove this property after fixing the database property values." is not val
id for the property "db.vendor". CRJAZ0818I Unsupported or misconfigured database vendor "Remove this property after fixing the
database property values." for the property "com.ibm.team.repository.db.vendor".  Check the server configuration. CRJAZ0818I Uns
upported or misconfigured database vendor "Remove this property after fixing the database property values." for the property "co
m.ibm.team.repository.db.vendor".  Check the server configuration.

com.ibm.team.repository.common.TeamRepositoryException: CRJAZ1126I The service "com.ibm.team.repository.service.internal.rdb.Con
nectionPoolService" has some invalid configuration properties.
        CRJAZ1125I The configuration property value "Remove this property after fixing the database property values." is not val
id for the property "db.vendor". CRJAZ0818I Unsupported or misconfigured database vendor "Remove this property after fixing the database property values." for the property "com.ibm.team.repository.db.vendor".  Check the server configuration. CRJAZ0818I Uns
upported or misconfigured database vendor "Remove this property after fixing the database property values." for the property "co
m.ibm.team.repository.db.vendor".  Check the server configuration.

        at com.ibm.team.repotools.commands.local.LocalRepositoryCommand.canLoadDatabaseDriver(LocalRepositoryCommand.java:142)
        at com.ibm.team.repotools.commands.local.LocalRepositoryCommand.databaseExists(LocalRepositoryCommand.java:108)
        at com.ibm.team.repotools.commands.local.internal.ImportJTSDataCommand.execute(ImportJTSDataCommand.java:83)
        at com.ibm.team.repotools.command.AbstractCommand.execute(AbstractCommand.java:64)
        at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:736)
        at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:811)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:619)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by:
com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1126I The service "com.ibm.team.repository.service.i
nternal.rdb.ConnectionPoolService" has some invalid configuration properties.
        CRJAZ1125I The configuration property value "Remove this property after fixing the database property values." is not val
id for the property "db.vendor". CRJAZ0818I Unsupported or misconfigured database vendor "Remove this property after fixing the
database property values." for the property "com.ibm.team.repository.db.vendor".  Check the server configuration. CRJAZ0818I Uns
upported or misconfigured database vendor "Remove this property after fixing the database property values." for the property "co
m.ibm.team.repository.db.vendor".  Check the server configuration.

        at com.ibm.team.repository.common.transport.internal.registry.ServiceConfiguration.assertValidProperties(ServiceConfigur
ation.java:296)
        at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.bindConfigurationProperties
(AbstractActivationManagerOwner.java:221)
        at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.performActivation(AbstractA
ctivationManagerOwner.java:602)
        at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivati
onManagerOwner.java:665)
        at com.ibm.team.repository.common.transport.internal.registry.ServiceProviderActivationManagerOwner.getService(ServicePr
oviderActivationManagerOwner.java:133)
        at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:24
8)
        at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getServiceByClass(OsgiServicesManager.
java:261)
        at com.ibm.team.repotools.commands.local.LocalRepositoryCommand.getConnectionPoolService(LocalRepositoryCommand.java:175
)
        at com.ibm.team.repotools.commands.local.LocalRepositoryCommand.canLoadDatabaseDriver(LocalRepositoryCommand.java:131)
        ... 18 more
2013-06-13 15:40:36,689 CRJAZ1728E An unexpected error has been detected. See the log file "/opt/IBM/JazzTeamServer_v3/server/re
potools-jts_migration_importJTSData.log" for more details.


Harlan Whitley commented Jun 18 '13, 10:45 a.m.

Updated below.


Harlan Whitley commented Jun 18 '13, 11:44 a.m.

This is what is in the jazz teamserver.properties:
com.ibm.team.repository.db.vendor=ORACLE

And this is what is in the jts teamserver.properties:

com.ibm.team.repository.db.vendor=ORACLE



The latter is commented out.

4 answers



permanent link
Krzysztof Kaźmierczyk (7.4k34694) | answered Jun 18 '13, 11:33 a.m.
It seems that the property com.ibm.team.repository.db.vendor in teamserver.properties is invalid or missing. Could you look what is the value there?

Comments
Harlan Whitley commented Jun 18 '13, 2:07 p.m.

This is what is in the jazz teamserver.properties:
com.ibm.team.repository.db.vendor=ORACLE

And this is what is in the jts teamserver.properties:

com.ibm.team.repository.db.vendor=ORACLE



The latter is commented out.


permanent link
Krzysztof Kaźmierczyk (7.4k34694) | answered Jun 19 '13, 2:40 a.m.

Harian,
We are home.

You need to uncomment this entry in jts teamserver.properties:
com.ibm.team.repository.db.vendor=ORACLE

Before that just look if you have performed all steps from upgrade guide: http://pic.dhe.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.jazz.install.doc/topics/roadmap_clm_upgrade.html


permanent link
Harlan Whitley (1111) | answered Jun 19 '13, 2:20 p.m.
Now I get this:

CRJAZ1093I The following service class was not activated: "com.ibm.team.repository.service.internal.rdb.ConnectionPoolService"
CRJAZ1728E An unexpected error has been detected. See the log file "/opt/IBM/JazzTeamServer_v3/server/repotools-jts_migration_importJTSData.log" for more details.

Comments
Harlan Whitley commented Jun 19 '13, 2:25 p.m.

Have you successfully upgraded from v2 - v3 to v4 on a unix server?  Just thought I would ask.

Thanks.


Krzysztof Kaźmierczyk commented Jun 20 '13, 4:46 a.m.

Hi Harlan,
We had many customers upgrading from v2 to v3 and then to v4 and in general we did not have so many issues there.

Could you simply provide the output from opt/IBM/JazzTeamServer_v3/server/repotools-jts_migration_importJTSData.log now?


permanent link
Bo Chulindra (1.3k2718) | answered Jun 20 '13, 10:44 a.m.
JAZZ DEVELOPER
It's not entirely clear from the comments what was done to fix this, but in your initial error, there's this message:

CRJAZ1125I The configuration property value "Remove this property after fixing the database property values." is not valid for the property "db.vendor".

This is because in your teamserver.properties file, you likely have an entry like this:

com.ibm.team.repository.db.vendor=Remove this property after fixing the database property values.

Did you already fix your database property values? If so, did you make sure to remove that property?

Comments
Bo Chulindra commented Jun 20 '13, 10:46 a.m.
JAZZ DEVELOPER

Also, if you see this in your error message:

See the log file "/opt/IBM/JazzTeamServer_v3/server/repotools-jts_migration_importJTSData.log" for more details.

you should see if the error message in the log is more useful.

Your answer


Register or to post your answer.