cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stevenson, Chris (SSABSA)" <ch...@ssabsa.sa.gov.au>
Subject RE: WAR file
Date Thu, 01 Jun 2000 02:23:29 GMT

> For adding .jar files... the order is important. Xerces 
> should be called
> first due to reasons explained in the install docs.
> 
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xerces_1_0_3.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\fop_0_12_1.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\js.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jstyle.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\svgv_0_8.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xalan_1_0_1.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\cocoon.jar
> set CLASSPATH=%TOMCAT_HOME%\classes
                ^
                Kills all previous entries
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\webserver.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jasper.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\servlet.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jaxp.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\parser.jar
> set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
> 
> 
> This problem is fixed by having xerces.jar called before 
> other xml related
> jar files... see order above.

But note the problem above! It should be as below.
BTW, the fact that we both got this wrong is pretty
good indication that it should go in the installing.xml
document I'd say :-)

set CLASSPATH=.
set CLASSPATH=%TOMCAT_HOME%\classes

set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xerces_1_0_3.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\fop_0_12_1.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\js.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jstyle.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\svgv_0_8.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xalan_1_0_1.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\cocoon.jar

set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\webserver.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jasper.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xml.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\servlet.jar
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar

-- Chris Stevenson ----------------------- SSABSA --
Senior Secondary Assessment Board of South Australia
60 Greenhill Road, Wayville SA 5034, Australia
email: chris@ssabsa.sa.gov.au
phone: (08) 8372 7515
  fax: (08) 8372 7590
----------------------------------------------------


Mime
View raw message