Forum Ametys

Forum de la communauté Ametys

You are not logged in.

#1 04/11/2016 17:09:46

APitrou
Guest
Registered: 22/06/2016
Posts: 44

[Résolu] Problème accès à la configuration après installation

Bonjour,
je viens d'installer une 3.5.5 en local sur une debian 8 / tomcat 8.
J'ai un soucis d'accès à la première configuration : à ma première connexion à l'espace admin, je dois donner un mot de passe qui est censer être admin/admin. Malheureusement cela ne fonctionne pas.

J'ai importé un admin.xml d'une autre installation en 3.5.5 fonctionnant normalement mais cela n'a donné aucun résultat.

Auriez-vous une idée ou une piste me permettant de résoudre mon problème s'il vous plaît ?

Voici un export de mon catalina.out au démarrage de Tomcat :

nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
AVERTISSEMENT: Problem with directory [/usr/share/tomcat8/common/classes], exists: [false], isDirectory: [false], canRead: [false]
nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
AVERTISSEMENT: Problem with directory [/usr/share/tomcat8/common], exists: [false], isDirectory: [false], canRead: [false]
nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
AVERTISSEMENT: Problem with directory [/usr/share/tomcat8/server/classes], exists: [false], isDirectory: [false], canRead: [false]
nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
AVERTISSEMENT: Problem with directory [/usr/share/tomcat8/server], exists: [false], isDirectory: [false], canRead: [false]
nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
AVERTISSEMENT: Problem with directory [/usr/share/tomcat8/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
AVERTISSEMENT: Problem with directory [/usr/share/tomcat8/shared], exists: [false], isDirectory: [false], canRead: [false]
nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Server version: Apache Tomcat/8.0.14 (Debian)
nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Server built:   Aug 15 2016 03:42:32
nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Server number:  8.0.14.0
nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: OS Name:        Linux
nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: OS Version:     3.16.0-4-amd64
nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: Architecture:   amd64
nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: JVM Version:    1.7.0_111-b01
nov. 04, 2016 3:06:13 PM org.apache.catalina.startup.VersionLoggerListener log
INFOS: JVM Vendor:     Oracle Corporation
nov. 04, 2016 3:06:14 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
AVERTISSEMENT: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlValidation' to 'false' did not find a matching property.
nov. 04, 2016 3:06:14 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
AVERTISSEMENT: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property 'xmlNamespaceAware' to 'false' did not find a matching property.
nov. 04, 2016 3:06:14 PM org.apache.coyote.AbstractProtocol init
INFOS: Initializing ProtocolHandler ["http-nio-8080"]
nov. 04, 2016 3:06:14 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFOS: Using a shared selector for servlet write/read
nov. 04, 2016 3:06:14 PM org.apache.catalina.startup.Catalina load
INFOS: Initialization processed in 507 ms
nov. 04, 2016 3:06:14 PM org.apache.catalina.core.StandardService startInternal
INFOS: Démarrage du service Catalina
nov. 04, 2016 3:06:14 PM org.apache.catalina.core.StandardEngine startInternal
INFOS: Starting Servlet Engine: Apache Tomcat/8.0.14 (Debian)
nov. 04, 2016 3:06:14 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFOS: Déploiement du descripteur de configuration /etc/tomcat8/Catalina/ametys/ROOT.xml
nov. 04, 2016 3:06:14 PM org.apache.catalina.startup.SetContextPropertiesRule begin
AVERTISSEMENT: [SetContextPropertiesRule]{Context} Setting property 'antiJARLocking' to 'false' did not find a matching property.
nov. 04, 2016 3:06:19 PM org.apache.jasper.servlet.TldScanner scanJars
INFOS: 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.
nov. 04, 2016 3:06:35 PM org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
INFOS: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [15 984] milliseconds.
log4j:ERROR Improper initialization for the appender named [servlet].
nov. 04, 2016 3:06:36 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFOS: Deployment of configuration descriptor /etc/tomcat8/Catalina/ametys/ROOT.xml has finished in 22 262 ms
nov. 04, 2016 3:06:36 PM org.apache.coyote.AbstractProtocol start
INFOS: Starting ProtocolHandler ["http-nio-8080"]
nov. 04, 2016 3:06:36 PM org.apache.catalina.startup.Catalina start
INFOS: Server startup in 22298 ms

Last edited by APitrou (28/03/2017 16:03:42)

Offline

#2 04/11/2016 18:07:34

Raphaël Franchet
Expert Team
From: Toulouse
Registered: 10/08/2010
Posts: 1,111

Re: [Résolu] Problème accès à la configuration après installation

Bonjour,

la réponse dans la doc en bas de la page :


Raphael Franchet
Expert Ametys

Offline

#3 07/11/2016 10:14:59

APitrou
Guest
Registered: 22/06/2016
Posts: 44

Re: [Résolu] Problème accès à la configuration après installation

Bonjour,
j'ai déjà testé soit le mot de passe admin/admin sans fichier admin.xml (au tout début), et j'ai par la suite essayé d'importer ce fichier pour avoir accès au paramétrage mais sans succès.
Je vais continuer à fouiller, peut être du côté des droits de fichiers vu que j'utilise le user tomcat8 et non pas cms.

Bonne journée

Offline

#4 07/11/2016 11:17:33

Raphaël Franchet
Expert Team
From: Toulouse
Registered: 10/08/2010
Posts: 1,111

Re: [Résolu] Problème accès à la configuration après installation

peut être un problème de jdk : cette vieille version c'est plutot java 7 / tomcat 7...


Raphael Franchet
Expert Ametys

Offline

#5 07/11/2016 15:03:23

APitrou
Guest
Registered: 22/06/2016
Posts: 44

Re: [Résolu] Problème accès à la configuration après installation

En effet,
tomcat7 et jdk1.7 sous debian 8 a résolu le problème.
Merci ! et bonne journée

Offline

Board footer

Powered by FluxBB