Désolé si cette demande existe en doublon sur la liste mais je ne vois toujours pas ma demande publiée.
Je crée cet issue car j’ai mis à jour eCandidat en version 3.2.5 et j’ai changé la version de Java pour un JDK 11. Après redéploiement, l’appli retourne une erreur 503 et je n’ai rien dans les logs qui me donne des infos sur l’erreur. J’ai testé avec un war déployé directement et avec les sources compilées par maven. Même résultat. J’ai même changé la version du JDK pour y installer un JDK Oracle. Pas mieux. Auriez-vous des idées ??
15:19:12.368 [localhost-startStop-1] INFO fr.univlorraine.ecandidat.config.JpaConfigEcandidat - Database analysis: in progress...
15:19:12.975 [localhost-startStop-1] INFO fr.univlorraine.ecandidat.config.JpaConfigEcandidat - Database analysis: finish...
Jun 28, 2021 3:19:03 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Catalina]
Jun 28, 2021 3:19:03 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.54
Jun 28, 2021 3:19:03 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying deployment descriptor [/var/lib/tomcat8/conf/Catalina/localhost/sciences.xml]
Jun 28, 2021 3:19:09 PM org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory getObjectInstance
WARNING: Name = dbSiScol Property maxActive is not used in DBCP2, use maxTotal instead. maxTotal default value is 8. You have set value of "20" for "maxActive" property, which is being ignored.
Jun 28, 2021 3:19:09 PM org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory getObjectInstance
WARNING: Name = dbSiScol Property removeAbandoned is not used in DBCP2, use one or both of removeAbandonedOnBorrow or removeAbandonedOnMaintenance instead. Both have default value set to false. You have set value of "true" for "removeAbandoned" property, which is being ignored.
Jun 28, 2021 3:19:09 PM org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory getObjectInstance
WARNING: Name = dbSiScol Property maxWait is not used in DBCP2 , use maxWaitMillis instead. maxWaitMillis default value is -1. You have set value of "1" for "maxWait" property, which is being ignored.
Jun 28, 2021 3:19:09 PM org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory getObjectInstance
WARNING: Name = dbEcandidat Property maxActive is not used in DBCP2, use maxTotal instead. maxTotal default value is 8. You have set value of "20" for "maxActive" property, which is being ignored.
Jun 28, 2021 3:19:09 PM org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory getObjectInstance
WARNING: Name = dbEcandidat Property removeAbandoned is not used in DBCP2, use one or both of removeAbandonedOnBorrow or removeAbandonedOnMaintenance instead. Both have default value set to false. You have set value of "true" for "removeAbandoned" property, which is being ignored.
Jun 28, 2021 3:19:09 PM org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory getObjectInstance
WARNING: Name = dbEcandidat Property maxWait is not used in DBCP2 , use maxWaitMillis instead. maxWaitMillis default value is -1. You have set value of "10000" for "maxWait" property, which is being ignored.
Jun 28, 2021 3:19:10 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Jun 28, 2021 3:19:10 PM org.apache.catalina.core.ApplicationContext log
INFO: 1 Spring WebApplicationInitializers detected on classpath
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/var/lib/tomcat8/webapps/sciences/WEB-INF/lib/logback-classic-1.1.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/share/java/slf4j-simple.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
15:19:12.368 [localhost-startStop-1] INFO fr.univlorraine.ecandidat.config.JpaConfigEcandidat - Database analysis: in progress...
15:19:12.975 [localhost-startStop-1] INFO fr.univlorraine.ecandidat.config.JpaConfigEcandidat - Database analysis: finish...
[EL Info]: 2021-06-28 15:19:14.316--ServerSession(293297680)--EclipseLink, version: Eclipse Persistence Services - 2.7.3.v20180807-4be1041
[EL Info]: connection: 2021-06-28 15:19:14.482--ServerSession(293297680)--/file:/var/lib/tomcat8/webapps/sciences/WEB-INF/classes/_pun-jpa-ecandidat login successful
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.util.ReflectionUtils (file:/var/lib/tomcat8/webapps/sciences/WEB-INF/lib/spring-core-5.2.9.RELEASE.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class)
WARNING: Please consider reporting this to the maintainers of org.springframework.util.ReflectionUtils
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Entre temps j'ai aussi éliminé le warning SLF4J mais ça ne change rien.
Merci pour votre aide.