You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joerg Heinicke <jo...@gmx.de> on 2003/08/15 21:55:15 UTC

Re: cocoon 2.1 - possible to build a war deployable to both 1.3 and 1.4 jre environment?

Build the war with JDK 1.3 ("build war"). There is no longer a JDK 
dependency with the database jar. So you can deploy it both in a 1.3 and 
a 1.4 environment. Java 1.4 is backward compatible, so 1.3 compiled 
stuff works in a 1.4 environment. The problem with endorsed XML 
libraries exists for 1.4, there is no work around for it. So you have to 
copy them into e.g. Tomcat's endorsed folder or start your server with 
the option -Djava.endorsed.dirs=/path/to/your/folder. There is no 
problem if you also use it with Java 1.3.

Joerg

Tsui, Alban wrote:
> Hi
> 
> Is it possible to build the latest cocoon into a war which is both 
> compatitble to 1.3 and 1.4 environment say on different application servers?
> 
> Currently I am using 2.0.3 still and in order to deploy it to 1.4 
> environement, I need to replace one of the avalon jar as well as putting 
> the xerces/xalan jars etc. into the endorsed folder for 1.4... not very 
> nice and easy.
> 
> Thanks in advance.
> Alban


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