On Thu, 11 Dec 2025 16:25:07 Christopher Schultz <[email protected]> 
wrote:
>
> Mark,
>
> On 12/11/25 4:19 PM, Mark Foley wrote:
> > 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.
>
> How about the first dozen or so errors?
>
> -chris
>

Not a dozen, but here are the first few. Lots of repetition of these.

08-Dec-2025 03:25:13.513 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Engine/Host] failed to set property [xmlValidation] to [false]
08-Dec-2025 03:25:13.515 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Engine/Host] failed to set property [xmlNamespaceAware] to 
[false]
08-Dec-2025 03:25:13.516 WARNING [main] 
org.apache.tomcat.util.digester.Digester.endElement No rules found matching 
[Server/Service/Engine/Host/Logger]
08-Dec-2025 03:25:13.529 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Engine/Host/Context] failed to set property [allowLinking] to 
[true]
08-Dec-2025 03:25:13.533 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Engine/Host] failed to set property [xmlValidation] to [false]
08-Dec-2025 03:25:13.533 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Engine/Host] failed to set property [xmlNamespaceAware] to 
[false]
08-Dec-2025 03:25:13.533 WARNING [main] 
org.apache.tomcat.util.digester.Digester.endElement No rules found matching 
[Server/Service/Engine/Host/Logger]
08-Dec-2025 03:25:13.534 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Engine/Host/Context] failed to set property [allowLinking] to 
[true]
08-Dec-2025 03:25:13.534 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Engine/Host] failed to set property [xmlValidation] to [false]
08-Dec-2025 03:25:13.534 WARNING [main] 
org.apache.tomcat.util.digester.SetPropertiesRule.begin Match 
[Server/Service/Engine/Host] failed to set property [xmlNamespaceAware] to 
[false]

I don't know about the link warnings. context.xml has: <Resources 
allowLinking="true" /> 
and each <Host> entry in server.xml has:

<Context path="" docBase="horeb-wright3" reloadable="false" allowLinking="true">

and the index.jsp file it's choking on is symlinked, but it is trying to run it 
--
but I also tried all this with non-symlinked files.

--Mark

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

Reply via email to