It's all about the answers!

Ask a question

RTC 3.0.1 dev set up issues


Meghana Pandey (15111514) | asked Aug 18 '11, 2:29 a.m.
Hi,
Iam trying to set up my development environment using RTC 3.0.1
Wanted to know,
1. Which version of code gen tools is compatible with this?

2. Also, I see two servers now, JTS and RTC server. Can you please point me to some link explaining the architecture details on this as in when to use which server.

3. Also during set up, when Iam trying to create a new Update Site Project and add my feature(s) to it, I could not locate jazz folder under $INSTALLDIR/server/conf
dir but only see jts folder. (FYI: I installed RTC 3.0.1 server using web installer.) Can you help figure out what has gone wrong here.

4. Iam also facing issues trying to install feature based tool following steps as mentioned in this tut: "https://jazz.net/wiki/bin/view/Main/FeatureBasedLaunches#Installing". So when I try to install using update site "http://jazzweb.beaverton.ibm.com/foundation/tools/devtools-updatesite" I see these errors:
The artifact binary,org.eclipse.equinox.executable_root.cocoa.macosx.ppc,3.3.201.R35x_v20091211-7M-FngFELSU3Pqlv3JdZn is missing the filename property.
Is there another way I can install this?

Regards,
Meghana

19 answers



permanent link
Ralph Schoon (63.6k33646) | answered Aug 18 '11, 3:58 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

have you checked https://jazz.net/library/article/634 ? Thisis for 3.0 which is very similar to 3.0.1

For 3.0.1 the only differences I found was the first license is in
C:\RTC301Dev\installs\JazzTeamServer\server\conf\jts\sites\license-update-site

and the license plugin is com.ibm.team.jazz.foundation.server.licenses.enterprise-ea

The second license to import is in
C:\RTC301Dev\installs\JazzTeamServer\server\conf\jts\sites\clm-activation

and the plug in is
com.ibm.team.licensing.product.clm

I was able to install the newest feature based launch from https://jazz.net/wiki/bin/view/Main/FeatureBasedLaunches named com.ibm.team.dev.launch_0.3.3.201004231417.jar without problems.

Dependent on the way you install there will or won't be a server/conf/jazz folder. The context root jazz is only used if you check the button indicating you migrate from 2.0 in the installation.

If you don't migrate the folder for the CCM componet (RTC) is server/conf/ccm

permanent link
Meghana Pandey (15111514) | answered Aug 19 '11, 3:47 a.m.
Hi,
Thanks a lot for the response and the link is indeed very helpful. How ever, while trying to do RTC server set up and after registering the ccm application, when I try to access this link:
https://localhost:9443/ccm/admin#action=com.ibm.team.repository.admin.serverStatus

I see this error in the status summary:
Application Information
Jazz Team Server Location Connected to: https://localhost:9443/jts
CRJAZ2052E There is no friend to the Jazz Team Server configured.
Version 3.0.1

And see most of the services could not be activated. Plz see the log extract:

Service Error Summary
ERROR
com.ibm.rational.buildforge.buildagent.internal.service.IBuildAgentRequestService
CRJAZ1972E The service "com.ibm.rational.buildforge.buildagent.internal.service.BuildAgentRequestService" failed to activate because a service it depends on, "com.ibm.team.build.internal.service.IInternalTeamBuildService", failed to be activated.
ERROR
com.ibm.rational.buildforge.buildagent.internal.service.IBuildRequestLookupService
CRJAZ1972E The service "com.ibm.rational.buildforge.buildagent.internal.service.BuildRequestLookupService" failed to activate because a service it depends on, "com.ibm.team.build.internal.service.IInternalTeamBuildService", failed to be activated.
ERROR
com.ibm.team.apt.common.resource.IResourcePlanningService
CRJAZ1972E The service "com.ibm.team.apt.internal.service.resource.ResourcePlanningService" failed to activate because a service it depends on, "com.ibm.team.process.service.IProcessServerService", failed to be activated.
ERROR
com.ibm.team.apt.internal.common.rcp.IIterationPlanService
CRJAZ1972E The service "com.ibm.team.apt.internal.service.IterationPlanService" failed to activate because a service it depends on, "com.ibm.team.process.service.IProcessServerService", failed to be activated.
ERROR
com.ibm.team.apt.internal.common.rcp.ISnapshotService

Also, Iam not able to connect to the repository through eclipse client as well.

Can you please help resolve this issue.

Regards,
Meghana

permanent link
Ralph Schoon (63.6k33646) | answered Aug 19 '11, 4:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

I am not sure which step you are stuck. Did you import the repositories already?

Please be aware that there are certain things in JTS not working if you follow the lab description. The reason is that for instance there was no LPA application in 3.0. I have rebuild the data for 3.0.1 but am currently looking into how to provide the data to allow to set it up. Eventually I want to submit an upgraded version of the workshop.

You should be able to connect to the CCM application after the import at https://localhost:9443/ccm/ what error do you get?

permanent link
Meghana Pandey (15111514) | answered Aug 22 '11, 4:57 a.m.
Hi,
Thanks a lot for your prompt replies. Yes, after importing the repositories I could resolve the problem. I was under the impression that the tar files are only for lab and not required for the development environment set up for me.

Now, I have been able to move ahead but referring to the same pdf at https://jazz.net/library/article/634,
Page 43 in particular, when I try to launch my debug configuration(Remote Java application), it halts showing these errors:

Error logged from Process RCP UI:
com.ibm.team.repository.common.transport.ConnectionException: CRJAZ1371E The URL "https://localhost:9443/ccm/versionCompatibility?clientVersion=3.0.1" cannot be reached. The server cannot be reached. The network could not connect to the server. The error is "Connection refused: connect". Contact your system administrator.
at com.ibm.team.repository.transport.client.ClientHttpUtil.executePrimitiveRequest(ClientHttpUtil.java:1156)
at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:328)
at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:290)
at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:204)
at com.ibm.team.repository.transport.client.RestClientConnectionBase.executeMethod(RestClientConnectionBase.java:308)
at com.ibm.team.repository.transport.client.RestClientConnectionBase.doMethod(RestClientConnectionBase.java:182)
at com.ibm.team.repository.transport.client.RestClientConnectionBase.doGet(RestClientConnectionBase.java:123)
at com.ibm.team.repository.transport.client.TeamRawRestServiceClient$RawRestClientConnection.doGet(TeamRawRestServiceClient.java:94)
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 com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:164)
at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:88)
at com.ibm.team.repository.client.internal.RawRestServiceClientProxy$RestClientConnectionProxy.invoke(RawRestServiceClientProxy.java:121)
at $Proxy10.doGet(Unknown Source)
at com.ibm.team.repository.client.internal.TeamRepository.fetchClientVersionJSONObject(TeamRepository.java:1594)
at com.ibm.team.repository.client.internal.TeamRepository.access$0(TeamRepository.java:1591)
at com.ibm.team.repository.client.internal.TeamRepository$5.run(TeamRepository.java:1662)
at com.ibm.team.repository.client.internal.TeamRepository$5.run(TeamRepository.java:1)
at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1261)
at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:79)
at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1254)
at com.ibm.team.repository.client.internal.TeamRepository.checkServerVersionMatches(TeamRepository.java:1665)
at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1445)
at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:618)
at com.ibm.team.process.internal.rcp.ui.LoginAction$1.run(LoginAction.java:88)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: java.net.ConnectException: Connection refused: connect
at sun.nio.ch.Net.connect(Native Method)
at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:533)
at com.ibm.team.repository.transport.client.InterruptableSocketFactory.doConnect(InterruptableSocketFactory.java:88)
at com.ibm.team.repository.transport.client.InterruptableSocketFactory.createSocket(InterruptableSocketFactory.java:67)
at com.ibm.team.repository.transport.client.SecureInterruptableSocketFactory.createSocket(SecureInterruptableSocketFactory.java:301)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at com.ibm.team.repository.transport.client.ClientHttpUtil.executePrimitiveRequest(ClientHttpUtil.java:1128)
... 27 more


Kindly guide further

permanent link
Ralph Schoon (63.6k33646) | answered Aug 22 '11, 5:49 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

in that lab, your JazzTeam Server is already supposed to be started up and your Eclipse client is supposed to be connected. Also, you are supposed to have modified the server.startup.bat in 1.3_10 and started the server there.

You already had accepted a team invitation, so the server should be running and accessible at https://localhost:9443/ccm/admin since you have the launches, you already have also dontacted the server and loaded the workspace.

The error you are getting generally only shows up if you use the Eclipse UI. So I am wondering why you should get it when just connecting to the server.

I'd suggest to carefully reread/redo from 1.3_10 and check if everything is OK.

permanent link
Meghana Pandey (15111514) | answered Aug 23 '11, 11:47 a.m.
Hi,
Thanks Iam now able to progress further after re-doing the steps.

But now when Iam trying to launch an RTC Client and connect to the Server(Page 68, step 2.3), Iam able to connect to the jazz repo @ 7443 but when I open the user editor and try to assign Developer licence to the TestJazzAdmin1, I get an exception, " No Developer license available) Also in the CAL list I don't see 10 licenses but 0 available.

I did upload the free 10 trial developers licences. jar and did import both the following licenses plugins in my workspace:
com.ibm.team.jazz.foundation.server.licenses.enterprise-ea
com.ibm.team.licensing.product.clm.
I also fixed both the JUnit and Jetty launches to replace "com.ibm.team.licensing.product.rtc-standalone " with "com.ibm.team.licensing.product.clm"

Kindly guide.
Regards,
Meghana

permanent link
Ralph Schoon (63.6k33646) | answered Aug 24 '11, 5:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

you are confusing the servers here. You are running your external server on 9443. That is where the lab code is versioned.

You run a testserver om 7443 in that lab. That is the server you debug against you just installed. You have not uploaded any licenses thee. If you look into the JTS license management pages you might notice that the licenses need to be activated. This is new in this release. Do that.

permanent link
Meghana Pandey (15111514) | answered Aug 24 '11, 5:45 a.m.
Hi,
I don't see the option to activate trial against any of the RTCs licenses ( I can though see it against RQM and RRC licenses) , on the JTS licence key mngt page, instead it shows Expired Trial.
How to go about further?

Regards,
Meghana

permanent link
Ralph Schoon (63.6k33646) | answered Aug 24 '11, 6:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hi,

you might have failed to properly import the license jars. Or you need to import the 10 free developers into that server too. I am not sure.

permanent link
Meghana Pandey (15111514) | answered Aug 25 '11, 4:22 a.m.
Hi, I had to import the 10 developers zip again and it worked. Thanks.

Also need your help in data migration/upgrade.
We have actually developed our custom jazz components with storage model.
Can you please guide/point me to some link/tutorial explaining the path to do the ecore extensions migration from RTC 2.x to 3.x

Regards,
Meghana

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.