Am 16.10.24 um 21:22 schrieb users-digest-h...@tomcat.apache.org:
Hello,

we have Tomcat 9.0.96  and Java 8.
We would like to get rid of Oracle java and use IBM semeru.

Can Oracle java simply be replaced by ibm semeru,

Yes.

or are changes to the java and jsp applications necessary?

No.

Do the java libraries we call from our jsp-pages have to be recompiled?

No.

The only caveats to the above are:

If your application uses any non-public Java API (usually via
reflection) there is a small risk it will break.

Likewise for the places where Tomcat does this (from memory just the
memory leak protection and that can be disabled if it is an issue)

There is a small risk you find a JRE bug you didn't see with Oracle.

Overall, all of those risks are very small. I'd expect it to just work.

Mark

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

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
).

...............


Greetings

Andreas

Reply via email to