You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Paul Gilligan <pd...@oyap.net> on 2002/06/10 12:53:42 UTC

To war with .WAR

Ok,

Trying  cocoon-2.0.2 and got errors compiling sitemap etc.

... strange release this??

So moved back to the latest snapshot of dev 2.1 using

xml-cocoon2_20020608102200.tar.gz

Objective: To run jdk 1.3 + tomcat 4 + c2, so that I can connect to my 
new shinny Oracle 9.2 istallation because I could not get cocoon 2 to 
run with jdk1.4 and jdbc.

1) Using jakarta-tomcat-4.0.3.tar.gz because I am lazy and with jdk 1.3 
I will have to download and play with the configuration to get all the 
other options that are in jdk1.4 to run (hence wanting to use jdk 1.4 in 
the first place).

2) Using xml-cocoon2_20020608102200.tar.gz

3) Tomcat still having a problem with the distribution of the war so 
using unzip.

** create directory $CATALINA_HOME/webapps/coccon and move the war file 
there.

** unzip the war file

** goto the cocoon/WEB-INF and create logs directory that is missing, 
chmod 777 logs using another user to run things to b a little more secure.

** chmod 777 $CATALINA_HOME/work & logs for the same reason.

** Setup the jar's for tomcat as in the jdk 1.3 notes on the coccon 
site, edited the web.xml as instructed.

4) As the nobody user started tomcat and now this works :

http://www.oyap.net:8080/cocoon/

5) Re-enabled the tomcat proxy and re-started and now :

http://www.oyap.net/cocoon/

works.

6) Add my own stuff to the sitemap

   <!-- OyaP Applications -->
   <map:pipeline>
     <map:match pattern="oyap/**">
       <map:mount check-reload="yes" 
src="/data3/home/wu1000/public_html/extra/technology/" uri-prefix="oyap"/>
     </map:match>
     <map:match pattern="oyap">
       <map:redirect-to uri="oyap/index.html" />
     </map:match>
   </map:pipeline>

And now :

http://www.oyap.net/cocoon/oyap/index.xml

works.

Now will be testing jdbc with my new 9.2 install :)

QUESITION... when will we have a working c2 with jdk 1.4?

















---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: To war with .WAR

Posted by Roger I Martin PhD <hy...@hypernexinc.com>.
Hi,

Yep it's working! Just tried your links.

>
> QUESITION... when will we have a working c2 with jdk 1.4?
>

I've been using jdk1.4 + tomcat4.x and c2.x-dev since December; Albeit until
now by downloading the Avalon source code and modifying it's jdbc
connection:)  However, my modifications made the jdbc connections work only
with jdk1.4 so the patch was not immediately applied to the CVS HEAD.  On
Saturday I downloaded the cvs c2 HEAD, ran it's build and applied it to my
webapp projects and for the first time ran it without modification with
jdk1.4.  Well I needed blobs from my database so I modified the ESQL
logicsheet, got it working and sent the patch in.

I believe it is about ready for you to try again.  The date on the Avalon
jar is 6/3/2002 so I suspect you will need any version after that date but
I'm not certain; just this Saturday is when I tried again.

Another Cocoon applier,
Roger






---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>