Must-share information (formatted with Markdown):
- which versions are you using (SonarQube 8.0, No Extra plug-ins installed)
- what are you trying to achieve
- We are trying to add more custom affinity rules for COBOL especially on CICS
- tried renaming it but still not working
Read this on the net but not sure what it means :
==It assumes that the JAR file of the COBOL analyzer (file sonar-cobol-plugin-4.0.0.2525.jar) is ==available in the “lib” directory. You can download the JAR file of the COBOL analyzer from ==the SonarSource website.
- what have you tried so far to achieve this
- We have created a maven project using the sample/example found in GitHub - https://docs.sonarqube.org/latest/analysis/languages/cobol/
- Once we generated the jar file, when I add the jar file as a plug-in (D:\Program files\sonarqube-enterprise-8.0\sonarqube-8.0\extensions\plugins) and restart the SonarQube server it does not work .
SonarQube a message …Web server startup failed: File is not a plugin. Please delete it and restart: D:\Program files\sonarqube-enterprise-8.0\sonarqube-8.0\extensions\plugins\sonar-example-plugin.jar
2020.08.16 18:50:58 INFO app[o.s.a.AppFileSystem] Cleaning or creating temp directory D:\Program files\sonarqube-enterprise-8.0\sonarqube-8.0\temp
2020.08.16 18:50:58 INFO app[o.s.a.es.EsSettings] Elasticsearch listening on /127.0.0.1:9001
2020.08.16 18:50:58 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘es’, ipcIndex=1, logFilenamePrefix=es]] from [D:\Program files\sonarqube-enterprise-8.0\sonarqube-8.0\elasticsearch]: C:\Program Files\Java\jdk-11.0.5\bin\java -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -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 -XX:-OmitStackTraceInFastThrow -Dio.netty.noUnsafe=true -Dio.netty.noKeySetOptimization=true -Dio.netty.recycler.maxCapacityPerThread=0 -Dlog4j.shutdownHookEnabled=false -Dlog4j2.disable.jmx=true -Djava.io.tmpdir=D:\Program files\sonarqube-enterprise-8.0\sonarqube-8.0\temp -XX:ErrorFile=…/logs/es_hs_err_pid%p.log -Des.enforce.bootstrap.checks=true -Xmx2G -Xms2G -XX:+HeapDumpOnOutOfMemoryError -Delasticsearch -Des.path.home=D:\Program files\sonarqube-enterprise-8.0\sonarqube-8.0\elasticsearch -Des.path.conf=D:\Program files\sonarqube-enterprise-8.0\sonarqube-8.0\temp\conf\es -cp lib/* org.elasticsearch.bootstrap.Elasticsearch
Java HotSpot™ 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
2020.08.16 18:50:58 INFO app[o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2020.08.16 18:50:58 INFO app[o.e.p.PluginsService] no modules loaded
2020.08.16 18:50:58 INFO app[o.e.p.PluginsService] loaded plugin [org.elasticsearch.transport.Netty4Plugin]
2020.08.16 18:51:10 INFO app[o.s.a.SchedulerImpl] Process[es] is up
2020.08.16 18:51:10 INFO app[o.s.a.ProcessLauncherImpl] Launch process[[key=‘web’, ipcIndex=2, logFilenamePrefix=web]] from [D:\Program files\sonarqube-enterprise-8.0\sonarqube-8.0]: C:\Program Files\Java\jdk-11.0.5\bin\java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=D:\Program files\sonarqube-enterprise-8.0\sonarqube-8.0\temp --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 -Xmx1G -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.|[::1] -cp ./lib/common/;D:\Program files\sonarqube-enterprise-8.0\sonarqube-8.0\lib\jdbc\postgresql\postgresql-42.2.5.jar org.sonar.server.app.WebServer D:\Program files\sonarqube-enterprise-8.0\sonarqube-8.0\temp\sq-process7558890823651482401properties
2020.08.16 18:51:15 INFO app[o.s.a.SchedulerImpl] Process[web] is stopped
2020.08.16 18:51:15 INFO app[o.s.a.SchedulerImpl] Process[es] is stopped
2020.08.16 18:51:15 INFO app[o.s.a.SchedulerImpl] SonarQube is stopped
<-- Wrapper Stopped