Précédent   Forum des professionnels en informatique > Systèmes > Linux > Applications > Shell
Shell Vos questions sur l'utilisation des commandes shell
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 14/01/2011, 16h41   #1
Membre régulier
 
Inscription : janvier 2004
Messages : 440
Détails du profil
Informations forums :
Inscription : janvier 2004
Messages : 440
Points : 89
Points : 89
Par défaut Accès a l'interface d'administration de tomcat

Bonjour,

J'ai fait :
- un yum install de tomcat5 sous centos
- configurer le fichier server.xml de la sorte

Code :
1
2
3
4
  <Connector port="8080" maxHttpHeaderSize="8192" maxThreads="150"
                minSpareThreads="25" maxSpareThreads="75" enableLookups="false"
                redirectPort="8443" acceptCount="100" connectionTimeout="20000"
                disableUploadTimeout="true" URIEncoding="UTF-8" />
sur mon serveur distant.

Et fait un /etc/init.d/tomcat5 start

Mais malheureusement je n'arrive toujours pas à accéder à l'interface d'administration via:

http://monserveur:8080/

C'est ma première installation de tomcat. J'espère que vous pourrez m'aider.

Merci
sheira est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 14/01/2011, 17h02   #2
Rédacteur/Modérateur
 
Avatar de lavazavio
 
Homme
Inscription : décembre 2004
Messages : 1 653
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 30
Localisation : France, Rhône (Rhône Alpes)

Informations forums :
Inscription : décembre 2004
Messages : 1 653
Points : 2 025
Points : 2 025
Bonjour,

Qu'est-ce que tu appelles interface d'administration ?
__________________
Rédacteur et Modérateur rubrique Linux
Articles dvp.com
Man pages en français
lavazavio est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/01/2011, 08h35   #3
Membre régulier
 
Inscription : janvier 2004
Messages : 440
Détails du profil
Informations forums :
Inscription : janvier 2004
Messages : 440
Points : 89
Points : 89
Il s'agit de l'interface d'administration accessible via :
http://adresse_ip:num_port".
sheira est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/01/2011, 09h41   #4
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 548
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 548
Points : 4 262
Points : 4 262
Salut,

Est-ce que tu vois un process tomcat?

Code :
1
2
 
#ps -ef | grep -i tomcat
Si oui, Vérifier la disponibilité du service avec telnet dans un premier temps.

Code :
1
2
 
telnet localhost 8080
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/01/2011, 14h12   #5
Membre régulier
 
Inscription : janvier 2004
Messages : 440
Détails du profil
Informations forums :
Inscription : janvier 2004
Messages : 440
Points : 89
Points : 89
Voilà ce que j'ai quand je fais ce que vous avez demandé:

Citation:
ps -ef | grep -i tomcat
tomcat 8325 1 0 Jan14 ? 00:01:38 /usr/lib/jvm/java/bin/java -Dcatalina.ext.dirs=/usr/share/tomcat5/shared/lib:/usr/share/tomcat5/common/lib -Dcatalina.ext.dirs=/usr/share/tomcat5/shared/lib:/usr/share/tomcat5/common/lib -Djava.endorsed.dirs=/usr/share/tomcat5/common/endorsed -classpath /usr/lib/jvm/java/lib/tools.jar:/usr/share/tomcat5/bin/bootstrap.jar:/usr/share/tomcat5/bin/commons-logging-api.jar:/usr/share/java/mx4j/mx4j-impl.jar:/usr/share/java/mx4j/mx4j-jmx.jar -Dcatalina.base=/usr/share/tomcat5 -Dcatalina.home=/usr/share/tomcat5 -Djava.io.tmpdir=/usr/share/tomcat5/temp org.apache.catalina.startup.Bootstrap start
root 12233 12150 0 14:10 pts/1 00:00:00 grep -i tomcat
[root@ns35989 ~]# telnet localhost 8080
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.
Encore merci pour votre aide
sheira est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/01/2011, 14h31   #6
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 548
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 548
Points : 4 262
Points : 4 262
Ok

peux-tu montrer les packages relatifs à Tomcat que tu as déjà installés?

Code :
1
2
 
# rpm -qa | grep -i tomcat
Peux-tu également rechercher à l'aide de yum tout les packages relatifs à tomcat dans les dépôts?

Code :
1
2
 
#yum search tomcat
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/01/2011, 14h37   #7
Membre régulier
 
Inscription : janvier 2004
Messages : 440
Détails du profil
Informations forums :
Inscription : janvier 2004
Messages : 440
Points : 89
Points : 89
Voili voilou:

Citation:
]# rpm -qa | grep -i tomcat
tomcat5-server-lib-5.5.23-0jpp.11.el5_5
tomcat5-servlet-2.4-api-5.5.23-0jpp.11.el5_5
tomcat5-jasper-5.5.23-0jpp.11.el5_5
tomcat5-5.5.23-0jpp.11.el5_5
tomcat5-jsp-2.0-api-5.5.23-0jpp.11.el5_5
tomcat5-common-lib-5.5.23-0jpp.11.el5_5
[root@ns35989 ~]# yum search tomcat
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: mirror01.th.ifl.net
Excluding Packages in global exclude list
Finished
====================================================================== Matched: tomcat ======================================================================
dogtag-pki.noarch : Dogtag Public Key Infrastructure (PKI) Suite
glite-security-trustmanager.i386 : Java trustmanager interface supporting a GSI grid name space
glite-security-trustmanager-tomcat5.i386 : Java trustmanager interface supporting a GSI grid name space
glite-security-util-java.i386 : Java Utilities for GSI Credentials
jakarta-commons-collections-tomcat5.i386 : Jakarta Commons Collection dependency for Tomcat5
struts-webapps-tomcat5.i386 : Exemples d'applications Web struts pour tomcat5
tomcat-native.i386 : Tomcat native library
tomcat5.i386 : Moteur Servlet/JSP Apache, RI pour Servlet 2.4/JSP 2.0 API
tomcat5-admin-webapps.i386 : Applications Web d'administration pour tomcat
tomcat5-common-lib.i386 : Bibliothèque nécessaire à l'éxecution du containeur Tomcat Web
tomcat5-jasper.i386 : Compilateur JARs et scripts associés pour tomcat5
tomcat5-jasper-javadoc.i386 : Documentation Javadoc pour tomcat5-jasper
tomcat5-jsp-2.0-api.i386 : Implémentations de classes Jakarta Tomcat Servlet et JSP
tomcat5-jsp-2.0-api-javadoc.i386 : Documentation Javadoc générée pour tomcat5-jsp-2.0-api
tomcat5-server-lib.i386 : Bibliothèque nécessaire à l'éxecution du containeur Tomcat Web
tomcat5-servlet-2.4-api.i386 : Implantation des classes Servlets pour Jakarta Tomcat
tomcat5-servlet-2.4-api-javadoc.i386 : Documentation générée Javadoc pour tomcat5-servlet-2.4-api
tomcat5-webapps.i386 : Applications Web pour Jakarta Tomcat
tomcatjss.noarch : JSSE implementation using JSS for Tomcat
sheira est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/01/2011, 14h54   #8
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 548
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 548
Points : 4 262
Points : 4 262
Ok,

Ce package n'est pas installé


Code :
1
2
 
tomcat5-admin-webapps.i386 : Applications Web d'administration pour tomcat
Code :
# yum install tomcat5-admin-webapps.i386
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/01/2011, 15h32   #9
Membre régulier
 
Inscription : janvier 2004
Messages : 440
Détails du profil
Informations forums :
Inscription : janvier 2004
Messages : 440
Points : 89
Points : 89
ok je l'ai installé...faut le configurer? parce que quand je met "http://monserveur:8080/" dans mon navigateur, j'ai une page blanche maintenant ??
sheira est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/01/2011, 16h04   #10
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 548
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 548
Points : 4 262
Points : 4 262
Peux-tu installer le package suivant aussi stp?

Code :
1
2
 
tomcat5-webapps.i386 : Applications Web pour Jakarta Tomcat
Code :
yum install tomcat5-webapps.i386
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/01/2011, 16h41   #11
Membre régulier
 
Inscription : janvier 2004
Messages : 440
Détails du profil
Informations forums :
Inscription : janvier 2004
Messages : 440
Points : 89
Points : 89
C'est super j'accède à l'interface d'administration de tomcat!

Merci beaucoup Mygale1978
sheira est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 18/01/2011, 16h49   #12
Expert Confirmé Sénior
 
Homme Laurent Willems
Expert Stop/Start
Inscription : septembre 2002
Messages : 2 548
Détails du profil
Informations personnelles :
Nom : Homme Laurent Willems
Âge : 33
Localisation : Belgique

Informations professionnelles :
Activité : Expert Stop/Start

Informations forums :
Inscription : septembre 2002
Messages : 2 548
Points : 4 262
Points : 4 262
Ok

N'oublie pas d'appuyer sur le bouton résolu si tout es ok.

cheers
__________________
Alea Jacta Test!
Mygale1978 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité Cette discussion est résolue.
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 00h51.


 
 
 
 
Partenaires

Hébergement Web