3 Replies Latest reply on Oct 14, 2007 1:09 AM by Trung Thai

    UnKnow Error

    Trung Thai Newbie

      I have developed a web page using JBoss GA 4.2.1, Seam and PostgreSQL. I can deploy it successfully on Windows platform. But when I deploy it in Red Hat 4, I really get a serious problem. I don't know why and What's going on..... Are there anyone can help me?


      22:41:21,833 ERROR [ExceptionFilter] handling uncaught exception
      javax.servlet.ServletException: /QuestionList.xhtml @23,85 value="#{questionList .question.content}": Target Unreachable, identifier 'questionList' resolved to n ull
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:83)
       at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.jav a:63)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseX MLFilter.java:127)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter. java:277)
       at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociationValve.java:179)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:433)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:104)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC onnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:241)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:580)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7)
       at java.lang.Thread.run(Thread.java:595)
      Caused by: javax.el.PropertyNotFoundException: /QuestionList.xhtml @23,85 value= "#{questionList.question.content}": Target Unreachable, identifier 'questionList ' resolved to null
       at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.jav a:62)
       at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConverte dValue(HtmlBasicInputRenderer.java:81)
       at javax.faces.component.UIInput.getConvertedValue(UIInput.java:934)
       at javax.faces.component.UIInput.validate(UIInput.java:860)
       at javax.faces.component.UIInput.executeValidate(UIInput.java:1065)
       at javax.faces.component.UIInput.processValidators(UIInput.java:666)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBa se.java:1033)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBa se.java:1033)
       at javax.faces.component.UIForm.processValidators(UIForm.java:229)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBa se.java:1033)
       at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:66 2)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot.access$201(AjaxViewRoot.java :53)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot$3.invokeRoot(AjaxViewRoot.ja va:315)
       at org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(Jsf OneOneInvoker.java:53)
       at org.ajax4jsf.framework.ajax.AjaxContext.invokeOnRegionOrRoot(AjaxCont ext.java:191)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot.processValidators(AjaxViewRo ot.java:329)
       at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValida tionsPhase.java:100)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
       ... 35 more
      22:41:21,846 ERROR [ExceptionFilter] exception root cause
      javax.el.PropertyNotFoundException: /QuestionList.xhtml @23,85 value="#{question List.question.content}": Target Unreachable, identifier 'questionList' resolved to null
       at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.jav a:62)
       at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConverte dValue(HtmlBasicInputRenderer.java:81)
       at javax.faces.component.UIInput.getConvertedValue(UIInput.java:934)
       at javax.faces.component.UIInput.validate(UIInput.java:860)
       at javax.faces.component.UIInput.executeValidate(UIInput.java:1065)
       at javax.faces.component.UIInput.processValidators(UIInput.java:666)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBa se.java:1033)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBa se.java:1033)
       at javax.faces.component.UIForm.processValidators(UIForm.java:229)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBa se.java:1033)
       at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:66 2)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot.access$201(AjaxViewRoot.java :53)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot$3.invokeRoot(AjaxViewRoot.ja va:315)
       at org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(Jsf OneOneInvoker.java:53)
       at org.ajax4jsf.framework.ajax.AjaxContext.invokeOnRegionOrRoot(AjaxCont ext.java:191)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot.processValidators(AjaxViewRo ot.java:329)
       at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValida tionsPhase.java:100)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:83)
       at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.jav a:63)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseX MLFilter.java:127)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter. java:277)
       at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociationValve.java:179)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:433)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:104)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC onnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:241)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:580)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7)
       at java.lang.Thread.run(Thread.java:595)
      22:41:21,920 ERROR [DebugPageHandler] redirecting to debug page
      javax.el.PropertyNotFoundException: /QuestionList.xhtml @23,85 value="#{question List.question.content}": Target Unreachable, identifier 'questionList' resolved to null
       at com.sun.facelets.el.TagValueExpression.getType(TagValueExpression.jav a:62)
       at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConverte dValue(HtmlBasicInputRenderer.java:81)
       at javax.faces.component.UIInput.getConvertedValue(UIInput.java:934)
       at javax.faces.component.UIInput.validate(UIInput.java:860)
       at javax.faces.component.UIInput.executeValidate(UIInput.java:1065)
       at javax.faces.component.UIInput.processValidators(UIInput.java:666)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBa se.java:1033)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBa se.java:1033)
       at javax.faces.component.UIForm.processValidators(UIForm.java:229)
       at javax.faces.component.UIComponentBase.processValidators(UIComponentBa se.java:1033)
       at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:66 2)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot.access$201(AjaxViewRoot.java :53)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot$3.invokeRoot(AjaxViewRoot.ja va:315)
       at org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(Jsf OneOneInvoker.java:53)
       at org.ajax4jsf.framework.ajax.AjaxContext.invokeOnRegionOrRoot(AjaxCont ext.java:191)
       at org.ajax4jsf.framework.ajax.AjaxViewRoot.processValidators(AjaxViewRo ot.java:329)
       at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValida tionsPhase.java:100)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
       at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:290)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:83)
       at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.jav a:63)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseX MLFilter.java:127)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter. java:277)
       at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:40)
       at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter .java:69)
       at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi lter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:235)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:206)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:230)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:175)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit yAssociationValve.java:179)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:433)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv e.java:84)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:128)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:104)
       at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC onnectionValve.java:157)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:109)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:241)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :844)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce ss(Http11Protocol.java:580)
       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 7)
       at java.lang.Thread.run(Thread.java:595)
      22:41:22,204 ERROR [STDERR] Oct 11, 2007 10:41:22 PM com.sun.facelets.compiler.T agLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/data/jboss-4.2.1.GA/server/default/tmp/deplo y/tmp29135kadoo.ear-contents/kadoo-exp.war/WEB-INF/lib/jboss-seam-pdf.jar!/META- INF/seam-pdf.taglib.xml
      22:41:22,208 ERROR [STDERR] Oct 11, 2007 10:41:22 PM com.sun.facelets.compiler.T agLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/data/jboss-4.2.1.GA/server/default/tmp/deplo y/tmp29135kadoo.ear-contents/kadoo-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-IN F/jstl-core.taglib.xml
      22:41:22,222 ERROR [STDERR] Oct 11, 2007 10:41:22 PM com.sun.facelets.compiler.T agLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/data/jboss-4.2.1.GA/server/default/tmp/deplo y/tmp29135kadoo.ear-contents/kadoo-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-IN F/jsf-core.taglib.xml
      22:41:22,232 ERROR [STDERR] Oct 11, 2007 10:41:22 PM com.sun.facelets.compiler.T agLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/data/jboss-4.2.1.GA/server/default/tmp/deplo y/tmp29135kadoo.ear-contents/kadoo-exp.war/WEB-INF/lib/ajax4jsf-1.1.1.jar!/META- INF/a4j.taglib.xml
      22:41:22,241 ERROR [STDERR] Oct 11, 2007 10:41:22 PM com.sun.facelets.compiler.T agLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/data/jboss-4.2.1.GA/server/default/tmp/deplo y/tmp29135kadoo.ear-contents/kadoo-exp.war/WEB-INF/lib/jboss-seam-mail.jar!/META -INF/seam-mail.taglib.xml
      22:41:22,249 ERROR [STDERR] Oct 11, 2007 10:41:22 PM com.sun.facelets.compiler.T agLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/data/jboss-4.2.1.GA/server/default/tmp/deplo y/tmp29135kadoo.ear-contents/kadoo-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-IN F/jsf-ui.taglib.xml
      22:41:22,255 ERROR [STDERR] Oct 11, 2007 10:41:22 PM com.sun.facelets.compiler.T agLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/data/jboss-4.2.1.GA/server/default/tmp/deplo y/tmp29135kadoo.ear-contents/kadoo-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-IN F/jsf-html.taglib.xml
      22:41:22,264 ERROR [STDERR] Oct 11, 2007 10:41:22 PM com.sun.facelets.compiler.T agLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/data/jboss-4.2.1.GA/server/default/tmp/deplo y/tmp29135kadoo.ear-contents/kadoo-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-IN F/jstl-fn.taglib.xml
      22:41:22,277 ERROR [STDERR] Oct 11, 2007 10:41:22 PM com.sun.facelets.compiler.T agLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/data/jboss-4.2.1.GA/server/default/tmp/deplo y/tmp29135kadoo.ear-contents/kadoo-exp.war/WEB-INF/lib/richfaces-3.0.1.jar!/META -INF/rich.taglib.xml
      22:41:22,287 ERROR [STDERR] Oct 11, 2007 10:41:22 PM com.sun.facelets.compiler.T agLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/data/jboss-4.2.1.GA/server/default/tmp/deplo y/tmp29135kadoo.ear-contents/kadoo-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-I NF/s.taglib.xml
      
      


        • 1. Re: UnKnow Error
          Peter Johnson Master

          The only think I can think of is that there is another JSF jar file on you RedHat server that is being used inadvertently. To track this down, add the "-verbose:class" to the JAVA_OPTS in the run script and then examine the locations of the jar files for the classes loaded. You might have to also do this on Windows to have a control group to compare to.

          • 2. Re: UnKnow Error
            Trung Thai Newbie

             

            The only think I can think of is that there is another JSF jar file on you RedHat server that is being used inadvertently. To track this down, add the "-verbose:class" to the JAVA_OPTS in the run script and then examine the locations of the jar files for the classes loaded. You might have to also do this on Windows to have a control group to compare to.


            Thanks for your ideas. I will try it and find out what's going on. I will continue posting the results.

            • 3. Re: UnKnow Error
              Trung Thai Newbie

              I can make it work. The result is difference between ant build on windows and Linux.

              On Windows: Ant build make the build are Folders. ie: kadoo.jar folder
              On Linux: Ant build make the build are file. ie: kadoo.jar file.

              So, I have to build project on Window and Deploy it in Linux.

              I didn't know why....Are there any one can explain what happen with ANT on Linux? Please help...