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.
Accepted answer
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
One other answer
Thanks for your reply.
However, i got the way to start CLA using config file.
The command is
start.bat -configFile config.ini
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.