jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Sonar
  • SONAR-629

"-server" option shouldn't be activated by default in wrapper.conf file

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 1.6
  • Fix Version/s: 1.7
  • Component/s: None
  • Labels:
    None
  • Environment:
    Windows XP, JDK 1.5

Description

I just downloaded Sonar 1.6 and tried to execute bin\windows-x86-32\StartSonar.bat but I have this error :

wrapper | Launching a JVM...
jvm 1 | Error: no `server' JVM at `C:\Program Files\Java\jre6\bin\server\jvm.
dll'.
wrapper | JVM exited while loading the application.

This is normal, I just have a JDK 1.5 (I don't know where this path is coming from !). Is Java 1.6 mandatory to have Sonar 1.6 running ?

  • If yes, please indicate it clearly and you may lose some clients
  • If no, please help

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Freddy Mallet added a comment - 13/Feb/09 2:11 AM

Hi Olivier,

You just have to comment the following line in your conf/wrapper.conf file to have Sonar up and running :

#wrapper.java.additional.2=-server

Java 6 is not mandatory, by default "-server" option is activated and so JDK is required (version 5 or 6). I don't know why in your context the jre6 is selected instead of you jdk5.

Show
Freddy Mallet added a comment - 13/Feb/09 2:11 AM Hi Olivier, You just have to comment the following line in your conf/wrapper.conf file to have Sonar up and running :
#wrapper.java.additional.2=-server
Java 6 is not mandatory, by default "-server" option is activated and so JDK is required (version 5 or 6). I don't know why in your context the jre6 is selected instead of you jdk5.
Hide
Permalink
Freddy Mallet added a comment - 13/Feb/09 2:15 AM

Hi Simon, I've definitely made an error when asking to activate by default "-server" option in Sonar 1.6. Go back to previous behavior.

Show
Freddy Mallet added a comment - 13/Feb/09 2:15 AM Hi Simon, I've definitely made an error when asking to activate by default "-server" option in Sonar 1.6. Go back to previous behavior.
Hide
Permalink
Simon Brandhof added a comment - 13/Feb/09 4:10 AM

Freddy, it's fixed with great pleasure ;o)

Show
Simon Brandhof added a comment - 13/Feb/09 4:10 AM Freddy, it's fixed with great pleasure ;o)

People

  • Assignee:
    Simon Brandhof
    Reporter:
    Olivier Ribardière
Vote (0)
Watch (1)

Dates

  • Created:
    13/Feb/09 2:01 AM
    Updated:
    22/Mar/09 4:39 AM
    Resolved:
    13/Feb/09 4:10 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.