Hello all! Thank you for your help again
. I managed to repackage our old JForum into a WAR file and deploy it to the new server. We tested in the lower environments about different setups possible, because the version of the database (and server OS) needs to be upgraded.
We ended up
making it work with JForum v. 2.1.8 set up in Apache Tomcat 5.5 (JDK 8 ) and with Oracle DB 19.21. All the functionalities were working still so we pushed it into PRD. Unfortunately, the DB connection pooling is failing to do its job which is to close idle connections or recycle them, given the timeout specified. The DB is getting an influx of blocking locks every day. Here's our database configuration:
<GlobalNamingResources>
<Resource name="ciejforum/DataSource" auth="Container"
type="javax.sql.DataSource"
description="JDBC driver"
url="jdbc:oracle:thin:@//prdserver.domain.internal:1521/prddb"
driverClassName="oracle.jdbc.driver.OracleDriver"
username="" password="" maxActive="20"
accessToUnderlyingConnectionAllowed="true" maxIdle="10"
maxWait="-1" removeAbandoned="true" removeAbandonedTimeout="600"
factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory"
defaultAutoCommit="true" />
Would you perhaps have an idea on why the pooling is experiencing issues? Figured that I'll also try and ask here because it's getting trickier, and there are no obvious clues in the logs