On 09/10/2020 16:38, marc.davenp...@oracle.com wrote:
> Hello all,
> 
> I'm trying to upgrade from 9.0.35 to 9.0.38.  I know that explicit
> module definitions were added between .37 & .38.  I'm just trying to
> shake out the changes needed on our end to use it. It's my tentative
> grasp on proper use of modules, but I could use some help. Now when we
> are starting our embedded tomcat, I am getting an error as we
> instantiate and configure the AccessLogValve.
> 
> Exception in thread "main" java.util.ServiceConfigurationError:
> org.apache.juli.logging.Log: module org.apache.tomcat.embed.core does
> not declare `uses`

https://bz.apache.org/bugzilla/show_bug.cgi?id=64751

Fixed in 9.0.39 which looks as if it will be released very (hours) shortly.

Mark


>     at java.base/java.util.ServiceLoader.fail(Unknown Source)
>     at java.base/java.util.ServiceLoader.checkCaller(Unknown Source)
>     at java.base/java.util.ServiceLoader.<init>(Unknown Source)
>     at java.base/java.util.ServiceLoader.load(Unknown Source)
>     at
> org.apache.tomcat.embed.core@9.0.38/org.apache.juli.logging.LogFactory.<init>(LogFactory.java:89)
> 
>     at
> org.apache.tomcat.embed.core@9.0.38/org.apache.juli.logging.LogFactory.<clinit>(LogFactory.java:66)
> 
>     at
> org.apache.tomcat.embed.core@9.0.38/org.apache.catalina.util.LifecycleBase.<clinit>(LifecycleBase.java:39)
> 
>     at our/Server.start(OurServer.java:104) -> new AccessLogValve().
> 
> We are running against a custom jre made by jlink which includes the
> following mods which might be pertinent.
> 
> /mods/commons-logging-1.2.jar
> ...
> /mods/slf4j-api-1.8.0-beta4.jar
> /mods/slf4j-log4j-100.0.0.0.0-SNAPSHOT.jar (shaded jar)
> ...
> /mods/tomcat-annotations-api-9.0.38.jar
> /mods/tomcat-embed-core-9.0.38.jar
> /mods/tomcat-embed-el-9.0.38.jar
> /mods/tomcat-embed-jasper-9.0.38.jar
> 
> I'm not sure what the implication of this error message is and any help
> would be appreciated.
> 
> Thank you,
> 
> Marc
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 


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

Reply via email to