You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org> on 2008/08/05 11:06:44 UTC

[jira] Created: (TRINIDAD-1170) Partial Page Rendering does not work on Weblogic 10

Partial Page Rendering does not work on Weblogic 10
---------------------------------------------------

                 Key: TRINIDAD-1170
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1170
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions:  1.2.8-core,  1.0.8-core
            Reporter: Matthias Weßendorf
            Assignee: Matthias Weßendorf


Run Trinidad PPR on a Weblogic 10 server and see that an invalid XML response is generated.
=> "text/html" is returned instead of "text/xml"

See also this discussion on the myfaces list:
http://www.mail-archive.com/users@myfaces.apache.org/msg49162.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1170) Partial Page Rendering does not work on Weblogic 10

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681704#action_12681704 ] 

Matthias Weßendorf commented on TRINIDAD-1170:
----------------------------------------------

Are you sure you are 1.2.11 ?
Can you debug in here:
https://svn.apache.org/repos/asf/myfaces/trinidad/tags/trinidad-1.2.11/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/xmlHttp/XmlHttpServletResponse.java

> Partial Page Rendering does not work on Weblogic 10
> ---------------------------------------------------
>
>                 Key: TRINIDAD-1170
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1170
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions:  1.0.8-core,  1.2.8-core
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>             Fix For: 1.2.10-core, 1.0.10-core
>
>
> Run Trinidad PPR on a Weblogic 10 server and see that an invalid XML response is generated.
> => "text/html" is returned instead of "text/xml"
> See also this discussion on the myfaces list:
> http://www.mail-archive.com/users@myfaces.apache.org/msg49162.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1170) Partial Page Rendering does not work on Weblogic 10

Posted by "Vadim Dmitriev (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681805#action_12681805 ] 

Vadim Dmitriev commented on TRINIDAD-1170:
------------------------------------------

I checked webapp's classloader: there are only two jar's with "trinidad" in their names - "trinidad-api-1.2.11.jar" and "trinidad-impl-1.2.11.jar".

Executed strings reported by JVM debugger matched ones from this class source (i.e. I didn't step through blank lines, comments etc.)
While debugging following happened:
1. XmlHttpServletResponse(ServletResponse response)
2. public void setContentType(final String type) (type="text/html")
3. public PrintWriter getWriter() throws IOException
4. public void setContentType(final String type) 
5-9. public PrintWriter getWriter() throws IOException
10. public void setContentType(final String type) 
11-17. public PrintWriter getWriter() throws IOException

Maybe it has something to do with the following entry from http request header?
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

> Partial Page Rendering does not work on Weblogic 10
> ---------------------------------------------------
>
>                 Key: TRINIDAD-1170
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1170
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions:  1.0.8-core,  1.2.8-core
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>             Fix For: 1.2.10-core, 1.0.10-core
>
>
> Run Trinidad PPR on a Weblogic 10 server and see that an invalid XML response is generated.
> => "text/html" is returned instead of "text/xml"
> See also this discussion on the myfaces list:
> http://www.mail-archive.com/users@myfaces.apache.org/msg49162.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Issue Comment Edited: (TRINIDAD-1170) Partial Page Rendering does not work on Weblogic 10

Posted by "Vadim Dmitriev (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689089#action_12689089 ] 

Vadim Dmitriev edited comment on TRINIDAD-1170 at 3/25/09 12:10 PM:
--------------------------------------------------------------------

I deployed trinidad demo.war on our WLS and ppr worked there just fine. It seems that this misbehavior relates to some other lib we are using.
Sorry for any inconvenience.

[edit]
Just found out why PPR wasn't working: I used JSP-style taglib declarations (i.e. "<%@ taglib ... %>") instead of XML-style (<jsp:root ... xmlns:tr="http://myfaces.apache.org/trinidad" >). When jsp:root is used PPR works just fine.
It still looks like a WLS bug to me, but at least it has a workaround.

      was (Author: allati):
    I deployed trinidad demo.war on our WLS and ppr worked there just fine. It seems that this misbehavior relates to some other lib we are using.
Sorry for any inconvenience.
  
> Partial Page Rendering does not work on Weblogic 10
> ---------------------------------------------------
>
>                 Key: TRINIDAD-1170
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1170
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions:  1.0.8-core,  1.2.8-core
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>             Fix For: 1.2.10-core, 1.0.10-core
>
>
> Run Trinidad PPR on a Weblogic 10 server and see that an invalid XML response is generated.
> => "text/html" is returned instead of "text/xml"
> See also this discussion on the myfaces list:
> http://www.mail-archive.com/users@myfaces.apache.org/msg49162.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1170) Partial Page Rendering does not work on Weblogic 10

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619817#action_12619817 ] 

Matthias Weßendorf commented on TRINIDAD-1170:
----------------------------------------------

Fix could be something like:
  public void setContentType(final String type) 
  {
    // the reason we're using XmlHttpServletResponse is because
    // we're producing a ppr xml response, so ignore any 
    // attempts to set the contentType, since the contentType
    // must be text/xml:
    _LOG.finer("ignoring setContentType:{0}", type);
    
    super.setContentType(_contentType);
  }

but that is a bit hacky...

> Partial Page Rendering does not work on Weblogic 10
> ---------------------------------------------------
>
>                 Key: TRINIDAD-1170
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1170
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions:  1.0.8-core,  1.2.8-core
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>
> Run Trinidad PPR on a Weblogic 10 server and see that an invalid XML response is generated.
> => "text/html" is returned instead of "text/xml"
> See also this discussion on the myfaces list:
> http://www.mail-archive.com/users@myfaces.apache.org/msg49162.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1170) Partial Page Rendering does not work on Weblogic 10

Posted by "Vadim Dmitriev (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12681694#action_12681694 ] 

Vadim Dmitriev commented on TRINIDAD-1170:
------------------------------------------

I'm trying to run webapp with trinidad 1.2.11 on Weblogic 10.3.0.0. However firebug reports content type of PPR responses as "text/html". Where should I look to check if fixes from this issue behave ok?

> Partial Page Rendering does not work on Weblogic 10
> ---------------------------------------------------
>
>                 Key: TRINIDAD-1170
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1170
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions:  1.0.8-core,  1.2.8-core
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>             Fix For: 1.2.10-core, 1.0.10-core
>
>
> Run Trinidad PPR on a Weblogic 10 server and see that an invalid XML response is generated.
> => "text/html" is returned instead of "text/xml"
> See also this discussion on the myfaces list:
> http://www.mail-archive.com/users@myfaces.apache.org/msg49162.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TRINIDAD-1170) Partial Page Rendering does not work on Weblogic 10

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf resolved TRINIDAD-1170.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.10-core
                   1.2.10-core

> Partial Page Rendering does not work on Weblogic 10
> ---------------------------------------------------
>
>                 Key: TRINIDAD-1170
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1170
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions:  1.0.8-core,  1.2.8-core
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>             Fix For: 1.2.10-core, 1.0.10-core
>
>
> Run Trinidad PPR on a Weblogic 10 server and see that an invalid XML response is generated.
> => "text/html" is returned instead of "text/xml"
> See also this discussion on the myfaces list:
> http://www.mail-archive.com/users@myfaces.apache.org/msg49162.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1170) Partial Page Rendering does not work on Weblogic 10

Posted by "Vadim Dmitriev (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689089#action_12689089 ] 

Vadim Dmitriev commented on TRINIDAD-1170:
------------------------------------------

I deployed trinidad demo.war on our WLS and ppr worked there just fine. It seems that this misbehavior relates to some other lib we are using.
Sorry for any inconvenience.

> Partial Page Rendering does not work on Weblogic 10
> ---------------------------------------------------
>
>                 Key: TRINIDAD-1170
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1170
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions:  1.0.8-core,  1.2.8-core
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>             Fix For: 1.2.10-core, 1.0.10-core
>
>
> Run Trinidad PPR on a Weblogic 10 server and see that an invalid XML response is generated.
> => "text/html" is returned instead of "text/xml"
> See also this discussion on the myfaces list:
> http://www.mail-archive.com/users@myfaces.apache.org/msg49162.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1170) Partial Page Rendering does not work on Weblogic 10

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635973#action_12635973 ] 

Matthias Weßendorf commented on TRINIDAD-1170:
----------------------------------------------

After looking at the Fix version/s flag, I see that this patch is in 1.2.10.
this version isn't released yet, but will be soon. 

> Partial Page Rendering does not work on Weblogic 10
> ---------------------------------------------------
>
>                 Key: TRINIDAD-1170
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1170
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions:  1.0.8-core,  1.2.8-core
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>             Fix For: 1.2.10-core, 1.0.10-core
>
>
> Run Trinidad PPR on a Weblogic 10 server and see that an invalid XML response is generated.
> => "text/html" is returned instead of "text/xml"
> See also this discussion on the myfaces list:
> http://www.mail-archive.com/users@myfaces.apache.org/msg49162.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1170) Partial Page Rendering does not work on Weblogic 10

Posted by "Balvindar Dhaliwal (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635971#action_12635971 ] 

Balvindar Dhaliwal commented on TRINIDAD-1170:
----------------------------------------------

Hello,

Is this available as a patch in 1.2.8 or 1.2.9? Please advise.

Thanks.

> Partial Page Rendering does not work on Weblogic 10
> ---------------------------------------------------
>
>                 Key: TRINIDAD-1170
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1170
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions:  1.0.8-core,  1.2.8-core
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>             Fix For: 1.2.10-core, 1.0.10-core
>
>
> Run Trinidad PPR on a Weblogic 10 server and see that an invalid XML response is generated.
> => "text/html" is returned instead of "text/xml"
> See also this discussion on the myfaces list:
> http://www.mail-archive.com/users@myfaces.apache.org/msg49162.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.