Salut la liste !

Petite question sur Tomcat 7 et plus particulièrement sur l'utilisation du Tomcat-Manager.

Dans mon fichier server.xml j'ai mis :

Host name="mydomain.td" autoDeploy="true" deployOnStartup="true">
        <Logger className="org.apache.catalina.logger.FileLogger"
                directory="/var/log/tomcat7/appli1" prefix="app1-" suffix=".log"
                timestamp="true"/>
        <Context path=""
                 allowLinking="true"
                 docBase="/var/lib/tomcat7/webapps/app1"
                 reloadable="true" />
      </Host>


Puis via le manager je déploie le war app1.war il semble bien se déployer mais lorsque je me connecte à l'appli j'ai une erreur 404. Il me faut redémarrer le serveur tomcat pour avoir accès à l'application.

Je ne vois pas de problème dans les logs.

Extrait du fichier de logs du catalina.out :

May 22, 2014 4:21:15 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/tomcat7/webapps/app1.war
May 22, 2014 4:21:20 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/tomcat7/webapps/app1.war
May 22, 2014 4:21:20 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
[mydomain.td-startStop-4] 2014/05/22|16:21:43.393 DEBUG DataBuilder  - No patterns for operating system entry (with id '114') available.
[mydomain.td-startStop-4] 2014/05/22|16:21:43.394 INFO  DataBuilder  - No pattern available for 'Other'.
[mydomain.td-startStop-4] 2014/05/22|16:21:43.394 INFO  DataBuilder  - No pattern available for 'Personal computer'.
[mydomain.td-startStop-4] 2014/05/22|16:21:43.499 DEBUG DataBuilder  - No patterns for operating system entry (with id '114') available.
[mydomain.td-startStop-4] 2014/05/22|16:21:43.499 INFO  DataBuilder  - No pattern available for 'Other'.
[mydomain.td-startStop-4] 2014/05/22|16:21:43.499 INFO  DataBuilder  - No pattern available for 'Personal computer'.
[mydomain.td-startStop-4] 2014/05/22|16:21:43.505 DEBUG CachingXmlDataStore  - The cache file is filled and will be imported.
[update-operation] 2014/05/22|16:21:43.559 DEBUG AbstractUpdateOperation  - No update available. Current version is '20140523-01'.
[mydomain.td-startStop-4] 2014/05/22|16:21:44.904 INFO  SingleSignOutFilter  - Property [artifactParameterName] not found.  Using default value [ticket]
[mydomain.td-startStop-4] 2014/05/22|16:21:44.904 INFO  SingleSignOutFilter  - Property [logoutParameterName] not found.  Using default value [logoutRequest]
May 22, 2014 4:21:44 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/tomcat7/webapps/app1.war
May 22, 2014 4:21:45 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
[www.mydomain.td-startStop-4] 2014/05/22|16:22:05.700 DEBUG DataBuilder  - No patterns for operating system entry (with id '114') available.
[www.mydomain.td-startStop-4] 2014/05/22|16:22:05.700 INFO  DataBuilder  - No pattern available for 'Other'.
[www.mydomain.td-startStop-4] 2014/05/22|16:22:05.700 INFO  DataBuilder  - No pattern available for 'Personal computer'.
[www.mydomain.td-startStop-4] 2014/05/22|16:22:06.528 DEBUG DataBuilder  - No patterns for operating system entry (with id '114') available.
[www.mydomain.td-startStop-4] 2014/05/22|16:22:06.529 INFO  DataBuilder  - No pattern available for 'Other'.
[www.mydomain.td-startStop-4] 2014/05/22|16:22:06.529 INFO  DataBuilder  - No pattern available for 'Personal computer'.
[www.mydomain.td-startStop-4] 2014/05/22|16:22:06.534 DEBUG CachingXmlDataStore  - The cache file is filled and will be imported.
[update-operation] 2014/05/22|16:22:06.640 DEBUG AbstractUpdateOperation  - No update available. Current version is '20140523-01'.
[www.mydomain.td-startStop-4] 2014/05/22|16:22:07.089 INFO  SingleSignOutFilter  - Property [artifactParameterName] not found.  Using default value [ticket]
[www.mydomain.td-startStop-4] 2014/05/22|16:22:07.090 INFO  SingleSignOutFilter  - Property [logoutParameterName] not found.  Using default value [logoutRequest]


Il me semble pourtant que le manager permet de déployer sans à avoir à redémarrer le tomcat, je me trompe ?

Merci d'avance pour vos idées ;)


Jordan