[JSF] com.sun.faces.saveStateFieldMarker
hi
iam using folllow libraries
- myfaces 1.5 and tomahawk 1.5
- trinidad 1.0.0
- richfaces 3.0.0
over the pages i am navigate with panelTabs.
if start the weba-app i get at the end of first page i get the message "com.sun.faces.saveStateFieldMarker" and i cant navigate to next page.
in my classpath is also set the jsf-impl and jsf-api (sun jsf ri).
regards
mathias
Hi,
since most of the components originate from MyFaces I suggest to ask this on their mailing list first.
I think that it will take longer for us to create a testcase than them (beside of that we are not in control of this software stack).
So unless you experience issues with JDeveloper - which in this combination I would be very interested in - the problem should be forwarded to Apache MyFaces.
http://wiki.apache.org/myfaces/FrontPage
Frank
Similar Messages
-
Com.sun.faces.saveStateFieldMarker after upgrading to JSF 1.1_02
After upgrading from JSF RI 1.1_01 to 1.1_02 , "com.sun.faces.saveStateFieldMarker" is displayed at the bottom on my jsf-page.
I scanned the forums and found some threads about this. However, I haven't found a proper solution to the problem. Any ideas?
Thanks
/Alex
By the way, I'm using subviews which, according to other threads, cause this problem?
Message was edited by:
alexndrYes, I have read this faq.
The thing is that I'm saving the state on the server side:
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>and this contradicts the first lines in the faq:
"This message only appears if the state is saved on the client"
Anyhow, I have gone through the checklist with suggestions and none of them conforms to my project.
I just found out that I only get this problem using specific Ajax funcionality so I think I will move my question to another forum.
Thanks. -
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.saveStateFieldMarker
Using JSF2, Primefaces, facelets. Glassfish 3.
I have a page with a tabset and several tabs.
When I navigate to the page it displays as expected, however when I change tabs, the new tab is displayed, but I get the text string
com.sun.faces.saveStateFieldMarker
displayed at the top of the new tab.
What causes that and how can I get rid of it?
ThanksBalusC wrote:
It would be helpful if you didn't ignore the stacktrace and share it with us.Thanks for your response. I don't get any error message. Simply com.sun.faces.saveStateFieldMarker that at the top of my web page and also thelinks in that page is not working. -
Why is there a string "com.sun.faces.saveStateFieldMarker" on my screen?
Hi All,
I am getting the above message i dont know what is causing that error no clue
Here is my JSP code
<h:form>
<%
//String usergroup=(String)session.getAttribute("usergroup");
String usergroup="APPLE ADMIN";
if(SidAccessvaribales.report_acs.containsKey(usergroup))
{%>
<h:commandLink value="Search" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim> </f:verbatim>
<h:commandLink value="New SI" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim> </f:verbatim>
<h:commandLink value="Work List" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim> </f:verbatim>
<h:commandLink value="Reports" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim> </f:verbatim>
<% }else{%>
<h:commandLink value="Search" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim> </f:verbatim>
<h:commandLink value="New SI" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim> </f:verbatim>
<h:commandLink value="Worklist" styleClass="bluemore_s" action="#{backing_login.plantresults}"></h:commandLink><f:verbatim> </f:verbatim>
<%}
String usergroup1="User Admin";
if(usergroup1.equals("User Admin"))
{%>
<h:commandLink value="User Admin" styleClass="blueleft_rt" onmouseover="MM_showMenu(window.useradmin,255,95,null,'link2')" onmouseout="MM_startTimeout();"></h:commandLink>
<%}%>
</h:form>
please anybody help..me..........
Thanks.. in Advance....
Susy..http://www.jsf-faq.com/faqs/faces-misc.html
-
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 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 -
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. -
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.
-
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) -
Question to parameter com.sun.faces.serializeserverstate
Hello,
I am actually working on a JSF web application. We use JSF 2.1.2 and primefaces 2.2.1.
Actually we have some memory Problems on the server. So we made some tests with STATE_SAVING_METHOD "client"
and STATE_SAVING_METHOD "server" and com.sun.faces.serializeserverstate.
My question here is, where does JSF write the server state on disk (directory, filename).
Is it possible to change this manually?? (We need this, for daily clean up)
What happens if the memory on harddisk is full? JSF will change mode or just stop??
When will JSF clean up the serialized server states?
Is JSF compressing the serverstate before serializing or does JSF compress only for "client"-method??
I have searched the net but was not able to find any satisfying information.
I hope anybody can help me!
thx859302 wrote:
Well i thought com.sun.faces.serializeserverstate satnds for serialize the state to harddisk, so that ram will not be blocked on server-side.You assumed it. Assumptions are usually wrong. I don't see why you would assume it in this case however, all I would assume is that data is serialized, there is nothing in there about where the serialized data is kept.
>
I could not find a good description of this parameter but this parameter just serializes the "big" server state into a stream and just holds the
stream in memory. The "big" server state will be freed. The next request will build from the stream the "big" server state and after render response,
again it will be serialized to the stream. Is this right??What it means is that not only the component tree is serialized, but also the component state is itself; most notably values that were input into the components. This has the added benefit that going back to a previous view (using the browser's back button for example) the values that were input into components will be back to their previous state, the downside is that it uses more resources of course. Unless you really need it, I would leave this to the default (which is disabled).
I didn't really know that and I might interpret the description wrong, but I figured out as much by literally posting "com.sun.faces.serializeserverstate" into google and looking through some of the results. -
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 -
Re: com.sun.faces.config.ConfigListener not found
I am using Tomcat 4.1.24 and got the demos from EA4 working. Now I am getting an error in my own JSF WAR file about com.sun.faces.config.ConfigListener class cannot be found.
What jar file would I be missing?
Thank you.Hi All,
I am facing the same problem on TOmcat 4.0. I copied the jsf-ri.jar from war file/lib to tomcat_home/common/lib and the problem was resolved. Can anyone from Sun address this issue please as to why this is so?
Also, now the container is not able to access the Faces Servlet. I should mention here that this does not work only when deployed as a war file.
regards,
piyu -
BUG in com.sun.faces.config.ManagedBeanFactory
While browsing the JSF 1.0 source code, IntelliJ found a "silly assignment" in com.sun.faces.config.ManagedBeanFactory:
public void setManagedBeanBean(ManagedBeanBean newBean) {
synchronized (this) {
//ManagedBeanBean clone method implemented to return deep copy
this.managedBean = managedBean; // (ManagedBeanBean) newBean.clone();
//set the scope
scope = managedBean.getManagedBeanScope();
}The problem is that the line
this.managedBean = managedBean;is assigning a value to itself, whereas of course it should be:
this.managedBean = newBean;Geoff RimmerThis has been fixed and will be availabe in the next release.
-
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.
Maybe you are looking for
-
How can find database field and table name
how can find the underline database field name,table name from java page. Example. in oracle apps when we go purchaseing super user then supplier base then supplier and find supplier detail .
-
Hi, I need to preserve consistency of data in BAM, meaning BAM itself does not require HA, but I need to guaranty there is no loss of data (even if BAM server is down). I have a single BAM server and a cluster of WLS where the JMS queues/topics are l
-
Hi, I'm trying to create a EM repository, and bump into the following error: Does anybody knows a solution to that? Kind Regards, Gerben Menschaert I also copied the tail of /u01/app/oracle/product/10.2.0/cfgtoollogs/emca/PEPT/emca_2007-03-14_04-30-5
-
Touch pad is not working and I cannot reset ipad. What can I do?
-
i think it has something to do with this new itunes match? thanks