Closed
Description
Driver version
mssql-jdbc-12.10.0.jre11.jar
Client Operating System
Microsoft Windows [Version 10.0.26100.3775]
JAVA/JVM version
openjdk 21.0.5 2024-10-15 LTS
Tomcat version
10.1.34
Problem description
This is a regression from mssql-jdbc-12.8.1.jre11.jar
Expected behavior
JDBC keeps working when upgraded.
Actual behavior
JDBC stops working when upgraded.
Error message/stack trace
com.microsoft.sqlserver.jdbc.SQLServerException: Invalid path specified: C:/Program%20Files/Tomcat/webapps/ROOT.war*/WEB-INF/lib/mssql-jdbc-12.10.0.jre11.jar.
at com.microsoft.sqlserver.jdbc.ConfigurableRetryLogic.getCurrentClassPath(ConfigurableRetryLogic.java:319)
at com.microsoft.sqlserver.jdbc.ConfigurableRetryLogic.readFromFile(ConfigurableRetryLogic.java:339)
at com.microsoft.sqlserver.jdbc.ConfigurableRetryLogic.setUpStatementRules(ConfigurableRetryLogic.java:207)
at com.microsoft.sqlserver.jdbc.ConfigurableRetryLogic.<init>(ConfigurableRetryLogic.java:89)
at com.microsoft.sqlserver.jdbc.ConfigurableRetryLogic.getInstance(ConfigurableRetryLogic.java:106
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:2600)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:2207)
at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1320)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:681)
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:229)
Any other details that can be helpful
Note the "*".
This is only an issue when server.xml has
<Host unpackWARs="false" ....
Metadata
Metadata
Assignees
Labels
No labels