Com.sun.faces.lifecycle.ApplyRequestValuesPhase java.lang.IndexOutOfBoundsE
Dear Members,
I have a page developed in Oracle ADF Version 10.1.3
In the page I have a query and results region.
I am entering the values in the query region and clicking on the search button to populate the results region.
The results region is getting populated perfectly. But after that when I click on any other button or tab in the page, I am getting the below error. Can any one please help me in resolving this issue. Many thanks in advance.
4/10/2012 05:57:22 com.sun.faces.lifecycle.ApplyRequestValuesPhase execute
SEVERE: Index: 1, Size: 1
java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
at java.util.ArrayList.RangeCheck(ArrayList.java:546)
at java.util.ArrayList.get(ArrayList.java:321)
at oracle.adf.view.faces.component.StampState.restoreChildStampState(StampState.java:119)
at oracle.adf.view.faces.component.UIXTable.restoreStampState(UIXTable.java:428)
at oracle.adf.view.faces.component.UIXCollection._restoreStampState(UIXCollection.java:1069)
at oracle.adf.view.faces.component.UIXCollection.postRowDataChange(UIXCollection.java:695)
at oracle.adf.view.faces.component.UIXCollection.setRowIndex(UIXCollection.java:380)
at oracle.adf.view.faces.component.UIXTable._processStamps(UIXTable.java:499)
at oracle.adf.view.faces.component.UIXTable.processFacetsAndChildren(UIXTable.java:379)
at oracle.adf.view.faces.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:142)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXCollection.processDecodes(UIXCollection.java:137)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXForm.processDecodes(UIXForm.java:53)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:818)
at oracle.adf.view.faces.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:803)
at oracle.adf.view.faces.component.UIXComponentBase.processDecodes(UIXComponentBase.java:673)
at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:900)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:326)
at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:99)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Hi.
the error occur always? only when the appmodule is in passivate state?
Similar Messages
-
Hi All,
i got this Exception in the log of the application on the application server with big rate
java.lang.NullPointerException at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:346)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:152)
at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:107)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:137)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:214)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
any idea???Hi guys,
I'm pretty sure I found the problem.
If there is a wrong url for a link in your JSF page it will throw this error in the log.
in my case i was referring a javascript file in the page which doesn't exist at the path.
So check all of your links on the page to make sure they are right. that should fix the problem.
atleast it did in my case.
Thanks
Praveen
Message was edited by:
bpraveen -
Java Code
public String viewOperationRouting(){
JUCtrlValueBindingRef selectedRowData= (JUCtrlValueBindingRef)this.getTable1().getSelectedRowData(); //this line Error: javax.faces.el.EvaluationException: java.lang.NullPointerException
Long routId = Long.parseLong(selectedRowData.getRow().getAttribute("routingSequenceId").toString());
TableSelectOneID.storeCurrentID(routId);
return "dialog:viewoperationalrouting";
}I encountered problems and strange:
When the first inquiry into the page, click the Edit button (call viewOperationRouting () method) will not be wrong, but when I enter the query terms vague query, click the Edit button again, the error would be!
OC4J out
2008-09-20 18:33:28.515 WARNING row is null for rowKey:oracle.jbo.Key[0 ]
ERROR com.sun.faces.lifecycle.InvokeApplicationPhase com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:100) - #{bom_OperationalRoutingsSummary.viewOperationRouting}: javax.faces.el.EvaluationException: java.lang.NullPointerException
javax.faces.FacesException: #{bom_OperationalRoutingsSummary.viewOperationRouting}: javax.faces.el.EvaluationException: java.lang.NullPointerException
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
at oracle.adf.view.faces.component.UIXCommand.broadcast(UIXCommand.java:211)
at oracle.adf.view.faces.component.UIXCollection.broadcast(UIXCollection.java:95)
at oracle.adf.view.faces.component.UIXTable.broadcast(UIXTable.java:208)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at com.pfc.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:228)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:197)
at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
... 28 more
Caused by: java.lang.NullPointerException
at com.taiqin.erp.view.formbean.bom.OperationalRoutingsSummary.viewOperationRouting(OperationalRoutingsSummary.java:483)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
... 29 more -
Hi,
when I use f:subview instead of f:view the string ' com.sun.faces.saveStateFieldMarker' shows up on my page.
Is this caused by something I do wrong? Is it a bug?
Sincerely,
Joost de VriesI have a similar problem. I also figured out, that all static HTML must be enclosed by verbatim tags, but when I click a link in the following form (which is a included subview, in this case the footer.jsp page), I get a nullpointer - exception):
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:loadBundle basename="de.pixxi.resources" var="messages" />
<!-- NOTICE: all static HTML has to be endclosed by verbatim tags -->
<h:form>
<h:commandLink id="de" actionListener="#{methodsBean.chooseLocale}"><h:outputText value="#{messages.german}"/></h:commandLink>
<f:verbatim> | </f:verbatim>
<h:commandLink id="en" actionListener="#{methodsBean.chooseLocale}"><h:outputText value="#{messages.english}"/></h:commandLink>
<f:verbatim> | </f:verbatim>
<h:commandLink action="register"><h:outputText value="#{messages.register_for_free}"/></h:commandLink>
<f:verbatim> | </f:verbatim>
<h:commandLink action="about"><h:outputText value="#{messages.about}"/></h:commandLink>
<f:verbatim> | </f:verbatim>
<h:commandLink action="invite"><h:outputText value="#{messages.invite}"/></h:commandLink>
</h:form>
here the exception:
java.lang.NullPointerException
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:997)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1008)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1008)
javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:1008)
com.sun.faces.application.StateManagerImpl.restoreComponentState(StateManagerImpl.java:273)
com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:186)
com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:239)
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:157)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
Why? Is it not allowed to have a form withina subview??
Any help is really greatly appreciated. I am already working few weeks around this problem.
thanx! -
Hi,
trying to use the cardemo and jwsdp1.01 plain I've got the following message.
Same with tomcat 4.1x standalone.
JDK1.3.1, NT/Win2000/IE5.5-6.0
Any ideas why ?
Thanks
Oliver
P.S. The same with the other examples
javax.servlet.ServletException: The message id 'com.sun.faces.MISSING_RESOURCE_ERROR' was not found in the message catalog
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:207)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2349)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:376)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:518)
at java.lang.Thread.run(Thread.java:536)
root cause
javax.faces.FacesException: The message id 'com.sun.faces.MISSING_RESOURCE_ERROR' was not found in the message catalog
at com.sun.faces.context.MessageResourcesImpl.getMessage(MessageResourcesImpl.java:221)
at com.sun.faces.context.MessageResourcesImpl.getMessage(MessageResourcesImpl.java:208)
at com.sun.faces.util.Util.getExceptionMessage(Util.java:213)
at com.sun.faces.util.Util.getExceptionMessage(Util.java:222)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getKeyAndLookupInBundle(HtmlBasicRenderer.java:204)
at com.sun.faces.renderkit.html_basic.ButtonRenderer.getImageSrc(ButtonRenderer.java:116)
at com.sun.faces.renderkit.html_basic.ButtonRenderer.encodeEnd(ButtonRenderer.java:231)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:1127)
at javax.faces.component.UICommand.encodeEnd(UICommand.java:156)
at javax.faces.webapp.FacesTag.doEndTag(FacesTag.java:278)
at org.apache.jsp.Storefront$jsp._jspService(Storefront$jsp.java:239)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:683)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:431)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:355)
at com.sun.faces.lifecycle.ViewHandlerImpl.renderView(ViewHandlerImpl.java:57)
at com.sun.faces.lifecycle.JspRenderResponsePhase.execute(JspRenderResponsePhase.java:91)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:259)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:205)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2349)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:646)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:469)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:644)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:483)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:376)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:518)
at java.lang.Thread.run(Thread.java:536)
Java Web Services Developer Pack/1.0_01-fcsDo you using a German environment?
See the FAQ: http://java.sun.com/j2ee/javaserverfaces/faq.html#missing_resource
Or just add the line: <?xml version="1.0" encoding="iso-8859-1"?>
at the beginning of the "JSFImplMessages_de.xml" of the "jsf-ri.jar", because it contains non ASCII-7 chars. -
Com.sun.faces.el.impl.ElException
Hi all,
my web app works fine so far with Firefox or NC7 but with IE the server throws the following exception (same thing is happen with Tomcat):
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Encountered "}", expected one of [, , , "true", "false", "null", "(", "-", "not", "!", "empty", ]
javax.faces.webapp.FacesServlet.service(FacesServlet.java:209)
sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(Native Method)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:181)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(Native Method)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:181)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
root cause
com.sun.faces.el.impl.ElException: Encountered "}", expected one of [, , , "true", "false", "null", "(", "-", "not", "!", "empty", ]
com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:289)
com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpression(ExpressionEvaluatorImpl.java:199)
com.sun.faces.application.ApplicationImpl.checkSyntax(ApplicationImpl.java:741)
com.sun.faces.application.ApplicationImpl.createValueBinding(ApplicationImpl.java:291)
com.sun.jsfcl.app.ViewHandlerImpl.setupPageBean(ViewHandlerImpl.java:267)
com.sun.jsfcl.app.ViewHandlerImpl.createView(ViewHandlerImpl.java:126)
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:164)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(Native Method)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:181)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
java.security.AccessController.doPrivileged(Native Method)
java.security.AccessController.doPrivileged(Native Method)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
com.sun.jsfcl.app.ViewHandlerImpl.renderView(ViewHandlerImpl.java:181)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
sun.reflect.GeneratedMethodAccessor155.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)This is happen after clicking on an image hyperlink .
The code for the image hyperlink component looks like this:
<h:outputLink binding="#{Index.hyperlinkHome1}" id="hyperlinkHome1"
onclick="window.open('resources/DSSMain.png','newWindow','width=745,height=530')" style="margin-bottom: 10px" styleClass="imagelink">
<h:graphicImage binding="#{Index.image1}" id="image1" style="margin-bottom: 10px; text-align: center" value="resources/DSSMainSmall.png"/>
</h:outputLink>Any help is greatly appreciated.
StephanIn my case it was an IE related problem. I solved it
by adding
return falseto the onclick javascript.
StephanCan you post what it ended up looking like?
I'm having this same issue and I don't like messing with the underlying javascript unless I am certain of exactly what it should look like.
In my case I have this:
<h:panelGrid binding="#{ImageReports.gridPanel9}" columns="1" id="gridPanel9" styleClass="centeredTextOnly">
<h:outputText binding="#{ImageReports.leftBuccalImageOutputText}" id="leftBuccalImageOutputText" style="height: 24px; width: 98px" value="Left Buccal"/>
<h:commandButton action="#{ImageReports.leftBuccalImage_action}" binding="#{ImageReports.leftBuccalImage}" id="leftBuccalImage"
style="height: 96px; width: 112px" value="leftBuccalImage"/>
</h:panelGrid> -
Com.sun.faces.el.impl.parser.ParseException
hi all;
i' have encountered an error. Do you have any idea.?
i think its about jsf syntax , but i couldn't see an syntax fault in jsp file (at least eclipse IDE did not warn me.)
http://asahin.net
2006-05-30 14:18:12 StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
com.sun.faces.el.impl.ElException: Encountered "d", expected one of ["}", ".", ">", "gt", "<", "lt", "==", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-", "*", "/", "div", "%", "mod", "and", "&&", "or", "||", "?"]
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:289)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpression(ExpressionEvaluatorImpl.java:199)
at com.sun.faces.application.ApplicationImpl.checkSyntax(ApplicationImpl.java:741)
at com.sun.faces.application.ApplicationImpl.createValueBinding(ApplicationImpl.java:291)
at org.apache.shale.faces.ShaleViewHandler.setupViewController(ShaleViewHandler.java:226)
at org.apache.shale.faces.ShaleViewHandler.createView(ShaleViewHandler.java:123)
at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:164)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:285)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: com.sun.faces.el.impl.parser.ParseException: Encountered "d" at line 1, column 36.
Was expecting one of:
">" ...
"gt" ...
"<" ...
"lt" ...
"==" ...
"eq" ...
"<=" ...
"le" ...
">=" ...
"ge" ...
"!=" ...
"ne" ...
"+" ...
"div" ...
"mod" ...
"and" ...
"or" ...
"||" ...
at com.sun.faces.el.impl.parser.ELParserImpl.generateParseException(ELParserImpl.java:2234)
at com.sun.faces.el.impl.parser.ELParserImpl.jj_consume_token(ELParserImpl.java:2102)
at com.sun.faces.el.impl.parser.ELParserImpl.AttrValueExpression(ELParserImpl.java:110)
at com.sun.faces.el.impl.parser.ELParserImpl.ExpressionString(ELParserImpl.java:50)
at com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:282)
... 36 moreHello all,
I face the same problem and as A_SAHIN stated although the jsp page is rendered there exists error messages in log files. Here is some part of the jsp file that cause the exception.
<tr>
<td height="3" nowrap="nowrap" valign="top" width="16%"><h:outputLabel
value="Start Date" binding="#{sp$createSAContract.lblstartDate}"
id="lblstartDate" /></td>
<td height="3" valign="top" nowrap="nowrap"><h:inputText
binding="#{sp$createSAContract.txtstartDate}" id="txtstartDate"
style="behavior:url(../resourceSite/htc/DateTime.htc);text-align:right;"
maxlength="15" value="#{sp$createSAContract.generalStartDate}"></h:inputText>
<h:graphicImage url="/resourceSite/images/calendar.gif" alt="Calendar"
binding="#{sp$createSAContract.imgstartDate}" id="imgstartDate"
height="14" width="16" /></td>
<td height="3" nowrap="nowrap" valign="top" width="19%"><h:outputLabel
value="End Date" binding="#{sp$createSAContract.lblendDate}"
id="lblEndDate" /></td>
<td nowrap="nowrap" width="34%" valign="top" height="3"><h:inputText
binding="#{sp$createSAContract.txtendDate}" id="txtendDate"
style="behavior:url(../resourceSite/htc/DateTime.htc);text-align:right;"
maxlength="15" value="#{sp$createSAContract.generalEndDate}" /> <h:graphicImage
url="/resourceSite/images/calendar.gif" alt="Calendar"
binding="#{sp$createSAContract.imgendDate}" id="imgendDate" height="14"
width="16" /></td>
</tr> -
Hi,
I installed new 5158 build and I get this exception wlile trying to run MyApp:
<Dec 12, 2008 11:58:00 AM CET> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Source Document: zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/MyApp/saai2d/war/WEB-INF/lib/adf-controller.jar!/META-INF/faces-config.xml
Cause: Class 'oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener' is missing a runtime dependency: java.lang.NoClassDefFoundError: javax/faces/event/PhaseListener.
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
Source Document: zip:C:/Oracle/Middleware/jdeveloper/system/system11.1.1.0.31.51.88/DefaultDomain/servers/DefaultServer/tmp/_WL_user/MyApp/saai2d/war/WEB-INF/lib/adf-controller.jar!/META-INF/faces-config.xml
Cause: Class 'oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener' is missing a runtime dependency: java.lang.NoClassDefFoundError: javax/faces/event/PhaseListener
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:211)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:184)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:465)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
Truncated. see log file for complete stacktrace
{code}
This app worked with 5156, any help?
Pedjajava.lang.ClassNotFoundException: javax.faces.el.VariableResolver
Add the jsf-api.jar to the runtime classpath of the server. -
I create a enterprise application using jsf 2.0, ejb3, primefaces 2 and I want to show data in table immediately after ejb call findAll() method. But it's always appear: "can't instantiate class". Here is my code:
index.xhtml
<h:form>
<p:dataTable id="tbl" var="p" value="#{Product.products}" >
<p:column>
<f:facet name="header">
Product Id
</f:facet>
<h:outputText value="#{p.productID}" />
</p:column>
<p:column>
<f:facet name="header">
Product Name
</f:facet>
<h:outputText value="#{p.productName}" />
</p:column>
<p:column>
<f:facet name="header">
Unit Price
</f:facet>
<h:outputText value="#{p.unitPrice}" />
</p:column>
</p:dataTable>
</h:form>
package myEntity;
@Entity
@Table(name = "Products")
@NamedQueries({
@NamedQuery(name = "Products.*findAll*", query = "SELECT p FROM Products p"),
public class Products implements Serializable {
private static final long serialVersionUID = 1L;
@Id
@Basic(optional = false)
@Column(name = "productID")
private Integer productID;
@Basic(optional = false)
@Column(name = "productName")
private String productName;
@Basic(optional = false)
@Column(name = "unitPrice")
private double unitPrice;
public Products() {
public Products(Integer productID) {
this.productID = productID;
public Products(Integer productID, String productName, double unitPrice) {
this.productID = productID;
this.productName = productName;
this.unitPrice = unitPrice;
public Integer getProductID() {
return productID;
public void setProductID(Integer productID) {
this.productID = productID;
public String getProductName() {
return productName;
public void setProductName(String productName) {
this.productName = productName;
public double getUnitPrice() {
return unitPrice;
public void setUnitPrice(double unitPrice) {
this.unitPrice = unitPrice;
package mySessionBean;
@Stateless
public class ProductsFacade implements ProductsFacadeLocal {
@PersistenceContext(unitName = "demoProduct-ejbPU")
private EntityManager em;
public List<Products> *findAll*() {
CriteriaQuery cq = em.getCriteriaBuilder().createQuery();
cq.select(cq.from(Products.class));
return em.createQuery(cq).getResultList();
package myManagedBean;
@ManagedBean(name="Product")
@RequestScoped
public class Product {
@EJB
private ProductsFacadeLocal productsFacade;
private List<Products> products;
/** Creates a new instance of Product */
public Product() {
*products = productsFacade.findAll();*
public List<Products> getProducts() {
return products;
public void setProducts(List<Products> products) {
this.products = products;
An Error Occurred:
Cant instantiate class: myManagedBean.Product.
+- Stack Trace
com.sun.faces.mgbean.ManagedBeanCreationException: Cant instantiate class: myManagedBean.Product.
at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:193)
Caused by: java.lang.NullPointerException
at myManagedBean.Product.<init>(Product.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:188)This is just baffling. The OP 'created' an enterprise application, but doesn't know the basics of the basics that is null-references? That is like knowing how to do your taxes without knowing how to add and subtract.
-
Hi Techies,
I am facing small problem with deployment thru cosole deployment.. details below.I am using Jdeveloper 11.1.2.1.0 ver.
I am able to deploy the application thru Jdeveloper Run/Debug Option. But If i create an EAR file and deploying thru server console , then i am getting below error. hence its not deploed.
.Till yesterday it was working ..Just to day i am facing this issue.What can be the reasons for this ?
Can anyone help me plz..
---------------------- Error Message on log---------------------------------------------------------------------------------
<ConfigureListener> <contextInitialized> Critical error during deployment:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! javax.faces.el.VariableResolver
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
at com.sun.faces.util.Util.loadClass(Util.java:291)
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:311)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:240)
at com.sun.faces.config.processor.ApplicationConfigProcessor.addVariableResolver(ApplicationConfigProcessor.java:626)
at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:302)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:216)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:338)
... 38 more
<Jul 25, 2013 8:50:54 PM GMT> <Warning> <HTTP> <BEA-101162> <User defined listener com.sun.faces.config.ConfigureListener failed: java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! javax.faces.el.VariableResolver.
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! javax.faces.el.VariableResolver
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:294)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
Truncated. see log file for complete stacktrace
Caused By: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! javax.faces.el.VariableResolver
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:357)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
Truncated. see log file for complete stacktrace
>
<ConfigureListener> <contextDestroyed> Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: Application was not properly initialized at startup, could not find Factory: javax.faces.application.ApplicationFactory
at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:804)
at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:306)
at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:108)
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:327)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:482)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextDestroyedEvent(EventsManager.java:200)
at weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletContext.java:3224)
at weblogic.servlet.internal.ServletContextManager.destroyContext(ServletContextManager.java:247)
at weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:461)
at weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.java:1535)
at weblogic.servlet.internal.WebAppModule.deactivate(WebAppModule.java:507)
at weblogic.application.internal.flow.ModuleStateDriver$2.previous(ModuleStateDriver.java:387)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
at weblogic.application.internal.flow.ModuleStateDriver.deactivate(ModuleStateDriver.java:141)
at weblogic.application.internal.flow.ScopedModuleDriver.deactivate(ScopedModuleDriver.java:206)
at weblogic.application.internal.flow.ModuleListenerInvoker.deactivate(ModuleListenerInvoker.java:261)
at weblogic.application.internal.flow.DeploymentCallbackFlow$2.previous(DeploymentCallbackFlow.java:547)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:215)
at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:192)
at weblogic.application.internal.flow.DeploymentCallbackFlow.deactivate(DeploymentCallbackFlow.java:184)
at weblogic.application.internal.BaseDeployment$2.previous(BaseDeployment.java:642)
at weblogic.application.utils.StateMachineDriver.previousState(StateMachineDriver.java:223)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:63)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
<Jul 25, 2013 8:50:54 PM GMT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1374785326461' for task '2'. Error is: 'weblogic.application.ModuleException: '
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
Truncated. see log file for complete stacktrace
>
<Jul 25, 2013 8:50:54 PM GMT> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'EmersonMMI_QACerts'.>
<Jul 25, 2013 8:50:54 PM GMT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'EmersonMMI_QACerts'.>
<Jul 25, 2013 8:50:54 PM GMT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
Truncated. see log file for complete stacktrace
>
<Jul 25, 2013 8:50:55 PM GMT> <Error> <Console> <BEA-240003> <Console encountered the following error weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1510)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:636)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: java.lang.ClassNotFoundException: javax.faces.el.VariableResolver
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:297)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:630)
at java.lang.ClassLoader.defineClass(ClassLoader.java:614)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at weblogic.utils.classloaders.GenericClassLoader.defineClass(GenericClassLoader.java:343)
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:302)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:270)
at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:179)
at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:43)
at com.sun.faces.util.Util.loadClass(Util.java:291)
at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:311)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:240)
at com.sun.faces.config.processor.ApplicationConfigProcessor.addVariableResolver(ApplicationConfigProcessor.java:626)
at com.sun.faces.config.processor.ApplicationConfigProcessor.process(ApplicationConfigProcessor.java:302)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:116)
at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:114)
at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:216)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:338)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:226)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1872)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1508)..
[03:58:26 AM] Deployment cancelled.
[03:58:26 AM] ---- Deployment incomplete ----.
[03:58:26 AM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
Thanks,
Rajeshjava.lang.ClassNotFoundException: javax.faces.el.VariableResolver
Add the jsf-api.jar to the runtime classpath of the server. -
I have a sample web application from ESRI working on tomcat but fails on weblogic 10.3.3. errors are below.
jsf jars are in web-inf/lib directory of war. also tried..
<container-descriptor>
<prefer-web-inf-classes>
true
</prefer-web-inf-classes>
</container-descriptor>
any help is appreciated.
thanks!
Error Message:
javax.faces.el.ReferenceSyntaxException: (mapContext.attributes.mapEditor.shapeType == \'POINT\')? \'hiddenButton\':\'disabledButton\'
com.sun.faces.el.impl.parser.ParseException: Encountered "\\" at line 1, column 49.
Was expecting one of:
"true" ...
"false" ...
"null" ...
"not" ...
"empty" ...
at com.sun.faces.el.impl.parser.ELParserImpl.generateParseException(ELParserImpl.java:2254)
at com.sun.faces.el.impl.parser.ELParserImpl.jj_consume_token(ELParserImpl.java:2122)
at com.sun.faces.el.impl.parser.ELParserImpl.ValuePrefix(ELParserImpl.java:782)
at com.sun.faces.el.impl.parser.ELParserImpl.Value(ELParserImpl.java:721)
at com.sun.faces.el.impl.parser.ELParserImpl.UnaryExpression(ELParserImpl.java:697)
at com.sun.faces.el.impl.parser.ELParserImpl.MultiplyExpression(ELParserImpl.java:543)That will work only when all the supporting classes are placed inside the WEB-INF/lib directory only in form of Jar files.
If any one of the Class is being loaded from outside of the WEB-INF/lib jars then you will definately face this issue......
Example:
Suppose "com.sun.faces.el.impl.parser.* " classes are present in some other Jar file outside WEB-INF/lib but rest of the JSF Jars and Parser Jars are present inside the WEB-INF/lib directory ..in that case you will see this kind of issue Because the JSF config Parser will change according to the version of JSF and WLS also provides some supporting Jars in "modules/" or "server/lib" or in "common/lib" directories.
Thanks
Jay SenSharma
http://middlewaremagic.com/weblogic (Middleware Magic Is here) -
Context parameter com.sun.faces.DEFAULT_SUFFIX
Hi All
I was wondering about the context parameter com.sun.faces.DEFAULT_SUFFIX. Back when I learned JSF for the first time, together with learning Facelet, we use javax.faces.DEFAULT_SUFFIX context parameter to set to xhtml, as such:
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
Now, I noticed that almost all javax.faces context parameter has been refactored to com.faces.* context parameter, and all have been documented in the wiki here:
http://wiki.glassfish.java.net/Wiki.jsp?page=JavaServerFacesRI#section-JavaServerFacesRI-WhatContextParametersAreAvailableAndWhatDoTheyDo
well, all context parameter but DEFAULT_SUFFIX. since all our code in my company uses this. If we omit this context parameter, the code wouldnt work.
Question:
1. Why there is no documentation about this context parameter in wiki?
2 If this context param has been refactored to com.faces.DEFAULT_SUFFIX, why is it when we use com.faces.DEFAULT_SUFFIX, the code would not work, but when we changed back to javax.faces.DEFAULT_SUFFIX it would work.?Well, I am using apache tomcat 6.26, below is what I got when starting the app server (I commented out javax.faces.DEFAULT_SUFFIX in web.xml when I started this).
INFO: JSF1026: [xray] Configuration option 'com.sun.faces.managedBeanFactoryDecoratorClass' not configured
Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
INFO: JSF1018: [xray] Configuration option 'com.sun.faces.STATE_SAVING_METHOD' set to 'server'
Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
*INFO: JSF1018: [xray] Configuration option 'com.sun.faces.DEFAULT_SUFFIX' set to '.jsp'*
Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
INFO: JSF1026: [xray] Configuration option 'com.sun.faces.CONFIG_FILES' not configured
Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
INFO: JSF1026: [xray] Configuration option 'com.sun.faces.LIFECYCLE_ID' not configured
Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
INFO: JSF1018: [xray] Configuration option 'com.sun.faces.numberOfViewsInSession' set to '15'
Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
INFO: JSF1018: [xray] Configuration option 'com.sun.faces.numberOfLogicalViews' set to '15'
Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
INFO: JSF1021: [xray] Configuration option 'com.sun.faces.validateXml' - DISABLED
Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
INFO: JSF1021: [xray] Configuration option 'com.sun.faces.verifyObjects' - DISABLED
Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
INFO: JSF1021: [xray] Configuration option 'com.sun.faces.forceLoadConfiguration' - DISABLED
Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
INFO: JSF1021: [xray] Configuration option 'com.sun.faces.disableVersionTracking' - DISABLED
Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
INFO: JSF1021: [xray] Configuration option 'com.sun.faces.enableHtmlTagLibValidator' - DISABLED
Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
INFO: JSF1021: [xray] Configuration option 'com.sun.faces.preferXHTML' - DISABLED
Jul 3, 2010 12:31:24 PM com.sun.faces.config.WebConfiguration <init>
INFO: JSF1021: [xray] Configuration option 'com.sun.faces.compressViewState' - ENABLED
Jul 3, 2010 12:31:24 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Initializing Sun's JavaServer Faces implementation (1.2-NIGHTLY_20060407) for context '/xray'
Jul 3, 2010 12:31:24 PM com.sun.faces.config.ConfigureListener contextInitialized
INFO: Completed initializing Sun's JavaServer Faces implementation (1.2-NIGHTLY_20060407) for context '/xray'
Jul 3, 2010 12:31:24 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Jul 3, 2010 12:31:24 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Jul 3, 2010 12:31:25 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jul 3, 2010 12:31:25 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jul 3, 2010 12:31:25 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Jul 3, 2010 12:31:25 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1789 ms
Edited by: niner on Jul 2, 2010 11:07 PM -
I can't find the package, "com.sun.faces.config.beans"
Hi. To research the implementation mechnism of JSF, I downloaded JSF reference implementation source JAR from javaserverfaces.dev.java.net.
But when I unziped the JAR and import these files into eclipse to compile this project, a serials of compile errors occurred. Making a comparation between binary JAR and source JAR, I found that some files contained in binary JAR weren't in the source JAR. For example, com.sun.faces.config.beans package exists in the jsf-impl.jar, but not in jsf-impl's source JAR. I ensure that the binary files and source files have the same version.
Any advice is welcome. THX.
nullThere are three source projects for JSF. The jsf-api, jsf-impl, and jsf-tools. The jsf-tools one contains the package you're looking for.
I never understood why the JSF developers organized their projects this way. Basically, it looks like the jsf-tools project gets compiled into the jsf-impl jar. Thus it's not 1 project to 1 JAR. And confuses people like us!
CowKing -
Com.sun.faces.saveStateFieldmarker in Portlet page
Hi,
I have a Sun JSF application (version 1.1_02) deployed as a portlet in JBoss Portal server 2.4.1, When I launch the portal, I am getting the following text displayed,
com.sun.faces.saveStateFieldmarker
I don't get this text in the same application that I have deployed in the JBoss App Server 4.0.3 and I have implemented java.io.Serializable interface in all my bean classes, I have tried with both the state saving methods server/client.
Please help me in resolving this issue.
ThanksThat marker will be written out whenever a Form is called.
In the JSP case, the ViewHandler (in 1.2) will replace those markers
with the tree state. It sounds like the Portlet's ViewHandler isn't doing any replacement and thus this marker is present in the ouput.
I'd contact the folks who created the portlet/jsf integration library for assistance. -
Com.sun.faces.el.ValueBindingImpl@a4f80e
Hi,
I get the following error message that doesn’t look nice at all.
com.sun.faces.el.ValueBindingImpl@a4f80e - Value required.
Is there any way that I can display the field label from property bundle instead of com.sun.faces.el.ValueBindingImpl@a4f80e
For example Place of birth - Value required where ‘Place of birth’ is from property bundle.
Regards
V.Piraba
Message was edited by:
V.PirabaHi,
create managed bean with public method getPlaceOfBirth() and change your label to
label="#{yourBundleBeen.placeOfBirth}"
The method retrieves message from resource bundle.
For java class resource bundle the method can look like:
public String getPlaceOfBirth() {
return getMsg("PlaceOfBirth");
private String getMsg(String key) {
UIResources bundle = new UIResources();
FacesContext ctx = FacesContext.getCurrentInstance();
Locale locale = ctx.getViewRoot().getLocale();
ResourceBundle rbundle =
bundle.getBundle("com.xxx.view.resources.UIResources", locale);
return rbundle.getObject(key).toString();
}(UIResources - resource bundle class)
I hope similar technique can be used for resource property files.
Rado
Maybe you are looking for
-
Airport extreme not seen by one macbook but not another
I just updated my firmware for my Airport extreme (version 7.4.1) and my macbook pro can see it just fine however my girlfriends macbook can't see it at all. We pick up all the same wi-fi connections except hers doesn't see my airport extreme connect
-
Info record Text download and upload
Hi, Can you guys tell me how to download the info record text from one plant (info record text and purchase order text in inforec) and then i need upload the same text in diff plant. Is there a std way of doing this? (i don't think i have seen it) Ca
-
Excluding Value Range - ABAP Routine at Infopakage Selection
Hi, In Production the volume of data is very high, I m splitting the data based on Material No. 000000000000 - 4ZZZZZZZZZ, 500000000000 - 8ZZZZZZZZZ, 900000000000 - FFFFFFFFFFFFF, and the remaining Material No.s. I created seperate InfoPaks for the m
-
One Material Multiple Descriptions
Hi All, We have one material and the description of this material is different across the two plants that we have. How to map this? Please find the example below Material A - Plant 1: Mobile Phone 1122 Material A - Plant 2: Handy Phone 1122 Now these
-
Bizarre error adding Numbers in Flex 4
I'm having a bizarre error adding numbers in Flex 4. In all cases, I'm getting the correct result, but sometimes I'm getting extra precision with a 5 at the end. For example, If I try to add 5 and 1.56, I get 6.5600000000000005 a lot of numbers add