IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Tomcat et TomEE Java Discussion :

Tomcat ne démarre pas


Sujet :

Tomcat et TomEE Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre averti
    Inscrit en
    Juin 2008
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2008
    Messages : 20
    Par défaut Tomcat ne démarre pas
    Bonjour,
    j'ai installé Apache Tomcat 5.5.26 server, il ne démarre pas et toujours le status stopped??
    Quelqu'un peut m'aider.
    Merci d'avance

  2. #2
    Rédacteur
    Avatar de _Mac_
    Profil pro
    Inscrit en
    Août 2005
    Messages
    9 601
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2005
    Messages : 9 601
    Par défaut
    En l'état, non, on ne peut pas t'aider, y a trop de raisons pour que ça ne démarre pas. La première chose à faire c'est essayer de trouver des infos sur le problème en regardant les logs par exemple ou le gestionnaire d'événement si le serveur est sous Windows.

  3. #3
    Membre averti
    Inscrit en
    Juin 2008
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2008
    Messages : 20
    Par défaut
    voila le contenu du log file:

    19 juin 2008 14:33:07 org.apache.coyote.http11.Http11AprProtocol init
    INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
    19 juin 2008 14:33:07 org.apache.coyote.ajp.AjpAprProtocol init
    INFO: Initializing Coyote AJP/1.3 on ajp-8009
    19 juin 2008 14:33:07 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 312 ms
    19 juin 2008 14:33:07 org.apache.catalina.core.StandardService start
    INFO: Démarrage du service Catalina
    19 juin 2008 14:33:07 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.26
    19 juin 2008 14:33:07 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    19 juin 2008 14:33:07 org.apache.coyote.http11.Http11AprProtocol start
    INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
    19 juin 2008 14:33:07 org.apache.coyote.ajp.AjpAprProtocol start
    INFO: Starting Coyote AJP/1.3 on ajp-8009
    19 juin 2008 14:33:07 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    19 juin 2008 14:33:08 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 485 ms
    19 juin 2008 14:33:08 org.apache.catalina.core.StandardServer await
    GRAVE: StandardServer.await: create[8005]:
    java.net.BindException: Address already in use: JVM_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(Unknown Source)
    at java.net.ServerSocket.bind(Unknown Source)
    at java.net.ServerSocket.<init>(Unknown Source)
    at org.apache.catalina.core.StandardServer.await(StandardServer.java:363)
    at org.apache.catalina.startup.Catalina.await(Catalina.java:616)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:576)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
    19 juin 2008 14:33:08 org.apache.coyote.http11.Http11AprProtocol pause
    INFO: Suspension de Coyote HTTP/1.1 sur http-8080
    19 juin 2008 14:33:08 org.apache.coyote.ajp.AjpAprProtocol pause
    INFO: Pausing Coyote AJP/1.3 on ajp-8009
    19 juin 2008 14:33:09 org.apache.catalina.core.StandardService stop
    INFO: Arrêt du service Catalina
    19 juin 2008 14:33:09 org.apache.coyote.http11.Http11AprProtocol destroy
    INFO: Arrêt de Coyote HTTP/1.1 sur http-8080
    19 juin 2008 14:33:09 org.apache.coyote.ajp.AjpAprProtocol destroy
    INFO: Stopping Coyote AJP/1.3 on ajp-8009

  4. #4
    Rédacteur
    Avatar de _Mac_
    Profil pro
    Inscrit en
    Août 2005
    Messages
    9 601
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2005
    Messages : 9 601
    Par défaut
    Ben je crois que c'est clair :
    java.net.BindException: Address already in use: JVM_Bind
    Y a un port que Tomcat essaie d'utiliser et qui est déjà occupé. Là où c'est pas facile c'est que je ne sais pas de quel port il s'agit A priori c'est le port 8005 : ouvre un interpréteur de commande et tape la commande netstat -a et regarde si le port 8005 est occupé.

    Quel OS ?

  5. #5
    Membre averti
    Inscrit en
    Juin 2008
    Messages
    20
    Détails du profil
    Informations forums :
    Inscription : Juin 2008
    Messages : 20
    Par défaut
    l'état du port 8005 est : listening. je travail sur windows XP.
    Après que j'ai tapé netsat -a sur l'invite de commande DOS, j'aille vérifier l'état du serveur Apache Tomcat :"il est démarré" ????
    et ce qui bizard encore étrange : l'icône du serveur dans la barre des taches est celui d'un offline.????

  6. #6
    Rédacteur
    Avatar de _Mac_
    Profil pro
    Inscrit en
    Août 2005
    Messages
    9 601
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Août 2005
    Messages : 9 601
    Par défaut
    Oui, c'est étrange. Y a peut-être eu un problème en arrêtant Tomcat une fois et depuis y a un truc résiduel qui tourne. T'as essayé en redémarrant la machine ? Ca va forcément tout arrêter. Une fois qu'elle a redémarré, fais le netstat -a pour voir l'état du port 8005. S'il est en LISTENING alors que tu n'as pas démarré Tomcat c'est qu'il y a un autre programme qui tourne et qui occupe ce port. Dans ce cas, soit tu identifies ce programme et tu l'arrêtes, soit tu vas voir dans les fichiers de configuration de Tomcat pour changer le port 8005 en 8006 par exemple.

Discussions similaires

  1. Tomcat ne démarre pas
    Par momjunior dans le forum Tomcat et TomEE
    Réponses: 3
    Dernier message: 08/12/2014, 17h04
  2. Tomcat ne démarre pas: l'écran de démarrage disparaît
    Par puegnon dans le forum Tomcat et TomEE
    Réponses: 1
    Dernier message: 02/07/2014, 13h09
  3. Tomcat ne démarre pas dans Eclipse
    Par STEMAR dans le forum Eclipse
    Réponses: 2
    Dernier message: 13/12/2013, 14h07
  4. Tomcat ne démarre pas
    Par demcoul dans le forum Tomcat et TomEE
    Réponses: 2
    Dernier message: 24/09/2010, 08h17
  5. Tomcat ne démarre pas
    Par ixgamerz dans le forum Tomcat et TomEE
    Réponses: 3
    Dernier message: 13/02/2007, 15h13

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo