将信息上载到AIX上的Sonar服务器时锁定删除问题

时间:2016-09-14 08:11:15

标签: sonarqube aix sonarqube-scan

我实际上是想在AIX服务器上使用sonarqube 5.4并且在运行分析时遇到了一些错误。

在Windows上测试了相同的配置并且它正在运行。

信息存储在Oracle数据库(11gr2)

在分析结束时,它说锁定文件无法删除,但是当我检查此文件后,它就不再存在了。

我试图使用最后一个版本的包装器,但是徒劳无功。

有没有人遇到同样的问题?

  

09:58:13.581 DEBUG - POST 500   HTTP:/ foobar的:9001 / API / CE /提交projectKey = IHM&安培; PROJECTNAME = IHM   | time = 92ms 09:58:13.594 INFO - 生成的分析报告   / applis / swgi / produits / ictools / workdir / batch-report 09:58:13.604 DEBUG    - 无法删除锁定文件:/applis/swgi/produits/ictools/sonar-runner-2.4_IHM/bin/./.sonar_lock   java.nio.file.NoSuchFileException:   /applis/swgi/produits/ictools/sonar-runner-2.4_IHM/bin/./.sonar_lock     在   sun.nio.fs.UnixException.translateToIOException(UnixException.java:98)     在   sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:114)     在   sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:119)     在   sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:256)     在   sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:115)     在java.nio.file.Files.delete(Files.java:1137)at   org.sonar.home.cache.DirectoryLock.unlock(DirectoryLock.java:98)

  

错误:Sonar跑步者执行期间出错   org.sonar.runner.impl.RunnerException:无法执行Sonar           在org.sonar.runner.impl.BatchLauncher $ 1.delegateExecution(BatchLauncher.java:91)           在org.sonar.runner.impl.BatchLauncher $ 1.run(BatchLauncher.java:75)           在java.security.AccessController.doPrivileged(AccessController.java:594)           在org.sonar.runner.impl.BatchLauncher.doExecute(BatchLauncher.java:69)           在org.sonar.runner.impl.BatchLauncher.execute(BatchLauncher.java:50)           在org.sonar.runner.api.EmbeddedRunner.doExecute(EmbeddedRunner.java:102)           在org.sonar.runner.api.Runner.execute(Runner.java:100)           在org.sonar.runner.Main.executeTask(Main.java:70)           在org.sonar.runner.Main.execute(Main.java:59)           在org.sonar.runner.Main.main(Main.java:53)引起:org.sonarqube.ws.client.HttpException:错误500 http:/ foobar:9001 / api / ce / submit?projectKey = IHM& projectName = IHM           at org.sonarqube.ws.client.BaseResponse.failIfNotSuccessful(BaseResponse.java:32)           在org.sonar.batch.bootstrap.BatchWsClient.failIfUnauthorized(BatchWsClient.java:96)           在org.sonar.batch.bootstrap.BatchWsClient.call(BatchWsClient.java:67)           在org.sonar.batch.report.ReportPublisher.upload(ReportPublisher.java:158)           在org.sonar.batch.report.ReportPublisher.execute(ReportPublisher.java:117)           在org.sonar.batch.phases.PhaseExecutor.publishReportJob(PhaseExecutor.java:129)           在org.sonar.batch.phases.PhaseExecutor.execute(PhaseExecutor.java:112)           在org.sonar.batch.scan.ModuleScanContainer.doAfterStart(ModuleScanContainer.java:185)           在org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)           在org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:120)           在org.sonar.batch.scan.ProjectScanContainer.scan(ProjectScanContainer.java:264)           在org.sonar.batch.scan.ProjectScanContainer.scanRecursively(ProjectScanContainer.java:259)           在org.sonar.batch.scan.ProjectScanContainer.doAfterStart(ProjectScanContainer.java:249)           在org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)           在org.sonar.batch.scan.ProjectScanContainer.startComponents(ProjectScanContainer.java:127)           在org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:120)           在org.sonar.batch.task.ScanTask.execute(ScanTask.java:55)           在org.sonar.batch.task.TaskContainer.doAfterStart(TaskContainer.java:86)           在org.sonar.core.platform.ComponentContainer.startComponents(ComponentContainer.java:135)           在org.sonar.core.platform.ComponentContainer.execute(ComponentContainer.java:120)           在org.sonar.batch.bootstrap.GlobalContainer.executeTask(GlobalContainer.java:122)           在org.sonar.batch.bootstrapper.Batch.executeTask(Batch.java:119)           在org.sonar.batch.bootstrapper.Batch.execute(Batch.java:79)           在org.sonar.runner.batch.IsolatedLauncher.execute(IsolatedLauncher.java:48)           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)           在java.lang.reflect.Method.invoke(Method.java:508)           在org.sonar.runner.impl.BatchLauncher $ 1.delegateExecution(BatchLauncher.java:87)           ... 9更多

0 个答案:

没有答案