On Thu, 11 Dec 2025 20:17:30 Mark Thomas <[email protected]> wrote:
>
> On 11/12/2025 17:49, Mark Foley wrote:
> > I've upgraded 2 systems from Tomcat 8.5.11 to Tomcat 10.1.13. The first 
> > system
> > was done a couple of years ago and runs just fine.
> > 
> > I've just upgraded the 2nd system which is not running just fine. I've been 
> > working
> > on this for a week. When I run it I get numerous errors related to "source 
> > level
> > is 1.5 or greater."
> > 
> > when I run tomcat I get:
> > 
> > Using CATALINA_HOME:   /srv/tomcat
> > Using CATALINA_TMPDIR: /srv/tomcat/temp
> > Using JRE_HOME:        /user/util/src/jdk-17.0.8
> > Using CLASSPATH:      
> > /srv/tomcat/bin/bootstrap.jar:/srv/tomcat/bin/tomcat-juli.jar
> > 
> > The libs on the non-running system are basically the same as on the running
> > system except some are newer versions.  I can post the differences if that 
> > would
> > help.
> > 
> > I've compared the $CATALINA_HOME/conf files between systems and I don't see 
> > any
> > meaningful differences.
> > 
> > I've tried changing https://jakarta.ee/xml/ns/jakartaee/web-app_6_0.xsd to
> > https://jakarta.ee/xml/ns/jakartaee/web-app_5_0.xsd (which is one 
> > difference).
> > That didn't help.
> > 
> > I've tried explicitly setting the compilerSourceVM to 11. That didn't help.
> > 
> > What can I look at to find this problem and fix it?
>
> Please clear out the logs, start the Tomcat instance then provide 
> complete error message(s) including any stack traces you get on the 
> console / in the logs / in the browser and tell us where you see them.
>
> If there are lots of errors, the first ones are very likely to be the 
> most useful.
>
> Mark

No errors in log ($CATALINA_HOME/logs/catalina.out). Lots of WARNINGs and INFOs.

Do you really want me to post the complete log? There are 3100+ entries.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to