It's all about the answers!

Ask a question

Error creating the sample: com.ibm.team.lpa.automation.TaskException: CRJCA0003E


yossi horesh (18815) | asked Oct 22 '13, 2:38 a.m.
retagged Oct 22 '13, 12:37 p.m. by Laura Kuczarski (21137)

Error creating the sample: com.ibm.team.lpa.automation.TaskException: CRJCA0003E The Lifecycle Project Administration (LPA) application made a request that was answered by an unexpected response code. The request was: https://myrtcts:9443/ccm/clmSampleProject. The response was: HTTP/1.1 400 Bad Request.


 It appear  when I tried run JKE sample on my machine

  Setup info: 

  JRE:  VER 4.0.4 Express configuration. License Trial

  OS :  Win 7  64b

 

Server Response:

Apache Tomcat/7.0.32 - Error report HTTP Status 400 - 'Save Component' failed. Missing required license.

An error response was received from the Jazz Team Server. Status=400. Message: CRJAZ1848E To do the "Save Component" operation, you must have one of the following licenses that are installed on the server: Developer for IBM Enterprise Platforms, Practitioner, Developer. The server administrator can assign licenses. type Status report message 'Save Component' failed. Missing required license.

An error response was received from the Jazz Team Server. Status=400. Message: CRJAZ1848E To do the "Save Component" operation, you must have one of the following licenses that are installed on the server: Developer for IBM Enterprise Platforms, Practitioner, Developer. The server administrator can assign licenses. description The request sent by the client was syntactically incorrect. Apache Tomcat/7.0.32

Error Stacktrace:

com.ibm.team.lpa.automation.TaskException: com.ibm.team.lpa.automation.TaskException: CRJCA0003E The Lifecycle Project Administration (LPA) application made a request that was answered by an unexpected response code. The request was: https://myrtcts:9443/ccm/clmSampleProject. The response was: HTTP/1.1 400 Bad Request.
at com.ibm.team.lpa.tasks.CreateSampleTask.runTask(CreateSampleTask.java:84)
at com.ibm.team.lpa.common.tasks.AbstractTask.run(AbstractTask.java:56)
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:738)
Caused by: com.ibm.team.lpa.automation.TaskException: CRJCA0003E The Lifecycle Project Administration (LPA) application made a request that was answered by an unexpected response code. The request was: https://myrtcts:9443/ccm/clmSampleProject. The response was: HTTP/1.1 400 Bad Request.
at com.ibm.team.lpa.common.tasks.AbstractTask.handleError(AbstractTask.java:145)
at com.ibm.team.lpa.tasks.CreateSampleTask.runTask(CreateSampleTask.java:72)
... 7 more

 

4 answers



permanent link
Lauren Hayward Schaefer (3.3k11727) | answered Oct 22 '13, 7:10 a.m.
JAZZ DEVELOPER
Hi,

From looking at the response, it appears that the user you were logged in as did not have the required license.  You need a Developer for IBM Enterprise Platforms, Practitioner, or Developer license.  Ensure you have one of those licenses assigned to you and try again.

permanent link
Lauren Hayward Schaefer (3.3k11727) | answered Oct 23 '13, 7:09 a.m.
JAZZ DEVELOPER
Hi,
A workaround for this socket timeout exception is available: https://jazz.net/library/article/1071.

permanent link
yossi horesh (18815) | answered Oct 22 '13, 9:15 a.m.
Thanks for the quick answer.


I did......       now i get  the next error:


Error creating the sample: java.net.SocketTimeoutException: Read timed out
hide details

Error Stacktrace:

com.ibm.team.lpa.automation.TaskException: java.net.SocketTimeoutException: Read timed out
at com.ibm.team.lpa.tasks.CreateSampleTask.runTask(CreateSampleTask.java:84)
at com.ibm.team.lpa.common.tasks.AbstractTask.run(AbstractTask.java:56)
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:738)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.ibm.jsse2.b.a(b.java:214)
at com.ibm.jsse2.b.a(b.java:48)
at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:814)
at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:35)
at com.ibm.jsse2.f.read(f.java:56)
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.tasks.CreateSampleTask.runTask(CreateSampleTask.java:64)
... 7 more


permanent link
yossi horesh (18815) | answered Oct 24 '13, 3:39 a.m.
 Hi  Lauren 

I did set the time out to 180000 and the Installation been completed 75% before it completed 69%...  
Do I should rise the time out?

log:

Error creating the sample: java.net.SocketTimeoutException: Read timed out
hide details

Error Stacktrace:

com.ibm.team.lpa.automation.TaskException: java.net.SocketTimeoutException: Read timed out
at com.ibm.team.lpa.tasks.CreateSampleTask.runTask(CreateSampleTask.java:84)
at com.ibm.team.lpa.common.tasks.AbstractTask.run(AbstractTask.java:56)
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:738)
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.ibm.jsse2.b.a(b.java:214)
at com.ibm.jsse2.b.a(b.java:48)
at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:814)
at com.ibm.jsse2.SSLSocketImpl.a(SSLSocketImpl.java:35)
at com.ibm.jsse2.f.read(f.java:56)
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.tasks.CreateSampleTask.runTask(CreateSampleTask.java:64)
... 7 more


Comments
1
Lauren Hayward Schaefer commented Oct 24 '13, 6:42 a.m.
JAZZ DEVELOPER

Hi,
The workaround article has an extra 0 than what you typed above, so you may want to double check you set the timeout to the suggested 1800000 (1,800,000).  If you had the correct number, try increasing it.


yossi horesh commented Oct 25 '13, 12:22 a.m.

  It works  thanks for the help....


Lauren Hayward Schaefer commented Oct 25 '13, 6:48 a.m.
JAZZ DEVELOPER

I'm glad you got it working!

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.