Hmmph. Oh well. Means I have to engage with the real issue.

In CocoonComponentManager.java, we have:

public static void checkEnvironment(Logger logger)
throws Exception {
// TODO (CZ): This is only for testing - remove it later on
final EnvironmentStack stack = (EnvironmentStack)environmentStack.get();
if (stack != null && !stack.isEmpty() ) {
logger.error("ENVIRONMENT STACK HAS NOT BEEN CLEANED PROPERLY"); throw new ProcessingException("Environment stack has not been cleaned up properly. "
+"Please report this (if possible together with a test case) "
+"to the Cocoon developers."); }
}


This is where your error is happening. Now, I don't really know what this method is supposed to do, nor how to interpret the 'TODO'. Is the test needed? Presumably the environment stack actually should be empty. Anyone else able to help here? Carsten?

Regards, Upayavira


Patrick Hess wrote:


Upayavira wrote:

Scheduler = Quarz?? Already tried on friday to remove it from cocoon.xconf - without any luck.

I compiled another web application this morning excluding all samples, doc and all optional blocks. Still the same stuff: :-(


All blocks are optional. Exclude all except the ones you actually use (which may be none).


With "optional" block I meant all blocks that I could exclude. So I created only a minimal webapp because this experiment does not require anything special yet.

You should exclude the 'cron' block, and 'build clean webapp' rather than editing cocoon.xconf. It'll be much cleaner.


I started from scratch and compiled with following .properties:

$ cat local.blocks.properties
exclude.block.authentication-fw=true
exclude.block.batik=true
exclude.block.bsf=true
exclude.block.chaperon=true
exclude.block.databases=true
exclude.block.fop=true
exclude.block.hsqldb=true
exclude.block.html=true
exclude.block.itext=true
exclude.block.jfor=true
exclude.block.jsp=true
exclude.block.jxforms=true
exclude.block.linkrewriter=true
exclude.block.lucene=true
exclude.block.naming=true
exclude.block.php=true
exclude.block.poi=true
exclude.block.portal-fw=true
exclude.block.profiler=true
exclude.block.python=true
exclude.block.session-fw=true
exclude.block.swf=true
exclude.block.velocity=true
exclude.block.web3=true
exclude.block.xmldb=true
exclude.block.apples=true
exclude.block.asciiart=true
exclude.block.axis=true
exclude.block.cron=true
exclude.block.deli=true
exclude.block.eventcache=true
exclude.block.jms=true
exclude.block.linotype=true
exclude.block.mail=true
exclude.block.midi=true
exclude.block.ojb=true
exclude.block.petstore=true
exclude.block.portal=true
exclude.block.precept=true
exclude.block.proxy=true
exclude.block.qdox=true
exclude.block.repository=true
exclude.block.scratchpad=true
exclude.block.slide=true
exclude.block.slop=true
exclude.block.stx=true
exclude.block.taglib=true
exclude.block.webdav=true
exclude.block.woody=true
exclude.block.xmlform=tru

$ cat local.build.properties

exclude.webapp.documentation=true
exclude.webapp.javadocs=true
exclude.webapp.idldocs=true
exclude.webapp.samples=true
#exclude.deprecated=true
exclude.javadocs=true
exclude.idldocs=true
#include.driver.oracle=true
#include.driver.postgre=true
#include.driver.odbc=true
#config.allow-reloads=true
#config.enable-uploads=true
compiler=modern
compiler.debug=on
compiler.optimize=on
compiler.deprecation=off
compiler.nowarn=on


Gruss, Patrick






Reply via email to