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

generateURLMappings version 5.0.2

Hi all, I'm trying to do a server rename to create a staging environment. Following the KC and the generateURLMappings, fails.
I don't understand why I get error 500.
Can someone give-me some light ?
Thanks
 
repotools-jts -generateURLMappings adminPassword=** adminUserId=xxxxxxr repositoryURL=https://xxxxx:9443/jts toFile=mappings.txt

CRJAZ2233I The server at https://xxxxxx:9443/jts/urlMappingInformation is being contacted to collect URL information.
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.

0 votes

Comments

You need to check the server log file (jts.log in this case) to see more detailed information. If you cannot resolve it by yourself, please contact IBM Support.

Doug, thanks four your answer. I've this on jts.log:

..Unhandled Exception
java.lang.RuntimeException: An error response was received from the Jazz Team Server. Status=500.  Message: CRJZS0429E The server rename URL provider code detected an invalid URL.  URL is buildagent://sdadglhawbui01.xxx.yyyi.www:5555.  URL category is AFFECTED.  URL description is Build engine(s) with id(s): Agent Windows .NET DEV (I) (SDADGLHAWBUI01), Agent Windows .NET DEV (II) (SDADGLHAWBUI01), Agent Windows .NET DEV (III) (SDADGLHAWBUI01), Agent Windows .NET DEV (IV) (SDADGLHAWBUI01), Agent Windows .NET QUA (I) (SDADGLHAWBUI01), Agent Windows .NET QUA (II) (SDADGLHAWBUI01).

URL sdadglhawbui01.xxx.yyyi.www exists and can be pinged. I dont understand why I've those hex codes for "/" (/) on the error message

any idea?



Accepted answer

Permanent link

This often happens when build engine is involved, See the resolutions in this post:
https://jazz.net/forum/questions/119109/server-rename-generate-mappings-fails-with-error-crjaz1247e-invalid-url-for-buildengine

Joao Ramires selected this answer as the correct answer

0 votes

Comments

I'll try the suggested resolution. But I'm curious why we need to change WAS server configuration. Does repotools-jts -generateURLMappings reads WAS server configuration?

It's not about WAS, but rather the parameter com.ibm.team.jfs.app.util.renameurlprovider.allowInvalidUrls. As the name suggests, when the applications start with this parameter set to true, they will allow to output invalid URL to the mapping file. That is, the generateURLMappings command can complete instead of terminating.

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

Question asked: Jan 22 '18, 10:52 a.m.

Question was seen: 1,135 times

Last updated: Jan 25 '18, 2:47 a.m.

Confirmation Cancel Confirm