On Fri, 24 Aug 2001, Enric Staromiejski wrote:
> We attatch cocoon.log
where is the log ? :-)
> embedded exception stacktrace) because aparently is trying to use jaxp to
> parse instead of Xerces. The problem now is that if we move jaxp.jar and
> rename parser.jar as zz_parser.jar (or even remove both)from/in the
> Tomcat/lib directory, then Tomcat is unable to start (Violacion de segmento,
> that means Segmentation Fault). So what?
which version of the jdk are you using ? this sounds like the token
jdk1.3.1 error.
> Next we've retrieved jaxp.jar and parser.jar (and kept xerces in
> tomcat/lib), modified cocoon.xconf and uncomented the line
> <parser class="org.apache.cocoon.components.parser.XercesParser"/>
Here's what I have on my system:
Standard tomcat 3.2.3 install with xerces jar in the lib directory, and no
parser.jar or jaxp.jar.
fztig938[/home/crafterm/workarea]:6>ls -l jakarta-tomcat-3.2.3/lib
total 2732
-rw-r--r-- 1 crafterm crafterm 295934 Aug 17 17:58 ant.jar
-rw-r--r-- 1 crafterm crafterm 214074 Aug 17 17:58 jasper.jar
-rw-r--r-- 1 crafterm crafterm 40813 Aug 17 17:58 servlet.jar
drwxr-sr-x 3 crafterm crafterm 4096 Aug 17 17:58 test/
-rw-r--r-- 1 crafterm crafterm 428372 Aug 17 18:09 webserver.jar
-rw-r--r-- 1 crafterm crafterm 1787796 Aug 17 18:00 xerces_1_4_1.jar
cvs cocoon2 checked out, without changes
context in conf/server.xml:
<Context path="/cocoon"
docBase="/home/crafterm/workarea/xml-cocoon2/build/cocoon/webapp"
crossContext="true"
debug="0"
reloadable="true"
trusted="false" >
</Context>
And that is it.
I simply start it with 'bin/startup.sh -f conf/server.xml', and it
works fine.
If you're using jdk1.3.1 under linux, then add '-classic' to your
TOMCAT_OPTS environment variable. This is a known problem with that
jdk.
Hope that helps, keep trying :-)
Cheers,
Marcus
--
.....
,,$$$$$$$$$, Marcus Crafter
;$' '$$$$: Computer Systems Engineer
$: $$$$: Open Software Associates GmbH
$ o_)$$$: 82-84 Mainzer Landstrasse
;$, _/\ &&:' 60327 Frankfurt Germany
' /( &&&
\_&&&&' Email : [EMAIL PROTECTED]
&&&&. Business Hours : +49 69 9757 200
&&&&&&&:
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>