Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-39437

Incorrect javax.sql.DataSource.Factory in default tomcat.conf

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • rhel-8.10.z, rhel-9.4.z
    • tomcat
    • None
    • None
    • None
    • rhel-sst-middleware
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      The tomcat.conf configuration file for tomcat RPMs has an invalid javax.sql.DataSource.Factory set by default. Attempting to use the Factory would cause a CNFE, but causes no adverse issues unless users try to use it.

      The property should be updated to javax.sql.DataSource.Factory=org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory instead to point to the correct BasicDataSourceFactory class and commented out as it is really just an example and is already the default factory that tomcat uses.

              akrajcik@redhat.com Adam Krajcik
              rhn-support-csutherl Coty Sutherland
              Adam Krajcik Adam Krajcik
              Matus Madzin Matus Madzin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: