On 20/10/2024 15:45, Andreas Moroder wrote:
Hello Mark,

I made some more test, but it works only for a few clicks, then the
service stops. It's running on windows ( for reasons I dont'know and
can't change)

with semeru 17 I see this lines in the logs

I see a couple of problems with that code:

18-Oct-2024 15:04:41.484 SEVERE [main]
org.apache.catalina.core.StandardContext.startInternal One or more
Filters failed to start. Full details will be found in the appropriate
container log file
18-Oct-2024 15:04:41.484 SEVERE [main]
org.apache.catalina.core.StandardContext.startInternal Context
[/balancer] startup failed due to previous errors



18-Oct-2024 15:04:41.484 SEVERE [main]
org.apache.catalina.core.StandardContext.filterStart Exception starting
filter [BalancerFilter]
java.lang.NoSuchMethodError:
org/apache/tomcat/util/digester/Digester.addObjectCreate(Ljava/lang/ String;Ljava/lang/Class;)V(loaded
from file:/C:/Tomcat/9_0_96/lib/tomcat-util-scan.jar by
java.net.URLClassLoader@634de460) called from class
org.apache.webapp.balancer.RulesParser (loaded from
file:/C:/Tomcat/9_0_96/webapps/balancer/WEB-INF/lib/catalina-balancer.jarby
ParallelWebappClassLoader
   context: balancer
   delegate: false
----------> Parent Classloader:
java.net.URLClassLoader@634de460
).

Web application code should not be calling Tomcat's internal API. Tomcat makes no guarantees about the stability of the internal API between point releases.

There is no o.a.t.u.digesterDigester.addObjectCreate(String,Class) method so the exception is correct. The method was present in Tomcat 7 but it was removed over a decade ago (Feb 2013) as part of a general cleanup the removed unused code between Tomcat 7 and Tomcat 8.5.

Why semeru triggers that code path is something only you can answer by looking at the application code.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to