Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

“StartSonar.bat” terminates itself after installing this plugin #6

Open
putthiwat0cha opened this issue Aug 31, 2022 · 0 comments

Comments

@putthiwat0cha
Copy link

putthiwat0cha commented Aug 31, 2022

I use “SonarQube 9.6” and try to install this plugin by downloading “.jar” file and putting it into “/extensions/plugins” directory.

However, after I install it and re-launch “StartSonar.bat”, the process failed and produce a log file like this;


2565.08.31 09:55:40 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory D:\SonarQube_9.6\temp

2565.08.31 09:55:40 INFO app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:49610]

2565.08.31 09:55:40 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [D:\SonarQube_9.6\elasticsearch]: C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin\java -XX:+UseG1GC -Djava.io.tmpdir=D:\SonarQube_9.6\temp -XX:ErrorFile=../logs/es_hs_err_pid%p.log -Des.networkaddress.cache.ttl=60 -Des.networkaddress.cache.negative.ttl=10 -XX:+AlwaysPreTouch -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys=true -Djna.tmpdir=D:\SonarQube_9.6\temp -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dio.netty.allocator.numDirectArenas=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Dlog4j2.formatMsgNoLookups=true -Djava.locale.providers=COMPAT -Dcom.redhat.fips=false -Xmx512m -Xms512m -XX:MaxDirectMemorySize=256m -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=D:\SonarQube_9.6\elasticsearch -Des.path.conf=D:\SonarQube_9.6\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch

2565.08.31 09:55:41 INFO app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running

2565.08.31 09:55:53 INFO app[][o.s.a.SchedulerImpl] Process[es] is up

2565.08.31 09:55:53 INFO app[][o.s.a.ProcessLauncherImpl] Launch process[WEB_SERVER] from [D:\SonarQube_9.6]: C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=D:\SonarQube_9.6\temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Dcom.redhat.fips=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-9.6.0.59041.jar;D:\SonarQube_9.6\lib\jdbc\h2\h2-2.1.212.jar org.sonar.server.app.WebServer D:\SonarQube_9.6\temp\sq-process8793939754463280525properties

2565.08.31 09:56:01 INFO app[][o.s.a.SchedulerImpl] Process[Web Server] is stopped

2565.08.31 09:56:01 INFO app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped

2565.08.31 09:56:01 INFO app[][o.s.a.SchedulerImpl] SonarQube is stopped


I have no idea why this termination happens and how to fix it. Can someone please help me to solve this situation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant