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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to