Please help me solve one problem. Our project uses
Java 11,
WildFly 20.0.1, and
MS-SQL. The problem is that when users try to open some windows for editing information, for example, Clients or State in the web application, the error `java.sql.SQLTimeoutException: The query has timed out.` appears. This happens when the
audit.jsp file is loaded, which is used in four similar windows as an iframe, but the error appears in only two of them and this is confusing because, in these windows, the functionality that calls audit.jsp is the same. Stacktrace
here, due to the post char limit.
Also part of the code from the
audit.jsp where the error comes from:
But according to the log file, the root of the problem is in two places, namely here:
And here:
If clients try to execute an SQL query, that does not work, manually, through MS SQL Server, it works fine.
But what is worse is that there is no such problem on the localhost as well as on our UAT, when the client has it both on Prod and UAT.
We tried the solution from
this question, namely the first post, but it didn't help.
If you need, I can provide more logs or some additional information.
Thank you!