You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Matthias Wessendorf <ma...@apache.org> on 2008/08/11 22:26:56 UTC

Re: Partial submit is not working on Weblogic 10

On Mon, Sep 17, 2007 at 2:35 PM, mjdenham <mj...@gmail.com> wrote:
>
> I worked out that you need to enable the jstl 1.2 shared library in Weblogic
> 10 as it is not enabled by default.
>
> Now I get the following exception when redeploying the demo app:
>
> java.lang.IllegalStateException: strict servlet API: cannot call getWriter()
> after getOutputStream()
>        at
> weblogic.servlet.internal.ServletResponseImpl.getWriter(ServletResponseImpl.java:297)
>        at
> javax.servlet.ServletResponseWrapper.getWriter(ServletResponseWrapper.java:122)
>        at
> org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:317)
>        at
> javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:45)
>        at
> org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:175)
>        Truncated. see log file for complete stacktrace
>>
>
> Any ideas?

This was fixed last week:
https://issues.apache.org/jira/browse/TRINIDAD-1170

>
> Thanks
>
> Martin
>
>
> Matthias Wessendorf-4 wrote:
>>
>> Hi,
>>
>> On 9/17/07, mjdenham <mj...@gmail.com> wrote:
>>>
>>> I downloaded trinidad-demo-1.2.2 and tried to run it on Weblogic 10.
>>>
>>> First of all I received
>>>    java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config
>>> so I added jstl.jar from jakarta-taglibs-standard-1.1.2.zip
>>
>> Trinidad 1.2.x is designed to work with JSF 1.2 / JavaEE 5.
>> So, the JSTL version 1.2 is provided by the container. Doesn't
>> Weblogic 10 do so ?
>>
>>
>>> Then the demo appeared to run without problems but nothing happens when I
>>> click on any of the tabs on panelTabbed.jspx, navigationPane.jspx, or
>>> panelAccordion.jspx.  It seems none of the partial submits work.
>>
>> just tested this:
>>
>> http://example.irian.at/trinidad-demo-20070917/faces/components/panelTabbed.jspx
>>
>> works for me.
>>
>> do you get any infos in the log?
>> I recommend to use firebug, to see if there is a partial submit, via
>> XHR (XmlHttpRequest object)
>>
>> -Matthias
>>
>>>
>>> The last tab on navigationPane.jspx with the title 'Component Guide' does
>>> not do a partial submit and it works fine.  Also, interestingly, if I
>>> click
>>> on a tab and then hit Page-refresh the tab changes.
>>>
>>> Please help.  Thanks.
>>>
>>> Martin
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Partial-submit-is-not-working-on-Weblogic-10-tf4465921.html#a12733657
>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> --
>> Matthias Wessendorf
>>
>> further stuff:
>> blog: http://matthiaswessendorf.wordpress.com/
>> mail: matzew-at-apache-dot-org
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Partial-submit-is-not-working-on-Weblogic-10-tf4465921.html#a12734893
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>



-- 
Matthias Wessendorf

Need JSF and Web 2.0?
http://code.google.com/p/facesgoodies

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org