It's all about the answers!

Ask a question

Creating new sample project fails


Israel Lazar (4599) | asked Sep 29 '14, 8:39 a.m.
edited Sep 30 '14, 5:50 a.m. by Krzysztof Kaźmierczyk (7.4k374103)
 i tried to create sample Project (RTC;RQM;RRC) but it failed all the time why? 

Comments
Arun K Sriramaiah commented Sep 29 '14, 8:45 a.m.

Hi Israel.

What's is the error message are you getting.

Are you able to access the old project after upgrade ?

Give us the RTC;RQM;RRC .log information.

Regards,

Arun.


Israel Lazar commented Sep 30 '14, 6:35 a.m. | edited Sep 30 '14, 10:10 a.m.

I  got this error when he tried to create RM project
Error creating the sample: java.net.SocketTimeoutException: Read timed out

Error Stacktrace:

com.ibm.team.lpa.automation.TaskException: java.net.SocketTimeoutException: Read timed out
at com.ibm.team.lpa.common.tasks.DeployPredefinedProcessTemplatesTask.runTask(DeployPredefinedProcessTemplatesTask.java:60)
at com.ibm.team.lpa.common.tasks.AbstractTask.run(AbstractTask.java:56)
at com.ibm.team.lpa.tasks.util.ConditionalTask.run(ConditionalTask.java:36)
at com.ibm.team.lpa.automation.CompositeTask.run(CompositeTask.java:208)
at com.ibm.team.lpa.automation.CompositeTask$MonitoredSubTask.run(CompositeTask.java:124)
at com.ibm.team.lpa.automation.CompositeTask.run(CompositeTask.java:208)
at com.ibm.team.lpa.common.tasks.LoggingCompositeTask.run(LoggingCompositeTask.java:37)
at com.ibm.team.lpa.automation.AsyncTask$TaskRunner.run(AsyncTask.java:40)
at java.lang.Thread.run(Thread.java:761)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:140)
at com.ibm.jsse2.b.a(b.java:286)
at com.ibm.jsse2.b.a(b.java:67)
at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:313)
at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:765)
at com.ibm.jsse2.f.read(f.java:20)
at org.apache.http.impl.io.AbstractSessionInputBuffer.fillBuffer(AbstractSessionInputBuffer.java:149)
at org.apache.http.impl.io.SocketInputBuffer.fillBuffer(SocketInputBuffer.java:110)
at org.apache.http.impl.io.AbstractSessionInputBuffer.readLine(AbstractSessionInputBuffer.java:264)
at org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:98)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:252)
at org.apache.http.impl.AbstractHttpClientConnection.receiveResponseHeader(AbstractHttpClientConnection.java:281)
at org.apache.http.impl.conn.DefaultClientConnection.receiveResponseHeader(DefaultClientConnection.java:247)
at org.apache.http.impl.conn.AbstractClientConnAdapter.receiveResponseHeader(AbstractClientConnAdapter.java:219)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:298)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:645)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:464)
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:180)
at com.ibm.team.lpa.common.clients.LpaRequestDirector.execute(LpaRequestDirector.java:147)
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:161)
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.tasks.DeployPredefinedProcessTemplatesTask.runTask(DeployPredefinedProcessTemplatesTask.java:54)
... 8 more

Find out more:
The Money that Matters sample is a feature-rich sample that demonstrates the capabilities of multiple Rational applications. After creating project areas in each of the applications, sample artifacts will be created and linked together for you in a lifecycle project.
Create sample project


8 answers



permanent link
Robin Bater (3.4k47) | answered Sep 29 '14, 3:22 p.m.
JAZZ DEVELOPER
Not sure what this might be but did you already created the sample in V5 before you upgraded?

If you did then the sample is already V501 and it will not allow you to create the sample again unless you rename the sample projects.

permanent link
Rohit Balduwa (945511) | answered Sep 30 '14, 4:27 a.m.
Hi Israel

Verify the 5.0 licenses(Rational DOORS Next Generation, Rational Quality Manager, Rational Team Concert) are assigned to the user and repository role(JazzAdmins) been assigned to the user.

Now, try creating a LifeCycle Project Area( LPA). This should work for you.

If this answers your question please mark it as accepted.



permanent link
Robin Bater (3.4k47) | answered Sep 30 '14, 9:34 a.m.
JAZZ DEVELOPER
Now I cannot remember whether it is 10 mins or 15mins but there is a timeout on each step of the sample creation and if one of the steps takes longer than that time the sample creation stops with an error.

Is the sample creation very slow?  On a laptop typically the entire sample creation usually takes only 15-20mins in totals.

That said looking at the error it looks like it is failing during the process template creation, which is strange for RM as this template is the same for any RM project.

Are you able to create the RM JKE Banking Project separately outside of the sample? The project template is the same project contents that is used in the sample creation, just without the OSLC linking to the CCM and QM domains.

permanent link
Mike Jaworski (1.4k6) | answered Oct 02 '14, 10:31 a.m.
JAZZ DEVELOPER
 Hi Israel, 

A socket timeout during the LPA sample creation is unexpected, so this would make me think that either a) the performance of the server in general is slow, b) there is a large amount of data already in use on the server which could be affecting the performance of the product, or c) the server is under-spec'd for the amount of data in use.

Some things to check:
1) Could you please navigate to your personal dashboard and add the widget named "Performance Health Check", and run the test? Any results which appear in the orange or red should be investigated further.
2) What version of CLM are you using?
3) Since this seems related to RRC, do you have a rough estimate for how many requirements exist in the RRC repository (i.e. all projects)?
4) About how long into the process of creating the sample project does the error appear? Does the error appear after 5 minutes? 10? 15? Longer?
5) What are the specs of the server in use? How much total RAM is on the server? How much heap is configured for the CLM instance (check the Xmx, Xms, Xmn values in the JVM configuration)?
6) Please check the RM logs for any errors during the timeframe that the sample project is being created.

Thanks in advance,
Mike Jaworski

permanent link
Israel Lazar (4599) | answered Oct 04 '14, 7:27 p.m.
I tried again to crate Sample Project
I stock in RM project
This is from RM log
 Thread-65] ERROR .ibm.rdm.fronting.server.concurrent.RRSConcurrency  - Uncaught Exception

permanent link
Israel Lazar (4599) | answered Oct 04 '14, 7:34 p.m.
CLM 5.0.1
It is new CLM Project. i have nothing in RRC

permanent link
Israel Lazar (4599) | answered Oct 04 '14, 7:34 p.m.
CLM 5.0.1
It is new CLM Project. i have nothing in RRC

permanent link
Israel Lazar (4599) | answered Oct 04 '14, 7:50 p.m.
I tried to create RRC project:
The following project is not a valid Rational DOORS Next Generation project: https://ilazar-pc:9443/rm/process/project-areas/_GbRSsEwgEeSzMJ-VRkDAjg
hide details
ID CRRRW7284E  The project might have been corrupted or contain invalid data. Contact your administrator who can attempt to fix the project.

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.