Create Pull Request
| Date | Scan | Status | Result |
|---|---|---|---|
| 2026-01-14 00:00 | #250 | in_progress |
Biased
|
| 2026-01-13 00:00 | #246 | completed |
Biased
|
| 2026-01-12 00:00 | #243 | cancelled |
Biased
|
| 2026-01-11 00:00 | #240 | completed |
Biased
|
| 2026-01-10 00:00 | #237 | completed |
Biased
|
| 2026-01-09 00:34 | #234 | completed |
Biased
|
| 2026-01-08 00:53 | #231 | completed |
Clean
|
| 2026-01-08 00:00 | #228 | cancelled |
Clean
|
| 2026-01-06 18:15 | #225 | cancelled |
Clean
|
| 2025-09-10 00:00 | #107 | completed |
Clean
|
| 2025-09-09 00:00 | #106 | completed |
Clean
|
| 2025-09-08 00:00 | #105 | completed |
Biased
|
| 2025-09-07 00:00 | #104 | completed |
Biased
|
| 2025-09-06 00:00 | #103 | completed |
Biased
|
| 2025-09-05 00:00 | #102 | completed |
Biased
|
| 2025-09-04 00:00 | #101 | completed |
Biased
|
| 2025-09-03 00:00 | #100 | completed |
Biased
|
| 2025-09-02 00:00 | #99 | cancelled |
Biased
|
| 2025-09-01 00:00 | #98 | cancelled |
Biased
|
| 2025-08-31 00:01 | #97 | cancelled |
Biased
|
| 2025-08-30 00:01 | #96 | cancelled |
Biased
|
| 2025-08-29 00:01 | #95 | completed |
Biased
|
| 2025-08-28 00:01 | #94 | cancelled |
Biased
|
| 2025-08-27 00:01 | #93 | cancelled |
Biased
|
| 2025-08-26 00:00 | #92 | cancelled |
Biased
|
| 2025-08-25 00:01 | #91 | cancelled |
Biased
|
| 2025-08-24 00:00 | #90 | cancelled |
Biased
|
| 2025-08-23 00:00 | #89 | cancelled |
Biased
|
| 2025-08-22 00:01 | #88 | completed |
Biased
|
| 2025-08-21 00:01 | #87 | cancelled |
Biased
|
| 2025-08-20 00:01 | #86 | completed |
Biased
|
| 2025-08-16 00:00 | #82 | cancelled |
Biased
|
| 2025-08-15 00:01 | #81 | cancelled |
Biased
|
| 2025-07-13 21:37 | #48 | completed |
Clean
|
| 2025-07-13 21:25 | #47 | cancelled |
Clean
|
| 2025-07-13 20:48 | #44 | cancelled |
Clean
|
| 2025-07-09 13:09 | #3 | cancelled |
Clean
|
| 2025-07-08 04:23 | #2 | cancelled |
Biased
|
#### Add the PowerShell configuration script Next, add the configuration script called *configure.ps1* to the *%HOME%_\site* directory with the following code:
If you created a server-level data source, restart the App Service Linux application. Tomcat resets `CATALINA_BASE` to `/home/tomcat` and uses the updated configuration. # [Windows](#tab/windows) You can't directly modify a Tomcat installation for server-wide configuration because the installation location is read-only. To make server-level configuration changes to your Windows Tomcat installation, the simplest way is to do the following on app start: 1. Copy Tomcat to a local directory (`%LOCAL_EXPANDED%`) and use that as `CATALINA_BASE` (see [Tomcat documentation on this variable](https://tomcat.apache.org/tomcat-10.1-doc/introduction.html)). 1. Add your shared data sources to `%LOCAL_EXPANDED%\tomcat\conf\server.xml` using XSL transform. #### Add a startup file Create a file named `startup.cmd` `%HOME%\site\wwwroot` directory. This file runs automatically before the Tomcat server starts. The file should have the following content:
This PowerShell completes the following steps: 1. Check whether a custom Tomcat copy exists already. If it does, the startup script can end here. 2. Copy Tomcat locally. 3. Add shared data sources to the custom Tomcat's configuration using XSL transform. 4. Indicate that configuration was successfully completed. #### Add XSL transform file A common use case for customizing the built-in Tomcat installation is to modify the `server.xml`, `context.xml`, or `web.xml` Tomcat configuration files. App Service already modifies these files to provide platform features. To continue to use these features, it's important to preserve the content of these files when you make changes to them. To accomplish this, use an [XSL transformation (XSLT)](https://www.w3schools.com/xml/xsl_intro.asp). Add an XSL transform file called *configure.ps1* to the *%HOME%_\site* directory. You can use the following XSL transform code to add a new connector node to `server.xml`. The *identity transform* at the beginning preserves the original contents of the configuration file.
Or, you can manually change the setting in the Azure portal: 1. Go to **Settings** > **Configuration** > **Application settings**. 1. Select **New Application Setting**. 1. Use these values to create the setting: 1. **Name**: `CATALINA_BASE` 1. **Value**: `"%LOCAL_EXPANDED%\tomcat"` #### Finalize configuration Finally, you place the driver JARs in the Tomcat classpath and restart your App Service. Ensure that the JDBC driver files are available to the Tomcat classloader by placing them in the */home/site/lib* directory. In the [Cloud Shell](https://shell.azure.com), run `az webapp deploy --type=lib` for each driver JAR: