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

Internal Server Error during Prod to Prod Server Rename

Environment:

CLM 4.0.1 (JTS,CCM, QM, DM) - not distributed, WAS 8.0.0.3, RHEL 5.4, MS SQL DB, LDAP authentication to MS Active Directory.

When attempting to Generate the Mapping File:

./repotools-jts.sh -generateURLMappings toFile=mappings.txt adminUserId=(admin) adminPassword=(password) additionalURLFile=additionalurl.txt

 This error appears:

CRJAZ2233I The server at https:/{uri}.co.za:9443/jts/urlMappingInformation is being contacted to collect URL information.

CRJAZ1728E An unexpected error has been detected. See the log file "/opt/IBM/JazzTeamServer401/server/repotools-jts_generateURLMappings.log" for more details.

 

The log contains:

2013-02-01 13:40:16,269 Repo Tools

2013-02-01 13:40:16,270 java.version=1.6.0

2013-02-01 13:40:16,270 java.runtime.version=pxa6460sr11-20120806_01 (SR11)

2013-02-01 13:40:16,275 Provisioning using "./conf/jts/provision_profiles".

2013-02-01 13:40:16,294 repotools-jts -generateURLMappings additionalURLFile=additionalurl.txt adminPassword=************ adminUserId=*** repositoryURL=https://***.co.za:9443/jts toFile=mappings.txt

2013-02-01 13:40:16,299   Jazz Foundation - Core Libraries, Version 4.0.1 (RJF-I20121109-1457)

 

2013-02-01 13:40:18,512

2013-02-01 13:40:18,513 CRJAZ2233I The server at https://***.co.za:9443/jts/urlMappingInformation is being contacted to collect URL information.

2013-02-01 13:40:21,438 CRJAZ1247E The request to the server failed.  The server returned the HTTP error 500 with this error text: Internal Server Error.

com.ibm.team.repository.common.transport.TeamServiceException: CRJAZ1247E The request to the server failed.  The server returned the HTTP error 500 with this error text: Internal Server Error.

        at com.ibm.team.repository.transport.client.ClientHttpUtil.throwHttpClientError(ClientHttpUtil.java:1334)

        at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:504)

        at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:315)

        at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:219)

        at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:227)

        at com.ibm.team.repository.transport.client.RestClientConnectionBase.executeMethod(RestClientConnectionBase.java:315)

        at com.ibm.team.repository.transport.client.RestClientConnectionBase.doMethod(RestClientConnectionBase.java:181)

        at com.ibm.team.repository.transport.client.RestClientConnectionBase.doGet(RestClientConnectionBase.java:122)

        at com.ibm.team.repository.transport.client.TeamRawRestServiceClient$RawRestClientConnection.doGet(TeamRawRestServiceClient.java:96)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

        at java.lang.reflect.Method.invoke(Method.java:611)

        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 $Proxy9.doGet(Unknown Source)

        at com.ibm.team.repotools.commands.remote.AbstractRenameMappingsCommand.doGetOrepotools-jts_generateURLMappings.log

 

When accessing https://***co.za:9443/jts/urlMappingInformation, this error message appears:

Error 403: The user has the roles required to perform this operation, but the permission has been denied because this request might have been forged by a malicous website. To prove that this request is not part of a CSRF attack add a new HTTP header with the name 'X-Jazz-CSRF-Prevent' and use the current JSESSIONID value as the value.

Alternatively, when accessing https://***co.za:9443/jts/urlMappingInformation, this error message sometime appears:

500 Internal Server Error


Any suggestions, would be greatly appreciated..


0 votes

Comments

Hi Dustan, since you were in contact with support to get the key, I would suggest to contact support about this issue too.

Hi Ralph, have an open PMR already. Just hoping to find out anything that could help from anyone that may have experienced the same issue

Hi Dustan, I haven't seen anything like that. From the error I see, I would suspect a product defect or an issue with the communication between the applications.

For the latter, I would check certificates, registrations and friends relationships. That the tool suspects a malicious web site could point to something like that. I am not a specialist for that kind of development.


Accepted answer

Permanent link
There is indeed a bug that causes a 500 error when an invalid URL is encountered (in this case, CCM is providing "none" as a URL, and Jena doesn't like it very well).

The bug is fixed in 4.0.3, and a hotfix will be created. 
Dustan Daniel selected this answer as the correct answer

0 votes

Comments

Hi
I am seeing the same issue even in 4.0.4.
How to find if the fix has gone into 4.0.4?

here is the error log..
2013-09-25 15:38:59,644 repotools-jts -generateURLMappings adminPassword=***** adminUserId=axxxxx repositoryURL=https://fitclm.xxx.
com/jts toFile=prodmappings.txt
2013-09-25 15:38:59,648   Jazz Foundation - Core Libraries, Version 4.0.4 (RJF-I20130802-1652)

2013-09-25 15:39:02,391
2013-09-25 15:39:02,391 CRJAZ2233I The server at https://fitclm.xxx.com/jts/urlMappingInformation is being contacted to collect URL inform
ation.
2013-09-25 15:39:02,660 CRJAZ1247E The request to the server failed.  The server returned the HTTP error 500 with this error text: Internal Server Error.
com.ibm.team.repository.common.transport.TeamServiceException: CRJAZ1247E The request to the server failed.  The server returned the HTTP
error 500 with this error text: Internal Server Error.
<<<SNIP>>>

Unfortunately, an HTTP 500 error could mean anything.  Check the JTS and application log files to see if there are any error messages that could help diagnose the problem. 

Can you be able to provide more details on the Patch # or Hotfix details. I am workign with IBM support to see if that is included/ resolved in 4.0.4 or not.


3 other answers

Permanent link
Hi,
I have the same problem have you solved it?

many thanks
marina

0 votes

Comments

Hi Marina, In my specific case, it turned out to be a bug in 4.0.1 version. I suggest logging a PMR and possibly contacting James. He assisted with my case.

thanks!


Permanent link
Marina,

I sent some details to the IBM to post it ( with their corrections). If I recall it correctly....

this problem arises, if you have integrations with other tools like Buildforge. The Buildforge Engines URL is causing this Error.
The FIX IBM made is to define an Environment Variable to your App server
com.ibm.team.jfs.app.util.renameurlprovider.allowInvalidUrls  = true
in your was you can set this under this menu
Application servers > CLM_JTS > Process definition > Java Virtual Machine > Custom properties
Then restart the server and then the run the -generateURLMappings and that should work.
Here is an article similar to that
https://jazz.net/forum/questions/119109/server-rename-generate-mappings-fails-with-error-crjaz1247e-invalid-url-for-buildengine

HTH


0 votes


Permanent link
Hi,
I did steps that you suggested, now the reptools-jts_generateURLMappings.log shows a differente error

2014-02-27 10:19:50,052 Repo Tools
2014-02-27 10:19:50,053 java.version=1.6.0
2014-02-27 10:19:50,053 java.runtime.version=pxa6460sr13fp1-20130325_01 (SR13 FP1)
2014-02-27 10:19:50,057 Provisioning using "./conf/jts/provision_profiles".
2014-02-27 10:19:50,076 repotools-jts -generateURLMappings additionalURLFile=additionalurl.txt adminPassword=**
********************* adminUserId=jazzadmin repositoryURL=https://localhost:9443/jts toFile=mappings.txt
2014-02-27 10:19:50,081   Jazz Foundation - Core Libraries, Version 4.0.3 (RJF-I20130515-1759)

2014-02-27 10:19:51,988
2014-02-27 10:19:51,988 CRJAZ2233I The server at https://localhost:9443/jts/urlMappingInformation is being cont
acted to collect URL information.
2014-02-27 10:19:51,995 CRJAZ0097E The request for the following URL was denied: /jts/urlMappingInformation. Th
e status is "Forbidden".
com.ibm.team.repository.transport.client.AuthenticationException: CRJAZ0097E The request for the following URL
was denied: /jts/urlMappingInformation. The status is "Forbidden".
        at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:465)
        at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:321)
        at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:219)
        at com.ibm.team.repository.transport.client.ClientHttpUtil.executeHttpMethod(ClientHttpUtil.java:228)
        at com.ibm.team.repository.transport.client.RestClientConnectionBase.executeMethod(RestClientConnection
Base.java:315)
        at com.ibm.team.repository.transport.client.RestClientConnectionBase.doMethod(RestClientConnectionBase.
java:181)
        at com.ibm.team.repository.transport.client.RestClientConnectionBase.doGet(RestClientConnectionBase.jav
a:122)
        at com.ibm.team.repository.transport.client.TeamRawRestServiceClient$RawRestClientConnection.doGet(Team
RawRestServiceClient.java:96)
[root@wasrtcbkp server]# https://localhost:9443/jts/urlMappingInformation




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
× 7,494
× 343

Question asked: Feb 08 '13, 1:12 a.m.

Question was seen: 10,161 times

Last updated: Feb 27 '14, 4:40 a.m.

Confirmation Cancel Confirm