Sonarqube 5.6.6 First Run (Windows 8.1)

328 views
Skip to first unread message

haldun...@gmail.com

unread,
Feb 27, 2017, 3:42:44 AM2/27/17
to SonarQube
Dear All,

I'm stuck with my first try with Sonarqube Server (5.6.6) from windows 8.1. I copy and paste logs below. I didn't change any config parameter. Just download and run StartSonar.bat. When I try another PC with Mac os x, server is run. So I think this is a Windows think.

--> Wrapper Started as Console
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
  Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

2017.02.27 11:41:20 INFO  app[o.s.a.AppFileSystem] Cleaning or creating temp directory C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\temp
2017.02.27 11:41:20 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[es]: C:\Program Files\Java\jdk1.8.0_121\jre\bin\java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\temp -javaagent:C:\Program Files\Java\jdk1.8.0_121\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/search/* org.sonar.search.SearchServer C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\temp\sq-process1577748486912653282properties
2017.02.27 11:41:21 INFO   es[o.s.p.ProcessEntryPoint]  Starting es
2017.02.27 11:41:21 INFO   es[o.s.s.EsSettings]  Elasticsearch listening on 127.0.0.1:9001
2017.02.27 11:41:21 INFO   es[o.elasticsearch.node]  [sonar-1488184880345] version[1.7.5], pid[1364], build[00f95f4/2016-02-02T09:55:30Z]
2017.02.27 11:41:21 INFO   es[o.elasticsearch.node]  [sonar-1488184880345] initializing ...
2017.02.27 11:41:21 INFO   es[o.e.plugins]  [sonar-1488184880345] loaded [], sites []
2017.02.27 11:41:21 INFO   es[o.elasticsearch.env]  [sonar-1488184880345] using [1] data paths, mounts [[(C:)]], net usable_space [185gb], net total_space [237.5gb], types [NTFS]
2017.02.27 11:41:22 WARN   es[o.e.bootstrap]  JNA not found. native methods will be disabled.
2017.02.27 11:41:22 INFO   es[o.elasticsearch.node]  [sonar-1488184880345] initialized
2017.02.27 11:41:22 INFO   es[o.elasticsearch.node]  [sonar-1488184880345] starting ...
2017.02.27 11:41:22 INFO   es[o.e.transport]  [sonar-1488184880345] bound_address {inet[/127.0.0.1:9001]}, publish_address {inet[/127.0.0.1:9001]}
2017.02.27 11:41:22 INFO   es[o.e.discovery]  [sonar-1488184880345] sonarqube/y9qRJoYWSDiGHQd78QalHQ
2017.02.27 11:41:26 INFO   es[o.e.cluster.service]  [sonar-1488184880345] new_master [sonar-1488184880345][y9qRJoYWSDiGHQd78QalHQ][computeraman][inet[/127.0.0.1:9001]]{rack_id=sonar-1488184880345}, reason: zen-disco-join (elected_as_master)
2017.02.27 11:41:26 INFO   es[o.elasticsearch.node]  [sonar-1488184880345] started
2017.02.27 11:41:26 INFO   es[o.e.gateway]  [sonar-1488184880345] recovered [6] indices into cluster_state
2017.02.27 11:41:27 INFO  app[o.s.p.m.Monitor] Process[es] is up
2017.02.27 11:41:27 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[web]: C:\Program Files\Java\jdk1.8.0_121\jre\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\temp -javaagent:C:\Program Files\Java\jdk1.8.0_121\jre\lib\management-agent.jar -cp ./lib/common/*;./lib/server/*;C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\lib\jdbc\h2\h2-1.3.176.jar org.sonar.server.app.WebServer C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\temp\sq-process6223649214599245812properties
2017.02.27 11:41:28 INFO  web[o.s.p.ProcessEntryPoint] Starting web
2017.02.27 11:41:28 INFO  web[o.s.s.a.TomcatContexts] Webapp directory: C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\web
2017.02.27 11:41:28 INFO  web[o.a.c.h.Http11NioProtocol] Initializing ProtocolHandler ["http-nio-0.0.0.0-9000"]
2017.02.27 11:41:28 INFO  web[o.a.t.u.n.NioSelectorPool] Using a shared selector for servlet write/read
2017.02.27 11:41:29 INFO  web[o.s.s.p.ServerImpl] SonarQube Server / 5.6.6 / e8e13145497bb920921ae4fe11b09f0903f1d298
2017.02.27 11:41:29 INFO  web[o.s.s.d.EmbeddedDatabase] Starting embedded database on port 9092 with url jdbc:h2:tcp://localhost:9092/sonar
2017.02.27 11:41:29 INFO  web[o.s.s.d.EmbeddedDatabase] Embedded database started. Data stored in: C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\data
2017.02.27 11:41:29 INFO  web[o.sonar.db.Database] Create JDBC data source for jdbc:h2:tcp://localhost:9092/sonar
2017.02.27 11:41:30 WARN  web[o.s.d.DatabaseChecker] H2 database should be used for evaluation purpose only
2017.02.27 11:41:30 INFO  web[o.s.s.p.DefaultServerFileSystem] SonarQube home: C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6
2017.02.27 11:41:30 INFO  web[o.e.plugins] [sonar-1488184880345] loaded [], sites []
2017.02.27 11:41:31 INFO  web[o.s.s.p.ServerPluginRepository] Deploy plugin C# / 5.0 / 17ddb09047940791828dcb70c9e225f006ab11aa
2017.02.27 11:41:31 INFO  web[o.s.s.p.ServerPluginRepository] Deploy plugin Git / 1.2 / a713dd64daf8719ba4e7f551f9a1966c62690c17
2017.02.27 11:41:31 INFO  web[o.s.s.p.ServerPluginRepository] Deploy plugin Java / 3.13.1 / cf0f0c950ba3e83a87c7fe11c6ff7e63f4864bd9
2017.02.27 11:41:31 INFO  web[o.s.s.p.ServerPluginRepository] Deploy plugin JavaScript / 2.11 / a9b1afa9ceef7079811779d9efc5f8026acb1400
2017.02.27 11:41:31 INFO  web[o.s.s.p.ServerPluginRepository] Deploy plugin SVN / 1.3 / aff503d48bc77b07c2b62abf93249d0a20bd355c
2017.02.27 11:41:32 INFO  web[o.s.s.p.RailsAppsDeployer] Deploying Ruby on Rails applications
2017.02.27 11:41:33 INFO  web[o.s.s.p.UpdateCenterClient] Update center: https://update.sonarsource.org/update-center.properties (no proxy)
2017.02.27 11:41:33 INFO  web[o.s.s.n.NotificationService] Notification service started (delay 60 sec.)
2017.02.27 11:41:33 INFO  web[o.s.s.s.RegisterMetrics] Register metrics
2017.02.27 11:41:33 INFO  web[o.s.s.r.RegisterRules] Register rules
2017.02.27 11:41:35 INFO  web[o.s.s.q.RegisterQualityProfiles] Register quality profiles
2017.02.27 11:41:36 INFO  web[o.s.s.s.RegisterNewMeasureFilters] Register measure filters
2017.02.27 11:41:36 INFO  web[o.s.s.s.RegisterDashboards] Register dashboards
2017.02.27 11:41:36 INFO  web[o.s.s.s.RegisterPermissionTemplates] Register permission templates
2017.02.27 11:41:36 INFO  web[o.s.s.s.RenameDeprecatedPropertyKeys] Rename deprecated property keys
2017.02.27 11:41:36 INFO  web[o.s.s.e.IndexerStartupTask] Index activities
2017.02.27 11:41:36 INFO  web[o.s.s.e.IndexerStartupTask] Index issues
2017.02.27 11:41:37 INFO  web[o.s.s.e.IndexerStartupTask] Index tests
2017.02.27 11:41:37 INFO  web[o.s.s.e.IndexerStartupTask] Index users
2017.02.27 11:41:37 INFO  web[o.s.s.e.IndexerStartupTask] Index views
2017.02.27 11:41:37 INFO  web[jruby.rack] jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.8.0_121-b13 [Windows 8.1-amd64]
2017.02.27 11:41:37 INFO  web[jruby.rack] using a shared (threadsafe!) runtime
2017.02.27 11:41:45 INFO  web[jruby.rack] An exception happened during JRuby-Rack startup
ActiveRecord::JDBCError: Table "SCHEMA_MIGRATIONS" already exists; SQL statement:
CREATE TABLE schema_migrations (version varchar(255) NOT NULL)  [42101-176]: CREATE TABLE schema_migrations (version varchar(255) NOT NULL) 
--- System
jruby 1.7.9 (ruby-1.8.7p370) 2013-12-06 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.8.0_121-b13 [Windows 8.1-amd64]
Time: Mon Feb 27 10:41:45 +0200 2017
Server: Apache Tomcat/8.0.32
jruby.home: file:/C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/lib/server/jruby-complete-1.7.9.jar!/META-INF/jruby.home

--- Context Init Parameters:
jruby.compat.version = 1.8
jruby.max.runtimes = 1
jruby.min.runtimes = 1
jruby.rack.logging = slf4j
process.index = 2
process.key = web
process.sharedDir = C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\temp
process.terminationTimeout = 60000
rails.env = production
sonar.ce.javaAdditionalOpts = 
sonar.ce.javaOpts = -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true
sonar.cluster.name = sonarqube
sonar.core.startedAt = 1488184880470
sonar.embeddedDatabase.port = 9092
sonar.jdbc.driverPath = C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\lib\jdbc\h2\h2-1.3.176.jar
sonar.jdbc.maxActive = 60
sonar.jdbc.maxIdle = 5
sonar.jdbc.maxWait = 5000
sonar.jdbc.minEvictableIdleTimeMillis = 600000
sonar.jdbc.minIdle = 2
sonar.jdbc.timeBetweenEvictionRunsMillis = 30000
sonar.jdbc.url = jdbc:h2:tcp://localhost:9092/sonar
sonar.node.name = sonar-1488184880345
sonar.path.data = C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\data
sonar.path.home = C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6
sonar.path.logs = C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\logs
sonar.path.temp = C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\temp
sonar.path.web = C:\Users\SahaBT-Haldun\Downloads\sonarqube-5.6.6\web
sonar.search.host = 127.0.0.1
sonar.search.javaAdditionalOpts = 
sonar.search.javaOpts = -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError
sonar.search.port = 9001
sonar.web.javaAdditionalOpts = 
sonar.web.javaOpts = -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true

--- Backtrace
ActiveRecord::StatementInvalid: ActiveRecord::JDBCError: Table "SCHEMA_MIGRATIONS" already exists; SQL statement:
CREATE TABLE schema_migrations (version varchar(255) NOT NULL)  [42101-176]: CREATE TABLE schema_migrations (version varchar(255) NOT NULL) 
                                 log at C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract_adapter.rb:227
                             execute at C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-jdbc-adapter-1.1.3/lib/arjdbc/jdbc/adapter.rb:183
                        create_table at C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/schema_statements.rb:109
  initialize_schema_migrations_table at C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/schema_statements.rb:371
                          initialize at C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/migration.rb:441
                                  up at C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/migration.rb:401
                             migrate at C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/migration.rb:383
                   upgrade_and_start at C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/config/../lib/database_version.rb:66
                     automatic_setup at C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/config/../lib/database_version.rb:77
                              (root) at C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/config/environment.rb:306
                                load at org/jruby/RubyKernel.java:1094
                              (root) at file:/C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails/environment2.rb:1
                    load_environment at file:/C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails/environment2.rb:25
                    load_environment at file:/C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails_booter.rb:79

--- RubyGems
Gem.dir: C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems
Gem.path:
C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems
Activated gems:
  activesupport-2.3.15
  activerecord-2.3.15
  rack-1.1.6
  actionpack-2.3.15
  rails-2.3.15
  color-tools-1.3.0
  i18n-0.4.2
  json-jruby-1.2.3-universal-java-1.6
  activerecord-jdbc-adapter-1.1.3
  fastercsv-1.4.0

--- Bundler
undefined method `bundle_path' for Bundler:Module

--- JRuby-Rack Config
compat_version = RUBY1_8
default_logger = org.jruby.rack.logging.StandardOutLogger@70f6eac9
equals = <error: >
err = java.io.PrintStream@e65cd27
filter_adds_html = true
filter_verifies_resource = false
ignore_environment = false
initial_memory_buffer_size = 
initial_runtimes = 1
jms_connection_factory = 
jms_jndi_properties = 
logger = org.jruby.rack.logging.Slf4jLogger@100c8a64
logger_class_name = slf4j
logger_name = jruby.rack
maximum_memory_buffer_size = 
maximum_runtimes = 1
num_initializer_threads = 
out = java.io.PrintStream@dd5263
rackup = 
rackup_path = 
rewindable = true
runtime_arguments = 
runtime_environment = 
runtime_timeout_seconds = 
serial_initialization = false
servlet_context = org.apache.catalina.core.ApplicationContextFacade@25dcd06
throw_init_exception = false

2017.02.27 11:41:45 ERROR web[o.a.c.c.C.[.[.[/]] Exception sending context initialized event to listener instance of class org.sonar.server.platform.RubyRailsContextListener
org.jruby.rack.RackInitializationException: ActiveRecord::JDBCError: Table "SCHEMA_MIGRATIONS" already exists; SQL statement:
CREATE TABLE schema_migrations (version varchar(255) NOT NULL)  [42101-176]: CREATE TABLE schema_migrations (version varchar(255) NOT NULL) 
from C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract_adapter.rb:227:in `log'
from C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-jdbc-adapter-1.1.3/lib/arjdbc/jdbc/adapter.rb:183:in `execute'
from C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/schema_statements.rb:109:in `create_table'
from C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/schema_statements.rb:371:in `initialize_schema_migrations_table'
from C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/migration.rb:441:in `initialize'
from C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/migration.rb:401:in `up'
from C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/migration.rb:383:in `migrate'
from C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/config/../lib/database_version.rb:66:in `upgrade_and_start'
from C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/config/../lib/database_version.rb:77:in `automatic_setup'
from C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/config/environment.rb:306:in `(root)'
from org/jruby/RubyKernel.java:1094:in `load'
from file:/C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails/environment2.rb:1:in `(root)'
from file:/C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails/environment2.rb:25:in `load_environment'
from file:/C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails_booter.rb:79:in `load_environment'

at org.jruby.rack.RackInitializationException.wrap(RackInitializationException.java:29) ~[jruby-rack-1.1.13.2.jar:na]
at org.jruby.rack.RackApplicationFactoryDecorator.init(RackApplicationFactoryDecorator.java:98) ~[jruby-rack-1.1.13.2.jar:na]
at org.jruby.rack.RackServletContextListener.contextInitialized(RackServletContextListener.java:50) ~[jruby-rack-1.1.13.2.jar:na]
at org.sonar.server.platform.RubyRailsContextListener.contextInitialized(RubyRailsContextListener.java:38) ~[sonar-server-5.6.6.jar:na]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812) [tomcat-embed-core-8.0.32.jar:8.0.32]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255) [tomcat-embed-core-8.0.32.jar:8.0.32]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147) [tomcat-embed-core-8.0.32.jar:8.0.32]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) [tomcat-embed-core-8.0.32.jar:8.0.32]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) [tomcat-embed-core-8.0.32.jar:8.0.32]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_121]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_121]
Caused by: org.jruby.exceptions.RaiseException: (StatementInvalid) ActiveRecord::JDBCError: Table "SCHEMA_MIGRATIONS" already exists; SQL statement:
CREATE TABLE schema_migrations (version varchar(255) NOT NULL)  [42101-176]: CREATE TABLE schema_migrations (version varchar(255) NOT NULL) 
at RUBY.log(C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract_adapter.rb:227) ~[na:na]
at RUBY.execute(C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-jdbc-adapter-1.1.3/lib/arjdbc/jdbc/adapter.rb:183) ~[na:na]
at RUBY.create_table(C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/schema_statements.rb:109) ~[na:na]
at RUBY.initialize_schema_migrations_table(C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/connection_adapters/abstract/schema_statements.rb:371) ~[na:na]
at RUBY.initialize(C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/migration.rb:441) ~[na:na]
at RUBY.up(C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/migration.rb:401) ~[na:na]
at RUBY.migrate(C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/gems/gems/activerecord-2.3.15/lib/active_record/migration.rb:383) ~[na:na]
at RUBY.upgrade_and_start(C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/config/../lib/database_version.rb:66) ~[na:na]
at RUBY.automatic_setup(C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/config/../lib/database_version.rb:77) ~[na:na]
at RUBY.(root)(C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/web/WEB-INF/config/environment.rb:306) ~[na:na]
at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1094) ~[jruby-complete-1.7.9.jar:na]
at RUBY.(root)(file:/C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails/environment2.rb:1) ~[na:na]
at RUBY.load_environment(file:/C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails/environment2.rb:25) ~[na:na]
at RUBY.load_environment(file:/C:/Users/SahaBT-Haldun/Downloads/sonarqube-5.6.6/lib/server/jruby-rack-1.1.13.2.jar!/jruby/rack/rails_booter.rb:79) ~[na:na]
2017.02.27 11:41:45 ERROR web[o.a.c.c.StandardContext] One or more listeners failed to start. Full details will be found in the appropriate container log file
2017.02.27 11:41:45 ERROR web[o.a.c.c.StandardContext] Context [] startup failed due to previous errors
2017.02.27 11:41:45 INFO  web[o.s.s.n.NotificationService] Notification service stopped
2017.02.27 11:41:45 INFO  web[o.s.s.d.EmbeddedDatabase] Embedded database stopped
2017.02.27 11:41:45 WARN  web[o.a.c.l.WebappClassLoaderBase] The web application [ROOT] appears to have started a thread named [JRubyJIT-1] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
 java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
 java.lang.Thread.run(Thread.java:745)
2017.02.27 11:41:45 WARN  web[o.a.c.l.WebappClassLoaderBase] The web application [ROOT] appears to have started a thread named [JRubyJIT-2] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 sun.misc.Unsafe.park(Native Method)
 java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
 java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
 java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:442)
 java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1067)
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
 java.lang.Thread.run(Thread.java:745)
2017.02.27 11:41:45 INFO  web[o.a.c.h.Http11NioProtocol] Starting ProtocolHandler ["http-nio-0.0.0.0-9000"]
2017.02.27 11:41:45 INFO  web[o.s.s.a.TomcatAccessLog] Web server is started
2017.02.27 11:41:45 INFO  web[o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2017.02.27 11:41:45 WARN  web[o.s.p.ProcessEntryPoint] Fail to start web
java.lang.IllegalStateException: Webapp did not start
at org.sonar.server.app.EmbeddedTomcat.isUp(EmbeddedTomcat.java:84) ~[sonar-server-5.6.6.jar:na]
at org.sonar.server.app.WebServer.isUp(WebServer.java:47) [sonar-server-5.6.6.jar:na]
at org.sonar.process.ProcessEntryPoint.launch(ProcessEntryPoint.java:105) ~[sonar-process-5.6.6.jar:na]
at org.sonar.server.app.WebServer.main(WebServer.java:68) [sonar-server-5.6.6.jar:na]
2017.02.27 11:41:45 INFO  web[o.a.c.h.Http11NioProtocol] Pausing ProtocolHandler ["http-nio-0.0.0.0-9000"]
2017.02.27 11:41:46 INFO  web[o.a.c.h.Http11NioProtocol] Stopping ProtocolHandler ["http-nio-0.0.0.0-9000"]
2017.02.27 11:41:46 INFO  web[o.a.c.h.Http11NioProtocol] Destroying ProtocolHandler ["http-nio-0.0.0.0-9000"]
2017.02.27 11:41:46 INFO  web[o.s.s.a.TomcatAccessLog] Web server is stopped
2017.02.27 11:41:47 INFO   es[o.s.p.StopWatcher]  Stopping process
2017.02.27 11:41:47 INFO   es[o.elasticsearch.node]  [sonar-1488184880345] stopping ...
2017.02.27 11:41:47 INFO  app[o.s.p.m.Monitor] Process[es] is stopping
2017.02.27 11:41:47 INFO   es[o.elasticsearch.node]  [sonar-1488184880345] stopped
2017.02.27 11:41:47 INFO   es[o.elasticsearch.node]  [sonar-1488184880345] closing ...
2017.02.27 11:41:47 INFO   es[o.elasticsearch.node]  [sonar-1488184880345] closed
2017.02.27 11:41:48 INFO  app[o.s.p.m.Monitor] Process[es] is stopped
<-- Wrapper Stopped


Julien Lancelot

unread,
Feb 27, 2017, 3:57:09 AM2/27/17
to haldun...@gmail.com, SonarQube
Hi,

It seems that you've already tried the start the server and it has probably failed : "ActiveRecord::JDBCError: Table "SCHEMA_MIGRATIONS" already exists; SQL statement:".
You need to clean up the db and try again.

Regards


--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/52a53a24-e667-4521-8cf1-26b16d10de7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Julien LANCELOT | SonarSource

Haldun Teraman

unread,
Feb 27, 2017, 4:04:39 AM2/27/17
to SonarQube, haldun...@gmail.com
Hello,

I already use embedded database and that is my first run. Even so, how can I clean up the embedded db can you tell me? If you say, delete logs and data folders, I already did this too.

27 Şubat 2017 Pazartesi 11:57:09 UTC+3 tarihinde Julien Lancelot yazdı:
Reply all
Reply to author
Forward
0 new messages