Thorsten Scherler | 1 Aug 01:44
Picon
Favicon
Gravatar

Re: [2.2] Global objectModel in JX components

On Wed, 2009-07-29 at 22:27 +0200, Andreas Hartmann wrote:
> Hi Cocoon devs,
> 
> I just noticed that the JX template generator uses a global object model 
> in the execution context. This leads to problems when multiple JX 
> template generators are called concurrently, e.g. if the processed 
> template contains includes:
> 
> <template>
> 
>    ${cocoon.parameters.foo} -> "foo"
> 
>    <i:include src="…"/> (some JX generator, with parameter foo=bar)
> 
>    ${cocoon.parameters.foo} -> "bar"
> 
> </template>
> 
> The included JX template generator overwrites the cocoon/parameters 
> object in the object model, which affects the outer template.
> 
> Would it make sense to pass a copy of the object model to the invoker 
> instead of a reference to the global object model?

Much more then simply overriding the model.

salu2

> 
> TIA for any comments!
(Continue reading)

Thorsten Scherler | 1 Aug 01:49
Picon
Favicon
Gravatar

Re: cocoon 2.2 xsp

On Wed, 2009-07-29 at 14:24 +0200, Pedro Botelho wrote:
> Hi,
>  
> Any hints on how to put the blocks of xsp working? I managed to build
> them, but I cant seem to use xsps generators on my pipelines. Is this
> still available? Thanks

http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-xsp/cocoon-xsp-impl/src/main/resources/META-INF/cocoon/avalon/cocoon-xsp-sitemap.xconf?revision=588098

should be, but honestly I have not used xsp for such a long time I do
not know whether it is still working.

I recommend to use jx instead of xsp!

salu2
--

-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source <consulting, training and solutions>

Picon
Favicon

[jira] Updated: (COCOON3-39) Cocoon-monitoring cache overview


     [
https://issues.apache.org/jira/browse/COCOON3-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dariusz Łuksza updated COCOON3-39:
----------------------------------

    Attachment: cache-overview-doc.patch

And here it is cocoon-docs patch for "cache overview" module.

> Cocoon-monitoring cache overview
> --------------------------------
>
>                 Key: COCOON3-39
>                 URL: https://issues.apache.org/jira/browse/COCOON3-39
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-optional
>            Reporter: Dariusz Łuksza
>            Assignee: Cocoon Developers Team
>         Attachments: cache-overview-all.patch, cache-overview-doc.patch, cache-overview-part1.patch,
cache-overview-part2-burst-actions.patch, cache-overview-part3-cache-entrys.patch
>
>
> This milestone of my GSoC project I'll divide in to thee smaller tasks:
> 1. General overview of configured caches with base functions like:
>   - clearing whole cache
>   - getting list of cached keys
>   - removing single key from cache
(Continue reading)

Picon
Favicon

[jira] Assigned: (COCOON3-40) Final cocoon-profiling patch


     [
https://issues.apache.org/jira/browse/COCOON3-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reinhard Poetz reassigned COCOON3-40:
-------------------------------------

    Assignee: Reinhard Poetz  (was: Cocoon Developers Team)

> Final cocoon-profiling patch
> ----------------------------
>
>                 Key: COCOON3-40
>                 URL: https://issues.apache.org/jira/browse/COCOON3-40
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-optional
>            Reporter: Christoph Leiter
>            Assignee: Reinhard Poetz
>            Priority: Minor
>         Attachments: cocoon-profiling.patch, cocoon-profiling.zip
>
>
> I'll attach the cocoon-profiling patch and the binary files as a zip archive. Please comment if there are
any problems with it.

--

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

Picon
Favicon

[jira] Assigned: (COCOON3-39) Cocoon-monitoring cache overview


     [
https://issues.apache.org/jira/browse/COCOON3-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reinhard Poetz reassigned COCOON3-39:
-------------------------------------

    Assignee: Reinhard Poetz  (was: Cocoon Developers Team)

> Cocoon-monitoring cache overview
> --------------------------------
>
>                 Key: COCOON3-39
>                 URL: https://issues.apache.org/jira/browse/COCOON3-39
>             Project: Cocoon 3
>          Issue Type: New Feature
>          Components: cocoon-optional
>            Reporter: Dariusz Łuksza
>            Assignee: Reinhard Poetz
>         Attachments: cache-overview-all.patch, cache-overview-doc.patch, cache-overview-part1.patch,
cache-overview-part2-burst-actions.patch, cache-overview-part3-cache-entrys.patch
>
>
> This milestone of my GSoC project I'll divide in to thee smaller tasks:
> 1. General overview of configured caches with base functions like:
>   - clearing whole cache
>   - getting list of cached keys
>   - removing single key from cache
>   - getting size of cache
> 2. Getting list of all CacheKey's and expose them in some kind of logical order on JXM tree
(Continue reading)

Picon
Favicon

[jira] Reopened: (COCOON3-33) Cocoon-monitoring logging reconfiguration


     [
https://issues.apache.org/jira/browse/COCOON3-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dariusz Łuksza reopened COCOON3-33:
-----------------------------------

I've added new functionality that fits this issue so I reopen it to send patch.

> Cocoon-monitoring logging reconfiguration
> -----------------------------------------
>
>                 Key: COCOON3-33
>                 URL: https://issues.apache.org/jira/browse/COCOON3-33
>             Project: Cocoon 3
>          Issue Type: Task
>          Components: cocoon-optional
>            Reporter: Dariusz Łuksza
>            Assignee: Reinhard Poetz
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: new-cocoon-monitoring-module.patch, new-cocoon-monitoring-module2.patch
>
>
> Setup new C3 module cocoon-monitoring and implement support for logging reconfiguration via JMX.

--

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

Picon
Favicon

[jira] Updated: (COCOON3-33) Cocoon-monitoring logging reconfiguration


     [
https://issues.apache.org/jira/browse/COCOON3-33?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dariusz Łuksza updated COCOON3-33:
----------------------------------

    Attachment: cocoon-reconfiguration.patch

This patch adds possibility of reconfiguration all properties during runtime using JMX operations. It is
using cocoon-spring-configurator to obtain and modify properties.

This patch renames also package in with previous code was. Now it is more abstract IMHO.

I'll send documentation for this part together with documentation for statistics module.

> Cocoon-monitoring logging reconfiguration
> -----------------------------------------
>
>                 Key: COCOON3-33
>                 URL: https://issues.apache.org/jira/browse/COCOON3-33
>             Project: Cocoon 3
>          Issue Type: Task
>          Components: cocoon-optional
>            Reporter: Dariusz Łuksza
>            Assignee: Reinhard Poetz
>             Fix For: 3.0.0-alpha-2
>
>         Attachments: cocoon-reconfiguration.patch, new-cocoon-monitoring-module.patch, new-cocoon-monitoring-module2.patch
>
(Continue reading)

Picon
Favicon

[jira] Issue Comment Edited: (COCOON-2240) Building all blocks from parent pom doesn't work


    [
https://issues.apache.org/jira/browse/COCOON-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738946#action_12738946
] 

Andreas Hartmann edited comment on COCOON-2240 at 8/4/09 5:31 AM:
------------------------------------------------------------------

Thorsten's solution didn't work for me, but this did (in the parent POM pluginManagement section):

        <plugin>
          <groupId>org.apache.cocoon</groupId>
          <artifactId>cocoon-maven-plugin</artifactId>
          <version>1.0.0-M2</version>
          <executions>
            <execution>
              <id>prepare</id>
              <phase>compile</phase>
              <goals>
                <goal>prepare</goal>
              </goals>
            </execution>
          </executions>
          <dependencies>
            <dependency>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-war-plugin</artifactId>
              <version>2.1-beta-1</version>
            </dependency>
          </dependencies>
(Continue reading)

Picon
Favicon

[jira] Commented: (COCOON-2240) Building all blocks from parent pom doesn't work


    [
https://issues.apache.org/jira/browse/COCOON-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12738946#action_12738946
] 

Andreas Hartmann commented on COCOON-2240:
------------------------------------------

Thorstens solution didn't work for me, but this did (in the parent POM pluginManagement section):

        <plugin>
          <groupId>org.apache.cocoon</groupId>
          <artifactId>cocoon-maven-plugin</artifactId>
          <version>1.0.0-M2</version>
          <executions>
            <execution>
              <id>prepare</id>
              <phase>compile</phase>
              <goals>
                <goal>prepare</goal>
              </goals>
            </execution>
          </executions>
          <dependencies>
            <dependency>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-war-plugin</artifactId>
              <version>2.1-beta-1</version>
            </dependency>
          </dependencies>
(Continue reading)

Dariusz Łuksza | 4 Aug 21:09
Picon
Gravatar

Re: [c3 monitoring] Statistics module.

On Fri, Jul 31, 2009 at 12:11 AM, Reinhard Pötz<reinhard <at> apache.org> wrote:
> Dariusz Łuksza wrote:
>> Hi all,
>>
>> Currently I'm finishing milestone 3 (actually it is "cache overview")
>> of my GSoC project and I've started to wondering about last part of
>> this project: statistics module.
>>
>> I want that this module would be as much useful as it could be, so the
>> main question is what statistics should be exposed in this module ?
>>
>> One proposition is monitoring of cache. Showing what cache entry's are:
>> * most often read
>> * most often generated
>>
>> I think that having some informations about pipeline usage would be
>> also useful. Right now I think that exposing hit count for every named
>> (it means that it has set "jmx-group-name" parameter) pipeline. This
>> would be useful for proper cache configuration.
>>
>> Any other propositions ?
>
> I think it is a good idea to get an overview of all cache entries that
> are never used at all.
>
> Also a general request counter would be useful (number of request in the
> last 5 minutes, 60 minutes, 24 hours, since system start).

In attachment is a patch that adds that functionality but
unfortunately it doesn't work because of ClassCastException. Here is
(Continue reading)


Gmane