Results 1 to 2 of 2
  1. #1
    jadeite100 is offline Member
    Join Date
    Dec 2009
    Posts
    13
    Rep Power
    0

    Default weblogic 10.3.2 Icefaces 2.0 error for dataTable-sortable

    Hi All:

    I am using weblogic 10.3.2 and JSF 2.0, ICEFACES 2.0. I ran the example (Data Table - ICEfaces - ICEfaces.org Community Wiki)
    dataTable-sortable and I get the following error:

    jar files in the war file:
    commons-collections-2.1.1.jar
    commons-logging-1.0.4.jar
    icefaces-ace.jar
    icefaces-compat.jar
    icefaces.jar
    icepush.jar
    javax.faces-2.1.4-sources.jar
    javax.faces-2.1.4.jar
    jsf-api.jar
    jsf-impl.jar
    jstl.jar
    log4j-1.2.11.jar

    In the weblogic.xml:
    I added the following statement but still get the error below:
    <wls:jsp-descriptor><wls:encoding>UTF-8</wls:encoding></wls:jsp-descriptor>


    error from the console:
    java.lang.IllegalStateException
    at com.sun.faces.application.ViewHandlerResponseWrapp er.getWriter(ViewHandlerResponseWrapper.java:192)
    at com.sun.faces.context.ExternalContextImpl.getRespo nseOutputWriter(ExternalContextImpl.java:723)
    at com.sun.faces.application.view.FaceletViewHandling Strategy.createResponseWriter(FaceletViewHandlingS trategy.java:930)
    at com.sun.faces.application.view.FaceletViewHandling Strategy.renderView(FaceletViewHandlingStrategy.ja va:376)
    at com.sun.faces.application.view.MultiViewHandler.re nderView(MultiViewHandler.java:131)
    at com.sun.faces.lifecycle.RenderResponsePhase.execut e(RenderResponsePhase.java:121)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:1 01)
    at com.sun.faces.lifecycle.LifecycleImpl.render(Lifec ycleImpl.java:139)
    at javax.faces.webapp.FacesServlet.service(FacesServl et.java:410)
    at weblogic.servlet.internal.StubSecurityHelper$Servl etServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invok eServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute( ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.execute( ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.in vokeServlet(RequestDispatcherImpl.java:502)
    at weblogic.servlet.internal.RequestDispatcherImpl.fo rward(RequestDispatcherImpl.java:248)
    at weblogic.servlet.jsp.PageContextImpl.forward(PageC ontextImpl.java:159)
    at jsp_servlet.__index._jspService(__index.java:79)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java: 34)
    at weblogic.servlet.internal.StubSecurityHelper$Servl etServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invok eServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute( ServletStubImpl.java:292)
    at weblogic.servlet.internal.ServletStubImpl.onAddToM apException(ServletStubImpl.java:408)
    at weblogic.servlet.internal.ServletStubImpl.execute( ServletStubImpl.java:318)
    at weblogic.servlet.internal.ServletStubImpl.execute( ServletStubImpl.java:175)
    at weblogic.servlet.internal.RequestDispatcherImpl.in vokeServlet(RequestDispatcherImpl.java:502)
    at weblogic.servlet.internal.RequestDispatcherImpl.fo rward(RequestDispatcherImpl.java:248)
    at com.sun.faces.context.ExternalContextImpl.dispatch (ExternalContextImpl.java:546)
    at com.sun.faces.application.view.JspViewHandlingStra tegy.executePageToBuildView(JspViewHandlingStrateg y.java:364)
    at com.sun.faces.application.view.JspViewHandlingStra tegy.buildView(JspViewHandlingStrategy.java:154)
    at com.sun.faces.lifecycle.RenderResponsePhase.execut e(RenderResponsePhase.java:100)
    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:1 01)
    at com.sun.faces.lifecycle.LifecycleImpl.render(Lifec ycleImpl.java:139)
    at javax.faces.webapp.FacesServlet.service(FacesServl et.java:410)
    at weblogic.servlet.internal.StubSecurityHelper$Servl etServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invok eServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute( ServletStubImpl.java:292)
    at weblogic.servlet.internal.TailFilter.doFilter(Tail Filter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter (FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFi lter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter (FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$Ser vletInvocationAction.run(WebAppServletContext.java :3592)
    at weblogic.security.acl.internal.AuthenticatedSubjec t.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(Se curityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.sec uredExecute(WebAppServletContext.java:2202)
    at weblogic.servlet.internal.WebAppServletContext.exe cute(WebAppServletContext.java:2108)
    at weblogic.servlet.internal.ServletRequestImpl.run(S ervletRequestImpl.java:1432)
    at weblogic.work.ExecuteThread.execute(ExecuteThread. java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java :173)


    Any help or hint would be greatly appreciate it!!!

  2. #2
    nicephotog is offline Member
    Join Date
    Mar 2012
    Posts
    41
    Rep Power
    0

    Default Re: weblogic 10.3.2 Icefaces 2.0 error for dataTable-sortable

    Its referring to the STATE(line 192) of the PrintWriter not being correct for committing the response stream(a byte array) to output.
    The stream is possibly dropped because it is not required or the response has been prematurely sent perhaps , so to get the writer at that moment it throws an IllegalStateException

    : Interface ServletResponse
    isCommitted()

    ---- ....public class ViewHandlerResponseWrapper extends HttpServletResponseWrapper.....
    at com.sun.faces.application.ViewHandlerResponseWrapp er.getWriter(ViewHandlerResponseWrapper.java:192)
    (line 192) com.sun.faces.application: ViewHandlerResponseWrapper.java

    did you do something like ad a forward to the page or any extra code inserted into the example???

Similar Threads

  1. Replies: 5
    Last Post: 11-21-2011, 02:42 AM
  2. Migrating Application from weblogic 8.1 to weblogic 10.0 - Urgent
    By phanindar in forum Enterprise JavaBeans (EJB)
    Replies: 3
    Last Post: 01-07-2011, 09:47 PM
  3. JSP to RIA with ICEFaces
    By flyfisherman in forum JavaServer Pages (JSP) and JSTL
    Replies: 4
    Last Post: 08-02-2010, 11:05 AM
  4. Weblogic 5.0 runtime error with EJB 1.0
    By somesh in forum Enterprise JavaBeans (EJB)
    Replies: 0
    Last Post: 08-25-2008, 04:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •