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

How to start command line adapter in RQM from configurations saved in config.ini file?

I am able to start command line adapter from this command (start.bat -repository https://rqm:9443/jazz -user ADMIN -password ADMIN -adapter RQMAdapter -projectArea Quality+Manager -configFile config.ini)

These configurations are saved in config.ini file.

I read in ReadMe text file,

"To restart the command line adapter, if it has registered with the server before

Windows: run the batch file without any arguments:

C:\ start.bat"

But when i try to start the command line adapter again, using the saved paramenters in config.ini, its says "Must specify -repository, invalid arguments"

Please guide on how to proceed with starting CLA with config.ini file.

0 votes


Accepted answer

Permanent link
Hi Shuchita,

readme.txt provided with Command-Line adapter states that it uses Config2.ini file for restarting without parameters. You're currently using config.ini which causes the "start.bat" batch script to ask for parameters to run.
In short: to solve your problem, make sure you use Config2.ini

Regards,
Stéphane


Shuchita Tripathi selected this answer as the correct answer

1 vote


One other answer

Permanent link
Hi Stephane,

Thanks for your reply.

However, i got the way to start CLA using config file.

The command is

start.bat -configFile config.ini

0 votes

Comments

Shuchita,

If you're OK to pass such parameter to start.bat script, you found the right solution.
Glad to hear your problem is solved now.

Regards,
Stéphane

Hi Stephane,

Can you guide me on how to use only start.bat?
I am not able to find config2.ini in my CLA folder.

Based on my experience with 4.0.3 CLA, you'd need :
1) to delete previous config.ini (Note: it's ALWAYS a good idea to copy them  somewhere before -  just in case you'd want to revert...).
2) run start.bat with full options. Note: this should have created a Config2.ini file
3) Check your CLA adapter appears as running in RQM Adapter console.
4) Stop your CLA adapter
5) run start.bat with no additional options.

Thanks Stephane,

My problem got resolved. I am able to start CLA by just using start.bat.

Just one query, is it name specific? That is  if the name of config file is 'Config2.ini', only then it will work? No other name will make start.bat work directly?

That's a good news Shuchita !
I believe Config2.ini is required for unparametrized batch calls. If you find a trick to make it possible more generally, I would be happy to learn about it.
Regards,

1 vote

Thanks a lot!!
Will surely post if I get something.

showing 5 of 6 show 1 more comments

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
× 12,027

Question asked: Jul 26 '13, 11:09 a.m.

Question was seen: 5,907 times

Last updated: Jul 30 '13, 11:21 a.m.

Confirmation Cancel Confirm