Peter Walker (JIRA | 1 Apr 2008 05:28
Picon
Favicon

[jira] Commented: (COCOON-2031) Language Exception at Runtime by the attempt to compile a random XSP


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

Peter Walker commented on COCOON-2031:
--------------------------------------

Hello,

We are experiencing the same problem. I have 15 sites running the same cocoon applications, randomly we are
getting the LanguageException as described above. Today I found that 6 of the 15 sites have this problem
and will no longer compile XSP files.

We are using Cocoon 2.1.10, Tomcat 5.5.23 and Java 1.6.0_03 (JRE), Redhat Enterprise Linux (2.6.9.34)

Previously I though this may be caused due to lack of physical memory as our machine was running short on
memory. I have since upgraded and I have not see the issue for a few weeks but its back.

What is strange is that the *.java files in the tomcat/work directory are quite different between two
webapps. I would expect that these are the same, the only thing that should be different is the dateCreated variable

Any suggestions?

> Language Exception at Runtime by the attempt to compile a random XSP
> --------------------------------------------------------------------
>
>                 Key: COCOON-2031
>                 URL: https://issues.apache.org/jira/browse/COCOON-2031
>             Project: Cocoon
(Continue reading)

Jörg Heinicke (JIRA | 1 Apr 2008 05:42
Picon
Favicon

[jira] Updated: (COCOON-2031) Language Exception at Runtime by the attempt to compile a random XSP


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

Jörg Heinicke updated COCOON-2031:
----------------------------------

    Status: Continued  (was: On Hold)

> What is strange is that the *.java files in the tomcat/work directory are quite different between two webapps.

The error that is supposed to be fixed in 2.1.10

    "Fix regression introduced in 2.1.8 that under specific circumstances logicsheets were not applied,
leading to compilation errors."

would explain this I guess.

> Language Exception at Runtime by the attempt to compile a random XSP
> --------------------------------------------------------------------
>
>                 Key: COCOON-2031
>                 URL: https://issues.apache.org/jira/browse/COCOON-2031
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: XSP
>    Affects Versions: 2.1.7
>            Reporter: Sebastian Wenzky
>            Priority: Critical
>
(Continue reading)

Joerg Heinicke | 1 Apr 2008 08:59
Picon
Picon

Re: svn commit: r643295 - in /cocoon/branches/BRANCH_2_1_X: src/java/org/apache/cocoon/components/flow/ContinuationsManager.java src/java/org/apache/cocoon/components/flow/ContinuationsManagerImpl.java status.xml

On 01.04.2008 02:21, joerg <at> apache.org wrote:
> Author: joerg
> Date: Mon Mar 31 23:21:53 2008
> New Revision: 643295
> 
> URL: http://svn.apache.org/viewvc?rev=643295&view=rev
> Log:
> Fix synchronization issues in ContinuationsManager implementation.

Refactored version for 2.2 will follow this week ...

Joerg

Reinhard Poetz (JIRA | 1 Apr 2008 11:28
Picon
Favicon

[jira] Assigned: (COCOON-2190) Add caching to corona


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

Reinhard Poetz reassigned COCOON-2190:
--------------------------------------

    Assignee: Reinhard Poetz

> Add caching  to corona
> ----------------------
>
>                 Key: COCOON-2190
>                 URL: https://issues.apache.org/jira/browse/COCOON-2190
>             Project: Cocoon
>          Issue Type: New Feature
>          Components: * Cocoon Core
>            Reporter: Steven Dolg
>            Assignee: Reinhard Poetz
>         Attachments: caching.txt
>
>

--

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

Reinhard Poetz (JIRA | 1 Apr 2008 11:30
Picon
Favicon

[jira] Closed: (COCOON-2190) Add caching to corona


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

Reinhard Poetz closed COCOON-2190.
----------------------------------

    Resolution: Fixed

applied. thanks!

> Add caching  to corona
> ----------------------
>
>                 Key: COCOON-2190
>                 URL: https://issues.apache.org/jira/browse/COCOON-2190
>             Project: Cocoon
>          Issue Type: New Feature
>          Components: * Cocoon Core
>            Reporter: Steven Dolg
>            Assignee: Reinhard Poetz
>         Attachments: caching.txt
>
>

--

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

(Continue reading)

Vadim Gritsenko | 1 Apr 2008 14:02

Re: svn commit: r643293 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/WebContinuationDataBean.java

On Apr 1, 2008, at 2:17 AM, joerg <at> apache.org wrote:
> fix threading issue (DateFormat is not thread-safe)
>
>     public String getLastAccessTime() {
> -        return formatter.format(new Date(wc.getLastAccessTime()));
> +        synchronized (this.formatter) {
> +            return formatter.format(new  
> Date(wc.getLastAccessTime()));
> +        }
>     }

The better fix is to use FastDateFormat which features thread safe  
formatting.

Vadim

Grzegorz Kossakowski (JIRA | 1 Apr 2008 22:22
Picon
Favicon

[jira] Updated: (COCOON-2190) Add caching to corona


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

Grzegorz Kossakowski updated COCOON-2190:
-----------------------------------------

    Component/s:     (was: * Cocoon Core)
                 Corona (experimental)

> Add caching  to corona
> ----------------------
>
>                 Key: COCOON-2190
>                 URL: https://issues.apache.org/jira/browse/COCOON-2190
>             Project: Cocoon
>          Issue Type: New Feature
>          Components: Corona (experimental)
>            Reporter: Steven Dolg
>            Assignee: Reinhard Poetz
>         Attachments: caching.txt
>
>

--

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

(Continue reading)

Grzegorz Kossakowski | 1 Apr 2008 22:25
Favicon
Gravatar

Re: [jira] Updated: (COCOON-2190) Add caching to corona

Grzegorz Kossakowski (JIRA) pisze:
>      [
https://issues.apache.org/jira/browse/COCOON-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
> 
> Grzegorz Kossakowski updated COCOON-2190:
> -----------------------------------------
> 
>     Component/s:     (was: * Cocoon Core)
>                  Corona (experimental)

As you see I've created Corona component in JIRA and updated this issue.

--

-- 
Grzegorz Kossakowski

Joerg Heinicke | 2 Apr 2008 04:03
Picon
Picon

Re: svn commit: r643293 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/components/flow/WebContinuationDataBean.java

On 01.04.2008 08:02, Vadim Gritsenko wrote:

>> fix threading issue (DateFormat is not thread-safe)
>>
>>     public String getLastAccessTime() {
>> -        return formatter.format(new Date(wc.getLastAccessTime()));
>> +        synchronized (this.formatter) {
>> +            return formatter.format(new Date(wc.getLastAccessTime()));
>> +        }
>>     }
> 
> The better fix is to use FastDateFormat which features thread safe 
> formatting.

All these nice little gems hidden in Apache Commons libs :)

Applied.

Thanks,

Joerg

Jörg Heinicke (JIRA | 2 Apr 2008 05:03
Picon
Favicon

[jira] Commented: (COCOON-2109) Incorrent cleanup of expired continuations


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

Jörg Heinicke commented on COCOON-2109:
---------------------------------------

The threading issues in ContinuationsManagerImpl were fixed in rev
http://svn.apache.org/viewvc?view=rev&revision=643295 (with few changes from 643294 necessary
(WebContinuation is now Cloneable)).

> Incorrent cleanup of expired continuations
> ------------------------------------------
>
>                 Key: COCOON-2109
>                 URL: https://issues.apache.org/jira/browse/COCOON-2109
>             Project: Cocoon
>          Issue Type: Bug
>          Components: * Cocoon Core
>    Affects Versions: 2.1.11
>            Reporter: Miguel Cuervo
>            Assignee: Jörg Heinicke
>             Fix For: 2.1.12-dev (Current SVN)
>
>         Attachments: ContinuationsManagerImpl.java.patch
>
>
> The class ContinuationsManagerImpl is in charge of cleaning up expired continuations. It does so in the
method expireContinuations. In this method there is a loop using an iterator over a SortedSet of
(Continue reading)


Gmane