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

server rename issue - repotools cannot connect to localhost - generateURLMappings

CLM 405

Doing the generateURLmapping part for a server rename nets me:

CRJAZ1356E The repotools command could not connect to the following server: 'https://localhost:9443/jts'.

First, we use :9445 at our installation, second we have this machine's IP connected to localhost in the hosts file.

Thoughts?

0 votes

Comments

Changing localhost to another IP than loopback IP address 127.0.0.1 can have subtle side effects.
See theĀ  wikipedia localhost description where you can find that the name localhost is reserved for loopback purposes by RFC 6761 (Special-Use Domain Names).

thanks,
I removed it, uncommented 127, tried ::1, same error for all 3.


Accepted answer

Permanent link
I would consider to provide the repotools command the basic parameters it always needs: rpoURL, user, password so that it can initially connect to the repository. If you don't it tries to use default values that most likely not match your environment and comes up with that question. If you don't provide parameters at all, you can pipe the help output into a file to help you digesting it.
Mahari Hill selected this answer as the correct answer

0 votes

Comments

adding the repository command worked. It was not listed in the documentation for mapping a URL


One other answer

Permanent link
 Was the JTS stopped when you ran the command?  That is another cause.

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,510

Question asked: Jan 23 '15, 10:22 a.m.

Question was seen: 3,447 times

Last updated: Jan 27 '15, 1:32 p.m.

Confirmation Cancel Confirm