Blank screen after installation

168 views
Skip to first unread message

Sascha K. Manns

unread,
Jan 4, 2017, 5:17:36 PM1/4/17
to SonarQube
Hello Group,

I have installed Sonarqube with this howto: http://dev.mamikon.net/installing-sonarqube-on-ubuntu/. Also i have done all optional steps there.

But now, if i'm starting Sonarqube, a Browsertab with localhost:9000 results into a blank screen.

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

2017.01.04 22:57:08 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /opt/sonar/temp
2017.01.04 22:57:08 INFO  app[][o.s.p.m.JavaProcessLauncher] Launch process[es]: /usr/lib/jvm/java-8-oracle/jre/bin/java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djna.nosys=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/opt/sonar/temp -javaagent:/usr/lib/jvm/java-8-oracle/jre/lib/management-agent.jar -cp ./lib/common/*:./lib/search/* org.sonar.search.SearchServer /opt/sonar/temp/sq-process4752941878854837398properties
2017.01.04 22:57:12 ERROR app[][o.s.p.m.Monitor] Process[es] failed to start
<-- Wrapper Stopped

The web.log says:
2017.01.04 21:23:56 INFO  web[][o.s.s.a.TomcatAccessLog] Web server is started
2017.01.04 21:23:56 INFO  web[][o.s.s.a.EmbeddedTomcat] HTTP connector enabled on port 9000
2017.01.04 22:30:40 WARN  web[][o.a.i.e.BaseExecutor] Unexpected exception on closing transaction.  Cause: java.sql.SQLException: Already closed.
2017.01.04 22:30:41 ERROR web[][o.s.s.n.NotificationDaemon] Error in NotificationService
org.apache.ibatis.exceptions.PersistenceException:
### Error querying database.  Cause: org.apache.ibatis.transaction.TransactionException: Error configuring AutoCommit.  Your driver may not support getAutoCommit() or setAutoCommit(). Requested setting: fals
e.  Cause: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 5 milliseconds ago.  The last packet sent successfully to the server was 5 milliseconds ago.
### The error may exist in org.sonar.db.notification.NotificationQueueMapper
### The error may involve org.sonar.db.notification.NotificationQueueMapper.findOldest
### The error occurred while executing a query
### Cause: org.apache.ibatis.transaction.TransactionException: Error configuring AutoCommit.  Your driver may not support getAutoCommit() or setAutoCommit(). Requested setting: false.  Cause: com.mysql.jdbc.
exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 5 milliseconds ago.  The last packet sent successfully to the server was 5 milliseconds ago.
        at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:26)

The mysql service is running, and also the database "sonar" exists and is healthy.

Maybe anyone knows how to locate the problem?

Greetings
Sascha

G. Ann Campbell

unread,
Jan 5, 2017, 8:49:35 AM1/5/17
to SonarQube
Hi,

Please don't cross-post here and on StackOverflow.


Ann

Sascha K. Manns

unread,
Jan 5, 2017, 12:14:59 PM1/5/17
to SonarQube
Hi Ann,

you are right. Sorry, i have read, that this group isn't the right place for the question. So i started a new one on SO.

Greetings Sascha
Reply all
Reply to author
Forward
0 new messages