Hi,
Using the new version we get the following exception. It works fine with old.
Aug 10, 2023 9:35:28 AM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: [javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.jdbc.pool.DataSourceFactory]]
Aug 10, 2023 9:35:28 AM org.apache.catalina.users.MemoryUserDatabase open
SEVERE: The specified user database [conf/tomcat-users.xml] could not be found
Aug 10, 2023 9:35:28 AM org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans
SEVERE: Exception processing global JNDI Resources
javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.jdbc.pool.DataSourceFactory]
at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:70)
Hi, Using the new version we get the following exception. It works fine with old.
Aug 10, 2023 9:35:28 AM org.apache.catalina.core.NamingContextListener addResource
WARNING: Failed to register in JMX: [javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.jdbc.pool.DataSourceFactory]] Aug 10, 2023 9:35:28 AM org.apache.catalina.users.MemoryUserDatabase open
SEVERE: The specified user database [conf/tomcat-users.xml] could not be found Aug 10, 2023 9:35:28 AM org.apache.catalina.mbeans.GlobalResourcesLifecycleListener createMBeans SEVERE: Exception processing global JNDI Resources javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.jdbc.pool.DataSourceFactory] at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:70)
------------------------------------------------GRADLE------------------------------------------------------------------------------------ gretty { contextPath = "/order" servletContainer = 'tomcat10' enableNaming = true dependencies { gretty "org.apache.tomcat:tomcat-dbcp:${project.tomcat10Version}" gretty "org.apache.tomcat:tomcat-jdbc:${project.tomcat10Version}"
}