It's all about the answers!

Ask a question

repotools -addTables errors in RTC 2.0


David Weber (761810) | asked Jun 03 '09, 10:04 a.m.
I deployed custom RTC plugins that I wrote (ie. Preconditions/Follow-up actions, new Components) to a RTC 2.0 Beta2 server. The code was originally developed with RTC1.0.1.1. I imported the code into a RTC 2.0 development environment and rebuilt the plugin jar files. Our plugins have some ecore schema additions.

I ran 'repotools -addTables -clean', and got the following output from the console:

C:\u2008_AppFactoryRTC\JazzDev2.0Beta2Server\jazz\server>repotools.bat -addTables -clean
Repo Tools

Provisioning using "C:\u2008_AppFactoryRTC\JazzDev2.0Beta2Server\jazz\server\\conf\jazz\provision_profiles".
Mon Jun 01 14:27:54 CDT 2009 - Bundle tracker is not set
Mon Jun 01 14:27:54 CDT 2009 - Bundle tracker is not set
Mon Jun 01 14:27:55 CDT 2009 - Bundle tracker is not set
Rational Jazz Team Server - Enterprise
Invalid registry object
Invalid registry object


repotools also wrote out a log file which is to big to post here, but I'll post the tail end showing the exceptions:


2009-06-01 14:27:55,887 The bundle org.eclipse.datatools.connectivity.oda.consumer is STARTED.
2009-06-01 14:27:55,887 The bundle org.eclipse.datatools.connectivity.oda.design is STARTED.
2009-06-01 14:27:55,887 The bundle org.eclipse.datatools.connectivity.oda.flatfile is STARTED.
2009-06-01 14:27:55,887 The bundle org.eclipse.datatools.connectivity.oda.profile is STARTED.
2009-06-01 14:27:55,887 The bundle org.eclipse.datatools.enablement.oda.xml is STARTED.
2009-06-01 14:27:55,887 The bundle org.w3c.css.sac is STARTED.
2009-06-01 14:27:55,887 The bundle org.w3c.dom.smil is STARTED.
2009-06-01 14:27:55,887 The bundle org.w3c.dom.svg is STARTED.
2009-06-01 14:27:55,887 The bundle org.w3c.sac is STARTED.
2009-06-01 14:27:55,887 The bundle javax.xml is STARTED.
2009-06-01 14:27:55,887 The bundle com.ibm.team.reports.apt.service is STARTED.
2009-06-01 14:27:55,887 The bundle com.ibm.team.reports.scm.web is STARTED.
2009-06-01 14:27:55,887 The bundle com.ibm.team.scm.svn.common is STARTED.
2009-06-01 14:27:55,903 The bundle org.tmatesoft.svnkit is STARTED.
2009-06-01 14:27:55,903 The bundle com.ibm.team.rtc.web is STARTED.
2009-06-01 14:27:55,903 The bundle com.ibm.team.rtc.server.license.enterprise-ea is STARTED.
2009-06-01 14:28:06,762 Rational Jazz Team Server - Enterprise
2009-06-01 14:28:06,762 Invalid registry object
org.eclipse.core.runtime.CoreException: Invalid registry object
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:56)
at com.ibm.team.repository.common.transport.AbstractElementDescriptor.createInstance(AbstractElementDescriptor.java:254)
at com.ibm.team.repotools.command.internal.registry.CommandElementDescriptor.createCommand(CommandElementDescriptor.java:188)
at com.ibm.team.repotools.command.internal.registry.CommandElementDescriptor.getCommand(CommandElementDescriptor.java:271)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:670)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:702)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
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:386)
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:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by:
org.eclipse.core.runtime.InvalidRegistryObjectException: Invalid registry object
at org.eclipse.core.internal.registry.RegistryObjectManager.basicGetObject(RegistryObjectManager.java:273)
at org.eclipse.core.internal.registry.RegistryObjectManager.getObject(RegistryObjectManager.java:263)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.getConfigurationElement(ConfigurationElementHandle.java:26)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
... 18 more
2009-06-01 14:28:06,762 Invalid registry object
org.eclipse.core.runtime.CoreException: Invalid registry object
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:56)
at com.ibm.team.repository.common.transport.AbstractElementDescriptor.createInstance(AbstractElementDescriptor.java:254)
at com.ibm.team.repotools.command.internal.registry.CommandElementDescriptor.createCommand(CommandElementDescriptor.java:188)
at com.ibm.team.repotools.command.internal.registry.CommandElementDescriptor.getCommand(CommandElementDescriptor.java:271)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:670)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:702)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
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:386)
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:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by:
org.eclipse.core.runtime.InvalidRegistryObjectException: Invalid registry object
at org.eclipse.core.internal.registry.RegistryObjectManager.basicGetObject(RegistryObjectManager.java:273)
at org.eclipse.core.internal.registry.RegistryObjectManager.getObject(RegistryObjectManager.java:263)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.getConfigurationElement(ConfigurationElementHandle.java:26)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
... 18 more




Can someone help with these errors?

Thanks,

Dave

One answer



permanent link
Balaji Krish (1.8k12) | answered Jun 03 '09, 12:33 p.m.
JAZZ DEVELOPER
- Invalid registry object error is a known problem (See bug https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/83830). Don't use clean with addTables. Run repotools -addTables twice. repotools command will run the second time.

- You have to regen the model using 2.0 code gen tool. We have made changes to core model to support read permissions.

---- Balaji
Jazz Server Team

I deployed custom RTC plugins that I wrote (ie. Preconditions/Follow-up actions, new Components) to a RTC 2.0 Beta2 server. The code was originally developed with RTC1.0.1.1. I imported the code into a RTC 2.0 development environment and rebuilt the plugin jar files. Our plugins have some ecore schema additions.

I ran 'repotools -addTables -clean', and got the following output from the console:

C:\u2008_AppFactoryRTC\JazzDev2.0Beta2Server\jazz\server>repotools.bat -addTables -clean
Repo Tools

Provisioning using "C:\u2008_AppFactoryRTC\JazzDev2.0Beta2Server\jazz\server\\conf\jazz\provision_profiles".
Mon Jun 01 14:27:54 CDT 2009 - Bundle tracker is not set
Mon Jun 01 14:27:54 CDT 2009 - Bundle tracker is not set
Mon Jun 01 14:27:55 CDT 2009 - Bundle tracker is not set
Rational Jazz Team Server - Enterprise
Invalid registry object
Invalid registry object


repotools also wrote out a log file which is to big to post here, but I'll post the tail end showing the exceptions:


2009-06-01 14:27:55,887 The bundle org.eclipse.datatools.connectivity.oda.consumer is STARTED.
2009-06-01 14:27:55,887 The bundle org.eclipse.datatools.connectivity.oda.design is STARTED.
2009-06-01 14:27:55,887 The bundle org.eclipse.datatools.connectivity.oda.flatfile is STARTED.
2009-06-01 14:27:55,887 The bundle org.eclipse.datatools.connectivity.oda.profile is STARTED.
2009-06-01 14:27:55,887 The bundle org.eclipse.datatools.enablement.oda.xml is STARTED.
2009-06-01 14:27:55,887 The bundle org.w3c.css.sac is STARTED.
2009-06-01 14:27:55,887 The bundle org.w3c.dom.smil is STARTED.
2009-06-01 14:27:55,887 The bundle org.w3c.dom.svg is STARTED.
2009-06-01 14:27:55,887 The bundle org.w3c.sac is STARTED.
2009-06-01 14:27:55,887 The bundle javax.xml is STARTED.
2009-06-01 14:27:55,887 The bundle com.ibm.team.reports.apt.service is STARTED.
2009-06-01 14:27:55,887 The bundle com.ibm.team.reports.scm.web is STARTED.
2009-06-01 14:27:55,887 The bundle com.ibm.team.scm.svn.common is STARTED.
2009-06-01 14:27:55,903 The bundle org.tmatesoft.svnkit is STARTED.
2009-06-01 14:27:55,903 The bundle com.ibm.team.rtc.web is STARTED.
2009-06-01 14:27:55,903 The bundle com.ibm.team.rtc.server.license.enterprise-ea is STARTED.
2009-06-01 14:28:06,762 Rational Jazz Team Server - Enterprise
2009-06-01 14:28:06,762 Invalid registry object
org.eclipse.core.runtime.CoreException: Invalid registry object
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:56)
at com.ibm.team.repository.common.transport.AbstractElementDescriptor.createInstance(AbstractElementDescriptor.java:254)
at com.ibm.team.repotools.command.internal.registry.CommandElementDescriptor.createCommand(CommandElementDescriptor.java:188)
at com.ibm.team.repotools.command.internal.registry.CommandElementDescriptor.getCommand(CommandElementDescriptor.java:271)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:670)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:702)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
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:386)
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:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by:
org.eclipse.core.runtime.InvalidRegistryObjectException: Invalid registry object
at org.eclipse.core.internal.registry.RegistryObjectManager.basicGetObject(RegistryObjectManager.java:273)
at org.eclipse.core.internal.registry.RegistryObjectManager.getObject(RegistryObjectManager.java:263)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.getConfigurationElement(ConfigurationElementHandle.java:26)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
... 18 more
2009-06-01 14:28:06,762 Invalid registry object
org.eclipse.core.runtime.CoreException: Invalid registry object
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:56)
at com.ibm.team.repository.common.transport.AbstractElementDescriptor.createInstance(AbstractElementDescriptor.java:254)
at com.ibm.team.repotools.command.internal.registry.CommandElementDescriptor.createCommand(CommandElementDescriptor.java:188)
at com.ibm.team.repotools.command.internal.registry.CommandElementDescriptor.getCommand(CommandElementDescriptor.java:271)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.run(RepositoryToolsApplication.java:670)
at com.ibm.team.repotools.rcp.internal.RepositoryToolsApplication.start(RepositoryToolsApplication.java:702)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
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:386)
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:618)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by:
org.eclipse.core.runtime.InvalidRegistryObjectException: Invalid registry object
at org.eclipse.core.internal.registry.RegistryObjectManager.basicGetObject(RegistryObjectManager.java:273)
at org.eclipse.core.internal.registry.RegistryObjectManager.getObject(RegistryObjectManager.java:263)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.getConfigurationElement(ConfigurationElementHandle.java:26)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
... 18 more




Can someone help with these errors?

Thanks,

Dave

Your answer


Register or to post your answer.