You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andrea Binello <an...@libero.it> on 2003/07/21 21:37:22 UTC

Cocoon installation on Win2000

Hi, I would like to ask for an help about cocoon installation on Windows 2000. The following is my configuration:
____________________________________

* Windows 2000 Professional (with SP3)
* Apache 1.3.27
* J2SE 1.4.2
* J2EE 1.3.1
* JavaMail 1.3.1 / JAF 1.0.2
* Tomcat 4.1.24
* Cocoon 2.0.4

Environment variables:

CLASSPATH=.\;F:\Programmi\javamail-1.3.1\mail.jar;F:\Programmi\jaf-1.0.2\activation.jar;F:\Programmi\j2sdkee1.3.1\lib\j2ee.jar;F:\Programmi\j2sdk1.4.2\lib\

J2EE_HOME=F:\Programmi\j2sdkee1.3.1

JAVA_HOME=F:\Programmi\j2sdk1.4.2

PATH=F:\Programmi\j2sdk1.4.2\bin;F:\Programmi\j2sdkee1.3.1\bin;F:\Programmi\php-4.3.2\;F:\Programmi\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem

Other notes: Tomcat is running as a service and in standalone mode (not connected to Apache).
____________________________________

Now the problem is:
When I try the url "http://localhost:8080/cocoon/" I see a page with:

Cocoon 2 - Internal server error

type fatal

message Failed to generate program code (this may happen if you use Xalan in incremental processing mode). Please check log file and/or console for errors.

description org.apache.cocoon.ProcessingException: Failed to generate program code (this may happen if you use Xalan in incremental processing mode). Please check log file and/or console for errors.

[...]


What does it mean ? Please any help is appreciated !
Thanks.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon installation on Win2000

Posted by Jens Maukisch <co...@maukisch.net>.
Hi,

> message Failed to generate program code (this may happen if you use Xalan in incremental processing mode).
> What does it mean ? Please any help is appreciated !
> Thanks.

Search in the cocoon.xconf for incremental-processing and set the
value to false:

  <xslt-processor logger="core.xslt-processor">
     <parameter name="use-store" value="false"/>
     <parameter name="incremental-processing" value="false"/>
  </xslt-processor>

  hth

-- 
* best regards
* Jens Maukisch              
* www: http://www.maukisch.net


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Cocoon installation on Win2000

Posted by Geoff Howard <co...@leverageweb.com>.
Andrea Binello wrote:
> Hi, I would like to ask for an help about cocoon installation on Windows 2000. The following is my configuration:
> ____________________________________
> 
> * Windows 2000 Professional (with SP3)
> * Apache 1.3.27
> * J2SE 1.4.2
> * J2EE 1.3.1
> * JavaMail 1.3.1 / JAF 1.0.2
> * Tomcat 4.1.24
> * Cocoon 2.0.4
> 
> Environment variables:
> 
> CLASSPATH=.\;F:\Programmi\javamail-1.3.1\mail.jar;F:\Programmi\jaf-1.0.2\activation.jar;F:\Programmi\j2sdkee1.3.1\lib\j2ee.jar;F:\Programmi\j2sdk1.4.2\lib\

Please note that this really doesn't matter - if you want these jars 
available to cocoon you must either put them in web-inf/lib or configure 
web.xml with this information in its "extra classpath" setting.

> 
> J2EE_HOME=F:\Programmi\j2sdkee1.3.1
> 
> JAVA_HOME=F:\Programmi\j2sdk1.4.2

I also note that you do not mention special handling of your
endorsed jars (xml related jars).  Follow the 1.4.x instructions
for installation at the cocoon.apache.org site with respect to the 
endorsed jars issue.

Geoff


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org