[ 
https://issues.apache.org/jira/browse/JS2-558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472791
 ] 

David Sean Taylor commented on JS2-558:
---------------------------------------

The default profiling rule makes Jetspeed look in the wml directory.
You can change this or create a new rule. In the case of the j2 rule, just 
remove the mediatype requirement
In the meantime I will try to come up with a patch to the NPE described above 

<ProfilingRule id="j2" standardRule="true">
                        <description value="The default profiling rule for 
users and mediatype minus language and country."/>
                        <Criteria>
                                <Criterion name="user">
                                        <type value="group.role.user"/>
                                        <fallBackOrder value="1"/>
                                        <fallBackType value="0"/>
                                </Criterion>
REMOVE THIS CRITERION
                                <Criterion name="mediatype">
                                        <type value="mediatype"/>
                                        <fallBackOrder value="2"/>
                                        <fallBackType value="1"/>
                                </Criterion>
                                <Criterion name="page">
                                        <type value="path.session"/>
                                        <value value="default-page"/>
                                        <fallBackOrder value="0"/>
                                        <fallBackType value="0"/>
                                </Criterion>
                        </Criteria>
                </ProfilingRule>

> Only "NULL" is shown in browser at what seems to be random intervals.
> ---------------------------------------------------------------------
>
>                 Key: JS2-558
>                 URL: https://issues.apache.org/jira/browse/JS2-558
>             Project: Jetspeed 2
>          Issue Type: Bug
>    Affects Versions: 2.0-FINAL
>         Environment: Apache/2.0.52 (CentOS) with Apache Tomcat 5.5.17 running 
> in jdk1.5.0_03. Jetspeed 2.0 Final.
>            Reporter: Eivinn Hustveit
>         Assigned To: David Sean Taylor
>            Priority: Blocker
>         Attachments: jetspeed_log_snapshot_of_request.txt, 
> Jetspeed_stacktrace.txt
>
>
> Everything works fine in the portal most of the time, but at random intervals 
> "NULL" is the only text rendered by the browser. I have looked at the 
> jetspeed.log and found out that it prints out a stacktrace which seems to 
> come from the rendering of the layout portlet. I will try to upload this as 
> an attachement.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to