It's all about the answers!

Ask a question

Getting Error while Starting the Selenium adapter :

Dev K (512833) | asked May 27 '13, 5:15 a.m.
retagged May 31 '13, 12:48 p.m. by Laura W. Hinson (16126)
 Hi , 

I am trying to install the selenium adaptor. i want to execute the selenium test scripts by using RQM Server.
I am getting the error while running the command "start.bat -configFile Config2.ini" .

The error message i am getting is "The specified repository URL must use the public URI of the server: https://<server Name>/qm"

 Here is the error message i am getting :

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\CAF\adapters>start.bat -configFile Config2.ini
Launching Command Line Adapter...

java version "1.6.0"
Java(TM) SE Runtime Environment (build pwa6460sr9ifix-20110211_02(SR9+IZ94423))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Windows 7 amd64-64 jvmwa6460sr9-20101
124_69295 (JIT enabled, AOT enabled)
J9VM - 20101124_069295
JIT  - r9_20101028_17488ifx2
GC   - 20101027_AA)
JCL  - 20110211_02
Adapter is reconnecting. Using saved configuration information from Config2.ini
Successfully created an HTTP client
The adapter is now connected
The specified repository URL must use the public URI of the server: https://<Server Name>/qm
The command line adapter did not run, exited unexpectedly, or was killed.
This can happen if java.exe was not found in the PATH,
or if java.exe is too old or not compatible (the version of JAVA required is 1.5
 or later),
or Configuration File does not have write permissions,
or some other error occurred.
Please refer to the readme.txt file in the adapter package.

Dev K commented May 27 '13, 5:17 a.m.

Any help would be greatly appreciated. Thanks in advance. 

Piotr Aniola commented May 27 '13, 5:53 a.m.

Have you tried checking if JVM is on the path?
Are you able to run java -version from your "adapters" folder?

Also, please post the contents of your Config2.inifile.

Dev K commented May 28 '13, 7:24 a.m.

Thank you so much Piotr for your reply ! . The  issue was with the server name ...actually i was giving port number also with server name that's why it was showing error like "The specified repository URL must use the public URI of the server: "

Now i am giving only server name and its working fine. :) 

Thank you !

Accepted answer

permanent link
Hao Wan (1.5k35) | answered May 28 '13, 4:30 a.m.
 Hi Dev,
would you please have a check of the 
 https://<server Name="">/qm"
used in the command line adapter.
go to https://<server:port>/qm/,
check the Public URI, this should be the same with the one that used in the selenium adapter.
Dev K selected this answer as the correct answer

Dev K commented May 29 '13, 7:21 a.m.

Thanks Hao. Yes issue was same. I was giving wrong URI.   

Your answer

Register or to post your answer.