You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Jonathan Borden <jb...@mediaone.net> on 2000/03/15 05:58:20 UTC
FW: JDK1.3RC1 + TOMCAT 3.1B + COCOON 1.7 + XALAN-0_20_0 + XERCES 1_0_3
I've got this combo working on NT4 for this interested :-)
This config works except for two minor problems.
1) TOMCAT.BAT prepends xml.jar,servlet.jar to the CLASSPATH.
xml.jar is DOM1 and xerces-1_0_3.jar is DOM2 so this creates a conflict.
Also Cocoon ships with servlet_2_2.jar. I have REM'd out the lines in
TOMCAT.BAT where these are added to the CLASSPATH and all works well now.
2) In order to get the Cocoon 1.7
/Cocoon.xml file to get recognized, the tomcat\conf\web.xml file needs to
get edited and the Cocoon servlet added. This creates the problem that the
cocoon sample filed in webapps/cocoon/samples which ought be accessed via:
/cocoon/samples/hello/hello.xml (for example)
get resolved to:
/ROOT/cocoon/samles... and are not located.
Is there a better way to config the web.xml chain. Is there some
documentation about the web.xml located in /conf/ rather than the /WEB-INF/
subdirectories?
All in all *great* work.
Jonathan Borden
Re: FW: JDK1.3RC1 + TOMCAT 3.1B + COCOON 1.7 + XALAN-0_20_0 + XERCES
1_0_3
Posted by Arion <ar...@talentinfo.com.hk>.
Hi!
Jonathan Borden wrote:
> Is there a better way to config the web.xml chain. Is there some
> documentation about the web.xml located in /conf/ rather than the /WEB-INF/
> subdirectories?
According to Servlet 2.2 specification (you can d/l it in java.sun.com) chapter
9.4, the WEB-INF is a special directory. So the answer for your question should
be negative.
Arion
Re: FW: JDK1.3RC1 + TOMCAT 3.1B + COCOON 1.7 + XALAN-0_20_0 + XERCES
1_0_3
Posted by co...@eng.sun.com.
> Is there a better way to config the web.xml chain. Is there some
> documentation about the web.xml located in /conf/ rather than the /WEB-INF/
> subdirectories?
It's the "default" web.xml - all the default mappings ( like /servlet and
*.jsp ) and mime types.
Treat it as a tomcat-specific config ( since it contains tomcat-specific
classes ).
Costin
Re: FW: JDK1.3RC1 + TOMCAT 3.1B + COCOON 1.7 + XALAN-0_20_0 + XERCES
1_0_3
Posted by co...@eng.sun.com.
> Is there a better way to config the web.xml chain. Is there some
> documentation about the web.xml located in /conf/ rather than the /WEB-INF/
> subdirectories?
It's the "default" web.xml - all the default mappings ( like /servlet and
*.jsp ) and mime types.
Treat it as a tomcat-specific config ( since it contains tomcat-specific
classes ).
Costin