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

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

JSF Java Discussion :

Problème de déploiment de projet en intégrant RichFaces


Sujet :

JSF Java

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Homme Profil pro
    Etudiant
    Inscrit en
    Février 2012
    Messages
    59
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Maroc

    Informations professionnelles :
    Activité : Etudiant
    Secteur : Industrie

    Informations forums :
    Inscription : Février 2012
    Messages : 59
    Par défaut Problème de déploiment de projet en intégrant RichFaces
    je suis vraiment bloqué je peux pas demarrer le serveur jboss , utilisant le Framework JSF et incluant les taglib de richfaces

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    06:25:48,449 ERROR [Digester] End event threw exception
    java.lang.reflect.InvocationTargetException
    	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.IntrospectionUtils.callMethod1(IntrospectionUtils.java:901)
    	at org.apache.tomcat.util.digester.SetNextRule.end(SetNextRule.java:193)
    	at org.apache.tomcat.util.digester.Rule.end(Rule.java:229)
    	at org.apache.tomcat.util.digester.Digester.endElement(Digester.java:1136)
    	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
    	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
    	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    	at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1643)
    	at org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextConfig.java:369)
    	at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1062)
    	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:261)
    	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
    	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4263)
    	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)

    aider moi SVP

  2. #2
    Membre Expert
    Homme Profil pro
    Ingénieur développement logiciels
    Inscrit en
    Juin 2007
    Messages
    2 938
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France

    Informations professionnelles :
    Activité : Ingénieur développement logiciels

    Informations forums :
    Inscription : Juin 2007
    Messages : 2 938
    Par défaut
    Bonjour,
    Peut on voir la trace complète incluant le causedBy?

  3. #3
    Membre confirmé
    Homme Profil pro
    Etudiant
    Inscrit en
    Février 2012
    Messages
    59
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Maroc

    Informations professionnelles :
    Activité : Etudiant
    Secteur : Industrie

    Informations forums :
    Inscription : Février 2012
    Messages : 59
    Par défaut
    j'ai résolu ce problème par redéploiment du projet.
    mais maintenant voila le problème qui s'affiche quand j’exécute la page qui contienne du code de richfaces
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    11:19:54,498 ERROR [[jsp]] "Servlet.service()" pour la servlet jsp a lancé une exception
    org.apache.jasper.JasperException: /ValiderReservation.jsp(17,76) #{..} is not allowed in template text
    	at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
    	at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
    	at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:102)
    	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:711)
    	at org.apache.jasper.compiler.Node$ELExpression.accept(Node.java:935)
    	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
    	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
    	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2394)
    	at org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
    	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
    	at org.apache.jasper.compiler.Validator.validate(Validator.java:1737)
    	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
    	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
    	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
    	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
    	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
    	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)
    	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
    	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
    	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
    	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
    	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
    	at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
    	at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
    	at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
    	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
    	at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
    	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
    	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
    	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
    	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    	at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
    	at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
    	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    	at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
    	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
    	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
    	at java.lang.Thread.run(Unknown Source)

  4. #4
    Membre actif Avatar de mr1azl
    Homme Profil pro
    Développeur Java
    Inscrit en
    Février 2011
    Messages
    77
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Maroc

    Informations professionnelles :
    Activité : Développeur Java
    Secteur : Finance

    Informations forums :
    Inscription : Février 2011
    Messages : 77
    Par défaut
    Tu peux poster le code de la ligne 17 de la page

  5. #5
    Membre confirmé
    Homme Profil pro
    Etudiant
    Inscrit en
    Février 2012
    Messages
    59
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Maroc

    Informations professionnelles :
    Activité : Etudiant
    Secteur : Industrie

    Informations forums :
    Inscription : Février 2012
    Messages : 59
    Par défaut
    ValiderReservation.jsp:
    je l'ai fait juste pour tester richfaces

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    <ui:composition xmlns="http://www.w3.org/1999/xhtml"
          xmlns:ui="http://java.sun.com/jsf/facelets"
          xmlns:h="http://java.sun.com/jsf/html"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:a4j="http://richfaces.org/a4j"
          xmlns:rich="http://richfaces.org/rich">
        <a4j:loadStyle src="resource:///org/richfaces/demo/ajaxSamples/rspanel.xcss" />
        <h:form>
     
            <rich:panel>
                <f:facet name="header">
                    <h:outputText value="Applying Skin on non-RichFaces Components"/>
                </f:facet>
     
                <div id="padding" style="padding: 20px">
                <h:commandLink value="DeepMarine">
                    <a4j:actionparam name="skin" value="deepMarine" assignTo="#{skinBean.skin}"/>
                </h:commandLink>
                <rich:spacer width="20" />
                <h:commandLink value="BlueSky" >
                    <a4j:actionparam name="skin" value="blueSky" assignTo="#{skinBean.skin}"/>
                </h:commandLink>
                <rich:spacer width="20" />
                <h:commandLink value="JapanCherry" >
                    <a4j:actionparam name="skin" value="japanCherry" assignTo="#{skinBean.skin}"/>
                </h:commandLink>
     
                <rich:separator height="1"  style="padding:10px 0" />
     
                <h:panelGrid style="padding: 15px" styleClass="rsPanel" width="250" columns="2">
                    <h:outputText styleClass="rsLabel" value="Name:" />
                    <h:inputText  styleClass="rsInput"  value="" />
     
                    <h:outputText styleClass="rsLabel" value="Job:" />
                    <h:inputText  styleClass="rsInput"  value="" />
     
                    <h:panelGroup />
                    <h:commandButton styleClass="rsButton"  value="Submit">
                        <a4j:support  disableDefault="true" event="onclick" reRender="out" />
                    </h:commandButton>
     
                    <f:facet name="footer">
                    </f:facet>
     
                </h:panelGrid>
                <h:panelGrid id="out" columns="1">
     
                <rich:spacer height="10"/>
                <h:outputText value="You have just entered:"/>
                <h:outputText value=""/>
                <h:outputText value="Name:" />
                <h:outputText value="" />
                </h:panelGrid>
                </div>
            </rich:panel>
        </h:form>
     
    </ui:composition>

  6. #6
    Membre actif Avatar de mr1azl
    Homme Profil pro
    Développeur Java
    Inscrit en
    Février 2011
    Messages
    77
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Maroc

    Informations professionnelles :
    Activité : Développeur Java
    Secteur : Finance

    Informations forums :
    Inscription : Février 2011
    Messages : 77
    Par défaut
    Est ce que tu as bien créer le bean skinBean? tu l'as bien déclarer ?


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
     <managed-bean>
      <managed-bean-name>skinBean</managed-bean-name>
      <managed-bean-class>org.richfaces.demo.common.SkinBean</managed-bean-class>
      <managed-bean-scope>session</managed-bean-scope>
      <managed-property>

  7. #7
    Membre confirmé
    Homme Profil pro
    Etudiant
    Inscrit en
    Février 2012
    Messages
    59
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Maroc

    Informations professionnelles :
    Activité : Etudiant
    Secteur : Industrie

    Informations forums :
    Inscription : Février 2012
    Messages : 59
    Par défaut
    merci bcp pour votre reponse j'avais le problème à la déclaration de SkinBean

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

Discussions similaires

  1. Réponses: 15
    Dernier message: 10/03/2012, 10h00
  2. Réponses: 1
    Dernier message: 27/11/2009, 15h32
  3. [IIS] problème de création un projet Web
    Par kouta20 dans le forum IIS
    Réponses: 20
    Dernier message: 02/05/2007, 17h10
  4. Problême après compilation du projet !
    Par Osiris26 dans le forum Access
    Réponses: 3
    Dernier message: 01/11/2005, 00h45
  5. Réponses: 4
    Dernier message: 08/09/2005, 11h41

Partager

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