cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joel Bethea" <jbet...@trisect.com>
Subject RE: cocoon2 installation
Date Fri, 11 Aug 2000 17:54:48 GMT
>
> Hi,
>
> In the classpath section of the cocoon2 install doc not all the .jar's
> included in the distrubution are listed and xerces has the
> wrong version
> number.
> Your classpath section in tomcat.bat/tomcat.sh should read:
>
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\cocoon.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xerces_1_1_2.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\xalan_1_0_1.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\fop_0_13_0.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\svgv_0_8.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jstyle.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\js.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\AvalonAware.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\bsf.jar
> set CLASSPATH=%CLASSPATH%;%TOMCAT_HOME%\lib\jakarta-regexp-1.1.jar
>

i had already caught the xerces error, and i have reordered the classpath
section according to your suggestion.  however,  it still presents the same
problems.  trying to go to the welcome page
(http://localhost:8080/cocoon/welcome) prompts cocoon to throw a
NullPointerException as so:

Cocoon 2.0: Exception

----------------------------------------------------------------------------
----
Class: java.lang.NullPointerException
Message: null

java.lang.NullPointerException
	at
org.apache.cocoon.sitemap.SitemapHandler.process(SitemapHandler.java:145)
	at org.apache.cocoon.sitemap.SitemapManager.invoke(SitemapManager.java:84)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:178)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:142)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
	at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
	at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:160)
	at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)
	at java.lang.Thread.run(Unknown Source)

has anyone seen this before, and might have a suggestion?

thanks for the help,

joel




Mime
View raw message