[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 Hi there, at my topic you have a first imagination about my current (very hard) problem. But at fist, my enumeration of my software components: - Cocoon 2.18 - JBoss (Version 4) - Tomcat. Indeed, i have no explanation, for my confuse problem and i don´t know, what kind of state occures that. Normally, when cocoon starts at first time there are no problems. I can go, visit different pages (which will be correctly compiled) and so on... But sometimes later the error occurs suddenly, without any real worthwhile exception message to me. But the tracer in cocoon said to me following text(an excerpt): ERROR (2007-03-10) 07:44.24:308 [sitemap.handled-errors] (/jobapp3/content/fhj/user.xsp$user-search$meta-html) TP-Processor8/ErrorHandlerHelper: Language Exception org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling user_xsp: ERROR 1 (org/apache/cocoon/www/docs/content/user_xsp.java): ... name, name, CDATA, pst_id // start error (lines 1044-1044) Syntax error, insert ) to complete Expression ); // end error this.contentHandler.startElement( http://apache.org/xsp/request/2.0;;, ... ERROR 2 (org/apache/cocoon/www/docs/content/user_xsp.java): ... get-parameter, xsp-request:get-parameter ); // start error (lines 1063-1063) Syntax error on token ), delete this token ); // end error if ( pstID != null ) { ... Line 1044, column 0: Syntax error, insert ) to complete Expression Line 1063, column 0: Syntax error on token ), delete this token at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loadProgram(ProgramGeneratorImpl.java:409) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:280) at org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:170) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:385) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:620) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:503) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:455) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:103) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117) at
[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 ] Antonio Gallardo updated COCOON-2031: - Component/s: (was: * Cocoon Core) Blocks: XSP This is a XSP block issue. 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 Hi there, at my topic you have a first imagination about my current (very hard) problem. But at fist, my enumeration of my software components: - Cocoon 2.18 - JBoss (Version 4) - Tomcat. Indeed, i have no explanation, for my confuse problem and i don´t know, what kind of state occures that. Normally, when cocoon starts at first time there are no problems. I can go, visit different pages (which will be correctly compiled) and so on... But sometimes later the error occurs suddenly, without any real worthwhile exception message to me. But the tracer in cocoon said to me following text(an excerpt): ERROR (2007-03-10) 07:44.24:308 [sitemap.handled-errors] (/jobapp3/content/fhj/user.xsp$user-search$meta-html) TP-Processor8/ErrorHandlerHelper: Language Exception org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling user_xsp: ERROR 1 (org/apache/cocoon/www/docs/content/user_xsp.java): ... name, name, CDATA, pst_id // start error (lines 1044-1044) Syntax error, insert ) to complete Expression ); // end error this.contentHandler.startElement( http://apache.org/xsp/request/2.0;;, ... ERROR 2 (org/apache/cocoon/www/docs/content/user_xsp.java): ... get-parameter, xsp-request:get-parameter ); // start error (lines 1063-1063) Syntax error on token ), delete this token ); // end error if ( pstID != null ) { ... Line 1044, column 0: Syntax error, insert ) to complete Expression Line 1063, column 0: Syntax error on token ), delete this token at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loadProgram(ProgramGeneratorImpl.java:409) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:280) at org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:170) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:385) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:620) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:503) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:455) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:103) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130) at
[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 ] Antonio Gallardo updated COCOON-2031: - Status: On Hold (was: Open) Hi Sebastian, The issue seems to be a race condition that was fixed in 2.1.10: (taken from http://cocoon.apache.org/2.1/changes.html ) XSP block: Fix regression introduced in 2.1.8 that under specific circumstances logicsheets were not applied, leading to compilation errors. This manifested itself only if a) two XSPs referred to the same custom logicsheet by a relative location path, b) the custom logicsheet used another logicsheet, and c) the built-in logicsheet's namespace was not mentioned in xsp:page. The compilation errors occurred always when calling the second XSP for the first time. Fix also race condition which could lead to similar XSP compilation errors under high load when accessing the same logicsheet for the first time. Committed by AN. Let us know if just moving to cocon 2.1.10 fix the issue. 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: * Cocoon Core Affects Versions: 2.1.7 Reporter: Sebastian Wenzky Priority: Critical Hi there, at my topic you have a first imagination about my current (very hard) problem. But at fist, my enumeration of my software components: - Cocoon 2.18 - JBoss (Version 4) - Tomcat. Indeed, i have no explanation, for my confuse problem and i don´t know, what kind of state occures that. Normally, when cocoon starts at first time there are no problems. I can go, visit different pages (which will be correctly compiled) and so on... But sometimes later the error occurs suddenly, without any real worthwhile exception message to me. But the tracer in cocoon said to me following text(an excerpt): ERROR (2007-03-10) 07:44.24:308 [sitemap.handled-errors] (/jobapp3/content/fhj/user.xsp$user-search$meta-html) TP-Processor8/ErrorHandlerHelper: Language Exception org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling user_xsp: ERROR 1 (org/apache/cocoon/www/docs/content/user_xsp.java): ... name, name, CDATA, pst_id // start error (lines 1044-1044) Syntax error, insert ) to complete Expression ); // end error this.contentHandler.startElement( http://apache.org/xsp/request/2.0;;, ... ERROR 2 (org/apache/cocoon/www/docs/content/user_xsp.java): ... get-parameter, xsp-request:get-parameter ); // start error (lines 1063-1063) Syntax error on token ), delete this token ); // end error if ( pstID != null ) { ... Line 1044, column 0: Syntax error, insert ) to complete Expression Line 1063, column 0: Syntax error on token ), delete this token at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loadProgram(ProgramGeneratorImpl.java:409) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:280) at org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:170) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:385) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:620) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:503) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:455) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:103) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at
[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 ] Sebastian Wenzky updated COCOON-2031: - I suppose, the problem belongs to mutli-user access at runtime access to an particular XSP, which wasn´t at this time still compiled. For Instance, if two users tried to retriving one resource from web (for instance: user.xsp), and furthermore this xsp wasn´t still compiled, than appears this error and nothing works after this appearance... 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: * Cocoon Core Affects Versions: 2.1.7 Reporter: Sebastian Wenzky Priority: Critical Hi there, at my topic you have a first imagination about my current (very hard) problem. But at fist, my enumeration of my software components: - Cocoon 2.18 - JBoss (Version 4) - Tomcat. Indeed, i have no explanation, for my confuse problem and i don´t know, what kind of state occures that. Normally, when cocoon starts at first time there are no problems. I can go, visit different pages (which will be correctly compiled) and so on... But sometimes later the error occurs suddenly, without any real worthwhile exception message to me. But the tracer in cocoon said to me following text(an excerpt): ERROR (2007-03-10) 07:44.24:308 [sitemap.handled-errors] (/jobapp3/content/fhj/user.xsp$user-search$meta-html) TP-Processor8/ErrorHandlerHelper: Language Exception org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException: Error compiling user_xsp: ERROR 1 (org/apache/cocoon/www/docs/content/user_xsp.java): ... name, name, CDATA, pst_id // start error (lines 1044-1044) Syntax error, insert ) to complete Expression ); // end error this.contentHandler.startElement( http://apache.org/xsp/request/2.0;;, ... ERROR 2 (org/apache/cocoon/www/docs/content/user_xsp.java): ... get-parameter, xsp-request:get-parameter ); // start error (lines 1063-1063) Syntax error on token ), delete this token ); // end error if ( pstID != null ) { ... Line 1044, column 0: Syntax error, insert ) to complete Expression Line 1063, column 0: Syntax error on token ), delete this token at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loadProgram(ProgramGeneratorImpl.java:409) at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:280) at org.apache.cocoon.generation.ServerPagesGenerator.setup(ServerPagesGenerator.java:170) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setupPipeline(AbstractProcessingPipeline.java:385) at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.setupPipeline(AbstractCachingProcessingPipeline.java:620) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.preparePipeline(AbstractProcessingPipeline.java:503) at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:455) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:120) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.SwitchSelectNode.invoke(SwitchSelectNode.java:103) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46) at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117) at