V.4.0 P21 auto upgrade

4.0
V.4.0 P21 auto upgrade
0
Tags: #<Tag:0x00007f64838311b8>

(Sébastien Hardy) #1

Bonjour,

Je rencontre une erreur lors de l’autoupgrade de la P20 à la P21 :

4-Oct-2018 15:21:53.877 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Database is ready
24-Oct-2018 15:21:53.904 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Current patch level = 20
24-Oct-2018 15:21:53.905 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Platform patch level = 21
24-Oct-2018 15:21:53.998 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Database patch P21 applied
java.io.FileNotFoundException: File does not exist: null/icons-Disposition-6
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2396)
at com.simplicite.util.tools.FileTool.deleteFileOrDir(FileTool.java:424)
at com.simplicite.util.engine.CoreCache.loadResources(CoreCache.java:2210)
at com.simplicite.util.engine.CoreCache.load(CoreCache.java:191)
at com.simplicite.util.engine.CoreCache.init(CoreCache.java:98)
at com.simplicite.util.engine.CoreCache.setInstance(CoreCache.java:78)
at com.simplicite.util.engine.GrantManager.initGrantCache(GrantManager.java:394)
at com.simplicite.util.engine.GrantManager.loadGrant(GrantManager.java:648)
at com.simplicite.util.GrantDirect.init(GrantDirect.java:35)
at com.simplicite.util.Grant.init(Grant.java:176)
at com.simplicite.util.Grant.getAdmin(Grant.java:343)
at com.simplicite.util.Grant.getSystemAdmin(Grant.java:294)
at com.simplicite.util.engine.Platform.init(Platform.java:82)

Même erreur pour : java.io.FileNotFoundException: File does not exist: null/icons-Disposition-15

Subtilité (je ne sais pas si c’est lié) :
base : oracle
dbdoc de type BLOB

Merci pour votre aide.


(François Genestin) #2

Lors du loadResources, les icons des resources ZIP sont toutes dezippées en local (de mémoire dans le data tmp). Donc le “null/” est surement la cause du problème, ça devrait être un vrai chemin pour faire un annule et remplace des icons.

On doit être à un moment/context où la plateforme n’a pas encore chargé ces éléments.
on va regarder.


(François Genestin) #3

C’est le Grant.getSystemAdmin().getTmpDir() qui renvoit null au démarrage lorsqu’il n’y a pas encore de cache serialisé.

on va corriger ça, merci.


(Sébastien Hardy) #4

Merci, je dois attendre la P22 ou tu mets le correctif à disposition direct ?


(François Genestin) #5

On est dans les couches trop basses pour patcher la release directement sans un minimum de test (on touche à un pb d’oeuf et de poule au démarrage du moteur).

Ce pb est non bloquant et existe depuis longtemps, donc il pourra attendre la P22 sauf si tu en besoin rapidement si c’est bloquant dans ton contexte.


(Sébastien Hardy) #6

Pour moi c’est critique, le serveur tomcat ne démarre pas, une application est inaccessible en recette alors que le métier recette.
Je ne peux pas me permettre d’attendre 1 à 3 mois
As-tu un moyen de contournement ?


(François Genestin) #7

La P22 passe en pre-release ce soir.

Le bout de code en erreur est dans un try/catch qui ne bloque pas le chargement de la plateforme, ça ne va juste pas charger le set d’icones (et donc utiliser celui par défaut).

Si tomcat ne démarre pas c’est que le pb est ailleurs.


(Sébastien Hardy) #8

J’ai les erreurs suivantes au erreurs précédentes :

25-Oct-2018 17:51:04.883 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
25-Oct-2018 17:51:04.884 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors

Quand j’effectue un rollback en webapp P20, tout fonctionne.


(David AZOULAY) #9

Il faudrait envoyer toutes les logs depuis le démarrage car là ce sont des trace Tomcat qui ne disent pas grand chose…

Quelle version de Tomcat d’ailleurs ?


(Sébastien Hardy) #10

La version de tomcat est la suivante : 8.5.23
Tu trouveras les logs ci dessous :

26-Oct-2018 14:04:23.700 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.5.23
26-Oct-2018 14:04:23.729 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Sep 28 2017 10:30:11 UTC
26-Oct-2018 14:04:23.729 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.5.23.0
26-Oct-2018 14:04:23.729 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Linux
26-Oct-2018 14:04:23.729 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            3.10.0-693.2.2.el7.x86_64
26-Oct-2018 14:04:23.729 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
26-Oct-2018 14:04:23.729 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.171-8.b10.el7_5.x86_64/jre
26-Oct-2018 14:04:23.729 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_171-b10
26-Oct-2018 14:04:23.729 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
26-Oct-2018 14:04:23.729 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /opt/tomcat/apache-tomcat-8.5.23
26-Oct-2018 14:04:23.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /opt/tomcat/apache-tomcat-8.5.23
26-Oct-2018 14:04:23.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/opt/tomcat/latest/conf/logging.properties
26-Oct-2018 14:04:23.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
26-Oct-2018 14:04:23.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.awt.headless=true
26-Oct-2018 14:04:23.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dplatform.autoupgrade=true
26-Oct-2018 14:04:23.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
26-Oct-2018 14:04:23.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
26-Oct-2018 14:04:23.730 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms512M
26-Oct-2018 14:04:23.731 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx1G
26-Oct-2018 14:04:23.731 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.net.preferIPv4Stack=true
26-Oct-2018 14:04:23.731 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=UTF-8
26-Oct-2018 14:04:23.731 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/opt/tomcat/latest
26-Oct-2018 14:04:23.731 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/opt/tomcat/latest
26-Oct-2018 14:04:23.731 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/opt/tomcat/latest/temp
26-Oct-2018 14:04:23.731 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
26-Oct-2018 14:04:23.876 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
26-Oct-2018 14:04:23.914 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
26-Oct-2018 14:04:23.923 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
26-Oct-2018 14:04:23.924 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
26-Oct-2018 14:04:23.939 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1112 ms
26-Oct-2018 14:04:23.968 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
26-Oct-2018 14:04:23.969 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.23
26-Oct-2018 14:04:23.988 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/opt/tomcat/apache-tomcat-8.5.23/webapps/ROOT]
26-Oct-2018 14:04:38.513 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars 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.
26-Oct-2018 14:04:38.656 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Webapp for context path [] is initializing...
26-Oct-2018 14:04:38.690 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Application name: 
26-Oct-2018 14:04:38.690 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Server: tomcat 8 (WEB), websockets: true
26-Oct-2018 14:04:38.690 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Platform: Simplicite 4.0.P21 2018-10-16 10:16 (revision b0cdc63f5dd3f1903e96e5558f135deb57acdd9a) / UTF-8
26-Oct-2018 14:04:38.690 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Using Git base dir: /opt/tomcat/git
26-Oct-2018 14:04:38.694 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Endpoint: IP=10.105.72.112, URL=http://frpardev112.groupe.active:8080
26-Oct-2018 14:04:38.694 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Base data directory from webapp environment [/opt/tomcat/apache-tomcat-8.5.23/webapps/ROOT/WEB-INF]
26-Oct-2018 14:04:40.321 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Initializing datasource jdbc/simplicite with database product name = [oracle]
26-Oct-2018 14:04:41.050 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Database is ready
26-Oct-2018 14:04:41.074 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Current patch level = 20
26-Oct-2018 14:04:41.075 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Platform patch level = 21
26-Oct-2018 14:04:41.201 INFO [localhost-startStop-1] com.simplicite.util.AppLog.globalLog SIMPLICITE: Database patch P21 applied
java.io.FileNotFoundException: File does not exist: null/icons-Disposition-6
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2396)
	at com.simplicite.util.tools.FileTool.deleteFileOrDir(FileTool.java:424)
	at com.simplicite.util.engine.CoreCache.loadResources(CoreCache.java:2210)
	at com.simplicite.util.engine.CoreCache.load(CoreCache.java:191)
	at com.simplicite.util.engine.CoreCache.init(CoreCache.java:98)
	at com.simplicite.util.engine.CoreCache.setInstance(CoreCache.java:78)
	at com.simplicite.util.engine.GrantManager.initGrantCache(GrantManager.java:394)
	at com.simplicite.util.engine.GrantManager.loadGrant(GrantManager.java:648)
	at com.simplicite.util.GrantDirect.init(GrantDirect.java:35)
	at com.simplicite.util.Grant.init(Grant.java:176)
	at com.simplicite.util.Grant.getAdmin(Grant.java:343)
	at com.simplicite.util.Grant.getSystemAdmin(Grant.java:294)
	at com.simplicite.util.engine.Platform.init(Platform.java:82)
	at com.simplicite.webapp.listeners.ApplicationListener.contextInitialized(ApplicationListener.java:25)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1144)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1878)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
java.io.FileNotFoundException: File does not exist: null/icons-Disposition-6
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2396)
	at com.simplicite.util.tools.FileTool.deleteFileOrDir(FileTool.java:424)
	at com.simplicite.util.engine.CoreCache.loadResources(CoreCache.java:2210)
	at com.simplicite.util.engine.CoreCache.load(CoreCache.java:191)
	at com.simplicite.util.engine.CoreCache.init(CoreCache.java:98)
	at com.simplicite.util.engine.CoreCache.setInstance(CoreCache.java:78)
	at com.simplicite.util.engine.GrantManager.initGrantCache(GrantManager.java:394)
	at com.simplicite.util.engine.GrantManager.loadGrant(GrantManager.java:648)
	at com.simplicite.util.GrantDirect.init(GrantDirect.java:35)
	at com.simplicite.util.Grant.init(Grant.java:176)
	at com.simplicite.util.Grant.getAdmin(Grant.java:343)
	at com.simplicite.util.Grant.getSystemAdmin(Grant.java:294)
	at com.simplicite.util.engine.Platform.init(Platform.java:82)
	at com.simplicite.webapp.listeners.ApplicationListener.contextInitialized(ApplicationListener.java:25)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1144)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1878)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
java.io.FileNotFoundException: File does not exist: null/icons-Disposition-15
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2396)
	at com.simplicite.util.tools.FileTool.deleteFileOrDir(FileTool.java:424)
	at com.simplicite.util.engine.CoreCache.loadResources(CoreCache.java:2210)
	at com.simplicite.util.engine.CoreCache.load(CoreCache.java:191)
	at com.simplicite.util.engine.CoreCache.init(CoreCache.java:98)
	at com.simplicite.util.engine.CoreCache.setInstance(CoreCache.java:78)
	at com.simplicite.util.engine.GrantManager.initGrantCache(GrantManager.java:394)
	at com.simplicite.util.engine.GrantManager.loadGrant(GrantManager.java:648)
	at com.simplicite.util.GrantDirect.init(GrantDirect.java:35)
	at com.simplicite.util.Grant.init(Grant.java:176)
	at com.simplicite.util.Grant.getAdmin(Grant.java:343)
	at com.simplicite.util.Grant.getSystemAdmin(Grant.java:294)
	at com.simplicite.util.engine.Platform.init(Platform.java:82)
	at com.simplicite.webapp.listeners.ApplicationListener.contextInitialized(ApplicationListener.java:25)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1144)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1878)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
java.io.FileNotFoundException: File does not exist: null/icons-Disposition-15
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:2396)
	at com.simplicite.util.tools.FileTool.deleteFileOrDir(FileTool.java:424)
	at com.simplicite.util.engine.CoreCache.loadResources(CoreCache.java:2210)
	at com.simplicite.util.engine.CoreCache.load(CoreCache.java:191)
	at com.simplicite.util.engine.CoreCache.init(CoreCache.java:98)
	at com.simplicite.util.engine.CoreCache.setInstance(CoreCache.java:78)
	at com.simplicite.util.engine.GrantManager.initGrantCache(GrantManager.java:394)
	at com.simplicite.util.engine.GrantManager.loadGrant(GrantManager.java:648)
	at com.simplicite.util.GrantDirect.init(GrantDirect.java:35)
	at com.simplicite.util.Grant.init(Grant.java:176)
	at com.simplicite.util.Grant.getAdmin(Grant.java:343)
	at com.simplicite.util.Grant.getSystemAdmin(Grant.java:294)
	at com.simplicite.util.engine.Platform.init(Platform.java:82)
	at com.simplicite.webapp.listeners.ApplicationListener.contextInitialized(ApplicationListener.java:25)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4745)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5207)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:752)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:728)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1144)
	at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1878)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
26-Oct-2018 14:06:14.984 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal One or more listeners failed to start. Full details will be found in the appropriate container log file
26-Oct-2018 14:06:14.986 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors
26-Oct-2018 14:06:32.115 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Object.wait(Native Method)
 java.lang.Object.wait(Object.java:502)
 java.util.TimerThread.mainLoop(Timer.java:526)
 java.util.TimerThread.run(Timer.java:505)
26-Oct-2018 14:06:32.116 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [oracle.jdbc.driver.BlockSource.ThreadedCachingBlockSource.BlockReleaser] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Object.wait(Native Method)
 oracle.jdbc.driver.BlockSource$ThreadedCachingBlockSource$BlockReleaser.run(BlockSource.java:329)
26-Oct-2018 14:06:32.118 WARNING [localhost-startStop-1] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [InterruptTimer] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
 java.lang.Object.wait(Native Method)
 java.lang.Object.wait(Object.java:502)
 java.util.TimerThread.mainLoop(Timer.java:526)
 java.util.TimerThread.run(Timer.java:505)
26-Oct-2018 14:06:32.154 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/tomcat/apache-tomcat-8.5.23/webapps/ROOT] has finished in [128,157] ms
26-Oct-2018 14:06:32.160 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
26-Oct-2018 14:06:32.181 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
26-Oct-2018 14:06:32.186 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 128247 ms

(David AZOULAY) #11

Je vais laisser @francois investiguer mais visiblement le problème se produit lors de l’application des patches XML (l’application des patches SQL s’étant visiblement bien passé)

Par contre il ne faudra pas oublier d’upgrader en Tomcat 8.5 à jour car je crois me rappeler qu’il y a eu pas mal d’alertes de sécurité depuis la 8.5.23…


(François Genestin) #12

Les stack traces sont mineures et ce pb existait déjà en P20.
Le pb vient d’autre chose que ces traces ne nous disent pas. Je suppose que c’est le servlet listener qui ne démarre pas même si :

26-Oct-2018 14:06:32.154 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/opt/tomcat/apache-tomcat-8.5.23/webapps/ROOT] has finished in [128,157] ms

Je veux bien patcher la branche release pour supprimer ces traces de répertoires null, et on verra ensuite si ça corrige. @david devra pousser sur le template release ce soir.


(Sébastien Hardy) #13

oui le servlet listener ne démarre pas.
Je retresterai avec la nouvelle release, merci


(François Genestin) #14

J’ai commité sur la branche Release la modification.
je laisse le soin à @david de pousser ça partout.

en attendant tu peux tenter de passer les patchs de la P21 à la main via l’IHM pour voir s’il y a des erreurs sur une copie/instance de test (dans tomcat/webapps/ROOT/WEB-INF/patches/V4.0/P21)

Sinon on devra installer une P20 Oracle BLOB chez nous et tester l’upgrade la semaine prochaine


(David AZOULAY) #15

C’est poussé sur le template 4.0 P21 release (le tag P21 a été déplacé) ainsi que sur les images Docker correspondantes