|
Hello Sonar Experts :)
I am a newbie to Sonar, I have just finished installing sonar, mysql and jenkins plugin for sonar and configuring them. I have added my sonar settings to settings.xml as well.
Env: sonar 3.1, mysql 5.5, maven 3.0, linux x86_64 I am finally getting a Build Failure for a Jenkins Job: Not sure, what this error means, because i can click http://10.242.195.243:9000 in Browser and go to my Sonar Dashboard. Please Advise !!
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli) on project ecvcheck-standalone: Sonar server can not be reached at http://10.242.195.243:9000. Please check the parameter 'sonar.host.url'. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0:sonar (default-cli) on project ecvcheck-standalone: Sonar server can not be reached at http://10.242.195.243:9000. Please check the parameter 'sonar.host.url'. at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:217) at org.apache.maven.life Thanks, Krishna Chaitanya |
|
Hi Krishna Can you confirm that you can access Sonar when pointing your browser at http://10.242.195.243:9000 ?
Can you also confirm that you can access Sonar locally pointing your browser at http://localhost:9000 ?
Regards 2012/7/1 krishna chaitanya kurnala <[hidden email]> Hello Sonar Experts :) |
|
Hello Patroklos
Thanks a lot for your Reply. Yes, I can Access both. That leaves me with doubt of what is wrong. Here are the entries in settings.xml: <profile>
<id>sonar</id> <properties> <sonar.jdbc.url>
</sonar.jdbc.url> <sonar.jdbc.driver>com.mysql.jdbc.Driver</sonar.jdbc.driver> <sonar.jdbc.username>sonar</sonar.jdbc.username> <sonar.jdbc.password>sonar</sonar.jdbc.password>
<sonar.host.url>http://sdc-d1-sonar-app1.qa.gecwalmart.com:9000</sonar.host.url> </properties> </profile>
</profiles> <activeProfiles> <!--make the profile active all the time --> <activeProfile>nexus</activeProfile> <activeProfile>sonar</activeProfile>
</activeProfiles> Please see the attached screen-shot and the command output below: -bash-4.1$ wget http://localhost:9000
--2012-07-02 00:18:50-- http://localhost:9000/ Resolving localhost... ::1, 127.0.0.1 Connecting to localhost|::1|:9000... connected. HTTP request sent, awaiting response... 200 OK
Length: 6694 (6.5K) [text/html] Saving to: âindex.htmlâ 100%[===================================================================================>] 6,694 --.-K/s in 0s
2012-07-02 00:18:50 (53.6 MB/s) - âindex.htmlâ On Sun, Jul 1, 2012 at 10:51 PM, Papapetrou P.Patroklos <[hidden email]> wrote:
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
Why don't you try to enter in
sonar.host.url the real ip and not the dns name ?
Is there any possibility that there is a firewall / antivirus problem? Regards Patroklos
2012/7/2 krishna chaitanya kurnala <[hidden email]> Hello Patroklos |
|
I tried with Real Ip too, I am not sure about the Firewall, will have to check with the Network Guys tomorow.
I am not able to telnet to the sonar server from jenkins server with port 9000. Thanks a lot for your time !! Appreciate it :)
Thanks,
Krishna Chaitanya On Mon, Jul 2, 2012 at 12:29 AM, Papapetrou P.Patroklos <[hidden email]> wrote: Why don't you try to enter in sonar.host.url the real ip and not the dns name ? |
|
So... Are Jenkins and Sonar on the same box? Or different hosts?
If different, I'd try opening a session on the Jenkins box & using wget to verify that the Jenkins host can talk to the Sonar host.
On Mon, Jul 2, 2012 at 3:58 AM, krishna chaitanya kurnala <[hidden email]> wrote: I tried with Real Ip too, I am not sure about the Firewall, will have to check with the Network Guys tomorow. G. Ann Campbell Sr. Systems Engineer, IS Production Systems - Shop Floor Systems Shaw Industries Inc, 201 S. Hamilton St.
Dalton Ga 30720 ****************************** Privileged and/or confidential information may be contained in this message. If you are not the addressee indicated in this message (or are not responsible for delivery of this message to that person) , you may not copy or deliver this message to anyone. In such case, you should destroy this message and notify the sender by reply e-mail. If you or your employer do not consent to Internet e-mail for messages of this kind, please advise the sender. Shaw Industries does not provide or endorse any opinions, conclusions or other information in this message that do not relate to the official business of the company or its subsidiaries. ****************************** |
| Powered by Nabble | Edit this page |
