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

Hibernate Java Discussion :

Installation de Hibernate dans projet Tomcat


Sujet :

Hibernate Java

  1. #1
    Membre actif
    Installation de Hibernate dans projet Tomcat
    Bonjour,

    des que je rajoute dans le pom.xml
    Code :Sélectionner tout -Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    <dependency>
        	<groupId>org.hibernate</groupId>
        	<artifactId>hibernate-core</artifactId>
        	<version>5.4.2.Final</version>
    	</dependency>

    le fichier hibernate.cfg.xml est dans WEB-INF

    Mais le petit symble rouge, dans eclipse, a la racine du projet apparait (pour indiquer une erreur que je ne trouve pas) et le serveur tomcat ne demarre pas :
    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
    GRAVE: Exception lors du démarrage du contexte [/cToric]
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cToric]]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
    	at org.apache.catalina.core.StandardContext.reload(StandardContext.java:3800)
    	at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:292)
    	at org.apache.catalina.core.StandardContext.backgroundProcess(StandardContext.java:5571)
    	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1388)
    	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1392)
    	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1392)
    	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1360)
    	at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@7cd68594]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
    	at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4868)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5003)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	... 8 more
    Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@771d5b3f]
    	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:113)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)
    	at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:724)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	... 11 more
    Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid CEN header (bad signature)
    	at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:142)
    	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
    	... 14 more
    Caused by: java.util.zip.ZipException: invalid CEN header (bad signature)
    	at java.util.zip.ZipFile.open(Native Method)
    	at java.util.zip.ZipFile.<init>(Unknown Source)
    	at java.util.zip.ZipFile.<init>(Unknown Source)
    	at java.util.jar.JarFile.<init>(Unknown Source)
    	at java.util.jar.JarFile.<init>(Unknown Source)
    	at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:188)
    	at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:173)
    	at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:139)
    	... 15 more


    merci d'avance.
    Bon WE
    - La communication consiste a comprendre celui qui ecoute !
    - Qui veut faire quelquechose trouve un moyen, qui ne veut rien faire trouve une excuse

  2. #2
    Membre chevronné
    salut,

    fais un :
    Code :Sélectionner tout -Visualiser dans une fenêtre à part
    click droit sur la pom du project -> run as --> Maven build... --> goal : package --> run


    Eric

  3. ###raw>post.musername###
    Membre actif
    Ce message n'a pas pu être affiché car il comporte des erreurs.
      0  0

  4. #4
    Membre chevronné
    salut,
    ah oui je vois ou est ce qu´il ya probleme.
    tu deploies ton appli avec jre et non jdk.
    fais ceci:
    Code :Sélectionner tout -Visualiser dans une fenêtre à part
    1
    2
     
    click droit sur le projet --> build path --> configure build path --> sur l´onglet lirairies --> assures toi que ton Java pointe bien sur jdk et non sur  jre.

    Eric

  5. #5
    Membre actif
    Salut,

    Alors j'ai mis jdk1.8.0_202
    Et plus d'erreur (fin du log):
    Code :Sélectionner tout -Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
     
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 17.281 s
    [INFO] Finished at: 2019-03-30T18:52:54+01:00
    [INFO] Final Memory: 21M/164M
    [INFO] ------------------------------------------------------------------------


    Par contre, toujours le petit icone rouge sur le projet et le serveur Tomcat qui ne démarre pas !
    (pourquoi le petit icone est rouge et que l'on voit pas le probleme les éléments du projet ?)

    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
    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
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
     
     
    mars 30, 2019 6:55:27 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
    AVERTISSEMENT: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:cToric' did not find a matching property.
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Server version:        Apache Tomcat/8.5.28
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Server built:          Feb 6 2018 23:10:25 UTC
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Server number:         8.5.28.0
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: OS Name:               Windows 10
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: OS Version:            10.0
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Architecture:          amd64
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Java Home:             C:\Program Files\Java\jdk1.8.0_202\jre
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: JVM Version:           1.8.0_202-b08
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: JVM Vendor:            Oracle Corporation
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: CATALINA_BASE:         C:\Users\User1\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: CATALINA_HOME:         C:\Program Files\Apache Software Foundation\Tomcat 8.5
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Command line argument: -Dcatalina.base=C:\Users\User1\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.5
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Command line argument: -Dwtp.deploy=C:\Users\User1\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp1\wtpwebapps
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 8.5\endorsed
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Command line argument: -Dfile.encoding=Cp1252
    mars 30, 2019 6:55:27 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    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\jdk1.8.0_202\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_161/bin/server;C:/Program Files/Java/jre1.8.0_161/bin;C:/Program Files/Java/jre1.8.0_161/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\PuTTY\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Programs\apache-maven-3.6.0\bin;C:\Users\User1\AppData\Local\Microsoft\WindowsApps;;C:\Users\User1\Desktop;;.]
    mars 30, 2019 6:55:27 PM org.apache.coyote.AbstractProtocol init
    INFOS: Initializing ProtocolHandler ["http-nio-8080"]
    mars 30, 2019 6:55:27 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
    INFOS: Using a shared selector for servlet write/read
    mars 30, 2019 6:55:27 PM org.apache.coyote.AbstractProtocol init
    INFOS: Initializing ProtocolHandler ["ajp-nio-8009"]
    mars 30, 2019 6:55:27 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
    INFOS: Using a shared selector for servlet write/read
    mars 30, 2019 6:55:27 PM org.apache.catalina.startup.Catalina load
    INFOS: Initialization processed in 814 ms
    mars 30, 2019 6:55:27 PM org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory getObjectInstance
    AVERTISSEMENT: Name = calculateurdb Property maxActive is not used in DBCP2, use maxTotal instead. maxTotal default value is 8. You have set value of "4" for "maxActive" property, which is being ignored.
    mars 30, 2019 6:55:27 PM org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory getObjectInstance
    AVERTISSEMENT: Name = calculateurdb Property maxWait is not used in DBCP2 , use maxWaitMillis instead. maxWaitMillis default value is -1. You have set value of "5000" for "maxWait" property, which is being ignored.
    mars 30, 2019 6:55:27 PM org.apache.catalina.core.StandardService startInternal
    INFOS: Démarrage du service [Catalina]
    mars 30, 2019 6:55:27 PM org.apache.catalina.core.StandardEngine startInternal
    INFOS: Starting Servlet Engine: Apache Tomcat/8.5.28
    mars 30, 2019 6:55:31 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.
    mars 30, 2019 6:55:31 PM org.apache.catalina.core.ContainerBase startInternal
    GRAVE: A child container failed during start
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cToric]]
    	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:939)
    	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/cToric]]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
    	... 6 more
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.webresources.StandardRoot@74eead4b]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
    	at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4868)
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5003)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	... 6 more
    Caused by: org.apache.catalina.LifecycleException: Failed to initialize component [org.apache.catalina.webresources.JarResourceSet@444cbe01]
    	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:113)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:140)
    	at org.apache.catalina.webresources.StandardRoot.startInternal(StandardRoot.java:724)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	... 9 more
    Caused by: java.lang.IllegalArgumentException: java.util.zip.ZipException: invalid CEN header (bad signature)
    	at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:142)
    	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
    	... 12 more
    Caused by: java.util.zip.ZipException: invalid CEN header (bad signature)
    	at java.util.zip.ZipFile.open(Native Method)
    	at java.util.zip.ZipFile.<init>(ZipFile.java:225)
    	at java.util.zip.ZipFile.<init>(ZipFile.java:155)
    	at java.util.jar.JarFile.<init>(JarFile.java:166)
    	at java.util.jar.JarFile.<init>(JarFile.java:130)
    	at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:188)
    	at org.apache.tomcat.util.compat.JreCompat.jarFileNewInstance(JreCompat.java:173)
    	at org.apache.catalina.webresources.AbstractSingleArchiveResourceSet.initInternal(AbstractSingleArchiveResourceSet.java:139)
    	... 13 more
     
    mars 30, 2019 6:55:31 PM org.apache.catalina.core.ContainerBase startInternal
    GRAVE: A child container failed during start
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
    	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    	at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:939)
    	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:681)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
    	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    	at java.lang.Thread.run(Thread.java:748)
    Caused by: org.apache.catalina.LifecycleException: A child container failed during start
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:948)
    	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	... 6 more
     
    mars 30, 2019 6:55:31 PM org.apache.catalina.startup.Catalina start
    GRAVE: The required Server component failed to start so Tomcat is unable to start.
    org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:681)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    	at java.lang.reflect.Method.invoke(Method.java:498)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
    	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	... 7 more
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
    	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	... 9 more
    Caused by: org.apache.catalina.LifecycleException: A child container failed during start
    	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:948)
    	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    	... 11 more
     
    mars 30, 2019 6:55:31 PM org.apache.coyote.AbstractProtocol pause
    INFOS: Pausing ProtocolHandler ["http-nio-8080"]
    mars 30, 2019 6:55:31 PM org.apache.coyote.AbstractProtocol pause
    INFOS: Pausing ProtocolHandler ["ajp-nio-8009"]
    mars 30, 2019 6:55:31 PM org.apache.catalina.core.StandardService stopInternal
    INFOS: Arrêt du service [Catalina]
    mars 30, 2019 6:55:31 PM org.apache.coyote.AbstractProtocol destroy
    INFOS: Destroying ProtocolHandler ["http-nio-8080"]
    mars 30, 2019 6:55:31 PM org.apache.coyote.AbstractProtocol destroy
    INFOS: Destroying ProtocolHandler ["ajp-nio-8009"]
    - La communication consiste a comprendre celui qui ecoute !
    - Qui veut faire quelquechose trouve un moyen, qui ne veut rien faire trouve une excuse

  6. #6
    Membre chevronné
    salut,
    regardes si ta compilation level n´est pas a java 5

    Eric

  7. #7
    Membre actif
    C'est dans propriete -> java compiler
    Compiler compliance 1.8

    je viens d'enlever dans pom.xml Hibernate, j'ai plus de petit icone rouge sur le projet, mais le serveur ne démarre plus avec ce projet !(alors qu'il démarre avec d'autre)
    toujours le même log.
    - La communication consiste a comprendre celui qui ecoute !
    - Qui veut faire quelquechose trouve un moyen, qui ne veut rien faire trouve une excuse

  8. #8
    Membre chevronné
    salut,
    peux-tu m´envoyer le contenu de ta pom.xml ,
    ou comment est ce que tu actives Tomcat dans ta pom.xml.
    le point rouge, ou est ce qu´il pointe finalement.
    Code :Sélectionner tout -Visualiser dans une fenêtre à part
    1
    2
     
    Fais un click droit sur la pom.xml , run as -> maven build... -> goal: package install

    Eric

  9. #9
    Membre actif
    J'ai suivi ce post
    https://stackoverflow.com/questions/...tack-trace-whi

    arrêt de eclipse,
    vider le dossier \.metadata\.plugins\org.eclipse.core.resources
    redémarrer eclipse
    ajouter serveur
    ajouter projet.

    le serveur redémarre correctement, mais toujours le point rouge a la racine du projet.
    Voila le pom.xls
    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
    97
    98
    99
    100
    101
    102
    103
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns<img src="images/smilies/icon_mad.gif" border="0" alt="" title=":x" class="inlineimg" />si="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>cToric</groupId>
      <artifactId>cToric</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <packaging>war</packaging>
       <url>http://maven.apache.org</url>
       <name>cToric</name>
      <dependencies>
        <!-- Primefaces --> 
         <dependency>
           <groupId>org.primefaces</groupId>
           <artifactId>primefaces</artifactId>
           <version>6.2</version>
           <scope>provided</scope>
       </dependency>
       <!-- JSF 2 API -->
       <dependency>
           <groupId>com.sun.faces</groupId>
           <artifactId>jsf-api</artifactId>
           <version>2.2.18</version>
           <scope>provided</scope>
       </dependency>
       <dependency>
        	<groupId>com.sun.faces</groupId>
        	<artifactId>jsf-impl</artifactId>
        	<version>2.2.18</version>
       		<scope>provided</scope>
       </dependency>
       <dependency>
        <groupId>commons-logging</groupId>
        <artifactId>commons-logging</artifactId>
        <version>1.2</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>javax.servlet</groupId>
        <artifactId>servlet-api</artifactId>
        <version>2.5</version>
        <scope>provided</scope>
    </dependency>
       <dependency>
        	<groupId>javax.validation</groupId>
        	<artifactId>validation-api</artifactId>
        	<version>2.0.1.Final</version>
        	<scope>provided</scope>
    	</dependency>
    	<dependency>
        	<groupId>log4j</groupId>
        	<artifactId>log4j</artifactId>
        	<version>1.2.17</version>
        	<scope>provided</scope>
    	</dependency>
    	<dependency>
         <groupId>org.json</groupId>
         <artifactId>json</artifactId>
         <version>20180813</version>
         <scope>provided</scope>
    	</dependency>
       <!-- Hibernat et Database  -->
       <dependency>
        <groupId>org.hibernate</groupId>
        <artifactId>hibernate-core</artifactId>
        <version>5.4.2.Final</version>
    </dependency>
     
    	<dependency>
        	<groupId>mysql</groupId>
        	<artifactId>mysql-connector-java</artifactId>
        	<version>8.0.15</version>
     
    	</dependency>
     </dependencies>
     <repositories>
         <repository>
             <id>primefaces-repository</id>
             <name>Primefaces repository</name>
             <url>http://repository.primefaces.org</url>
         </repository>
     
     </repositories>
     
      <build>
        <sourceDirectory>src</sourceDirectory>
        <plugins>
          <plugin>
            <artifactId>maven-compiler-plugin</artifactId>
            <version>3.7.0</version>
            <configuration>
              <source>1.8</source>
              <target>1.8</target>
            </configuration>
          </plugin>
          <plugin>
            <artifactId>maven-war-plugin</artifactId>
            <version>3.0.0</version>
            <configuration>
              <warSourceDirectory>WebContent</warSourceDirectory>
            </configuration>
          </plugin>
        </plugins>
      </build>
    </project>
    - La communication consiste a comprendre celui qui ecoute !
    - Qui veut faire quelquechose trouve un moyen, qui ne veut rien faire trouve une excuse

  10. #10
    Membre chevronné
    Ce message n'a pas pu être affiché car il comporte des erreurs.

  11. #11
    Membre actif
    merci,
    je cherche comment le modifier.
    - La communication consiste a comprendre celui qui ecoute !
    - Qui veut faire quelquechose trouve un moyen, qui ne veut rien faire trouve une excuse

  12. #12
    Membre actif
    je ne vois pas ou je peux le changer !
    - La communication consiste a comprendre celui qui ecoute !
    - Qui veut faire quelquechose trouve un moyen, qui ne veut rien faire trouve une excuse

  13. ###raw>post.musername###
    Membre actif
    Ce message n'a pas pu être affiché car il comporte des erreurs.
      0  0

  14. #14
    Membre chevronné
    Salut,
    l´icone rouge est due probablement a la version de Java qui est activée dans le Projet Facets de ton projet.
    c´est sans doute encore a java 1.5

    Code :Sélectionner tout -Visualiser dans une fenêtre à part
    click droit sur ton projet -> properties --> projet facets -> voir quelle est la version de java qui est la bas.


    mais cela ne devrait gener en rien l´execution de ton projet.

    Eric

  15. #15
    Membre actif
    Salut,

    c'est en 1.8...

    des que j'attache un projet avec Maven, a mon serveur Tomcat8.5, j'ai
    GRAVE: A child container failed during start
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext

    Question, ou puis-je trouver un bon tuto(s)/cours sur l'environnement eclipse/Maven/tomcat/hibernate et a peu prés a jour ?

    Merci pour votre aide
    - La communication consiste a comprendre celui qui ecoute !
    - Qui veut faire quelquechose trouve un moyen, qui ne veut rien faire trouve une excuse

  16. #16
    Membre actif
    Bon, c'est pas maven,
    j'ai ce message pour chaque projet "Dynamic web project" que j'ajoute au serveur Tomcat.
    - La communication consiste a comprendre celui qui ecoute !
    - Qui veut faire quelquechose trouve un moyen, qui ne veut rien faire trouve une excuse

  17. #17
    Membre chevronné
    Salut,
    essaies ceci:

    - retire ton Serveur Tomcat d´eclipse si c´est possible
    - retire tout les projets presents dans tomcat et mets le encore dedans
    - ajoute ton serveur a eclipse
    - fait un clean et refresh du projet
    - et demarres tomcat en mode debug

    eric

  18. #18
    Membre actif
    Salut,

    merci pour ton message
    mais pareil.


    avr. 02, 2019 9:30:16 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
    AVERTISSEMENT: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:testFace' did not find a matching property.
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Server version: Apache Tomcat/8.5.28
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Server built: Feb 6 2018 23:10:25 UTC
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Server number: 8.5.28.0
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: OS Name: Windows 10
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: OS Version: 10.0
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Architecture: amd64
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Java Home: C:\Program Files\Java\jdk1.8.0_202\jre
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: JVM Version: 1.8.0_202-b08
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: JVM Vendor: Oracle Corporation
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: CATALINA_BASE: C:\Users\gitelr.CUTTING-EDGE\eclipse-workspace2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: CATALINA_HOME: C:\Program Files\Apache Software Foundation\Tomcat 8.5
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:53777
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Command line argument: -javaagent:C:\eclipse\jee-2019-03\eclipse\configuration\org.eclipse.osgi\409\0\.cp\lib\javaagent-shaded.jar
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Command line argument: -Dcatalina.base=C:\Users\gitelr.CUTTING-EDGE\eclipse-workspace2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Command line argument: -Dcatalina.home=C:\Program Files\Apache Software Foundation\Tomcat 8.5
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Command line argument: -Dwtp.deploy=C:\Users\gitelr.CUTTING-EDGE\eclipse-workspace2\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache Software Foundation\Tomcat 8.5\endorsed
    avr. 02, 2019 9:30:16 PM org.apache.catalina.startup.VersionLoggerListener log
    INFOS: Command line argument: -Dfile.encoding=Cp1252
    avr. 02, 2019 9:30:16 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
    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\jdk1.8.0_202\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Java\jdk1.8.0_202\jre\bin;C:/Program Files/Java/jdk1.8.0_202/bin/../jre/bin/server;C:/Program Files/Java/jdk1.8.0_202/bin/../jre/bin;C:/Program Files/Java/jdk1.8.0_202/bin/../jre/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\PuTTY\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\Tools\Binn\ManagementStudio\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Programs\apache-maven-3.6.0\bin;C:\Users\gitelr.CUTTING-EDGE\AppData\Local\Microsoft\WindowsApps;;C:\eclipse\jee-2019-03\eclipse;;.]
    avr. 02, 2019 9:30:17 PM org.apache.coyote.AbstractProtocol init
    INFOS: Initializing ProtocolHandler ["http-nio-8080"]
    avr. 02, 2019 9:30:17 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
    INFOS: Using a shared selector for servlet write/read
    avr. 02, 2019 9:30:17 PM org.apache.coyote.AbstractProtocol init
    INFOS: Initializing ProtocolHandler ["ajp-nio-8009"]
    avr. 02, 2019 9:30:17 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
    INFOS: Using a shared selector for servlet write/read
    avr. 02, 2019 9:30:17 PM org.apache.catalina.startup.Catalina load
    INFOS: Initialization processed in 989 ms
    avr. 02, 2019 9:30:17 PM org.apache.catalina.core.StandardService startInternal
    INFOS: Démarrage du service [Catalina]
    avr. 02, 2019 9:30:17 PM org.apache.catalina.core.StandardEngine startInternal
    INFOS: Starting Servlet Engine: Apache Tomcat/8.5.28
    avr. 02, 2019 9:30:18 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.
    avr. 02, 2019 9:30:20 PM org.apache.catalina.core.ContainerBase startInternal
    GRAVE: A child container failed during start
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/testFace]]
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:939)
    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/testFace]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
    ... 6 more
    Caused by: java.lang.NoClassDefFoundError: org/hibernate/service/ServiceRegistry
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:2583)
    at java.lang.Class.getDeclaredFields(Class.java:1916)
    at org.apache.catalina.util.Introspection.getDeclaredFields(Introspection.java:110)
    at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:267)
    at org.apache.catalina.startup.WebAnnotationSet.loadApplicationListenerAnnotations(WebAnnotationSet.java:87)
    at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:65)
    at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:328)
    at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:777)
    at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5113)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    ... 6 more
    Caused by: java.lang.ClassNotFoundException: org.hibernate.service.ServiceRegistry
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1291)
    at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
    ... 19 more

    avr. 02, 2019 9:30:20 PM org.apache.catalina.core.ContainerBase startInternal
    GRAVE: A child container failed during start
    java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:681)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
    at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
    Caused by: org.apache.catalina.LifecycleException: A child container failed during start
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:948)
    at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:872)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    ... 6 more

    avr. 02, 2019 9:30:20 PM org.apache.catalina.startup.Catalina start
    GRAVE: The required Server component failed to start so Tomcat is unable to start.
    org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:681)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
    at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:793)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    ... 7 more
    Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
    at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    ... 9 more
    Caused by: org.apache.catalina.LifecycleException: A child container failed during start
    at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:948)
    at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    ... 11 more

    avr. 02, 2019 9:30:20 PM org.apache.coyote.AbstractProtocol pause
    INFOS: Pausing ProtocolHandler ["http-nio-8080"]
    avr. 02, 2019 9:30:20 PM org.apache.coyote.AbstractProtocol pause
    INFOS: Pausing ProtocolHandler ["ajp-nio-8009"]
    avr. 02, 2019 9:30:20 PM org.apache.catalina.core.StandardService stopInternal
    INFOS: Arrêt du service [Catalina]
    avr. 02, 2019 9:30:20 PM org.apache.coyote.AbstractProtocol destroy
    INFOS: Destroying ProtocolHandler ["http-nio-8080"]
    avr. 02, 2019 9:30:20 PM org.apache.coyote.AbstractProtocol destroy
    INFOS: Destroying ProtocolHandler ["ajp-nio-8009"]
    avr. 02, 2019 9:30:20 PM org.apache.catalina.deploy.NamingResourcesImpl cleanUp
    AVERTISSEMENT: Failed to retrieve JNDI naming context for container [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/testFace]] so no cleanup was performed for that container
    javax.naming.NamingException: Aucun Contexte de nommage lié à ce chargeur de classes
    at org.apache.naming.ContextBindings.getClassLoader(ContextBindings.java:268)
    at org.apache.catalina.deploy.NamingResourcesImpl.cleanUp(NamingResourcesImpl.java:993)
    at org.apache.catalina.deploy.NamingResourcesImpl.stopInternal(NamingResourcesImpl.java:976)
    at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
    at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5451)
    at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226)
    at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:264)
    at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:854)
    at org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:1036)
    at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
    at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:854)
    at org.apache.catalina.core.ContainerBase.destroyInternal(ContainerBase.java:1036)
    at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
    at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:585)
    at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
    at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:883)
    at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:685)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:353)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:493)

    - La communication consiste a comprendre celui qui ecoute !
    - Qui veut faire quelquechose trouve un moyen, qui ne veut rien faire trouve une excuse

  19. #19
    Membre actif
    Apres plusieurs essais,
    ce qui a l'air de fonctionner c'est de mettre les jar dans le dossier lib du serveur Tomcat.

    c'est par terrible !
    - La communication consiste a comprendre celui qui ecoute !
    - Qui veut faire quelquechose trouve un moyen, qui ne veut rien faire trouve une excuse