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 :

Erreur lors du lancement de mon Serveur Tomcat


Sujet :

Tomcat et TomEE Java

  1. #1
    Membre chevronné

    Homme Profil pro
    développeur
    Inscrit en
    Octobre 2013
    Messages
    1 576
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : développeur

    Informations forums :
    Inscription : Octobre 2013
    Messages : 1 576
    Points : 1 989
    Points
    1 989
    Par défaut Erreur lors du lancement de mon Serveur Tomcat
    Bonjour à tous j'ai un gros problème avec tomcat pourriez vous m'aidez voici mes erreurs :

    Code java : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    déc. 07, 2014 2:08:53 PM org.apache.catalina.core.AprLifecycleListener init
    Infos: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jre1.8.0_20;C:\Windows\System32;C:\Users\kevin\Downloads\adt-bundle-windows-x86_64-20140702\eclipse\sdk\tools;C:\wamp\bin\php\php5.5.12\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;.
    déc. 07, 2014 2:08:54 PM org.apache.coyote.AbstractProtocol init
    Infos: Initializing ProtocolHandler ["http-nio-8080"]
    déc. 07, 2014 2:08:55 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
    Infos: Using a shared selector for servlet write/read
    déc. 07, 2014 2:08:55 PM org.apache.coyote.AbstractProtocol init
    Infos: Initializing ProtocolHandler ["ajp-nio-8009"]
    déc. 07, 2014 2:08:55 PM org.apache.coyote.AbstractProtocol init
    Grave: Failed to initialize end point associated with ProtocolHandler ["ajp-nio-8009"]
    java.net.BindException: Address already in use: bind
    	at sun.nio.ch.Net.bind0(Native Method)
    	at sun.nio.ch.Net.bind(Unknown Source)
    	at sun.nio.ch.Net.bind(Unknown Source)
    	at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
    	at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
    	at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:343)
    	at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:727)
    	at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:456)
    	at org.apache.catalina.connector.Connector.initInternal(Connector.java:960)
    	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    	at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567)
    	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    	at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:834)
    	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    	at org.apache.catalina.startup.Catalina.load(Catalina.java:576)
    	at org.apache.catalina.startup.Catalina.load(Catalina.java:599)
    	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.load(Bootstrap.java:310)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)
     
    déc. 07, 2014 2:08:55 PM org.apache.catalina.core.StandardService initInternal
    Grave: Failed to initialize connector [Connector[AJP/1.3-8009]]
    org.apache.catalina.LifecycleException: Failed to initialize component [Connector[AJP/1.3-8009]]
    	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)
    	at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567)
    	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    	at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:834)
    	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    	at org.apache.catalina.startup.Catalina.load(Catalina.java:576)
    	at org.apache.catalina.startup.Catalina.load(Catalina.java:599)
    	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.load(Bootstrap.java:310)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)
    Caused by: org.apache.catalina.LifecycleException: L''initialisation du gestionnaire de protocole a échoué
    	at org.apache.catalina.connector.Connector.initInternal(Connector.java:962)
    	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)
    	... 12 more
    Caused by: java.net.BindException: Address already in use: bind
    	at sun.nio.ch.Net.bind0(Native Method)
    	at sun.nio.ch.Net.bind(Unknown Source)
    	at sun.nio.ch.Net.bind(Unknown Source)
    	at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
    	at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
    	at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:343)
    	at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:727)
    	at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:456)
    	at org.apache.catalina.connector.Connector.initInternal(Connector.java:960)
    	... 13 more
     
    déc. 07, 2014 2:08:55 PM org.apache.catalina.startup.Catalina load
    Infos: Initialization processed in 2143 ms
    déc. 07, 2014 2:08:55 PM org.apache.catalina.core.StandardService startInternal
    Infos: Démarrage du service Catalina
    déc. 07, 2014 2:08:55 PM org.apache.catalina.core.StandardEngine startInternal
    Infos: Starting Servlet Engine: Apache Tomcat/8.0.9
    déc. 07, 2014 2:08:55 PM org.apache.catalina.startup.HostConfig deployDescriptor
    Infos: Déploiement du descripteur de configuration C:\serveur\apache-tomcat-8.0.9\conf\Catalina\localhost\ProjetServlet.xml
    déc. 07, 2014 2:09:00 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.
    déc. 07, 2014 2:09:01 PM org.apache.catalina.util.SessionIdGenerator createSecureRandom
    Infos: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [227] milliseconds.
    déc. 07, 2014 2:09:01 PM org.apache.catalina.startup.HostConfig deployDescriptor
    Infos: Deployment of configuration descriptor C:\serveur\apache-tomcat-8.0.9\conf\Catalina\localhost\ProjetServlet.xml has finished in 5*778 ms
    déc. 07, 2014 2:09:01 PM org.apache.catalina.startup.HostConfig deployDescriptor
    Infos: Déploiement du descripteur de configuration C:\serveur\apache-tomcat-8.0.9\conf\Catalina\localhost\tetris.xml
    déc. 07, 2014 2:09:02 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.
    déc. 07, 2014 2:09:02 PM org.apache.catalina.startup.HostConfig deployDescriptor
    Infos: Deployment of configuration descriptor C:\serveur\apache-tomcat-8.0.9\conf\Catalina\localhost\tetris.xml has finished in 1*266 ms
    déc. 07, 2014 2:09:02 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Déploiement du répertoire C:\serveur\apache-tomcat-8.0.9\webapps\docs de l'application web
    déc. 07, 2014 2:09:03 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.
    déc. 07, 2014 2:09:03 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Deployment of web application directory C:\serveur\apache-tomcat-8.0.9\webapps\docs has finished in 448 ms
    déc. 07, 2014 2:09:03 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Déploiement du répertoire C:\serveur\apache-tomcat-8.0.9\webapps\examples de l'application web
    déc. 07, 2014 2:09:08 PM org.apache.catalina.core.ApplicationContext log
    Infos: ContextListener: contextInitialized()
    déc. 07, 2014 2:09:08 PM org.apache.catalina.core.ApplicationContext log
    Infos: SessionListener: contextInitialized()
    déc. 07, 2014 2:09:08 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Deployment of web application directory C:\serveur\apache-tomcat-8.0.9\webapps\examples has finished in 5*520 ms
    déc. 07, 2014 2:09:08 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Déploiement du répertoire C:\serveur\apache-tomcat-8.0.9\webapps\host-manager de l'application web
    déc. 07, 2014 2:09:09 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.
    déc. 07, 2014 2:09:09 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Deployment of web application directory C:\serveur\apache-tomcat-8.0.9\webapps\host-manager has finished in 411 ms
    déc. 07, 2014 2:09:09 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Déploiement du répertoire C:\serveur\apache-tomcat-8.0.9\webapps\manager de l'application web
    déc. 07, 2014 2:09:09 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.
    déc. 07, 2014 2:09:09 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Deployment of web application directory C:\serveur\apache-tomcat-8.0.9\webapps\manager has finished in 291 ms
    déc. 07, 2014 2:09:09 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Déploiement du répertoire C:\serveur\apache-tomcat-8.0.9\webapps\ROOT de l'application web
    déc. 07, 2014 2:09:09 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.
    déc. 07, 2014 2:09:09 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Deployment of web application directory C:\serveur\apache-tomcat-8.0.9\webapps\ROOT has finished in 338 ms
    déc. 07, 2014 2:09:09 PM org.apache.coyote.AbstractProtocol start
    Infos: Starting ProtocolHandler ["http-nio-8080"]
    déc. 07, 2014 2:09:09 PM org.apache.catalina.startup.Catalina start
    Infos: Server startup in 14653 ms
    déc. 07, 2014 2:09:09 PM org.apache.catalina.core.StandardServer await
    Grave: StandardServer.await: create[localhost:8005]: 
    java.net.BindException: Address already in use: JVM_Bind
    	at java.net.DualStackPlainSocketImpl.bind0(Native Method)
    	at java.net.DualStackPlainSocketImpl.socketBind(Unknown Source)
    	at java.net.AbstractPlainSocketImpl.bind(Unknown Source)
    	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:419)
    	at org.apache.catalina.startup.Catalina.await(Catalina.java:713)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:659)
    	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:351)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
     
    déc. 07, 2014 2:09:09 PM org.apache.coyote.AbstractProtocol pause
    Infos: Pausing ProtocolHandler ["http-nio-8080"]
    déc. 07, 2014 2:09:09 PM org.apache.coyote.AbstractProtocol pause
    Infos: Pausing ProtocolHandler ["ajp-nio-8009"]
    déc. 07, 2014 2:09:09 PM org.apache.catalina.core.StandardService stopInternal
    Infos: Arrêt du service Catalina
    déc. 07, 2014 2:09:10 PM org.apache.catalina.core.ApplicationContext log
    Infos: SessionListener: contextDestroyed()
    déc. 07, 2014 2:09:10 PM org.apache.catalina.core.ApplicationContext log
    Infos: ContextListener: contextDestroyed()
    déc. 07, 2014 2:09:10 PM org.apache.coyote.AbstractProtocol stop
    Infos: Stopping ProtocolHandler ["http-nio-8080"]
    déc. 07, 2014 2:09:10 PM org.apache.coyote.AbstractProtocol destroy
    Infos: Destroying ProtocolHandler ["http-nio-8080"]
    déc. 07, 2014 2:09:10 PM org.apache.coyote.AbstractProtocol stop
    Infos: Stopping ProtocolHandler ["ajp-nio-8009"]

    J'ai aussi un serveur jboss sa serait pas à cause de l'utilisation du port 80 mais quand je lance tomcat mon serveur jboss n'ai pas lancé donc sa me parais improbable si vous pouviez m'aider bonne journée .

  2. #2
    Membre chevronné

    Profil pro
    Inscrit en
    Décembre 2011
    Messages
    974
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2011
    Messages : 974
    Points : 1 825
    Points
    1 825
    Par défaut
    visiblement, l'un des ports utilisé par tomcat est déjà occupé.

  3. #3
    Membre chevronné

    Homme Profil pro
    développeur
    Inscrit en
    Octobre 2013
    Messages
    1 576
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : développeur

    Informations forums :
    Inscription : Octobre 2013
    Messages : 1 576
    Points : 1 989
    Points
    1 989
    Par défaut
    Merci de votre réponse ,Seriez-vous comment je résouds ce problème car quand je lance tomcat jboss est éteint normalement le port 80 devrait-être libre?

  4. #4
    Membre actif
    Homme Profil pro
    Développeur Java/JavaEE
    Inscrit en
    Août 2014
    Messages
    194
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 36
    Localisation : Tunisie

    Informations professionnelles :
    Activité : Développeur Java/JavaEE

    Informations forums :
    Inscription : Août 2014
    Messages : 194
    Points : 290
    Points
    290
    Par défaut
    Bonjour,

    Ton serveur tomcat est-il installé comme un service windows ??? si c'est le cas essai de l’arrêté depuis service windows ensuite tu peux le lancer depuis ton IDE

  5. #5
    Membre chevronné

    Homme Profil pro
    développeur
    Inscrit en
    Octobre 2013
    Messages
    1 576
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : développeur

    Informations forums :
    Inscription : Octobre 2013
    Messages : 1 576
    Points : 1 989
    Points
    1 989
    Par défaut
    Merci de votre réponse, j'ai regarder et tomcat n'ai pas installer en tant que service voici le net start de ma machine :

    Les services Windows suivants ont ‚t‚ lanc‚sÿ:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
       AccŠs du p‚riph‚rique d'interface utilisateur
       Agent de strat‚gie IPsec
       Alimentation
       Appel de proc‚dure distante (RPC)
       Application Virtualization Client
       Application Virtualization Service Agent
       Assistance IP
       Assistance NetBIOS sur TCP/IP
       AtherosSvc
       Audio Windows
       Carte … puce
       Centre de s‚curit‚
       Client de strat‚gie de groupe
       Client de suivi de lien distribu‚
       Client DHCP
       Client DNS
       Client Virtualization Handler
       Connaissance des emplacements r‚seau
       Connexions r‚seau
       Dritek WMI Service
       D‚couverte SSDP
       D‚tection mat‚riel noyau
       EgisTec Service
       EgisTec Ticket Service
       EmbassyService
       Enregistreur VSS SQL Server
       ePower Service
       Explorateur d'ordinateurs
       Fichiers hors connexion
       Fournisseur HomeGroup
       Gestionnaire de comptes de s‚curit‚
       Gestionnaire de sessions du Gestionnaire de fenˆtrage
       G‚n‚rateur de points de terminaison du service Audio Windows
       H“te du fournisseur de d‚couverte de fonctions
       IconMan_R
       Informations d'application
       Infrastructure de gestion Windows
       Intel(R) Capability Licensing Service Interface
       Intel(R) Dynamic Application Loader Host Interface Service
       Intel(R) Management and Security Application Local Management Service
       Intel(R) Management and Security Application User Notification Service
       Isolation de cl‚ CNG
       IviRegMgr
       Journal d'‚v‚nements Windows
       Lanceur de processus serveur DCOM
       Live Updater Service
       Mappeur de point de terminaison RPC
       Microsoft Antimalware Service
       Modules de g‚n‚ration de cl‚s IKE et AuthIP
       Moteur de filtrage de base
       NTRU TSS v1.2.1.37 TCS
       NVIDIA Display Driver Service
       NVIDIA Update Service Daemon
       Pare-feu Windows
       Planificateur de classes multim‚dias
       Planificateur de tƒches
       Plug-and-Play
       Programme d'installation pour les modules Windows
       Propagation du certificat
       Protexis Licensing V2
       Protocole EAP (Extensible Authentication Protocol)
       Publication des ressources de d‚couverte de fonctions
       Raw Socket Service
       Remote Procedure Call (RPC) Net
       Serveur
       Service de cache de police Windows
       Service de configuration automatique WLAN
       Service de l'Assistant Compatibilit‚ des programmes
       Service de notification d'‚v‚nements systŠme
       Service de prise en charge Bluetooth
       Service de profil utilisateur
       Service de strat‚gie de diagnostic
       Service de transfert intelligent en arriŠre-plan
       Service h“te WDIServiceHost
       Service Interface du magasin r‚seau
       Service Liste des r‚seaux
       Service Partage r‚seau du Lecteur Windows Media
       Services de base de module de plateforme s‚curis‚e
       Services de chiffrement
       Spouleur d'impression
       SQL Server (MSSQLSERVER)
       SQL Server (SQLEXPRESS)
       Station de travail
       Superfetch
       SystŠme de fichiers EFS (Encrypting File System)
       SystŠme d'‚v‚nement COM+
       Temps Windows
       ThŠmes
       Wave Authentication Manager Service
       Windows Connect Nowÿ-ÿRegistre de configuration
       Windows Phone IP over USB Transport (IpOverUsbSvc)
       Windows Search
       Windows Update
       num‚rateur de bus IP PnP-X
     
    La commande s'est termin‚e correctement.
    Voici mon fichier serveur.xml peut-être faut-il je modifie quelque chose ?

    Code XML : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    <?xml version='1.0' encoding='utf-8'?>
    <!--
      Licensed to the Apache Software Foundation (ASF) under one or more
      contributor license agreements.  See the NOTICE file distributed with
      this work for additional information regarding copyright ownership.
      The ASF licenses this file to You under the Apache License, Version 2.0
      (the "License"); you may not use this file except in compliance with
      the License.  You may obtain a copy of the License at
     
          <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">http://www.apache.org/licenses/LICENSE-2.0</a>
     
      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
    -->
    <!-- Note:  A "Server" is not itself a "Container", so you may not
         define subcomponents such as "Valves" at this level.
         Documentation at /docs/config/server.html
     -->
    <Server port="8005" shutdown="SHUTDOWN">
      <!-- Security listener. Documentation at /docs/config/listeners.html
      <Listener className="org.apache.catalina.security.SecurityListener" />
      -->
      <!--APR library loader. Documentation at /docs/apr.html -->
      <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
      <!-- Prevent memory leaks due to use of particular java/javax APIs-->
      <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
      <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
     
      <!-- Global JNDI resources
           Documentation at /docs/jndi-resources-howto.html
      -->
      <GlobalNamingResources>
        <!-- Editable user database that can also be used by
             UserDatabaseRealm to authenticate users
        -->
    	<!-- JNDI de la base test -->
    	<Resource name="base_test" 
    		type="javax.sql.DataSource" 
    		password="" 
    		driverClassName="com.mysql.jdbc.Driver" 
    		maxIdle="2" 
    		maxWait="500" 
    		username="root" 
    		url="jdbc:mysql://localhost/test?autoReconnect=true" 
    		maxActive="500"
    	/>
    	<Resource name="tetris" 
    		type="javax.sql.DataSource" 
    		password="" 
    		driverClassName="com.mysql.jdbc.Driver" 
    		maxIdle="2" 
    		maxWait="500" 
    		username="root" 
    		url="jdbc:mysql://localhost/tetris?autoReconnect=true" 
    		maxActive="500"
    	/>
        <Resource name="UserDatabase" auth="Container"
                  type="org.apache.catalina.UserDatabase"
                  description="User database that can be updated and saved"
                  factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
                  pathname="conf/tomcat-users.xml" />
      </GlobalNamingResources>
     
      <!-- A "Service" is a collection of one or more "Connectors" that share
           a single "Container" Note:  A "Service" is not itself a "Container",
           so you may not define subcomponents such as "Valves" at this level.
           Documentation at /docs/config/service.html
       -->
      <Service name="Catalina">
     
        <!--The connectors can use a shared executor, you can define one or more named thread pools-->
        <!--
        <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
            maxThreads="150" minSpareThreads="4"/>
        -->
     
     
        <!-- A "Connector" represents an endpoint by which requests are received
             and responses are returned. Documentation at :
             Java HTTP Connector: /docs/config/http.html (blocking & non-blocking)
             Java AJP  Connector: /docs/config/ajp.html
             APR (HTTP/AJP) Connector: /docs/apr.html
             Define a non-SSL HTTP/1.1 Connector on port 8080
        -->
        <Connector port="8080" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   redirectPort="8443" />
        <!-- A "Connector" using the shared thread pool-->
        <!--
        <Connector executor="tomcatThreadPool"
                   port="8080" protocol="HTTP/1.1"
                   connectionTimeout="20000"
                   redirectPort="8443" />
        -->
        <!-- Define a SSL HTTP/1.1 Connector on port 8443
             This connector uses the NIO implementation that requires the JSSE
             style configuration. When using the APR/native implementation, the
             OpenSSL style configuration is required as described in the APR/native
             documentation -->
        <!--
        <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
                   maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
                   clientAuth="false" sslProtocol="TLS" />
        -->
     
        <!-- Define an AJP 1.3 Connector on port 8009 -->
        <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
     
     
        <!-- An Engine represents the entry point (within Catalina) that processes
             every request.  The Engine implementation for Tomcat stand alone
             analyzes the HTTP headers included with the request, and passes them
             on to the appropriate Host (virtual host).
             Documentation at /docs/config/engine.html -->
     
        <!-- You should set jvmRoute to support load-balancing via AJP ie :
        <Engine name="Catalina" defaultHost="localhost" jvmRoute="jvm1">
        -->
        <Engine name="Catalina" defaultHost="localhost">
     
          <!--For clustering, please take a look at documentation at:
              /docs/cluster-howto.html  (simple how to)
              /docs/config/cluster.html (reference documentation) -->
          <!--
          <Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>
          -->
     
          <!-- Use the LockOutRealm to prevent attempts to guess user passwords
               via a brute-force attack -->
          <Realm className="org.apache.catalina.realm.LockOutRealm">
            <!-- This Realm uses the UserDatabase configured in the global JNDI
                 resources under the key "UserDatabase".  Any edits
                 that are performed against this UserDatabase are immediately
                 available for use by the Realm.  -->
            <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
                   resourceName="UserDatabase"/>
          </Realm>
     
          <Host name="localhost"  appBase="webapps"
                unpackWARs="true" autoDeploy="true">
     
            <!-- SingleSignOn valve, share authentication between web applications
                 Documentation at: /docs/config/valve.html -->
            <!--
            <Valve className="org.apache.catalina.authenticator.SingleSignOn" />
            -->
     
            <!-- Access log processes all example.
                 Documentation at: /docs/config/valve.html
                 Note: The pattern used is equivalent to using pattern="common" -->
            <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
                   prefix="localhost_access_log" suffix=".txt"
                   pattern="%h %l %u %t &quot;%r&quot; %s %b" />
     
          </Host>
        </Engine>
      </Service>
    </Server>

    Bonne journée à vous .

  6. #6
    Membre chevronné Avatar de jeffray03
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Juillet 2008
    Messages
    1 501
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Allemagne

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Juillet 2008
    Messages : 1 501
    Points : 2 120
    Points
    2 120
    Par défaut
    Salut
    - arreter tomcat ou eclipse,
    - Arreter la machine
    - redemarrer la machine.
    - relancer tomcat

    Eric

  7. #7
    Membre chevronné

    Homme Profil pro
    développeur
    Inscrit en
    Octobre 2013
    Messages
    1 576
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : développeur

    Informations forums :
    Inscription : Octobre 2013
    Messages : 1 576
    Points : 1 989
    Points
    1 989
    Par défaut
    Citation Envoyé par jeffray03 Voir le message
    Salut
    - arreter tomcat ou eclipse,
    - Arreter la machine
    - redemarrer la machine.
    - relancer tomcat

    Eric
    J'ai fais ce que vous m'avez dit en effet je pense que sa fonctionne voici le retour de la console:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    déc. 08, 2014 2:38:49 PM org.apache.catalina.core.AprLifecycleListener init
    Infos: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jre1.8.0_20;C:\Windows\System32;C:\Users\kevin\Downloads\adt-bundle-windows-x86_64-20140702\eclipse\sdk\tools;C:\wamp\bin\php\php5.5.12\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;.
    déc. 08, 2014 2:38:50 PM org.apache.coyote.AbstractProtocol init
    Infos: Initializing ProtocolHandler ["http-nio-8080"]
    déc. 08, 2014 2:38:50 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
    Infos: Using a shared selector for servlet write/read
    déc. 08, 2014 2:38:50 PM org.apache.coyote.AbstractProtocol init
    Infos: Initializing ProtocolHandler ["ajp-nio-8009"]
    déc. 08, 2014 2:38:50 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
    Infos: Using a shared selector for servlet write/read
    déc. 08, 2014 2:38:50 PM org.apache.catalina.startup.Catalina load
    Infos: Initialization processed in 969 ms
    déc. 08, 2014 2:38:50 PM org.apache.catalina.core.StandardService startInternal
    Infos: Démarrage du service Catalina
    déc. 08, 2014 2:38:50 PM org.apache.catalina.core.StandardEngine startInternal
    Infos: Starting Servlet Engine: Apache Tomcat/8.0.9
    déc. 08, 2014 2:38:50 PM org.apache.catalina.startup.HostConfig deployDescriptor
    Infos: Déploiement du descripteur de configuration C:\serveur\apache-tomcat-8.0.9\conf\Catalina\localhost\ProjetServlet.xml
    déc. 08, 2014 2:38:51 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.
    déc. 08, 2014 2:38:51 PM org.apache.catalina.startup.HostConfig deployDescriptor
    Infos: Deployment of configuration descriptor C:\serveur\apache-tomcat-8.0.9\conf\Catalina\localhost\ProjetServlet.xml has finished in 1*251 ms
    déc. 08, 2014 2:38:51 PM org.apache.catalina.startup.HostConfig deployDescriptor
    Infos: Déploiement du descripteur de configuration C:\serveur\apache-tomcat-8.0.9\conf\Catalina\localhost\tetris.xml
    déc. 08, 2014 2:38:52 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.
    déc. 08, 2014 2:38:52 PM org.apache.catalina.startup.HostConfig deployDescriptor
    Infos: Deployment of configuration descriptor C:\serveur\apache-tomcat-8.0.9\conf\Catalina\localhost\tetris.xml has finished in 315 ms
    déc. 08, 2014 2:38:52 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Déploiement du répertoire C:\serveur\apache-tomcat-8.0.9\webapps\docs de l'application web
    déc. 08, 2014 2:38:52 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.
    déc. 08, 2014 2:38:52 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Deployment of web application directory C:\serveur\apache-tomcat-8.0.9\webapps\docs has finished in 236 ms
    déc. 08, 2014 2:38:52 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Déploiement du répertoire C:\serveur\apache-tomcat-8.0.9\webapps\examples de l'application web
    déc. 08, 2014 2:38:53 PM org.apache.catalina.core.ApplicationContext log
    Infos: ContextListener: contextInitialized()
    déc. 08, 2014 2:38:53 PM org.apache.catalina.core.ApplicationContext log
    Infos: SessionListener: contextInitialized()
    déc. 08, 2014 2:38:53 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Deployment of web application directory C:\serveur\apache-tomcat-8.0.9\webapps\examples has finished in 1*484 ms
    déc. 08, 2014 2:38:53 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Déploiement du répertoire C:\serveur\apache-tomcat-8.0.9\webapps\host-manager de l'application web
    déc. 08, 2014 2:38:53 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.
    déc. 08, 2014 2:38:53 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Deployment of web application directory C:\serveur\apache-tomcat-8.0.9\webapps\host-manager has finished in 211 ms
    déc. 08, 2014 2:38:53 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Déploiement du répertoire C:\serveur\apache-tomcat-8.0.9\webapps\manager de l'application web
    déc. 08, 2014 2:38:54 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.
    déc. 08, 2014 2:38:54 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Deployment of web application directory C:\serveur\apache-tomcat-8.0.9\webapps\manager has finished in 242 ms
    déc. 08, 2014 2:38:54 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Déploiement du répertoire C:\serveur\apache-tomcat-8.0.9\webapps\ROOT de l'application web
    déc. 08, 2014 2:38:54 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.
    déc. 08, 2014 2:38:54 PM org.apache.catalina.startup.HostConfig deployDirectory
    Infos: Deployment of web application directory C:\serveur\apache-tomcat-8.0.9\webapps\ROOT has finished in 244 ms
    déc. 08, 2014 2:38:54 PM org.apache.coyote.AbstractProtocol start
    Infos: Starting ProtocolHandler ["http-nio-8080"]
    déc. 08, 2014 2:38:54 PM org.apache.coyote.AbstractProtocol start
    Infos: Starting ProtocolHandler ["ajp-nio-8009"]
    déc. 08, 2014 2:38:54 PM org.apache.catalina.startup.Catalina start
    Infos: Server startup in 4144 ms
    mais quand je tape localhost dans mon moteur de recherche je ne vois pas la page d'accueil de tomcat ,seriez-vous pourquoi s'il vous plaît?

  8. #8
    Membre expérimenté Avatar de Nico02
    Homme Profil pro
    Developpeur Java/JEE
    Inscrit en
    Février 2011
    Messages
    728
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Developpeur Java/JEE
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Février 2011
    Messages : 728
    Points : 1 622
    Points
    1 622
    Par défaut
    Normalement tu accèdes à ton Tomcat via --> http://localhost:8080/

    Et pour accéder à ton appli --> http://localhost:8080/monAppl

    Cdt.

  9. #9
    Membre chevronné

    Homme Profil pro
    développeur
    Inscrit en
    Octobre 2013
    Messages
    1 576
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : développeur

    Informations forums :
    Inscription : Octobre 2013
    Messages : 1 576
    Points : 1 989
    Points
    1 989
    Par défaut
    merci mais quand je fais ça mon serveur est bien lancer voila se que j'ai :

    Nom : Capture.JPG
Affichages : 7167
Taille : 26,3 Ko

  10. #10
    Membre chevronné Avatar de jeffray03
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Juillet 2008
    Messages
    1 501
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Allemagne

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Juillet 2008
    Messages : 1 501
    Points : 2 120
    Points
    2 120
    Par défaut
    est du dans eclipse?
    si oui,
    -un clique droit sur ton projet
    - Run as
    - Run on Server
    - choisir ton server (Tomcat)
    - finish

    et donnes nous ce qui s´affiche sur ton editeur web.

    Eric

  11. #11
    Membre expérimenté Avatar de Nico02
    Homme Profil pro
    Developpeur Java/JEE
    Inscrit en
    Février 2011
    Messages
    728
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Developpeur Java/JEE
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Février 2011
    Messages : 728
    Points : 1 622
    Points
    1 622
    Par défaut
    Peux tu regarder dans les fichiers logs ? Tu dois avoir des erreurs qui trainent qui pourront nous mettre sur la voie.

  12. #12
    Membre chevronné

    Homme Profil pro
    développeur
    Inscrit en
    Octobre 2013
    Messages
    1 576
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : développeur

    Informations forums :
    Inscription : Octobre 2013
    Messages : 1 576
    Points : 1 989
    Points
    1 989
    Par défaut
    Citation Envoyé par jeffray03 Voir le message
    est du dans eclipse?
    si oui,
    -un clique droit sur ton projet
    - Run as
    - Run on Server
    - choisir ton server (Tomcat)
    - finish

    et donnes nous ce qui s´affiche sur ton editeur web.

    Eric
    Voilà ce qu'il me retourne dans l'éditeur d' eclipse :

    Nom : Capture.PNG
Affichages : 7168
Taille : 6,0 Ko

  13. #13
    Membre chevronné

    Homme Profil pro
    développeur
    Inscrit en
    Octobre 2013
    Messages
    1 576
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : développeur

    Informations forums :
    Inscription : Octobre 2013
    Messages : 1 576
    Points : 1 989
    Points
    1 989
    Par défaut
    Citation Envoyé par Nico02 Voir le message
    Peux tu regarder dans les fichiers logs ? Tu dois avoir des erreurs qui trainent qui pourront nous mettre sur la voie.
    Je sais pas si c'est ce fichier là,j'ai fais windows > error log:

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    !SESSION 2014-12-09 18:02:02.426 -----------------------------------------------
    eclipse.buildId=4.3.2.M20140221-1700
    java.version=1.8.0_20
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
    Framework arguments:  -product org.eclipse.epp.package.jee.product
    Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product -clean
     
    !ENTRY org.eclipse.osgi 4 0 2014-12-09 18:02:04.102
    !MESSAGE The -clean (osgi.clean) option was not successful. Unable to clean the storage area: C:\eclipse\configuration\org.eclipse.osgi
     
    !ENTRY org.eclipse.osgi 2 0 2014-12-09 18:02:04.664
    !MESSAGE The plugin "com.sysdeo.eclipse.tomcat" with the version "3.3.0" and location "reference:file:dropins/com.sysdeo.eclipse.tomcat_3.3.0/" is an old style Eclipse 2.0 plugin with no OSGi bundle manifest.  Support for Eclipse 2.0 style plugins will be removed in a future release. Refer to the migration guide for details.
     
    !ENTRY org.eclipse.jface 2 0 2014-12-09 18:02:18.515
    !MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
    !SUBENTRY 1 org.eclipse.jface 2 0 2014-12-09 18:02:18.515
    !MESSAGE A conflict occurred for ALT+CTRL+P:
    Binding(ALT+CTRL+P,
    	ParameterizedCommand(Command(org.eclipse.m2e.profiles.ui.commands.selectMavenProfileCommand,Select Maven Profiles,
    		,
    		Category(org.eclipse.ui.category.window,Window,null,true),
    		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@327e5be5,
    		,,true),null),
    	org.eclipse.ui.defaultAcceleratorConfiguration,
    	org.eclipse.ui.contexts.window,,,system)
    Binding(ALT+CTRL+P,
    	ParameterizedCommand(Command(org.jboss.tools.maven.ui.commands.selectMavenProfileCommand,Maven Profiles Selection,
    		,
    		Category(org.eclipse.ui.category.window,Window,null,true),
    		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1084ac45,
    		,,true),null),
    	org.eclipse.ui.defaultAcceleratorConfiguration,
    	org.eclipse.ui.contexts.window,,,system)
    !SUBENTRY 1 org.eclipse.jface 2 0 2014-12-09 18:02:18.515
    !MESSAGE A conflict occurred for ALT+SHIFT+D R:
    Binding(ALT+SHIFT+D R,
    	ParameterizedCommand(Command(org.eclipse.rap.ui.launch.RAPLaunchShortcut.debug,Debug RAP Application,
    		Debug RAP Application,
    		Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true),
    		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@566f1852,
    		,,true),null),
    	org.eclipse.ui.defaultAcceleratorConfiguration,
    	org.eclipse.ui.contexts.window,,,system)
    Binding(ALT+SHIFT+D R,
    	ParameterizedCommand(Command(org.eclipse.wst.server.launchShortcut.debug,Debug on Server,
    		Debug the current selection on a server,
    		Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true),
    		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@6ea246af,
    		,,true),null),
    	org.eclipse.ui.defaultAcceleratorConfiguration,
    	org.eclipse.ui.contexts.window,,,system)
    !SUBENTRY 1 org.eclipse.jface 2 0 2014-12-09 18:02:18.515
    !MESSAGE A conflict occurred for ALT+SHIFT+X R:
    Binding(ALT+SHIFT+X R,
    	ParameterizedCommand(Command(org.eclipse.rap.ui.launch.RAPLaunchShortcut.run,Run RAP Application,
    		Run RAP Application,
    		Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true),
    		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@2e4389ed,
    		,,true),null),
    	org.eclipse.ui.defaultAcceleratorConfiguration,
    	org.eclipse.ui.contexts.window,,,system)
    Binding(ALT+SHIFT+X R,
    	ParameterizedCommand(Command(org.eclipse.wst.server.launchShortcut.run,Run on Server,
    		Run the current selection on a server,
    		Category(org.eclipse.debug.ui.category.run,Run/Debug,Run/Debug command category,true),
    		org.eclipse.ui.internal.WorkbenchHandlerServiceHandler@1b90fee4,
    		,,true),null),
    	org.eclipse.ui.defaultAcceleratorConfiguration,
    	org.eclipse.ui.contexts.window,,,system)
     
    !ENTRY org.eclipse.egit.ui 2 0 2014-12-09 18:02:27.822
    !MESSAGE Warning: EGit couldn't detect the installation path "gitPrefix" of native Git. Hence EGit can't respect system level
    Git settings which might be configured in ${gitPrefix}/etc/gitconfig under the native Git installation directory.
    The most important of these settings is core.autocrlf. Git for Windows by default sets this parameter to true in
    this system level configuration. The Git installation location can be configured on the
    Team > Git > Configuration preference page's 'System Settings' tab.
    This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
     
    !ENTRY org.eclipse.egit.ui 2 0 2014-12-09 18:02:27.831
    !MESSAGE Warning: The environment variable HOME is not set. The following directory will be used to store the Git
    user global configuration and to define the default location to store repositories: 'C:\Users\kevin'. If this is
    not correct please set the HOME environment variable and restart Eclipse. Otherwise Git for Windows and
    EGit might behave differently since they see different configuration options.
    This warning can be switched off on the Team > Git > Confirmations and Warnings preference page.
     
    !ENTRY org.jboss.tools.maven.profiles.ui 1 0 2014-12-09 18:02:34.746
    !MESSAGE Found org.eclipse.m2e.profiles.ui, removing conflicting binding for org.jboss.tools.maven.ui.commands.selectMavenProfileCommand

  14. #14
    Membre chevronné Avatar de jeffray03
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Juillet 2008
    Messages
    1 501
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Allemagne

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Juillet 2008
    Messages : 1 501
    Points : 2 120
    Points
    2 120
    Par défaut
    Salut,
    cela peut etre juste, as tu Un fichier web.xml ? Si oui en vois nous le contenu.
    et dans le Repertoire webContent peux-tu nous Lister le contenu?
    Le log de 17: 44 .
    Eric

  15. #15
    Membre chevronné

    Homme Profil pro
    développeur
    Inscrit en
    Octobre 2013
    Messages
    1 576
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : développeur

    Informations forums :
    Inscription : Octobre 2013
    Messages : 1 576
    Points : 1 989
    Points
    1 989
    Par défaut
    Merci de votre réponse pour le projet par contre c'est un projet Maven :

    Nom : arborescence.PNG
Affichages : 6010
Taille : 12,8 Ko

    J'ai un pom.xml peut-être que sa peut vous-aidez :

    Code xml : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>testJersey</groupId>
      <artifactId>hello</artifactId>
      <packaging>war</packaging>
      <version>0.0.1-SNAPSHOT</version>
      <name>hello Maven Webapp</name>
      <url>http://maven.apache.org</url>
      <dependencies>
        <dependency>
          <groupId>org.glassfish.jersey.containers</groupId>
          <artifactId>jersey-container-servlet</artifactId>
          <version>2.8</version>
          <scope>test</scope>
        </dependency>
      </dependencies>
      <build>
        <finalName>hello</finalName>
      </build>
    </project>

    Dans le makers j'ai également cette erreur là Description :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    Resource	Path	Location	Type
    CHKJ3000E: WAR Validation Failed: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.DeploymentDescriptorLoadException: WEB-INF/web.xml	hello		Unknown	Validation Message

  16. #16
    Membre chevronné

    Homme Profil pro
    développeur
    Inscrit en
    Octobre 2013
    Messages
    1 576
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : développeur

    Informations forums :
    Inscription : Octobre 2013
    Messages : 1 576
    Points : 1 989
    Points
    1 989
    Par défaut
    Bonsoir alors voilà j'ai trouvé une partie de la solution seulement j'ai recrée un serveur tomcat par contre dans sa configuration :

    Nom : Capture.PNG
Affichages : 5896
Taille : 13,3 Ko

    j'ai choisis use tomcat installation et sa fonctionne,maintenant le problème c'est que dans mon ancien serveur j'ai toutes la config pour la base de données et problème celui-ci reste grisé sur use workspace metadata y'aurait-il un moyen d'y remédier je vous remercie bonne soirée.

  17. #17
    Expert éminent sénior
    Avatar de tchize_
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Avril 2007
    Messages
    25 481
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 44
    Localisation : Belgique

    Informations professionnelles :
    Activité : Ingénieur développement logiciels
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Avril 2007
    Messages : 25 481
    Points : 48 806
    Points
    48 806
    Par défaut
    Citation Envoyé par kevin254kl Voir le message
    J'ai aussi un serveur jboss sa serait pas à cause de l'utilisation du port 80 mais quand je lance tomcat mon serveur jboss n'ai pas lancé donc sa me parais improbable si vous pouviez m'aider bonne journée .
    Citation Envoyé par kevin254kl Voir le message
    Merci de votre réponse ,Seriez-vous comment je résouds ce problème car quand je lance tomcat jboss est éteint normalement le port 80 devrait-être libre?
    A plusieurs reprises, les logs te mentionnent clairement autre chose que le port 80. D'ailleurs par défaut tomcat et jboss n'utilisent jamais le port 80 car sous certains OS il est restreint aux applications système.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
     
    Grave: Failed to initialize end point associated with ProtocolHandler ["ajp-nio-8009"]
    Grave: Failed to initialize connector [Connector[AJP/1.3-8009]]
    org.apache.catalina.LifecycleException: Failed to initialize component [Connector[AJP/1.3-8009]]

    Citation Envoyé par kevin254kl Voir le message
    merci mais quand je fais ça mon serveur est bien lancer voila se que j'ai :

    Nom : Capture.JPG
Affichages : 7167
Taille : 26,3 Ko
    Message d'erreur normal. Il n'y a pas d'application par défaut dans ton tomcat, donc rien pour répondre, donc tomcat te ditqu'il ne trouve pas le document demandé. Signe que tu as un tomcat tout vide fonctionnel. Normalement tu devrais avoir une page d'accueil servie par la webapp ROOT, mais tu l'a peut être effacée.

    Citation Envoyé par kevin254kl Voir le message
    Voilà ce qu'il me retourne dans l'éditeur d' eclipse :

    Nom : Capture.PNG
Affichages : 7168
Taille : 6,0 Ko
    L'URL que tu donne signifie que tu as déployé sur ton tomcat une application appelée "hello" dans laquelle tu essaie d'accéder à la page par défaut telle que définie dans la section <welcome-file-list> de ton web.xml. C'est bien le cas? J'ai plutot l'impression que tu veux accéder à une servlet appelée "hello/" dans ton application, dans ce cas, l'url sera http://localhost:8080/TonApplication/hello

  18. #18
    Membre chevronné

    Homme Profil pro
    développeur
    Inscrit en
    Octobre 2013
    Messages
    1 576
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Oise (Picardie)

    Informations professionnelles :
    Activité : développeur

    Informations forums :
    Inscription : Octobre 2013
    Messages : 1 576
    Points : 1 989
    Points
    1 989
    Par défaut
    C'est bon sa fonctionne,j'ai carrément recommencer le projet et sa marche bien avec l'url sans la modifier encore merci à tous bonne soirée.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Erreur lors du lancement de mon client
    Par kevin254kl dans le forum Wildfly/JBoss
    Réponses: 3
    Dernier message: 25/10/2014, 00h40
  2. Réponses: 3
    Dernier message: 24/03/2014, 09h42
  3. Erreur lors du lancement du serveur TomCat 6.0.26 sous netbeans
    Par dev_2007 dans le forum Tomcat et TomEE
    Réponses: 4
    Dernier message: 15/07/2013, 23h21
  4. Erreur lors du lancement de mon projet
    Par routnic dans le forum C++Builder
    Réponses: 2
    Dernier message: 30/10/2012, 14h18
  5. Réponses: 0
    Dernier message: 30/04/2008, 11h23

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