On 03/05/2024 00:38, Phillip Rhodes wrote:
Hi Jena team, just FYI...
I just tried building the latest from "main" from the Github repo
(plus the contents of PR #2445 -
https://github.com/apache/jena/pull/2445) and when I try to launch the
Fuseki war file in Tomcat 10 (with Java 17) I get this business:
PR2445 is merged and there are devleopment builds:
https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-fuseki-war/5.1.0-SNAPSHOT/
I'm trying with:
jena-fuseki-war-5.1.0-20240503.102541-25.war
02-May-2024 23:30:50.853 INFO [main]
org.apache.catalina.core.ApplicationContext.log Initializing Shiro
environment
02-May-2024 23:30:51.069 SEVERE [main]
org.apache.catalina.core.StandardContext.listenerStart Exception
sending context initialized event to list
ener instance of class [org.apache.shiro.ee.listeners.EnvironmentLoaderListener]
java.lang.IllegalStateException: There is already a Shiro
environment associated with the current ServletContext. Check if you
have mult
iple EnvironmentLoader* definitions in your web.xml!
I get the same error.
Clean Tomcat 10.1.23 installed from Tomcat down, running from the
command line, not running as a service.
at
org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:132)
at
org.apache.shiro.ee.listeners.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:76)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4453)
at
...
Not sure if this is a "Phil is being stupid" thing,
No.
or a "this is
expected / known issue" thing, or something that actually needs
attention.
Looks like it
But in case it is something, I thought I'd point it out.
Thank you!
Andy
Cheers,
Phil