• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tomcat + cocoon + apache = problem

 
ac
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi!
i've found the problem i'm having in a few lists, but i cannot
seem to find any clear explanation of what to do about it; i
hope someone has had a similar problem...
i'm on windows me, using ie 5.5, and have jdk1.3.1, apache 1.3.19 and
tomcat 3.2.2 installed and working. i have attempted to install
cocoon-1.8.2 according to the install instructions, however when i
load http://localhost:8080/cocoon/Cocoon.xml i see:
Publishing Engine could not be initialized.
java.lang.RuntimeException: Exception when creating " org.apache.cocoon.processor.xsp.XSPProcessor" :
...
at java.lang.Thread.run(Thread.java:484)
the same error message is generated when i try to load: http://localhost:8080/cocoon/samples/index.xml
perhaps my classpaths are not in the correct order?
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xerces_1_2.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xalan_1_2_002.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\w3c.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\fop_0_15_0.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\servlet_2_2.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\cocoon.jar

set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\turbine-pool.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\bsf.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\webserver.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jasper.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\zxml.jar
set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\zparser.jar
set CLASSPATH=%CLASSPATH%;%JAVA_HOME%\lib\tools.jar
<i have renamed the xml and parser jar files to zxml and zparser>
if anyone has had or solved a similar problem please let me know...
big thanks in advance!
stacey
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ac",
The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp . We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please log in with a new name which meets the requirements.
Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic