我正在使用位于https://github.com/vanderby/SonarQube-AzureAppService的ARM模板将SonarQube部署到Azure应用程序服务。部署完成后,访问网站时,我在日志中看到以下内容:
5:13:06 PM Starting HttpPlatformHandler Script
5:13:06 PM HTTP_PLATFORM_PORT is: 20471
5:13:06 PM Searching for sonar.properties file
5:13:14 PM File found at: D:\home\site\wwwroot\sonarqube-7.7\conf\sonar.properties
5:13:14 PM Writing to sonar.properties file
5:13:14 PM Searching for wrapper.conf file
5:13:15 PM File found at: D:\home\site\wwwroot\sonarqube-7.7\conf\wrapper.conf
5:13:15 PM Writing to wrapper.conf file
5:13:15 PM Searching for StartSonar.bat
5:13:16 PM File found at: D:\home\site\wwwroot\sonarqube-7.7\bin\windows-x86-64\StartSonar.bat
5:13:16 PM Executing StartSonar.bat
wrapper | Unable to set the process priority: Access is denied. (0x0)
wrapper | Attempt to set the console title failed: The handle is invalid. (0x6)
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
wrapper | Startup failed: Timed out waiting for a signal from the JVM.
wrapper | JVM did not exit on request, terminated
wrapper | JVM Restarts disabled. Shutting down.
wrapper | <-- Wrapper Stopped
Press any key to continue . . . 当我尝试通过Kudu编辑文件时,我得到了各种各样的访问被拒绝的错误,所以这似乎是一个一般的权限问题。
知道是怎么回事吗?我已经在谷歌上搜索了这个问题,但还没有找到解决方案。
发布于 2019-04-06 10:37:29
此日志可能来自第二次启动。如果站点在应用程序服务知道其启动之前被多次访问,它将尝试多次启动SQ,并且只有一次会成功。我刚刚尝试了GitHub的模板,它在SQ7.7下工作。
还有一些其他需要注意的事情:
不支持
中找到其他信息
感谢你发现这个模板很有用!
https://stackoverflow.com/questions/55270599
复制相似问题