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

Eclipse Java Discussion :

[Tomcat] Impossible de démarrer le serveur depuis Eclipse


Sujet :

Eclipse Java

  1. #1
    Membre à l'essai
    Profil pro
    Inscrit en
    Mai 2005
    Messages
    20
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Mai 2005
    Messages : 20
    Points : 15
    Points
    15
    Par défaut [Tomcat] Impossible de démarrer le serveur depuis Eclipse
    Bonjour,

    J'ai suivi ce tuto http://lfe.developpez.com/Java/TomCat/ mais j'arrive pas à lancer le serveur depuis eclipse.

    Voilà ma config :

    Plugin Eclipse : com.sysdeo.eclipse.tomcat_3.0.0
    Serveur Tomcat : jakarta-tomcat-5.5.9
    Java : jdk1.5.0_02 & jre1.5.0_02

    Voilà le message d'erreur quand je lance le serveur depuis Eclipse

    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
    31 mai 2005 05:51:04 org.apache.coyote.http11.Http11Protocol init
    INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
    31 mai 2005 05:51:04 org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 651 ms
    31 mai 2005 05:51:04 org.apache.catalina.core.StandardService start
    INFO: Démarrage du service Catalina
    31 mai 2005 05:51:04 org.apache.catalina.core.StandardEngine start
    INFO: Starting Servlet Engine: Apache Tomcat/5.5.9
    31 mai 2005 05:51:04 org.apache.catalina.core.StandardHost start
    INFO: XML validation disabled
    31 mai 2005 05:51:04 org.apache.tomcat.util.digester.Digester endElement
    GRAVE: End event threw exception
    java.lang.reflect.InvocationTargetException
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:585)
    	at org.apache.tomcat.util.IntrospectionUtils.callMethodN(IntrospectionUtils.java:921)
    	at org.apache.tomcat.util.digester.CallMethodRule.end(CallMethodRule.java:578)
    	at org.apache.tomcat.util.digester.Rule.end(Rule.java:228)
    	at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1057)
    	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    	at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
    	at org.apache.catalina.startup.ContextConfig.processDefaultWebConfig(ContextConfig.java:673)
    	at org.apache.catalina.startup.ContextConfig.defaultWebConfig(ContextConfig.java:610)
    	at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1030)
    	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:255)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4053)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
    	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
    	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
    	at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:585)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Caused by: java.lang.IllegalArgumentException: L'association de servlet (servlet mapping) indique un nom de servlet inconnu invoker
    	at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2238)
    	at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2218)
    	... 36 more
     
    ....
     
    	... 44 more
    31 mai 2005 05:51:04 org.apache.catalina.startup.ContextConfig processDefaultWebConfig
    GRAVE: Erreur d'évaluation (parse) dans le fichier web.xml par défaut
    java.lang.IllegalArgumentException: L'association de servlet (servlet mapping) indique un nom de servlet inconnu invoker
    	at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2719)
    	at org.apache.tomcat.util.digester.Digester.createSAXException(Digester.java:2745)
    	at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1060)
    	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1241)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
    	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368)
    	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834)
    	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764)
    	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    	at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242)
    	at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
    	at org.apache.catalina.startup.ContextConfig.processDefaultWebConfig(ContextConfig.java:673)
    	at org.apache.catalina.startup.ContextConfig.defaultWebConfig(ContextConfig.java:610)
    	at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1030)
    	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:255)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4053)
    	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
    	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
    	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
    	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:894)
    	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:857)
    	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
    	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
    	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
    	at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
    	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
    	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
    	at org.apache.catalina.core.StandardService.start(StandardService.java:450)
    	at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
    	at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
    	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    	at java.lang.reflect.Method.invoke(Method.java:585)
    	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
    	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    31 mai 2005 05:51:04 org.apache.catalina.startup.ContextConfig processDefaultWebConfig
    GRAVE: S'est produite à la ligne 326 colonne 23
    31 mai 2005 05:51:04 org.apache.catalina.startup.ContextConfig start
    GRAVE: Cette application est marquée comme non disponible suite aux erreurs précédentes
    31 mai 2005 05:51:04 org.apache.catalina.core.StandardContext start
    GRAVE: Error getConfigured
    31 mai 2005 05:51:04 org.apache.catalina.core.StandardContext start
    GRAVE: Erreur de démarrage du contexte [/tomcat-docs] suite aux erreurs précédentes
    31 mai 2005 05:51:04 org.apache.coyote.http11.Http11Protocol start
    INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
    31 mai 2005 05:51:04 org.apache.jk.common.ChannelSocket init
    INFO: JK: ajp13 listening on /0.0.0.0:8009
    31 mai 2005 05:51:04 org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/120  config=null
    31 mai 2005 05:51:04 org.apache.catalina.storeconfig.StoreLoader load
    INFO: Find registry server-registry.xml at classpath resource
    31 mai 2005 05:51:04 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 781 ms
    Je comprend pas ce que j'ai fait faux, j'ai suivi le tuto à la lettre quelqu'un pourrait maider?

    merci

  2. #2
    Futur Membre du Club
    Profil pro
    Inscrit en
    Mai 2005
    Messages
    5
    Détails du profil
    Informations personnelles :
    Localisation : Canada

    Informations forums :
    Inscription : Mai 2005
    Messages : 5
    Points : 6
    Points
    6
    Par défaut
    Est ce que tu as configurer le plugin dans les propriétés?
    Si oui, l'erreur peut venir de la version du jdk 1.5, essaye avec 1.4.*

    Voilà.

  3. #3
    Membre éclairé Avatar de BizuR
    Profil pro
    Inscrit en
    Mai 2005
    Messages
    688
    Détails du profil
    Informations personnelles :
    Âge : 41
    Localisation : France

    Informations forums :
    Inscription : Mai 2005
    Messages : 688
    Points : 757
    Points
    757
    Par défaut
    ca ne peut pas venir de la 1.5.0, tomcat version superieures a 5 n'est compatibles qu'avec la jvm 1.5.0 ...

    par contre je ne sais pas configuré ce plugin, je n'e ai pas encore l'expérience, mais ca viendra un jour (sous peu je pense) donc je suis de près ces posts
    See you, space cowboy... and if you're satisfied, click on

  4. #4
    Membre à l'essai
    Profil pro
    Inscrit en
    Mai 2005
    Messages
    20
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Mai 2005
    Messages : 20
    Points : 15
    Points
    15
    Par défaut
    Oui j'ai bien configuré le plugin en fait j'ai remarqué une chose assez spécial lorsrque je décommente

    <!--
    <servlet-mapping>
    <servlet-name>invoker</servlet-name>
    <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>
    -->

    Le server tomcat 5.5.9 ne fonctionne pas mais si je le laisse commenté ca marche mais je ne peux plus lancer la servlet... que faire?

    Sinon j'ai trouvé une autre solution j'utilise jakarta-tomcat-4.1.31 et ca marche!! Mais le problème c'est que je veux faire marcher un ancien projet, un caddie virtuel mais je sais pas ou placer le fichier XSL, le tools.jar et jdom.jar

    je sais pas quelqu'un pourrait m'aideR?

    Mais j'ai l'impression que c'est un peu compliqué tomcat sous Eclipse sur d'autres EDI c'est plus simple?

  5. #5
    Futur Membre du Club
    Inscrit en
    Mai 2005
    Messages
    13
    Détails du profil
    Informations forums :
    Inscription : Mai 2005
    Messages : 13
    Points : 7
    Points
    7
    Par défaut
    Pour ma part, j'utilise le J2sdk1.4.2_08 car je développe en doja (java pour i-mode) et surtout le fait que l'émulateur doja est incompatible avec l'environnement java 1.5. Donc j'utilise un tomcat 5.0.28, que je lance à la main.
    Je développe sous eclipse, je compile/lance mon doja dans l'émulateur et lance mon tomcat (bin\startup.bat).

    C'est un peu lourd, mais ça marche.

  6. #6
    Membre à l'essai
    Profil pro
    Inscrit en
    Mai 2005
    Messages
    20
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Mai 2005
    Messages : 20
    Points : 15
    Points
    15
    Par défaut
    C'est très lourd beber69 en ligne de commande tu irais plus vites je penses et avec un éditeur comme notepad2 ou JCreator

  7. #7
    Futur Membre du Club
    Profil pro
    Inscrit en
    Mai 2005
    Messages
    9
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2005
    Messages : 9
    Points : 6
    Points
    6
    Par défaut
    ca ne peut pas venir de la 1.5.0, tomcat version superieures a 5 n'est compatibles qu'avec la jvm 1.5.0 ...
    Ce n'est pas tout à fait exact :
    Tomcat 5.x fonctionne avec la Jdk 1.5, mais il existe une sorte de patch que l'on rajoute à Tomcat pour travaillé avec la Jdk 1.4 !
    Pour la version 5.5.9 de Tomcat, il suffit de télécharger ce fichier "jakarta-tomcat-5.5.9-compat.zip" ici :

    http://jakarta.apache.org/site/downl...s_tomcat-5.cgi

    il suffit ensuite de placer les dossiers "bin" et "common" que l'on trouve dans l'archive, dans le répertoire d'installation de tomcat.

    voilà...

  8. #8
    Futur Membre du Club
    Profil pro
    Inscrit en
    Mai 2005
    Messages
    9
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2005
    Messages : 9
    Points : 6
    Points
    6
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    31 mai 2005 05:51:04 org.apache.catalina.startup.ContextConfig processDefaultWebConfig
    GRAVE: Erreur d'évaluation (parse) dans le fichier web.xml par défaut
    java.lang.IllegalArgumentException: L'association de servlet (servlet mapping) indique un nom de servlet inconnu invoker
    En regardant d'un peu plus près le message d'erreur, il y a le texte en dessus qui me semble important !!!

    Il te dit qu'il ne trouve pas la servlet de nom "invoker"..

    Est ce que tu pourrais nous mettre le contenu de ton fichier web.xml ici stp ?

    Pour déclarer une servlet, il y a deux blocs important à mettre à l'intérieur des balises <web-app> de ton fichier web.xml.

    Par exemple :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    <servlet>
          <servlet-name>invoker</servlet-name>
          <description>blablablablablblaaaaa</description>
          <servlet-class>le.nom.entier.de.ta.classe</servlet-class>
    </servlet>
    <servlet-class> a pour valeur le nom de ta "classe servlet" (en incluant le nom des packages). Par exemple, pour une classe Toto qui appartient au package titi.tutu, <servlet-class> aura pour valeur : titi.tutu.Toto

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    <servlet-mapping>
          <servlet-name>invoker</servlet-name>
          <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>

    Donc mets-nous ton fichier web.xml pour voir s'il est correct...

    je ne dis pas que ton erreur vient de là, mais je pense très fortement que c'est possible

  9. #9
    Membre à l'essai
    Profil pro
    Inscrit en
    Mai 2005
    Messages
    20
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Mai 2005
    Messages : 20
    Points : 15
    Points
    15
    Par défaut
    Rien à faire le serveur tomcat 5.5.9 ne fonctionne pas pourtant le 4.1.X fonctionne je ne comprend pas ...

    Voilà ce que j'ai dans web.xml (du projet TestTomCat) :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
     
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> 
    <web-app> 
    	<display-name>TestTomcat</display-name> 
    	<servlet> 
    		<servlet-name>Test</servlet-name> 
    		<servlet-class>com.developpez.tomcat.Test</servlet-class> 
    	</servlet> 
    	<servlet-mapping> 
    		<servlet-name>Test</servlet-name> 
    		<url-pattern>/Test</url-pattern> 
    	</servlet-mapping> 
    </web-app>
    J'utilise JDK 5.0

    Faut m'exlipquer là moi il y en a pas tout comprendre pourquoi un serveur 4.1 et un 5.5 ne marche pas? que faut-il faire en plus?


    [/code]

  10. #10
    Futur Membre du Club
    Profil pro
    Inscrit en
    Mai 2005
    Messages
    9
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2005
    Messages : 9
    Points : 6
    Points
    6
    Par défaut
    je parlais de ton fichier web.xml où il avait :

    <servlet-mapping>
    <servlet-name>invoker</servlet-name>
    <url-pattern>/servlet/*</url-pattern>
    </servlet-mapping>

    mets le entier...

  11. #11
    Membre à l'essai
    Profil pro
    Inscrit en
    Mai 2005
    Messages
    20
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Mai 2005
    Messages : 20
    Points : 15
    Points
    15
    Par défaut
    Ah désolé

    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
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    380
    381
    382
    383
    384
    385
    386
    387
    388
    389
    390
    391
    392
    393
    394
    395
    396
    397
    398
    399
    400
    401
    402
    403
    404
    405
    406
    407
    408
    409
    410
    411
    412
    413
    414
    415
    416
    417
    418
    419
    420
    421
    422
    423
    424
    425
    426
    427
    428
    429
    430
    431
    432
    433
    434
    435
    436
    437
    438
    439
    440
    441
    442
    443
    444
    445
    446
    447
    448
    449
    450
    451
    452
    453
    454
    455
    456
    457
    458
    459
    460
    461
    462
    463
    464
    465
    466
    467
    468
    469
    470
    471
    472
    473
    474
    475
    476
    477
    478
    479
    480
    481
    482
    483
    484
    485
    486
    487
    488
    489
    490
    491
    492
    493
    494
    495
    496
    497
    498
    499
    500
    501
    502
    503
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
    515
    516
    517
    518
    519
    520
    521
    522
    523
    524
    525
    526
    527
    528
    529
    530
    531
    532
    533
    534
    535
    536
    537
    538
    539
    540
    541
    542
    543
    544
    545
    546
    547
    548
    549
    550
    551
    552
    553
    554
    555
    556
    557
    558
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
    570
    571
    572
    573
    574
    575
    576
    577
    578
    579
    580
    581
    582
    583
    584
    585
    586
    587
    588
    589
    590
    591
    592
    593
    594
    595
    596
    597
    598
    599
    600
    601
    602
    603
    604
    605
    606
    607
    608
    609
    610
    611
    612
    613
    614
    615
    616
    617
    618
    619
    620
    621
    622
    623
    624
    625
    626
    627
    628
    629
    630
    631
    632
    633
    634
    635
    636
    637
    638
    639
    640
    641
    642
    643
    644
    645
    646
    647
    648
    649
    650
    651
    652
    653
    654
    655
    656
    657
    658
    659
    660
    661
    662
    663
    664
    665
    666
    667
    668
    669
    670
    671
    672
    673
    674
    675
    676
    677
    678
    679
    680
    681
    682
    683
    684
    685
    686
    687
    688
    689
    690
    691
    692
    693
    694
    695
    696
    697
    698
    699
    700
    701
    702
    703
    704
    705
    706
    707
    708
    709
    710
    711
    712
    713
    714
    715
    716
    717
    718
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
    730
    731
    732
    733
    734
    735
    736
    737
    738
    739
    740
    741
    742
    743
    744
    745
    746
    747
    748
    749
    750
    751
    752
    753
    754
    755
    756
    757
    758
    759
    760
    761
    762
    763
    764
    765
    766
    767
    768
    769
    770
    771
    772
    773
    774
    775
    776
    777
    778
    779
    780
    781
    782
    783
    784
    785
    786
    787
    788
    789
    790
    791
    792
    793
    794
    795
    796
    797
    798
    799
    800
    801
    802
    803
    804
    805
    806
    807
    808
    809
    810
    811
    812
    813
    814
    815
    816
    817
    818
    819
    820
    821
    822
    823
    824
    825
    826
    827
    828
    829
    830
    831
    832
    833
    834
    835
    836
    837
    838
    839
    840
    841
    842
    843
    844
    845
    846
    847
    848
    849
    850
    851
    852
    853
    854
    855
    856
    857
    858
    859
    860
    861
    862
    863
    864
    865
    866
    867
    868
    869
    870
    871
    872
    873
    874
    875
    876
    877
    878
    879
    880
    881
    882
    883
    884
    885
    886
    887
    888
    889
    890
    891
    892
    893
    894
    895
    896
    897
    898
    899
    900
    901
    902
    903
    904
    905
    906
    907
    908
    909
    910
    911
    912
    913
    914
    915
    916
    917
    918
    919
    920
    921
    922
    923
    924
    925
    926
    927
    928
    929
    930
    931
    932
    933
    934
    935
    936
    937
    938
    939
    940
    941
    942
    943
    944
    945
    946
    947
    948
    949
    950
    951
    952
    953
    954
    955
    956
    957
    958
    959
    960
    961
    962
    963
    964
    965
    966
    967
    968
    969
    970
    971
    972
    973
    974
    975
    976
    977
    978
    979
    980
     
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
        version="2.4">
     
      <!-- ======================== Introduction ============================== -->
      <!-- This document defines default values for *all* web applications      -->
      <!-- loaded into this instance of Tomcat.  As each application is         -->
      <!-- deployed, this file is processed, followed by the                    -->
      <!-- "/WEB-INF/web.xml" deployment descriptor from your own               -->
      <!-- applications.                                                        -->
      <!--                                                                      -->
      <!-- WARNING:  Do not configure application-specific resources here!      -->
      <!-- They should go in the "/WEB-INF/web.xml" file in your application.   -->
     
     
      <!-- ================== Built In Servlet Definitions ==================== -->
     
     
      <!-- The default servlet for all web applications, that serves static     -->
      <!-- resources.  It processes all requests that are not mapped to other   -->
      <!-- servlets with servlet mappings (defined either here or in your own   -->
      <!-- web.xml file.  This servlet supports the following initialization    -->
      <!-- parameters (default values are in square brackets):                  -->
      <!--                                                                      -->
      <!--   debug               Debugging detail level for messages logged     -->
      <!--                       by this servlet.  [0]                          -->
      <!--                                                                      -->
      <!--   fileEncoding        Encoding to be used to read static resources   -->
      <!--                       [platform default]                             -->
      <!--                                                                      -->
      <!--   input               Input buffer size (in bytes) when reading      -->
      <!--                       resources to be served.  [2048]                -->
      <!--                                                                      -->
      <!--   listings            Should directory listings be produced if there -->
      <!--                       is no welcome file in this directory?  [true]  -->
      <!--                                                                      -->
      <!--   output              Output buffer size (in bytes) when writing     -->
      <!--                       resources to be served.  [2048]                -->
      <!--                                                                      -->
      <!--   readonly            Is this context "read only", so HTTP           -->
      <!--                       commands like PUT and DELETE are               -->
      <!--                       rejected?  [true]                              -->
      <!--                                                                      -->
      <!--   readmeFile          File name to display with the directory        -->
      <!--                       contents. [null]                               -->
      <!--                                                                      -->
      <!--  For directory listing customization. Checks localXsltFile, then     -->
      <!--  globalXsltFile, then defaults to original behavior.                 -->
      <!--                                                                      -->
      <!--   localXsltFile       Make directory listings an XML doc and         -->
      <!--                       pass the result to this style sheet residing   -->
      <!--                       in that directory. This overrides              -->
      <!--                        globalXsltFile[null]                          -->
      <!--                                                                      -->
      <!--   globalXsltFile      Site wide configuration version of             -->
      <!--                       localXsltFile This argument is expected        -->
      <!--                       to be a physical file. [null]                  -->
      <!--                                                                      -->
      <!--                                                                      -->
     
        <servlet>
            <servlet-name>default</servlet-name>
            <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
            <init-param>
                <param-name>debug</param-name>
                <param-value>0</param-value>
            </init-param>
            <init-param>
                <param-name>listings</param-name>
                <param-value>true</param-value>
            </init-param>
            <load-on-startup>1</load-on-startup>
        </servlet>
     
     
      <!-- The "invoker" servlet, which executes anonymous servlet classes      -->
      <!-- that have not been defined in a web.xml file.  Traditionally, this   -->
      <!-- servlet is mapped to the URL pattern "/servlet/*", but you can map   -->
      <!-- it to other patterns as well.  The extra path info portion of such a -->
      <!-- request must be the fully qualified class name of a Java class that  -->
      <!-- implements Servlet (or extends HttpServlet), or the servlet name     -->
      <!-- of an existing servlet definition.     This servlet supports the     -->
      <!-- following initialization parameters (default values are in square    -->
      <!-- brackets):                                                           -->
      <!--                                                                      -->
      <!--   debug               Debugging detail level for messages logged     -->
      <!--                       by this servlet.  [0]                          -->
     
    <!--
        <servlet>
            <servlet-name>invoker</servlet-name>
            <servlet-class>
              org.apache.catalina.servlets.InvokerServlet
            </servlet-class>
            <init-param>
                <param-name>debug</param-name>
                <param-value>0</param-value>
            </init-param>
            <load-on-startup>2</load-on-startup>
        </servlet>
    -->
     
     
      <!-- The JSP page compiler and execution servlet, which is the mechanism  -->
      <!-- used by Tomcat to support JSP pages.  Traditionally, this servlet    -->
      <!-- is mapped to the URL pattern "*.jsp".  This servlet supports the     -->
      <!-- following initialization parameters (default values are in square    -->
      <!-- brackets):                                                           -->
      <!--                                                                      -->
      <!--   checkInterval       If development is false and checkInterval is   -->
      <!--                       greater than zero, background compilations are -->
      <!--                       enabled. checkInterval is the time in seconds  -->
      <!--                       between checks to see if a JSP page needs to   -->
      <!--                       be recompiled. [0]                             -->
      <!--                                                                      -->
      <!--   modificationTestInterval                                           -->
      <!--                       Causes a JSP (and its dependent files) to not  -->
      <!--                       be checked for modification during the         -->
      <!--                       specified time interval (in seconds) from the  -->
      <!--                       last time the JSP was checked for              -->
      <!--                       modification. A value of 0 will cause the JSP  -->
      <!--                       to be checked on every access.                 -->
      <!--                       Used in development mode only. [4]             -->
      <!--                                                                      -->
      <!--   compiler            Which compiler Ant should use to compile JSP   -->
      <!--                       pages.  See the Ant documentation for more     -->
      <!--                       information. [javac]                           -->
      <!--                                                                      -->
      <!--   classdebuginfo      Should the class file be compiled with         -->
      <!--                       debugging information?  [true]                 -->
      <!--                                                                      -->
      <!--   classpath           What class path should I use while compiling   -->
      <!--                       generated servlets?  [Created dynamically      -->
      <!--                       based on the current web application]          -->
      <!--                                                                      -->
      <!--   development         Is Jasper used in development mode? If true,   -->
      <!--                       the frequency at which JSPs are checked for    -->
      <!--                       modification may be specified via the          -->
      <!--                       modificationTestInterval parameter. [true]     -->
      <!--                                                                      -->
      <!--   enablePooling       Determines whether tag handler pooling is      -->
      <!--                       enabled  [true]                                -->
      <!--                                                                      -->
      <!--   fork                Tell Ant to fork compiles of JSP pages so that -->
      <!--                       a separate JVM is used for JSP page compiles   -->
      <!--                       from the one Tomcat is running in. [true]      -->
      <!--                                                                      -->
      <!--   ieClassId           The class-id value to be sent to Internet      -->
      <!--                       Explorer when using <jsp:plugin> tags.         -->
      <!--                       [clsid:8AD9C840-044E-11D1-B3E9-00805F499D93]   -->
      <!--                                                                      -->
      <!--   javaEncoding        Java file encoding to use for generating java  -->
      <!--                       source files. [UTF8]                           -->
      <!--                                                                      -->
      <!--   keepgenerated       Should we keep the generated Java source code  -->
      <!--                       for each page instead of deleting it? [true]   -->
      <!--                                                                      -->
      <!--   mappedfile          Should we generate static content with one     -->
      <!--                       print statement per input line, to ease        -->
      <!--                       debugging?  [true]                             -->
      <!--                                                                      -->
      <!--   trimSpaces          Should white spaces in template text between   -->
      <!--                       actions or directives be trimmed?  [false]     -->
      <!--                                                                      -->
      <!--   suppressSmap        Should the generation of SMAP info for JSR45   -->
      <!--                       debugging be suppressed?  [false]              -->
      <!--                                                                      -->
      <!--   dumpSmap            Should the SMAP info for JSR45 debugging be    -->
      <!--                       dumped to a file? [false]                      -->
      <!--                       False if suppressSmap is true                  -->
      <!--                                                                      -->
      <!--   genStrAsCharArray   Should text strings be generated as char       -->
      <!--                       arrays, to improve performance in some cases?  -->
      <!--                       [false]                                        -->
      <!--                                                                      -->
      <!--   errorOnUseBeanInvalidClassAttribute                                -->
      <!--                       Should Jasper issue an error when the value of -->
      <!--                       the class attribute in an useBean action is    -->
      <!--                       not a valid bean class?  [true]                -->
      <!--                                                                      -->
      <!--   scratchdir          What scratch directory should we use when      -->
      <!--                       compiling JSP pages?  [default work directory  -->
      <!--                       for the current web application]               -->
      <!--                                                                      -->
      <!--   xpoweredBy          Determines whether X-Powered-By response       -->
      <!--                       header is added by generated servlet  [false]  -->
      <!--                                                                      -->
      <!-- If you wish to use Jikes to compile JSP pages:                       -->
      <!--   Please see the "Using Jikes" section of the Jasper-HowTo           -->
      <!--   page in the Tomcat documentation.                                  -->
     
        <servlet>
            <servlet-name>jsp</servlet-name>
            <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
            <init-param>
                <param-name>fork</param-name>
                <param-value>false</param-value>
            </init-param>
            <init-param>
                <param-name>xpoweredBy</param-name>
                <param-value>false</param-value>
            </init-param>
            <load-on-startup>3</load-on-startup>
        </servlet>
     
     
      <!-- Server Side Includes processing servlet, which processes SSI         -->
      <!-- directives in HTML pages consistent with similar support in web      -->
      <!-- servers like Apache.  Traditionally, this servlet is mapped to the   -->
      <!-- URL pattern "*.shtml".  This servlet supports the following          -->
      <!-- initialization parameters (default values are in square brackets):   -->
      <!--                                                                      -->
      <!--   buffered            Should output from this servlet be buffered?   -->
      <!--                       (0=false, 1=true)  [0]                         -->
      <!--                                                                      -->
      <!--   debug               Debugging detail level for messages logged     -->
      <!--                       by this servlet.  [0]                          -->
      <!--                                                                      -->
      <!--   expires             The number of seconds before a page with SSI   -->
      <!--                       directives will expire.  [No default]          -->
      <!--                                                                      -->
      <!--   isVirtualWebappRelative                                            -->
      <!--                       Should "virtual" paths be interpreted as       -->
      <!--                       relative to the context root, instead of       -->
      <!--                       the server root?  (0=false, 1=true) [0]        -->
      <!--                                                                      -->
      <!--                                                                      -->
      <!-- IMPORTANT: To use the SSI servlet, you also need to rename the       -->
      <!--            $CATALINA_HOME/server/lib/servlets-ssi.renametojar file   -->
      <!--            to $CATALINA_HOME/server/lib/servlets-ssi.jar             -->
     
    <!--
        <servlet>
            <servlet-name>ssi</servlet-name>
            <servlet-class>
              org.apache.catalina.ssi.SSIServlet
            </servlet-class>
            <init-param>
              <param-name>buffered</param-name>
              <param-value>1</param-value>
            </init-param>
            <init-param>
              <param-name>debug</param-name>
              <param-value>0</param-value>
            </init-param>
            <init-param>
              <param-name>expires</param-name>
              <param-value>666</param-value>
            </init-param>
            <init-param>
              <param-name>isVirtualWebappRelative</param-name>
              <param-value>0</param-value>
            </init-param>
            <load-on-startup>4</load-on-startup>
        </servlet>
    -->
     
     
      <!-- Common Gateway Includes (CGI) processing servlet, which supports     -->
      <!-- execution of external applications that conform to the CGI spec      -->
      <!-- requirements.  Typically, this servlet is mapped to the URL pattern  -->
      <!-- "/cgi-bin/*", which means that any CGI applications that are         -->
      <!-- executed must be present within the web application.  This servlet   -->
      <!-- supports the following initialization parameters (default values     -->
      <!-- are in square brackets):                                             -->
      <!--                                                                      -->
      <!--   cgiPathPrefix        The CGI search path will start at             -->
      <!--                        webAppRootDir + File.separator + this prefix. -->
      <!--                        [WEB-INF/cgi]                                 -->
      <!--                                                                      -->
      <!--   debug                Debugging detail level for messages logged    -->
      <!--                        by this servlet.  [0]                         -->
      <!--                                                                      -->
      <!--   executable           Name of the exectuable used to run the        -->
      <!--                        script. [perl]                                -->
      <!--                                                                      -->
      <!--   parameterEncoding    Name of parameter encoding to be used with    -->
      <!--                        CGI servlet.                                  -->
      <!--                        [System.getProperty("file.encoding","UTF-8")] -->
      <!--                                                                      -->
      <!--   passShellEnvironment Should the shell environment variables (if    -->
      <!--                        any) be passed to the CGI script? [false]     -->
      <!--                                                                      -->
      <!-- IMPORTANT: To use the CGI servlet, you also need to rename the       -->
      <!--            $CATALINA_HOME/server/lib/servlets-cgi.renametojar file   -->
      <!--            to $CATALINA_HOME/server/lib/servlets-cgi.jar             -->
     
    <!--
        <servlet>
            <servlet-name>cgi</servlet-name>
            <servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
            <init-param>
              <param-name>debug</param-name>
              <param-value>6</param-value>
            </init-param>
            <init-param>
              <param-name>cgiPathPrefix</param-name>
              <param-value>WEB-INF/cgi</param-value>
            </init-param>
             <load-on-startup>5</load-on-startup>
        </servlet>
    -->
     
     
      <!-- ================ Built In Servlet Mappings ========================= -->
     
     
      <!-- The servlet mappings for the built in servlets defined above.  Note  -->
      <!-- that, by default, the CGI and SSI servlets are *not* mapped.  You    -->
      <!-- must uncomment these mappings (or add them to your application's own -->
      <!-- web.xml deployment descriptor) to enable these services              -->
     
        <!-- The mapping for the default servlet -->
        <servlet-mapping>
            <servlet-name>default</servlet-name>
            <url-pattern>/</url-pattern>
        </servlet-mapping>
     
        <!-- The mapping for the invoker servlet -->
     
        <servlet-mapping>
            <servlet-name>invoker</servlet-name>
            <url-pattern>/servlet/*</url-pattern>
        </servlet-mapping>
     
     
        <!-- The mapping for the JSP servlet -->
        <servlet-mapping>
            <servlet-name>jsp</servlet-name>
            <url-pattern>*.jsp</url-pattern>
        </servlet-mapping>
     
        <servlet-mapping>
            <servlet-name>jsp</servlet-name>
            <url-pattern>*.jspx</url-pattern>
        </servlet-mapping>
     
        <!-- The mapping for the SSI servlet -->
    <!--
        <servlet-mapping>
            <servlet-name>ssi</servlet-name>
            <url-pattern>*.shtml</url-pattern>
        </servlet-mapping>
    -->
     
        <!-- The mapping for the CGI Gateway servlet -->
     
    <!--
        <servlet-mapping>
            <servlet-name>cgi</servlet-name>
            <url-pattern>/cgi-bin/*</url-pattern>
        </servlet-mapping>
    -->
     
     
      <!-- ==================== Default Session Configuration ================= -->
      <!-- You can set the default session timeout (in minutes) for all newly   -->
      <!-- created sessions by modifying the value below.                       -->
     
        <session-config>
            <session-timeout>30</session-timeout>
        </session-config>
     
     
      <!-- ===================== Default MIME Type Mappings =================== -->
      <!-- When serving static resources, Tomcat will automatically generate    -->
      <!-- a "Content-Type" header based on the resource's filename extension,  -->
      <!-- based on these mappings.  Additional mappings can be added here (to  -->
      <!-- apply to all web applications), or in your own application's web.xml -->
      <!-- deployment descriptor.                                               -->
     
        <mime-mapping>
            <extension>abs</extension>
            <mime-type>audio/x-mpeg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>ai</extension>
            <mime-type>application/postscript</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>aif</extension>
            <mime-type>audio/x-aiff</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>aifc</extension>
            <mime-type>audio/x-aiff</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>aiff</extension>
            <mime-type>audio/x-aiff</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>aim</extension>
            <mime-type>application/x-aim</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>art</extension>
            <mime-type>image/x-jg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>asf</extension>
            <mime-type>video/x-ms-asf</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>asx</extension>
            <mime-type>video/x-ms-asf</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>au</extension>
            <mime-type>audio/basic</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>avi</extension>
            <mime-type>video/x-msvideo</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>avx</extension>
            <mime-type>video/x-rad-screenplay</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>bcpio</extension>
            <mime-type>application/x-bcpio</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>bin</extension>
            <mime-type>application/octet-stream</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>bmp</extension>
            <mime-type>image/bmp</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>body</extension>
            <mime-type>text/html</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>cdf</extension>
            <mime-type>application/x-cdf</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>cer</extension>
            <mime-type>application/x-x509-ca-cert</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>class</extension>
            <mime-type>application/java</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>cpio</extension>
            <mime-type>application/x-cpio</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>csh</extension>
            <mime-type>application/x-csh</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>css</extension>
            <mime-type>text/css</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>dib</extension>
            <mime-type>image/bmp</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>doc</extension>
            <mime-type>application/msword</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>dtd</extension>
            <mime-type>application/xml-dtd</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>dv</extension>
            <mime-type>video/x-dv</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>dvi</extension>
            <mime-type>application/x-dvi</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>eps</extension>
            <mime-type>application/postscript</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>etx</extension>
            <mime-type>text/x-setext</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>exe</extension>
            <mime-type>application/octet-stream</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>gif</extension>
            <mime-type>image/gif</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>gtar</extension>
            <mime-type>application/x-gtar</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>gz</extension>
            <mime-type>application/x-gzip</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>hdf</extension>
            <mime-type>application/x-hdf</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>hqx</extension>
            <mime-type>application/mac-binhex40</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>htc</extension>
            <mime-type>text/x-component</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>htm</extension>
            <mime-type>text/html</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>html</extension>
            <mime-type>text/html</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>hqx</extension>
            <mime-type>application/mac-binhex40</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>ief</extension>
            <mime-type>image/ief</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>jad</extension>
            <mime-type>text/vnd.sun.j2me.app-descriptor</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>jar</extension>
            <mime-type>application/java-archive</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>java</extension>
            <mime-type>text/plain</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>jnlp</extension>
            <mime-type>application/x-java-jnlp-file</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>jpe</extension>
            <mime-type>image/jpeg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>jpeg</extension>
            <mime-type>image/jpeg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>jpg</extension>
            <mime-type>image/jpeg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>js</extension>
            <mime-type>text/javascript</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>jsf</extension>
            <mime-type>text/plain</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>jspf</extension>
            <mime-type>text/plain</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>kar</extension>
            <mime-type>audio/x-midi</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>latex</extension>
            <mime-type>application/x-latex</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>m3u</extension>
            <mime-type>audio/x-mpegurl</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mac</extension>
            <mime-type>image/x-macpaint</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>man</extension>
            <mime-type>application/x-troff-man</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mathml</extension>
            <mime-type>application/mathml+xml</mime-type> 
        </mime-mapping>
        <mime-mapping>
            <extension>me</extension>
            <mime-type>application/x-troff-me</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mid</extension>
            <mime-type>audio/x-midi</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>midi</extension>
            <mime-type>audio/x-midi</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mif</extension>
            <mime-type>application/x-mif</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mov</extension>
            <mime-type>video/quicktime</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>movie</extension>
            <mime-type>video/x-sgi-movie</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mp1</extension>
            <mime-type>audio/x-mpeg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mp2</extension>
            <mime-type>audio/x-mpeg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mp3</extension>
            <mime-type>audio/x-mpeg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mpa</extension>
            <mime-type>audio/x-mpeg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mpe</extension>
            <mime-type>video/mpeg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mpeg</extension>
            <mime-type>video/mpeg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mpega</extension>
            <mime-type>audio/x-mpeg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mpg</extension>
            <mime-type>video/mpeg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>mpv2</extension>
            <mime-type>video/mpeg2</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>ms</extension>
            <mime-type>application/x-wais-source</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>nc</extension>
            <mime-type>application/x-netcdf</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>oda</extension>
            <mime-type>application/oda</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>ogg</extension>
            <mime-type>application/ogg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>pbm</extension>
            <mime-type>image/x-portable-bitmap</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>pct</extension>
            <mime-type>image/pict</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>pdf</extension>
            <mime-type>application/pdf</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>pgm</extension>
            <mime-type>image/x-portable-graymap</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>pic</extension>
            <mime-type>image/pict</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>pict</extension>
            <mime-type>image/pict</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>pls</extension>
            <mime-type>audio/x-scpls</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>png</extension>
            <mime-type>image/png</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>pnm</extension>
            <mime-type>image/x-portable-anymap</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>pnt</extension>
            <mime-type>image/x-macpaint</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>ppm</extension>
            <mime-type>image/x-portable-pixmap</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>ppt</extension>
            <mime-type>application/powerpoint</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>ps</extension>
            <mime-type>application/postscript</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>psd</extension>
            <mime-type>image/x-photoshop</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>qt</extension>
            <mime-type>video/quicktime</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>qti</extension>
            <mime-type>image/x-quicktime</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>qtif</extension>
            <mime-type>image/x-quicktime</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>ras</extension>
            <mime-type>image/x-cmu-raster</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>rdf</extension>
            <mime-type>application/rdf+xml</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>rgb</extension>
            <mime-type>image/x-rgb</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>rm</extension>
            <mime-type>application/vnd.rn-realmedia</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>roff</extension>
            <mime-type>application/x-troff</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>rtf</extension>
            <mime-type>application/rtf</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>rtx</extension>
            <mime-type>text/richtext</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>sh</extension>
            <mime-type>application/x-sh</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>shar</extension>
            <mime-type>application/x-shar</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>smf</extension>
            <mime-type>audio/x-midi</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>sit</extension>
            <mime-type>application/x-stuffit</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>snd</extension>
            <mime-type>audio/basic</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>src</extension>
            <mime-type>application/x-wais-source</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>sv4cpio</extension>
            <mime-type>application/x-sv4cpio</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>sv4crc</extension>
            <mime-type>application/x-sv4crc</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>svg</extension>
            <mime-type>image/svg+xml</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>swf</extension>
            <mime-type>application/x-shockwave-flash</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>t</extension>
            <mime-type>application/x-troff</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>tar</extension>
            <mime-type>application/x-tar</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>tcl</extension>
            <mime-type>application/x-tcl</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>tex</extension>
            <mime-type>application/x-tex</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>texi</extension>
            <mime-type>application/x-texinfo</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>texinfo</extension>
            <mime-type>application/x-texinfo</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>tif</extension>
            <mime-type>image/tiff</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>tiff</extension>
            <mime-type>image/tiff</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>tr</extension>
            <mime-type>application/x-troff</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>tsv</extension>
            <mime-type>text/tab-separated-values</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>txt</extension>
            <mime-type>text/plain</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>ulw</extension>
            <mime-type>audio/basic</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>ustar</extension>
            <mime-type>application/x-ustar</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>vxml</extension>
            <mime-type>application/voicexml+xml</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>xbm</extension>
            <mime-type>image/x-xbitmap</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>xht</extension>
            <mime-type>application/xhtml+xml</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>xhtml</extension>
            <mime-type>application/xhtml+xml</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>xml</extension>
            <mime-type>application/xml</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>xpm</extension>
            <mime-type>image/x-xpixmap</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>xsl</extension>
            <mime-type>application/xml</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>xslt</extension>
            <mime-type>application/xslt+xml</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>xul</extension>
            <mime-type>application/vnd.mozilla.xul+xml</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>xwd</extension>
            <mime-type>image/x-xwindowdump</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>wav</extension>
            <mime-type>audio/x-wav</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>svg</extension>
            <mime-type>image/svg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>svgz</extension>
            <mime-type>image/svg</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>vsd</extension>
            <mime-type>application/x-visio</mime-type>
        </mime-mapping>
        <mime-mapping>
            <!-- Wireless Bitmap -->
            <extension>wbmp</extension>
            <mime-type>image/vnd.wap.wbmp</mime-type>
        </mime-mapping>
        <mime-mapping>
            <!-- WML Source -->
            <extension>wml</extension>
            <mime-type>text/vnd.wap.wml</mime-type>
        </mime-mapping>
        <mime-mapping>
            <!-- Compiled WML -->
            <extension>wmlc</extension>
            <mime-type>application/vnd.wap.wmlc</mime-type>
        </mime-mapping>
        <mime-mapping>
            <!-- WML Script Source -->
            <extension>wmls</extension>
            <mime-type>text/vnd.wap.wmlscript</mime-type>
        </mime-mapping>
        <mime-mapping>
            <!-- Compiled WML Script -->
            <extension>wmlscriptc</extension>
            <mime-type>application/vnd.wap.wmlscriptc</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>wrl</extension>
            <mime-type>x-world/x-vrml</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>Z</extension>
            <mime-type>application/x-compress</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>z</extension>
            <mime-type>application/x-compress</mime-type>
        </mime-mapping>
        <mime-mapping>
            <extension>zip</extension>
            <mime-type>application/zip</mime-type>
        </mime-mapping>
     
     
      <!-- ==================== Default Welcome File List ===================== -->
      <!-- When a request URI refers to a directory, the default servlet looks  -->
      <!-- for a "welcome file" within that directory and, if present,          -->
      <!-- to the corresponding resource URI for display.  If no welcome file   -->
      <!-- is present, the default servlet either serves a directory listing,   -->
      <!-- or returns a 404 status, depending on how it is configured.          -->
      <!--                                                                      -->
      <!-- If you define welcome files in your own application's web.xml        -->
      <!-- deployment descriptor, that list *replaces* the list configured      -->
      <!-- here, so be sure that you include any of the default values that     -->
      <!-- you wish to include.                                                 -->
     
        <welcome-file-list>
            <welcome-file>index.html</welcome-file>
            <welcome-file>index.htm</welcome-file>
            <welcome-file>index.jsp</welcome-file>
        </welcome-file-list>
     
    </web-app>

  12. #12
    Membre à l'essai
    Profil pro
    Inscrit en
    Mai 2005
    Messages
    20
    Détails du profil
    Informations personnelles :
    Localisation : Suisse

    Informations forums :
    Inscription : Mai 2005
    Messages : 20
    Points : 15
    Points
    15
    Par défaut
    Bon ca y est j'ai trouvé!!

    Mon serveur Tomcat marche nikel avec Eclipse! C'est bien pratique pour développer des app'z WEB

    alors voilà ce qu'il faut faire et qui n'est pas dans le tutoriel de Developpez.com, c'est du à la version du serveur tomcat car le web.xml a du évoluer depuis que cet article a été écrit

    il faut décommenter :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
     
    <!--
        <servlet>
            <servlet-name>invoker</servlet-name>
            <servlet-class>
              org.apache.catalina.servlets.InvokerServlet
            </servlet-class>
            <init-param>
                <param-name>debug</param-name>
                <param-value>0</param-value>
            </init-param>
            <load-on-startup>2</load-on-startup>
        </servlet>
    -->
    Après ca marche EnJoY!

  13. #13
    Membre habitué Avatar de Original Prankster
    Profil pro
    Inscrit en
    Juillet 2005
    Messages
    226
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France, Bouches du Rhône (Provence Alpes Côte d'Azur)

    Informations forums :
    Inscription : Juillet 2005
    Messages : 226
    Points : 192
    Points
    192
    Par défaut
    Citation Envoyé par thorovi
    Pour la version 5.5.9 de Tomcat, il suffit de télécharger ce fichier "jakarta-tomcat-5.5.9-compat.zip" ici :

    http://jakarta.apache.org/site/downl...s_tomcat-5.cgi

    il suffit ensuite de placer les dossiers "bin" et "common" que l'on trouve dans l'archive, dans le répertoire d'installation de tomcat.
    J'ai un petit soucis, il semblerait que le zip ne soit plus la... ni ailleurs. Je ne parviens pas même à le trouver depuis Google.

    En effet, j'ai le même problème, à la différence près que je travaille sur netBeans 5.0, et avec les JSF : j'utilise la JDK 1.4.2 et Tomcat 5.5.9, et au lancement de Tomcat, j'ai droit à de belles erreurs que je ne comprend absolument pas, mais qui ressemblent à ca :

    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
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    INFO: Can't register valve org.apache.catalina.core.StandardContextValve@b02928
     
    org.apache.commons.logging.LogConfigurationException: java.lang.NoSuchFieldError: level (Caused by java.lang.NoSuchFieldError: level)
     
            at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
     
            at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
     
            at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
     
            at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
     
            at org.apache.catalina.valves.ValveBase.createObjectName(ValveBase.java:242)
     
            at org.apache.catalina.core.StandardPipeline.registerValve(StandardPipeline.java:296)
     
            at org.apache.catalina.core.StandardPipeline.start(StandardPipeline.java:233)
     
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4045)
     
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
     
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
     
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
     
            at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)
     
            at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)
     
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
     
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
     
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
     
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
     
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
     
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
     
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
     
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
     
            at org.apache.catalina.core.StandardService.start(StandardService.java:450)
     
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
     
            at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
     
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     
            at java.lang.reflect.Method.invoke(Method.java:324)
     
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
     
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
     
    Caused by: java.lang.NoSuchFieldError: level
     
            at org.apache.log4j.spi.RootLogger.setLevel(RootLogger.java:65)
     
            at org.apache.log4j.spi.RootLogger.<init>(RootLogger.java:44)
     
            at org.apache.log4j.LogManager.<clinit>(LogManager.java:78)
     
            at org.apache.log4j.Logger.getLogger(Logger.java:103)
     
            at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:229)
     
            at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:65)
     
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
     
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
     
            at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
     
            at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
     
            ... 29 more
     
    Mar 8, 2006 1:13:37 PM org.apache.tomcat.util.digester.Digester endElement
     
    SEVERE: End event threw exception
     
    java.lang.reflect.InvocationTargetException
     
            at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
     
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     
            at java.lang.reflect.Method.invoke(Method.java:324)
     
            at org.apache.tomcat.util.IntrospectionUtils.callMethod1(IntrospectionUtils.java:890)
     
            at org.apache.tomcat.util.digester.SetNextRule.end(SetNextRule.java:192)
     
            at org.apache.tomcat.util.digester.Rule.end(Rule.java:228)
     
            at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1057)
     
            at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
     
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
     
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
     
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
     
            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     
            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     
            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     
            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
     
            at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
     
            at org.apache.catalina.startup.ContextConfig.processDefaultWebConfig(ContextConfig.java:673)
     
            at org.apache.catalina.startup.ContextConfig.defaultWebConfig(ContextConfig.java:610)
     
            at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1030)
     
            at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:255)
     
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
     
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4053)
     
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
     
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
     
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
     
            at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:589)
     
            at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:536)
     
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:471)
     
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
     
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
     
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
     
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
     
            at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
     
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
     
            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
     
            at org.apache.catalina.core.StandardService.start(StandardService.java:450)
     
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
     
            at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
     
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     
            at java.lang.reflect.Method.invoke(Method.java:324)
     
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
     
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
     
    Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NoClassDefFoundError (Caused by java.lang.NoClassDefFoundError)
     
            at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
     
            at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
     
            at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
     
            at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
     
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:996)
     
            at org.apache.catalina.core.StandardWrapper.start(StandardWrapper.java:1610)
     
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
     
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
     
            at org.apache.catalina.core.StandardContext.addChild(StandardContext.java:1894)
     
            ... 44 more
    Ca continue encore longuement, mais inutile que je mette tout.

    Bref je suis en train de télécharger la JDK 1.5.0, mais l'entreprise dans laquelle je bosse utilise la 1.4.2, et mon projet pourrait présenter alors des incompatibilités...
    Ingénieur Génie Logiciel et Systèmes d'Information
    Management des Nouvelles Technologies

    Ecole Supérieure d'Ingénieurs de Luminy (ESIL), Marseille

Discussions similaires

  1. Impossible de démarrer le serveur JBOSS
    Par DevServlet dans le forum Wildfly/JBoss
    Réponses: 1
    Dernier message: 21/06/2009, 22h28
  2. Ganymede: impossible de démarrer JBoss 5 depuis Eclipse
    Par longbeach dans le forum Eclipse Java
    Réponses: 1
    Dernier message: 18/03/2009, 06h22
  3. Réponses: 5
    Dernier message: 21/10/2008, 10h13
  4. Réponses: 21
    Dernier message: 04/07/2007, 23h06
  5. [Démarrage] Impossible de démarrer le serveur
    Par sekiryou dans le forum Installation
    Réponses: 3
    Dernier message: 30/06/2006, 08h06

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