Publicité
+ Répondre à la discussion
Affichage des résultats 1 à 20 sur 20
  1. #1
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut [Richfaces] [JBOSS] Configuration

    Bonjour,
    Avec le serveur tomcat 6, tout s'est bien passé pour le d'exécution de mon projet web qui implémente JSF et Richfaces.
    J'ai essayé de le refaire avec JBOSS 4.2 via netbeans mais j'ai pas parvenue.
    En faite, j'ai fait à l'instar de tomcat 6, cad que j'ai ajouté les .jar de richfaces dans WebINF/lib et j'ai reconfiguré web.xml mais sans succès.

    Merci de m'indiquer comment configurer un projet web implémentant Richfaces dans JBOSS.

    Après 4 min de déploiement, j'ai eu ce rapport dans le console.
    voici un extrait
    Code :
    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
     
    23:10:08,024 INFO  [Server] Starting JBoss (MX MicroKernel)...
    23:10:08,024 INFO  [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)
    23:10:08,024 INFO  [Server] Home Dir: C:\Users\Morsi\Desktop\jboss
    23:10:08,024 INFO  [Server] Home URL: file:/C:/Users/Morsi/Desktop/jboss/
    23:10:08,024 INFO  [Server] Patch URL: null
    23:10:08,024 INFO  [Server] Server Name: default
    23:10:08,024 INFO  [Server] Server Home Dir: C:\Users\Morsi\Desktop\jboss\server\default
    23:10:08,024 INFO  [Server] Server Home URL: file:/C:/Users/Morsi/Desktop/jboss/server/default/
    23:10:08,539 INFO  [Server] Server Log Dir: C:\Users\Morsi\Desktop\jboss\server\default\log
    23:10:08,539 INFO  [Server] Server Temp Dir: C:\Users\Morsi\Desktop\jboss\server\default\tmp
    23:10:08,539 INFO  [Server] Root Deployment Filename: jboss-service.xml
    23:10:09,366 INFO  [ServerInfo] Java version: 1.6.0_13,Sun Microsystems Inc.
    23:10:09,366 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.3-b02,Sun Microsystems Inc.
    23:10:09,366 INFO  [ServerInfo] OS-System: Windows Vista 6.0,x86
    23:10:11,066 INFO  [Server] Core system initialized
    23:10:17,228 INFO  [WebService] Using RMI server codebase: http://127.0.0.1:8083/
    23:10:17,244 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml
    23:10:18,289 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc.
    23:10:18,289 INFO  [TransactionManagerService] Setting up property manager MBean and JMX layer
    23:10:18,788 INFO  [TransactionManagerService] Starting recovery manager
    23:10:18,976 INFO  [TransactionManagerService] Recovery manager started
    23:10:18,976 INFO  [TransactionManagerService] Binding TransactionManager JNDI Reference
    23:10:26,027 INFO  [EJB3Deployer] Starting java:comp multiplexer
    23:10:28,133 INFO  [STDOUT] no object for null
    23:10:28,133 INFO  [STDOUT] no object for null
    23:10:28,164 INFO  [STDOUT] no object for null
    23:10:28,195 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
    23:10:28,211 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
    23:10:34,264 INFO  [NativeServerConfig] JBoss Web Services - Native
    23:10:34,264 INFO  [NativeServerConfig] jbossws-native-2.0.1.SP2 (build=200710210837)
    23:10:37,118 INFO  [Embedded] Catalina naming disabled
    23:10:37,524 INFO  [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_13\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\JavaFX\javafx-sdk1.1\bin;C:\Program Files\JavaFX\javafx-sdk1.1\emulator\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\MySQL\MySQL Server 5.0\bin
    23:10:37,696 INFO  [Http11Protocol] Initialisation de Coyote HTTP/1.1 sur http-127.0.0.1-8080
    23:10:37,930 INFO  [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009
    23:10:37,930 INFO  [Catalina] Initialization processed in 812 ms
    23:10:37,930 INFO  [StandardService] Démarrage du service jboss.web
    23:10:37,930 INFO  [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA
    23:10:38,023 INFO  [Catalina] Server startup in 94 ms
    23:10:38,195 INFO  [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/
    23:10:39,942 INFO  [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
    23:10:40,285 INFO  [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/
    23:10:40,472 INFO  [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
    23:10:41,876 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/
     
    23:10:42,781 INFO  [MailService] Mail Service bound to java:/Mail
    23:10:43,156 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar
    23:10:43,265 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar
    23:10:43,327 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar
    23:10:43,421 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar
    23:10:43,514 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar
    23:10:43,624 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar
    23:10:43,717 INFO  [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar
    23:10:43,795 INFO  [QuartzResourceAdapter] start quartz!!!
    23:10:44,060 INFO  [SimpleThreadPool] Job execution threads will use class loader of thread: main
    23:10:44,107 INFO  [QuartzScheduler] Quartz Scheduler v.1.5.2 created.
    23:10:44,107 INFO  [RAMJobStore] RAMJobStore initialized.
    23:10:44,107 INFO  [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
    23:10:44,107 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.5.2
    23:10:44,107 INFO  [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
    23:10:47,336 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
    23:10:47,773 INFO  [A] Bound to JNDI name: queue/A
    23:10:47,773 INFO  [B] Bound to JNDI name: queue/B
    23:10:47,773 INFO  [C] Bound to JNDI name: queue/C
    23:10:47,773 INFO  [D] Bound to JNDI name: queue/D
    23:10:47,773 INFO  [ex] Bound to JNDI name: queue/ex
    23:10:47,804 INFO  [testTopic] Bound to JNDI name: topic/testTopic
    23:10:47,820 INFO  [securedTopic] Bound to JNDI name: topic/securedTopic
    23:10:47,820 INFO  [testDurableTopic] Bound to JNDI name: topic/testDurableTopic
    23:10:47,820 INFO  [testQueue] Bound to JNDI name: queue/testQueue
    23:10:48,241 INFO  [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093
    23:10:48,319 INFO  [DLQ] Bound to JNDI name: queue/DLQ
    23:10:48,538 INFO  [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA'
    23:11:07,258 INFO  [TomcatDeployer] deploy, ctxPath=/ExempleJSF, warUrl=.../tmp/deploy/tmp8200379012801801409ExempleJSF-exp.war/
    23:11:09,254 INFO  [FacesConfigurator] Reading standard config org/apache/myfaces/resource/standard-faces-config.xml
    23:11:09,332 INFO  [FacesConfigurator] Reading config jar:file:/C:/Users/Morsi/Desktop/jboss/server/default/tmp/deploy/tmp8200379012801801409ExempleJSF-exp.war/WEB-INF/lib/myfaces-all.jar!/META-INF/faces-config.xml
    23:11:09,364 INFO  [FacesConfigurator] Reading config jar:file:/C:/Users/Morsi/Desktop/jboss/server/default/tmp/deploy/tmp8200379012801801409ExempleJSF-exp.war/WEB-INF/lib/richfaces-impl-3.2.1.GA.jar!/META-INF/faces-config.xml
    23:11:09,364 ERROR [Digester] Parse Error at line 2 column 14: Document is invalid: no grammar found.
    org.xml.sax.SAXParseException: Document is invalid: no grammar found.
            at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
            at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
            at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
            at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(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.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
            at org.apache.commons.digester.Digester.parse(Digester.java:1548)
            at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:183)
            at org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(FacesConfigurator.java:233)
            at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:118)
            at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63)
            at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:46)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
            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:597)
            at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
            at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
            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:597)
            at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
            at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
     
            at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
            at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
            at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
            at org.jboss.web.WebModule.startModule(WebModule.java:83)
            at org.jboss.web.WebModule.startService(WebModule.java:61)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:417)
            at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy44.start(Unknown Source)
            at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
            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:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
            at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
            at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
            at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
            at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy45.start(Unknown Source)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
            at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy9.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:417)
            at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy4.start(Unknown Source)
     
            at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
            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:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy5.deploy(Unknown Source)
            at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
            at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
            at org.jboss.Main.boot(Main.java:200)
            at org.jboss.Main$1.run(Main.java:508)
            at java.lang.Thread.run(Thread.java:619)
    23:11:10,331 ERROR [Digester] Parse Error at line 2 column 14: Document root element "faces-config", must match DOCTYPE root "null".
    org.xml.sax.SAXParseException: Document root element "faces-config", must match DOCTYPE root "null".
            at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
            at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
            at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
            at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
            at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(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.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
            at org.apache.commons.digester.Digester.parse(Digester.java:1548)
            at org.apache.myfaces.config.impl.digester.DigesterFacesConfigUnmarshallerImpl.getFacesConfig(DigesterFacesConfigUnmarshallerImpl.java:183)
            at org.apache.myfaces.config.FacesConfigurator.feedClassloaderConfigurations(FacesConfigurator.java:233)
            at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:118)
            at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63)
            at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:46)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
            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:597)
            at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
            at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
            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:597)
            at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
            at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
            at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
            at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
            at org.jboss.web.WebModule.startModule(WebModule.java:83)
            at org.jboss.web.WebModule.startService(WebModule.java:61)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
            at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
            at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
            at $Proxy0.start(Unknown Source)
            at org.jboss.system.ServiceController.start(ServiceController.java:417)
            at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy44.start(Unknown Source)
            at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
            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:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
            at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
            at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
            at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
            at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy45.start(Unknown Source)
            at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
            at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
            at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
            at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
            at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
            at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
            at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
            at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
            at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
            at $Proxy9.deploy(Unknown Source)
            at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)

  2. #2
    Rédacteur/Modérateur

    Inscrit en
    juin 2003
    Messages
    4 184
    Détails du profil
    Informations forums :
    Inscription : juin 2003
    Messages : 4 184
    Points : 4 815
    Points
    4 815

    Par défaut

    JBOSS contient les jars JSF, pour ne pas prendre ceux du serveur ajoute le parametre:
    Code :
    1
    2
    3
    4
    5
     
    <context-param>
      <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
            <param-value>false</param-value>
    </context-param>

  3. #3
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut

    Merci pour la réponse
    j'ai ajouté le parametre et redéployé le projet, aprés 6 min de déploiement, le jboss est démarré mais l'exécution du projet ne fonctionne pas. Le lien http://localhost:8080/ExempleJSF/ affiche l'erreur suivante "Page Web inaccessible". Je pense que le déploiement via l'IDE netbeans ne s'est pas bien passé, est ce que on peut déploier un projet web via JBOSS manuellement, merci de m'indiquer comment.

  4. #4
    Rédacteur/Modérateur

    Inscrit en
    juin 2003
    Messages
    4 184
    Détails du profil
    Informations forums :
    Inscription : juin 2003
    Messages : 4 184
    Points : 4 815
    Points
    4 815

    Par défaut

    Citation Envoyé par jaljal Voir le message
    Merci pour la réponse
    j'ai ajouté le parametre et redéployé le projet, aprés 6 min de déploiement, le jboss est démarré mais l'exécution du projet ne fonctionne pas. Le lien http://localhost:8080/ExempleJSF/ affiche l'erreur suivante "Page Web inaccessible". Je pense que le déploiement via l'IDE netbeans ne s'est pas bien passé, est ce que on peut déploier un projet web via JBOSS manuellement, merci de m'indiquer comment.

    oui copier le war directement sur le serveur ..
    vérifie si il n'y a pas d'erreur lors du déploiement.

  5. #5
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut

    J'ai malheureusement un autre problème.
    Je voudrais intégrer Richfaces dans une application Web que je l'ai exécuté par Apache Ant et Jboss comme serveur d'application, alors, aprés le déploiement de l'application j'ai intégré les .jar de richfaces 3.3 dans WEBINF/lib et j'ai modifié le web.xml en configurant les paramètres nécessaires pour le fonctionnement de richfaces et en mettant
    Code :
    1
    2
    3
    4
    5
     
     <context-param>
      <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
            <param-value>false</param-value>
    </context-param>
    mais lorsque j'ai voulue exécuté mon fichier .faces, j'ai eu ce message d'erreur :
    org.apache.jasper.JasperException: /richTest2.jsp(25,4) Impossible de charger la classe org.richfaces.taglib.PanelTag : /richTest2.jsp(25,4) Impossible de charger la classe org.richfaces.taglib.PanelTag
    Je suis bloqué à cette étape depuis une semaine.

    Merci de m'aider

  6. #6
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut

    Bonjour,
    J'ai réussie à exécuter un projet web implémentant jsf 1.2 via le serveur JBoss 4.2.2 et myeclipse 6.6, alors j'ai voulu essayer d'y exécuter Richfaces (version 3.3.0), j'ai ajouté les librairies de richfaces 3.3.0 dans WEB-INF/lib, j'ai reconfigurer web.xml et j'ai redéployé, mais il y a eu des exceptions .
    voici un extrait de la trace du déploiement :
    05:14:59,382 INFO [TomcatDeployer] deploy, ctxPath=/ExempleJSF, warUrl=.../deploy/ExempleJSF.war/
    05:15:02,324 ERROR [STDERR] javax.faces.FacesException: org.ajax4jsf.renderkit.ChameleonRenderKitFactory
    05:15:02,327 ERROR [STDERR] at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)
    05:15:02,327 ERROR [STDERR] at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
    05:15:02,327 ERROR [STDERR] at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
    05:15:02,328 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1036)
    05:15:02,328 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:493)
    05:15:02,328 ERROR [STDERR] at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
    05:15:02,328 ERROR [STDERR] at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
    05:15:02,329 ERROR [STDERR] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
    05:15:02,329 ERROR [STDERR] at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
    05:15:02,329 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
    05:15:02,329 ERROR [STDERR] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
    05:15:02,329 ERROR [STDERR] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
    05:15:02,330 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    05:15:02,330 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    05:15:02,330 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    05:15:02,331 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
    05:15:02,331 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
    05:15:02,331 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    05:15:02,331 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    05:15:02,332 ERROR [STDERR] at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
    05:15:02,332 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    05:15:02,332 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    05:15:02,332 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    05:15:02,333 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
    05:15:02,333 ERROR [STDERR] at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
    05:15:02,333 ERROR [STDERR] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    05:15:02,333 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    05:15:02,334 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
    05:15:02,334 ERROR [STDERR] at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
    05:15:02,335 ERROR [STDERR] at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
    05:15:02,338 ERROR [STDERR] at org.jboss.web.WebModule.startModule(WebModule.java:83)
    05:15:02,338 ERROR [STDERR] at org.jboss.web.WebModule.startService(WebModule.java:61)
    05:15:02,339 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
    05:15:02,339 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
    05:15:02,339 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    05:15:02,339 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    05:15:02,340 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    05:15:02,340 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
    05:15:02,340 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    05:15:02,340 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    05:15:02,341 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    05:15:02,341 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    05:15:02,341 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    05:15:02,341 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
    05:15:02,341 ERROR [STDERR] at $Proxy0.start(Unknown Source)
    05:15:02,342 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:417)
    05:15:02,342 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    05:15:02,342 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    05:15:02,344 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
    05:15:02,344 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    05:15:02,345 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    05:15:02,345 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    05:15:02,345 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    05:15:02,345 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    05:15:02,346 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    05:15:02,346 ERROR [STDERR] at $Proxy44.start(Unknown Source)
    05:15:02,346 ERROR [STDERR] at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
    05:15:02,346 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    05:15:02,346 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    05:15:02,346 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    05:15:02,347 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
    05:15:02,347 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    05:15:02,347 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    05:15:02,347 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
    05:15:02,347 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    05:15:02,348 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
    05:15:02,348 ERROR [STDERR] at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
    05:15:02,348 ERROR [STDERR] at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
    05:15:02,349 ERROR [STDERR] at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87)
    05:15:02,349 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
    05:15:02,349 ERROR [STDERR] at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
    05:15:02,349 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    05:15:02,350 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    05:15:02,350 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    05:15:02,350 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    05:15:02,350 ERROR [STDERR] at $Proxy45.start(Unknown Source)
    05:15:02,350 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
    05:15:02,351 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
    05:15:02,351 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
    05:15:02,351 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
    05:15:02,352 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    05:15:02,353 ERROR [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
    05:15:02,353 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    05:15:02,353 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    05:15:02,353 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
    05:15:02,353 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    05:15:02,353 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
    05:15:02,355 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    05:15:02,355 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    05:15:02,355 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    05:15:02,356 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    05:15:02,356 ERROR [STDERR] at $Proxy9.deploy(Unknown Source)
    05:15:02,356 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
    05:15:02,356 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
    05:15:02,356 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
    05:15:02,357 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
    05:15:02,357 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
    05:15:02,359 ERROR [STDERR] Caused by: java.lang.reflect.InvocationTargetException
    05:15:02,359 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    05:15:02,359 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    05:15:02,359 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    05:15:02,359 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Unknown Source)
    05:15:02,360 ERROR [STDERR] at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:549)
    05:15:02,360 ERROR [STDERR] ... 96 more
    05:15:02,369 ERROR [STDERR] Caused by: java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
    05:15:02,369 ERROR [STDERR] at org.ajax4jsf.resource.ResourceBuilderImpl.registerConfig(ResourceBuilderImpl.java:160)
    05:15:02,369 ERROR [STDERR] at org.ajax4jsf.resource.ResourceBuilderImpl.registerResources(ResourceBuilderImpl.java:144)
    05:15:02,369 ERROR [STDERR] at org.ajax4jsf.resource.ResourceBuilderImpl.init(ResourceBuilderImpl.java:215)
    05:15:02,370 ERROR [STDERR] at org.ajax4jsf.renderkit.ChameleonRenderKitFactory.<init>(ChameleonRenderKitFactory.java:62)
    05:15:02,370 ERROR [STDERR] ... 101 more
    05:15:02,375 ERROR [[/ExempleJSF]] Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
    javax.faces.FacesException: org.ajax4jsf.renderkit.ChameleonRenderKitFactory
    at javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:556)
    at javax.faces.FactoryFinder.getImplementationInstance(FactoryFinder.java:448)
    at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:249)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:1036)
    at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:493)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:381)
    at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    et voici mon fichier web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlnssi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>

    <context-param>
    <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
    <param-value>false</param-value>
    </context-param>

    <display-name>a4jEchoText</display-name>
    <context-param>
    <param-name>org.richfaces.SKIN</param-name>
    <param-value>deepMarine</param-value>
    </context-param>
    <filter>
    <display-name>RichFaces Filter</display-name>
    <filter-name>richfaces</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>



    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>0</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    </web-app>

  7. #7
    Rédacteur/Modérateur
    Avatar de romaintaz
    Homme Profil pro Romain Linsolas
    Java craftsman
    Inscrit en
    juillet 2005
    Messages
    3 748
    Détails du profil
    Informations personnelles :
    Nom : Homme Romain Linsolas
    Âge : 36
    Localisation : France, Yvelines (Île de France)

    Informations professionnelles :
    Activité : Java craftsman
    Secteur : Finance

    Informations forums :
    Inscription : juillet 2005
    Messages : 3 748
    Points : 7 206
    Points
    7 206

    Par défaut

    Ce que je vois dans ta stacktrace :

    Code :
    Caused by: java.lang.NoClassDefFoundError: org/apache/commons/digester/Digester
    Donc tu n'as pas mis la librairie commons-digester.jar dans tes dépendances
    Nous sommes tous semblables, alors acceptons nos différences !
    --------------------------------------------------------------
    Liens : Blog | Page DVP | Twitter
    Articles : Hudson | Sonar | Outils de builds Java Maven 3 | Play! 1 | TeamCity| CitConf 2009
    Critiques : Apache Maven

  8. #8
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut

    J'ai réessayé avec JBoss 4.2.3, avec un simple projet jsf, tout fonctionne bien, mais lorsque je voudrais ajouter richfaces 3.3.0, j'ai eu des conflits.
    voici le contenu de mon WEB-INF/lib :
    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar
    commons-logging.jar
    jsf-api.jar
    jsf-imp.jar
    richfaces-api-3.3.0.GA.jar
    richfaces-imp-3.3.0.GA.jar
    richfaces-ui.3.3.0.GA.jar

    Avec le même Web.xml cité ci dessus

    aprés le déploiement j'ai la trace suivante
    17:29:09,529 INFO [TomcatDeployer] deploy, ctxPath=/ExempleJSF, warUrl=.../deploy/ExempleJSF.war/
    17:29:11,193 ERROR [application] JSF1029: The specified InjectionProvider implementation 'org.jboss.web.jsf.integration.injection.JBossInjectionProvider' does not implement the InjectionProvider interface.
    17:29:11,194 INFO [application] JSF1048: PostConstruct/PreDestroy annotations present. ManagedBeans methods marked with these annotations will have said annotations processed.
    17:29:16,114 ERROR [[/ExempleJSF]] Exception lors de l'envoi de l'évènement contexte initialisé (context initialized) à l'instance de classe d'écoute (listener) org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
    java.lang.ClassCastException: com.sun.faces.config.WebConfiguration
    at com.sun.faces.config.WebConfiguration.getInstance(WebConfiguration.java:154)
    at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:144)
    at org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:71)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3856)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4361)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.apache.catalina.core.StandardContext.init(StandardContext.java:5312)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:296)
    at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
    at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
    at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
    at org.jboss.web.WebModule.startModule(WebModule.java:83)
    at org.jboss.web.WebModule.startService(WebModule.java:61)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
    at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
    at $Proxy0.start(Unknown Source)
    at org.jboss.system.ServiceController.start(ServiceController.java:417)
    at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
    at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
    at $Proxy44.start(Unknown Source)
    at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
    at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
    at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperati

  9. #9
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut

    Enfin, j'ai parvenu à résoudre le problème, il suffit d'enlever jsf-api.jar et jsf-imp.jar de WEB-INF/lib

  10. #10
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut

    J'ai malheureusement un autre problème, je voudrais intégrer richfaces dans un projet web implémentant ejb et jsf.
    J'ai obtenu cette erreur :
    Code :
    1
    2
     
    org.apache.jasper.JasperException: /test.jsp(29,6) Impossible de charger la classe org.richfaces.taglib.CalendarTag : /test.jsp(29,6) Impossible de charger la classe org.richfaces.taglib.CalendarTag
    Voici le web.xml

    Code :
    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
     
    <?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 id="web-app_1">
        <description><![CDATA[EJBCA Administration web]]></description>
    <context-param>
    <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
    <param-value>false</param-value>
    </context-param>
     
    <display-name>a4jEchoText</display-name>
    <context-param>
    <param-name>org.richfaces.SKIN</param-name>
    <param-value>deepMarine</param-value>
    </context-param>
    <filter>
    <display-name>RichFaces Filter</display-name>
    <filter-name>richfaces</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
     
       <context-param>
          <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
          <param-value>server</param-value>
       </context-param>
     
       <context-param>
          <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
          <param-value>.jsp</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.numberOfViewsInSession</param-name>
          <param-value>15</param-value>
       </context-param>
     
       <context-param>
          <param-name>numberOfLogicalViews</param-name>
          <param-value>15</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.verifyObjects</param-name>
          <param-value>false</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.forceLoadConfiguration</param-name>
          <param-value>false</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.disableVersionTracking</param-name>
          <param-value>false</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.enableHtmlTagLibValidator</param-name>
          <param-value>false</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.preferXHTML</param-name>
          <param-value>false</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.compressViewState</param-name>
          <param-value>true</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.responseBufferSize</param-name>
          <param-value>4096</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.clientStateWriteBufferSize</param-name>
          <param-value>8192</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.validateXml</param-name>
          <param-value>false</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.displayConfiguration</param-name>
          <param-value>false</param-value>
       </context-param> 
       <context-param>
          <param-name>facelets.LIBRARIES</param-name>
          <param-value>/WEB-INF/tomahawk.taglib.xml</param-value>
          <description><![CDATA[apache myfaces tomahawk components taglib]]></description>
       </context-param>
    </web-app>

  11. #11
    Rédacteur/Modérateur

    Inscrit en
    juin 2003
    Messages
    4 184
    Détails du profil
    Informations forums :
    Inscription : juin 2003
    Messages : 4 184
    Points : 4 815
    Points
    4 815

    Par défaut

    quelle version de richfaces?

  12. #12
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut

    J'utilise richfaces 3.3.0 et jboss 4.2.3 comme serveur d'application

  13. #13
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut

    Est ce que tomahawk 1.1.6 est compatible avec l'implémentation jsf 1.2 qui est celle implémenté par défaut par jboss 4.2.3 si je ne me trompe pas????

    En faite, je voudrais enrichir l'interface web d'une application open source
    contenant myfaces 1.1.5 et tomahawk dans ses librairies de dépendences en intégrant richfaces 3.3.0 qui ne marche que avec jsf 1.2 d'ou l'incompatibilité entre la version de l'implémentation de jsf de richfaces et de celle de tomahawk 1.1.6. Je pense que c'est ça mon problème!!!!!

    Merci de m'aider, je désespère

  14. #14
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut

    JBOSS contient les jars JSF, pour ne pas prendre ceux du serveur ajoute le parametre:
    Code :

    <context-param>
    <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
    <param-value>false</param-value>
    </context-param>
    En faite "false" c'est la valeur par défaut :

    There is no technical reason to use MyFaces Core on JBoss 4.2 or JBoss 5.x. But there are other reasons you might want to bundle it with your WAR. For instance, you might have an old JSF application that already uses MyFaces and you don't want to retest your app on a new JSF implementation. In that case, you can bundle the JSF implementation with your WAR and add this to your web.xml:
    <context-param>
    <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
    <param-value>true</param-value>
    </context-param>
    J'ai effectué l'ajout des librairies de richfaces, la modification de Web.xml et l'ajout d'un fichier jsp de test aprés le déploiement de mon application, c a d dans le fichier tmp. Est ce que ce procédé a des conséquences particulières.

  15. #15
    Rédacteur/Modérateur

    Inscrit en
    juin 2003
    Messages
    4 184
    Détails du profil
    Informations forums :
    Inscription : juin 2003
    Messages : 4 184
    Points : 4 815
    Points
    4 815

    Par défaut

    Citation Envoyé par jaljal Voir le message
    En faite "false" c'est la valeur par défaut :



    J'ai effectué l'ajout des librairies de richfaces, la modification de Web.xml et l'ajout d'un fichier jsp de test aprés le déploiement de mon application, c a d dans le fichier tmp. Est ce que ce procédé a des conséquences particulières.
    Non,
    quels sont les jars dans de ton application?

  16. #16
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut

    En faite, mon application rassemble plusieurs fichier .war .jar et .ear, ce que je voudrais faire et de modifier la configuration de adminweb.war pour modifier l'interface de l'administrateur en utilisant richfaces. Cette application est le projet open source d'autorité de certification EJBCA 3.8.2 qu'on pourrai le telecharger depuis sourceforge.net.
    adminweb.war contient dans WEB-INF/lib que le ficher tomahawk-1.1.6.jar que j'y ajoute les librairies de richfaces 3.3.0 en reconfigurant le web.xml indiqué ce dessus. Mais j'ai eu ce message d'erreur :

    org.apache.jasper.JasperException: /test.jsp(29,6) Impossible de charger la classe org.richfaces.taglib.CalendarTag : /test.jsp(29,6) Impossible de charger la classe org.richfaces.taglib.CalendarTag

    Je me demande est ce la configuration de icefaces dans jboss est plus aisé?

    Merci

  17. #17
    Rédacteur/Modérateur

    Inscrit en
    juin 2003
    Messages
    4 184
    Détails du profil
    Informations forums :
    Inscription : juin 2003
    Messages : 4 184
    Points : 4 815
    Points
    4 815

    Par défaut

    la version de JSF est bien 1.2 ?

  18. #18
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut

    oui bien sur, c'est la version par défaut de jboss 4.2.3

  19. #19
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut

    J'ai laissé tombé à propos de mon propre implémentation de jsf.
    Ce que je voudrais maintenant est d'intégrer richfaces dans un projet web utilisant l'implémentation de jsf par défaut de jboss.
    Le WEB-INF/lib contient :
    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar
    commons-logging.jar
    richfaces-api-3.3.0.GA.jar
    richfaces-imp-3.3.0.GA.jar
    richfaces-ui.3.3.0.GA.jar
    tomahawk-1.1.6.jar

    Et le web.xml :
    Code :
    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
     
    <?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 id="web-app_1">
        <description><![CDATA[EJBCA Administration web]]></description>
    <context-param>
    <param-name>org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL</param-name>
    <param-value>false</param-value>
    </context-param>
     
       <context-param>
          <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
          <param-value>server</param-value>
       </context-param>
     
       <context-param>
          <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
          <param-value>.jsp</param-value>
       </context-param>
    <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/faces-config.xml</param-value>
    </context-param>
    <display-name>a4jEchoText</display-name>
    <context-param>
    <param-name>org.richfaces.SKIN</param-name>
    <param-value>deepMarine</param-value>
    </context-param>
    <filter>
    <display-name>RichFaces Filter</display-name>
    <filter-name>richfaces</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>0</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>*.faces</url-pattern>
    </servlet-mapping>
    <welcome-file-list>
    <welcome-file>defaut.jsp</welcome-file>
    </welcome-file-list>
          <context-param>
          <param-name>facelets.LIBRARIES</param-name>
          <param-value>/WEB-INF/tomahawk.taglib.xml</param-value>      
       </context-param>
    Malheureusement, il s'est produit des exception

    voice le stacktrace :
    Code :
    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
     
    )] Started in 3m:17s:978ms
         [java] 23:41:01,976 ERROR [[jsp]] "Servlet.service()" pour la servlet jsp a lancÃ&#153;Â&#132; une exception
         [java] org.apache.jasper.JasperException: /test.jsp(29,6) Impossible de charger la classe org.r
     
    ichfaces.taglib.Cale
    ndarTag
         [java]     at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:
     
    40)
         [java]     at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         [java]     at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
         [java]     at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1224)
         [java]     at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1449)
         [java]     at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1657)
         [java]     at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1004)
         [java]     at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1272)
         [java]     at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1449)
         [java]     at org.apache.jasper.compiler.Parser.parse(Parser.java:133)
         [java]     at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
         [java]     at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
         [java]     at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
         [java]     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
         [java]     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         [java]     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         [java]     at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         [java]     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)
         [java]     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
         [java]     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         [java]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
     
    rChain.java:290)
         [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
     
    ava:206)
         [java]     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:
     
    654)
         [java]     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatch
     
    er.java:445)
         [java]     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.ja
     
    va:379)
         [java]     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java
     
    :292)
         [java]     at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         [java]     at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.
     
    java:473)
         [java]     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
         [java]     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
     
     
         [java]     at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         [java]     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
         [java]     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
     
    rChain.java:290)
         [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
     
    ava:206)
         [java]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96
     
    )
         [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
     
    rChain.java:235)
         [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
     
    ava:206)
         [java]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:23
     
    0)
         [java]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:17
     
    5)
         [java]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociation
     
    Valve.java:182)
         [java]     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java
     
    :524)
         [java]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
         [java]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         [java]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         [java]     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionVal
     
    ve.java:157)
         [java]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     
     
         [java]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
         [java]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         [java]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Pro
     
    tocol.java:583)
         [java]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
         [java]     at java.lang.Thread.run(Thread.java:619)
         [java] 23:41:02,004 ERROR [lifecycle] JSF1054: (Phase ID: RENDER_RESPONSE 6, View ID: /test.jsp
     
    ) Exception thrown d
    uring phase execution: javax.faces.event.PhaseEvent[source=com.sun.faces.lifecycle.LifecycleImpl@118
     
    59fe]
         [java] 23:41:02,033 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_
     
    HTML' found, using d
    efault value true
         [java] 23:41:02,034 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_J
     
    AVASCRIPT' found, us
    ing default value true
         [java] 23:41:02,034 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.READONL
     
    Y_AS_DISABLED_FOR_SE
    LECTS' found, using default value true
         [java] 23:41:02,034 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_
     
    JAVASCRIPT' found, u
    sing default value false
         [java] 23:41:02,034 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SC
     
    ROLL' found, using d
    efault value false
         [java] 23:41:02,034 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RES
     
    OURCE_CLASS' found,
    using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource
         [java] 23:41:02,034 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.RESOURC
     
    E_VIRTUAL_PATH' foun
    d, using default value /faces/myFacesExtensionResource
         [java] 23:41:02,034 INFO  [MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_E
     
    XTENSIONS_FILTER' fo
    und, using default value true
         [java] 23:41:02,044 INFO  [MyfacesConfig] Starting up Tomahawk on the RI-JSF-Implementation.
         [java] 23:41:02,044 ERROR [[Faces Servlet]] "Servlet.service()" pour la servlet Faces Servlet a gÃ&#153;Â&#132;&#153;Â&#132;&#153;Â&#132; une exceptio
    n
         [java] org.apache.jasper.JasperException: /test.jsp(29,6) Impossible de charger la classe org.r
     
    ichfaces.taglib.Cale
    ndarTag
         [java]     at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:
     
    40)
         [java]     at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         [java]     at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:198)
         [java]     at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1224)
         [java]     at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1449)
         [java]     at org.apache.jasper.compiler.Parser.parseBody(Parser.java:1657)
         [java]     at org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1004)
         [java]     at org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1272)
         [java]     at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1449)
         [java]     at org.apache.jasper.compiler.Parser.parse(Parser.java:133)
         [java]     at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
         [java]     at org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
         [java]     at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
         [java]     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
         [java]     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
         [java]     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
         [java]     at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
         [java]     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)
         [java]     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
         [java]     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         [java]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
     
    rChain.java:290)
         [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
     
    ava:206)
         [java]     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:
     
    654)
         [java]     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatch
     
    er.java:445)
         [java]     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.ja
     
    va:379)
         [java]     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java
     
    :292)
         [java]     at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         [java]     at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.
     
    java:473)
         [java]     at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
         [java]     at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
     
     
         [java]     at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
         [java]     at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
         [java]     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
     
    rChain.java:290)
         [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
     
    ava:206)
         [java]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96
     
    )
         [java]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilte
     
    rChain.java:235)
         [java]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.j
     
    ava:206)
         [java]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:23
     
    0)
         [java]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:17
     
    5)
         [java]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociation
     
    Valve.java:182)
         [java]     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java
     
    :524)
         [java]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
         [java]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         [java]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
         [java]     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionVal
     
    ve.java:157)
         [java]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
     
     
         [java]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
         [java]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
         [java]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Pro
     
    tocol.java:583)
         [java]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
         [java]     at java.lang.Thread.run(Thread.java:619)
         [java] 23:41:02,765 ERROR [STDERR] org.apache.jasper.JasperException: /test.jsp(29,6) Impossibl
     
    e de charger la clas
    se org.richfaces.taglib.CalendarTag
         [java] 23:41:02,766 ERROR [STDERR]         at org.apache.jasper.compiler.DefaultErrorHandler.js
     
    pError(DefaultErrorH
    andler.java:40)
         [java] 23:41:02,766 ERROR [STDERR]         at org.apache.jasper.compiler.ErrorDispatcher.dispat
     
    ch(ErrorDispatcher.j
    ava:407)
         [java] 23:41:02,766 ERROR [STDERR]         at org.apache.jasper.compiler.ErrorDispatcher.jspErr
     
    or(ErrorDispatcher.j
    ava:198)
         [java] 23:41:02,766 ERROR [STDERR]         at org.apache.jasper.compiler.Parser.parseCustomTag(
     
    Parser.java:1224)
         [java] 23:41:02,766 ERROR [STDERR]         at org.apache.jasper.compiler.Parser.parseElements(P
     
    arser.java:1449)
         [java] 23:41:02,766 ERROR [STDERR]         at org.apache.jasper.compiler.Parser.parseBody(Parse
     
    r.java:1657)
         [java] 23:41:02,766 ERROR [STDERR]         at org.apache.jasper.compiler.Parser.parseOptionalBo
     
    dy(Parser.java:1004)
     
         [java] 23:41:02,766 ERROR [STDERR]         at org.apache.jasper.compiler.Parser.parseCustomTag(
     
    Parser.java:1272)
         [java] 23:41:02,766 ERROR [STDERR]         at org.apache.jasper.compiler.Parser.parseElements(P
     
    arser.java:1449)
         [java] 23:41:02,766 ERROR [STDERR]         at org.apache.jasper.compiler.Parser.parse(Parser.ja
     
    va:133)
         [java] 23:41:02,766 ERROR [STDERR]         at org.apache.jasper.compiler.ParserController.doPar
     
    se(ParserController.
    java:216)
         [java] 23:41:02,766 ERROR [STDERR]         at org.apache.jasper.compiler.ParserController.parse
     
    (ParserController.ja
    va:103)
         [java] 23:41:02,766 ERROR [STDERR]         at org.apache.jasper.compiler.Compiler.generateJava(
     
    Compiler.java:167)
         [java] 23:41:02,767 ERROR [STDERR]         at org.apache.jasper.compiler.Compiler.compile(Compi
     
    ler.java:306)
         [java] 23:41:02,768 ERROR [STDERR]         at org.apache.jasper.compiler.Compiler.compile(Compi
     
    ler.java:286)
         [java] 23:41:02,768 ERROR [STDERR]         at org.apache.jasper.compiler.Compiler.compile(Compi
     
    ler.java:273)
         [java] 23:41:02,768 ERROR [STDERR]         at org.apache.jasper.JspCompilationContext.compile(J
     
    spCompilationContext
    .java:566)
         [java] 23:41:02,768 ERROR [STDERR]         at org.apache.jasper.servlet.JspServletWrapper.servi
     
    ce(JspServletWrapper
    .java:316)
         [java] 23:41:02,768 ERROR [STDERR]         at org.apache.jasper.servlet.JspServlet.serviceJspFi
     
    le(JspServlet.java:3
    36)
         [java] 23:41:02,770 ERROR [STDERR]         at org.apache.jasper.servlet.JspServlet.service(JspS
     
    ervlet.java:265)
         [java] 23:41:02,770 ERROR [STDERR]         at javax.servlet.http.HttpServlet.service(HttpServle
     
    t.java:803)
         [java] 23:41:02,770 ERROR [STDERR]         at org.apache.catalina.core.ApplicationFilterChain.i
     
    nternalDoFilter(Appl
    icationFilterChain.java:290)
         [java] 23:41:02,771 ERROR [STDERR]         at org.apache.catalina.core.ApplicationFilterChain.d
     
    oFilter(ApplicationF
    ilterChain.java:206)
         [java] 23:41:02,771 ERROR [STDERR]         at org.apache.catalina.core.ApplicationDispatcher.in
     
    voke(ApplicationDisp
    atcher.java:654)
         [java] 23:41:02,771 ERROR [STDERR]         at org.apache.catalina.core.ApplicationDispatcher.pr
     
    ocessRequest(Applica
    tionDispatcher.java:445)
         [java] 23:41:02,771 ERROR [STDERR]         at org.apache.catalina.core.ApplicationDispatcher.do
     
    Forward(ApplicationD
    ispatcher.java:379)
         [java] 23:41:02,771 ERROR [STDERR]         at org.apache.catalina.core.ApplicationDispatcher.fo
     
    rward(ApplicationDis
    patcher.java:292)
         [java] 23:41:02,771 ERROR [STDERR]         at com.sun.faces.context.ExternalContextImpl.dispatc
     
    h(ExternalContextImp
    l.java:410)
         [java] 23:41:02,771 ERROR [STDERR]         at com.sun.faces.application.ViewHandlerImpl.execute
     
    PageToBuildView(View
    HandlerImpl.java:473)
         [java] 23:41:02,773 ERROR [STDERR]         at com.sun.faces.application.ViewHandlerImpl.renderV
     
    iew(ViewHandlerImpl.
    java:141)
         [java] 23:41:02,773 ERROR [STDERR]         at com.sun.faces.lifecycle.RenderResponsePhase.execu
     
    te(RenderResponsePha
    se.java:109)
         [java] 23:41:02,773 ERROR [STDERR]         at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:
     
    100)
         [java] 23:41:02,773 ERROR [STDERR]         at com.sun.faces.lifecycle.LifecycleImpl.render(Life
     
    cycleImpl.java:139)
         [java] 23:41:02,773 ERROR [STDERR]         at javax.faces.webapp.FacesServlet.service(FacesServ
     
    let.java:266)
         [java] 23:41:02,773 ERROR [STDERR]         at org.apache.catalina.core.ApplicationFilterChain.i
     
    nternalDoFilter(Appl
    icationFilterChain.java:290)
         [java] 23:41:02,774 ERROR [STDERR]         at org.apache.catalina.core.ApplicationFilterChain.d
     
    oFilter(ApplicationF
    ilterChain.java:206)
         [java] 23:41:02,774 ERROR [STDERR]         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.do
     
    Filter(ReplyHeaderFi
    lter.java:96)
         [java] 23:41:02,774 ERROR [STDERR]         at org.apache.catalina.core.ApplicationFilterChain.i
     
    nternalDoFilter(Appl
    icationFilterChain.java:235)
         [java] 23:41:02,774 ERROR [STDERR]         at org.apache.catalina.core.ApplicationFilterChain.d
     
    oFilter(ApplicationF
    ilterChain.java:206)
         [java] 23:41:02,774 ERROR [STDERR]         at org.apache.catalina.core.StandardWrapperValve.inv
     
    oke(StandardWrapperV
    alve.java:230)
         [java] 23:41:02,775 ERROR [STDERR]         at org.apache.catalina.core.StandardContextValve.inv
     
    oke(StandardContextV
    alve.java:175)
         [java] 23:41:02,775 ERROR [STDERR]         at org.jboss.web.tomcat.security.SecurityAssociation
     
    Valve.invoke(Securit
    yAssociationValve.java:182)
         [java] 23:41:02,775 ERROR [STDERR]         at org.apache.catalina.authenticator.AuthenticatorBa
     
    se.invoke(Authentica
    torBase.java:524)
         [java] 23:41:02,775 ERROR [STDERR]         at org.jboss.web.tomcat.security.JaccContextValve.in
     
    voke(JaccContextValv
    e.java:84)
         [java] 23:41:02,775 ERROR [STDERR]         at org.apache.catalina.core.StandardHostValve.invoke
     
    (StandardHostValve.j
    ava:127)
         [java] 23:41:02,776 ERROR [STDERR]         at org.apache.catalina.valves.ErrorReportValve.invok
     
    e(ErrorReportValve.j
    ava:102)
         [java] 23:41:02,776 ERROR [STDERR]         at org.jboss.web.tomcat.service.jca.CachedConnection
     
    Valve.invoke(CachedC
    onnectionValve.java:157)
         [java] 23:41:02,776 ERROR [STDERR]         at org.apache.catalina.core.StandardEngineValve.invo
     
    ke(StandardEngineVal
    ve.java:109)
         [java] 23:41:02,776 ERROR [STDERR]         at org.apache.catalina.connector.CoyoteAdapter.servi
     
    ce(CoyoteAdapter.jav
    a:262)
         [java] 23:41:02,776 ERROR [STDERR]         at org.apache.coyote.http11.Http11Processor.process(
     
    Http11Processor.java
    :844)
         [java] 23:41:02,777 ERROR [STDERR]         at org.apache.coyote.http11.Http11Protocol$Http11Con
     
    nectionHandler.proce
    ss(Http11Protocol.java:583)
         [java] 23:41:02,777 ERROR [STDERR]         at org.apache.tomcat.util.net.JIoEndpoint$Worker.run
     
    (JIoEndpoint.java:44
    6)
         [java] 23:41:02,777 ERROR [STDERR]         at java.lang.Thread.run(Thread.java:619)
    Merci d'avance

  20. #20
    Membre actif
    Profil pro
    Inscrit en
    décembre 2008
    Messages
    426
    Détails du profil
    Informations personnelles :
    Âge : 28
    Localisation : Tunisie

    Informations forums :
    Inscription : décembre 2008
    Messages : 426
    Points : 152
    Points
    152

    Par défaut

    J'ai parvenu enfin à résoudre mon problème .
    En faite, il fallait mettre richfaces-api.jar dans EAR/lib et les autres librairies de richfaces dans WEB-INF/lib en configurant le Web.xml comme suit :
    Code :
    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
     
    <description><![CDATA[EJBCA Administration web]]></description>
    <description><![CDATA[EJBCA Administration web]]></description>
     
    <context-param>
          <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
          <param-value>server</param-value>
       </context-param>
     
       <context-param>
          <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
          <param-value>.jsp</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.numberOfViewsInSession</param-name>
          <param-value>15</param-value>
       </context-param>
     
       <context-param>
          <param-name>numberOfLogicalViews</param-name>
          <param-value>15</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.verifyObjects</param-name>
          <param-value>false</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.forceLoadConfiguration</param-name>
          <param-value>false</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.disableVersionTracking</param-name>
          <param-value>false</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.enableHtmlTagLibValidator</param-name>
          <param-value>false</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.preferXHTML</param-name>
          <param-value>false</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.compressViewState</param-name>
          <param-value>true</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.responseBufferSize</param-name>
          <param-value>4096</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.clientStateWriteBufferSize</param-name>
          <param-value>8192</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.validateXml</param-name>
          <param-value>false</param-value>
       </context-param>
     
       <context-param>
          <param-name>com.sun.faces.displayConfiguration</param-name>
          <param-value>false</param-value>
       </context-param> 
     
    <context-param>
    <param-name>org.richfaces.SKIN</param-name>
    <param-value>deepMarine</param-value>
    </context-param>
    <filter>
    <display-name>RichFaces Filter</display-name>
    <filter-name>richfaces</filter-name>
    <filter-class>org.ajax4jsf.Filter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>richfaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    </filter-mapping>
       <context-param>
          <param-name>facelets.LIBRARIES</param-name>
          <param-value>/WEB-INF/tomahawk.taglib.xml</param-value>
          <description><![CDATA[apache myfaces tomahawk components taglib]]></description>
       </context-param>
    Merci

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

Liens sociaux

Règles de messages

  • Vous ne pouvez pas créer de nouvelles discussions
  • Vous ne pouvez pas envoyer des réponses
  • Vous ne pouvez pas envoyer des pièces jointes
  • Vous ne pouvez pas modifier vos messages
  •