On Wed, 13 Jun 2001 Giacomo wrote:
> Hi all. Please help. ;-)
>
> I'm a newbie (few months ago I got c1.81 running and made some simple
> apps with mysql etc but had not enough time), and I'm trying to install
> c2 with tomcat3 .... but no docs on the site, it really can't be
> characterized as doc. It's "Tips For Insiders"...
Well, any patches are welcome ;)
Look at http://xml.apache.org/cocoon2/ where you'll alread find a bunch
of docs.
Giacomo
---------------
Oh. Yes. Well, I did. The whole day up to now and I read all ... or ?
Its a disaster ... am I too STUPID??? Please help (I'll write a little
installation quasi-faq / step-by-step about it after all and post it
then):
First building the war file I get:
|C:\Programme\ApacheGroup\jakarta-tomcat-3.2.1\webapps\cocoon>
|build.bat -Dinclude.webapp.libs=yes webapp
|
|C:\Programme\ApacheGroup\jakarta-tomcat-3.2.1\webapps\cocoon>if not
"C:\Programm
|e\java\jdk" == "" goto gotJavaHome
|
|C:\Programme\ApacheGroup\jakarta-tomcat-3.2.1\webapps\cocoon>if not ""
== "" got
|o gotAntHome
|
|C:\Programme\ApacheGroup\jakarta-tomcat-3.2.1\webapps\cocoon>set
ANT_HOME=.
|
|C:\Programme\ApacheGroup\jakarta-tomcat-3.2.1\webapps\cocoon>set
CP=C:\Programme
|\java\jdk\lib\tools.jar;.\lib\ant_1_3.jar;.\lib\ant_1_3-optional.jar;.\lib\xerce
|s_1_4_0.jar;.\lib\xalan-2.1.0.jar
|Kein Speicherplatz mehr im Umgebungsbereich
-("Not enough memory in environment")
|
|C:\Programme\ApacheGroup\jakarta-tomcat-3.2.1\webapps\cocoon>C:\Programme\java\j
|dk\bin\java.exe -classpath org.apache.tools.ant.Main
-Djava.home=C:\Programme\
|java\jdk -Dant.home=. -Dinclude.webapp.libs yes webapp
|Exception in thread "main" java.lang.NoClassDefFoundError: yes
Do I have to build it for testing purposes? Can't I put it unpacked into
%TOMCAT_HOME%\webapps\?
Do I have to have to replace the parser for tomcat with the xerces 1.3.0
version by removing the parser.jar and jaxp.jar from the
tocmat/libs directory and adding the xerces_1.3.0.jar in the same
directory as Carsten Ziegeler wrote in the group before?
Or should I do it like written in INSTALL:
For Tomcat 3.2.1 simply remove the jaxp.jar and the parser.jar from
the
tomcat/lib directory and copy the xerces.jar to this directory and
rename
it to parser.jar. Before you restart Tomcat make sure to remove the
tomcat/work directory beforehand.
(I got t3.2.1)
How about the classpath: "...just copied all the cocoon2 jar files into
the tomcat/lib directory. The cocoon.war file went into the webapps
directory..." as Giles Paterson wrote ? In Cocoon 1.81 I did it similar
(unpacked/unbuilded) and it was ok.
This is from the installation description on the cocoon site, I tried
this too:
|Delete tomcat/lib/jaxp.jar
|Rename tomcat/lib/parser.jar to tomcat/lib/zparser.jar
|Copy cocoon/lib/xerces-XXX.jar file to tomcat\lib
|Copy cocoon/build/cocoon.war into tomcat/webapps
Instead of this I put it unpacked into %TOMCAT_HOME%\webapps\
Do I have to edit a server.xml file? Where can I find Configuration
files for c2? Is it the sitemap?
Did someone wrote an installation quasi-faq / step-by-step in
cocoon-users before? Or in the cocoon docs.
Every tip is welcome! I hope you see my problems with the
"documentation".
btw.: my system is w98, sun jdk 1.3.0, tomcat 3.2.1 and apache 1.3.12
Much thanks and best regards, Arno Illmann
---------------------------------------------------------------------
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]>