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

Error extending RTC 4.0.3

Hi everybody!

We followed the instruccions in this workshop:
https://jazz.net/library/article/1000

The thing is that the workshop is prepared to be executed in a RTC 4.0 environment.
We have RTC 4.0.3 and we can't import the tar files. So we can't access to the workspace whit all the samples.
Anyway...we tried to do the workshop manually and we want to extend RTC in the Save Work Item event.
So, we tried to do the LAB 2 (CREATE A SIMPLE BUILD ON STATE CHANGE OPERATION PARTICIPANT)

When we restart the server to provision the features we get this error:
CRJZS0383E The "net.jazz.rtcext.workitem.extensions.common" bundle could not be resolved.
CRJZS0383E The "net.jazz.rtcext.workitem.extensions.service" bundle could not be resolved.

Also we couldn't configure Jetty for debug because Jetty is configured on the workspace that comes with the workshop tar files that we couldn't access because of the RTC version difference.

0 votes



7 answers

Permanent link
I found that I had to install the 4.0 workshop in a 4.0 environment, then upgrade to the desired level.   I haven't actually done any of the workshops, however.

0 votes


Permanent link
Juan,

my best suggestion today is to set up the workshop with 4.0 first (the part with the tar files). You can run the workshop with 4.0 and will have finally all the code you need. You can export the projects and import them into any other version of RTC. This includes the launch files.

You can also upgrade to the version you want to play with after importing the repository. I am sorry, that I don't have a better solution right now.

I have a solution that is in review and I hope to be able to publish that soon. This version does not require the tar file import. Currently I am only allowed to share this within IBM.

0 votes


Permanent link
Thanks Kevin. Thanks Ralph.

The thing is that we want to implement this in a client that it already has the 4.0.4 RTC version.

I think that Ralph option is the best.

Anything regarding the error in particular? Anything that you can say about the error to solve it?

0 votes

Comments

This error says net.jazz.rtcext.workitem.extensions which talks about the extension that is developed.this extension can not be found and is probably not deployed correctly. Sorry, I did not notice that fact the first time around. I thought some API was not discoverable, but this hints into a deployment or bundling of the deployment classes gone wrong.

By the way, you can develop this with 4.0 as Kevin mentions and still deploy it in 4.0.4. It also does not have anything to do with the client (except the admin UI) the main function is in the server. Kevin's (and my suggested) approach to setup the workshop with 4,0 first - at least to get the data - and then develop with 4.0.4 is the best option.


Permanent link
Ralph,
We follow your advises and we installed a test environment with CLM 4.0.
After importing the tar files we try to upload the licenes and we get this error:

Error uploading License Activation key.
hide details
The upload did not complete in a reasonable amount of time; the server may be unavailableID CRJAZ1490E

At the bottom of the license management page we can see this strange block that I don't know if it is related with the upload license error:

In order to enable this floating license server to serve Token type Client Access Licenses, you must configure a license token service provider. The selected provider will be contacted to acquire tokens when the floating license server is asked for a Token type license.

Name Description
Status Actions
Not Configured

0 votes

Comments

Also we get this error when starting server:


INFO: Deploying web application archive C:\JAZZ_4.0_Instdir\srv\server\tomcat\we
bapps\rm.war
log4j:ERROR Could not find value for key log4j.appender.perfCounters.layout 

Juan,

I have seen issues with the license several times now. This is another reason why I want to provide a better solution. However, I have not seen this one.

Basically, please try to upload the 10 Free Developer licenses for RTC as described. It is an authenticated user license and does not require a license server, let alone a token license server. If you have trouble with it, look at the 4.0 download, as there was an issue with licenses and the all download page mentions another download.

You could also upload your own licenses, if you still have issues with the 10 Free.

The Log4J error is nothing I would worry about. In the diagnostic page, make sure all services are up. Repeat the download for the 10 Free licenses and try uploading them again.


Permanent link
Ralph,
We tried to install JTS and CCM again with different source and we get the same error when trying to upload any type of license trial or normal:

Error uploading License Activation key.
hide details
The upload did not complete in a reasonable amount of time; the server may be unavailableID CRJAZ1490E

We found this on ccm.log that maybe gives more detail:

2014-03-11 22:57:10,712 [ ccm: AsynchronousTaskRunner-0] ERROR com.ibm.team.process                                - CRJAZ6016E:Exception occurred attempting to load project area change listeners.
com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1972E The "com.ibm.team.workitem.service.internal.AllNodeProjectAreaChangeListener" service failed to activate because a service that it depends on, "com.ibm.team.workitem.common.internal.IWorkItemRepositoryService", failed to be activated. For more details, open the help system and search for CRJAZ1972E.
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:331)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:678)
at com.ibm.team.repository.common.transport.internal.registry.ExtensionServiceActivationManagerOwner.doActivate(ExtensionServiceActivationManagerOwner.java:89)
at com.ibm.team.repository.common.transport.internal.registry.ExtensionServiceActivationManagerOwner.forceActivate(ExtensionServiceActivationManagerOwner.java:111)
at com.ibm.team.repository.common.transport.registry.ExtensionServiceElementDescriptor.getImplementation(ExtensionServiceElementDescriptor.java:366)
at com.ibm.team.process.internal.service.ProjectAreaChangeListenerRegistry$ProjectAreaChangeListenerExtensionServiceElementDescriptor.getImplementation(ProjectAreaChangeListenerRegistry.java:233)
at com.ibm.team.process.internal.service.ProjectAreaChangeListenerRegistry.getCalledOnAllNodesListeners(ProjectAreaChangeListenerRegistry.java:200)
at com.ibm.team.process.internal.service.ProjectAreaChangeListenerRunningOnAllNodesTask.runTask(ProjectAreaChangeListenerRunningOnAllNodesTask.java:47)
at com.ibm.team.repository.service.async.AbstractAutoScheduledTask.executeTask(AbstractAutoScheduledTask.java:87)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:600)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
at $Proxy786.executeTask(Unknown Source)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.runTask(AsynchronousTaskRunner.java:136)
at com.ibm.team.repository.service.internal.scheduler.AsynchronousTaskRunner.run(AsynchronousTaskRunner.java:99)
at java.lang.Thread.run(Thread.java:736)
Caused by: com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1972E The "com.ibm.team.workitem.service.internal.WorkItemRepositoryService" service failed to activate because a service that it depends on, "com.ibm.team.workitem.service.IWorkItemServer", failed to be activated. For more details, open the help system and search for CRJAZ1972E.
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:331)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.doActivate(AbstractActivationManagerOwner.java:678)
at com.ibm.team.repository.common.transport.internal.registry.ServiceProviderActivationManagerOwner.getService(ServiceProviderActivationManagerOwner.java:129)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:281)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:290)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:328)
... 19 more
Caused by: com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1115I The "com.ibm.team.workitem.service.IWorkItemServer" service was not registered.
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getClassForInterface(OsgiServicesManager.java:223)
at com.ibm.team.repository.common.transport.internal.registry.OsgiServicesManager.getService(OsgiServicesManager.java:289)
at com.ibm.team.repository.common.transport.internal.registry.AbstractActivationManagerOwner.buildServicesMap(AbstractActivationManagerOwner.java:328)
... 24 more

0 votes


Permanent link
Also we found this on admin.log:

com.ibm.team.jfs.app.oauth.OAuthInvalidConsumerKeyException: CRJZS0033E The consumer key is not valid and the consumer may not be registered. The service provider is "https://localhost:9443". The consumer key is "14d...9be".
at com.ibm.team.jfs.app.oauth.OAuthHelper.checkResponseForOAuthErrorsInternal(OAuthHelper.java:1921)
at com.ibm.team.jfs.app.oauth.OAuthHelper.checkResponseForOAuthErrors(OAuthHelper.java:1905)
at com.ibm.team.jfs.app.oauth.OAuthHttpResponseInterceptor.process(OAuthHttpResponseInterceptor.java:31)
at com.ibm.team.lpa.common.CommonInitializer$2.process(CommonInitializer.java:285)
at org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:116)
at org.apache.http.protocol.HttpRequestExecutor.postProcess(HttpRequestExecutor.java:342)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:472)
at com.ibm.team.jfs.app.http.client.internal.ExtensibleRequestDirector.execute(ExtensibleRequestDirector.java:149)
at com.ibm.team.lpa.common.clients.LpaRequestDirector.internalExecute(LpaRequestDirector.java:189)
at com.ibm.team.lpa.common.clients.LpaRequestDirector.execute(LpaRequestDirector.java:168)
at com.ibm.team.lpa.common.http.client.cache.HttpClientCache.executeCacheMiss(HttpClientCache.java:205)
at com.ibm.team.lpa.common.http.client.cache.HttpClientCache.execute(HttpClientCache.java:122)
at com.ibm.team.lpa.common.http.client.cache.HttpClientCache.execute(HttpClientCache.java:87)
at com.ibm.team.lpa.common.http.client.cache.HttpClientCacheDirector.execute(HttpClientCacheDirector.java:30)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:820)
at com.ibm.team.lpa.common.clients.CommonHttpClient.execute(CommonHttpClient.java:100)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
at com.ibm.team.lpa.common.jfs.clients.AbstractStorageClient.execute(AbstractStorageClient.java:55)
at com.ibm.team.lpa.common.jfs.clients.AbstractStorageClient.exists(AbstractStorageClient.java:118)
at com.ibm.team.lpa.common.util.StorageUtil.areStorageAreasCreated(StorageUtil.java:26)
at com.ibm.team.lpa.common.CommonInitializer.initialize(CommonInitializer.java:522)
at com.ibm.team.lpa.LPAInitializer.init(LPAInitializer.java:30)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.executeAppInitializers(AppContainerServlet.java:428)
at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:256)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.ibm.team.repository.server.servletbridge.BridgeFilter.initialize(BridgeFilter.java:244)
at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:309)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:736)

0 votes


Permanent link
This problem was solved changing the browser.
IE v9 has problem uploading license.

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,935
× 136
× 85
× 58
× 35
× 13
× 10

Question asked: Mar 10 '14, 8:39 a.m.

Question was seen: 7,743 times

Last updated: Mar 11 '14, 11:22 p.m.

Confirmation Cancel Confirm