vanderby / SonarQube-AzureAppService

Instructions and files to host SonarQube on an Azure App Service without a container.
MIT License
90 stars 165 forks source link

Access denied error when starting the Web App #6

Closed WouterDeKort closed 5 years ago

WouterDeKort commented 5 years ago

I've used this ARM template succesfully in the past but somehow I'm now seeing the following in the logs after deployment:

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 . . . 

Any idea what's going on? I've googled for the issue but haven't found a solution yet.

Thanks, Wouter

vanderby commented 5 years ago

What App Service tier did you deploy to? The minimum is B1. I just used the Deploy To Azure button with a B1 App Service Plan and the app is working.