You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Guillaume Rousse <ro...@ccr.jussieu.fr> on 2001/10/04 16:46:35 UTC

minimal configuration for cocoon 2

Hello.
I'm trying to find the smallest cocoon configuration for a simple xml->html 
application. I used original cocoon directory and removed everything i can 
from sitemap and configuration. This is OK.
Now i'm trying to remove useless jars, as stated in docs, and restart tomcat 
everytime to check my app still works. I succeded from many package (xt.jar 
xerces_1_4_3.jar rhino.jar bsf.jar fop-0_20_1-dev.jar batik-libs.jar 
jimi-1.0.jar jstyle.jar, junit.jar, velocity.jar), but as soon as i remove 
either hsqldb.jar or maybeupload.jar, it breaks (interupted connexion from 
the server) with nothing worth in the logs. Most curious is that just putting 
the jars back (and restart tomcat, of course) is not enough, i have to put 
back every removed jars so far.
I highly suspect they are still some configuration options related to 
database of upload lying in configuration files, but i didn't found them. Or 
are they default options ?

I use cocoon 2 rc1 on Linux, with tomcat 3.2.3. I'm joining configuration 
files.
-- 
Guillaume Rousse <ro...@ccr.jussieu.fr>
GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html

RE: minimal configuration for cocoon 2

Posted by Vadim Gritsenko <va...@verizon.net>.
Hi,

Konstantin is right about maybeupload.jar: you need to  rebuild Cocoon without it,
otherwise Cocoon uses maybeupload-specific classes.

Also, here is the pointer how to remove jstyle.jar: comment out line
      <parameter name="code-formatter" value="org.apache.cocoon.components.language.programming.java.JstyleFormatter"/>
in cocoon.xconf.

About hsqldb.jar - search the dev-archives, I do remeber something was on the list about
HSQLDB-less Cocoon configuration...

Vadim

> -----Original Message-----
> From: Piroumian, Konstantin [mailto:KPiroumian@flagship.ru]
> Sent: Thursday, October 04, 2001 11:11 AM
> To: cocoon-users@xml.apache.org
> Subject: Re: minimal configuration for cocoon 2
> 
> 
> Hi!
> 
> I think, that the problem comes from the build process. I suspect, that you
> have hsqldb.jar and maybeupload.jar in your xml-cocoon/lib directory and
> this causes the build process to use some specific classes to build the
> core.
> 
> Try to make clean rebuild of C2 (with removed hsqldb.jar, maybeupload.jar,
> xt.jar, batik-all.jar, etc.) and then you'll get a minimal Cocoon. The
> question had been asked many times in cocoon-dev, but it seems that nobody
> can decide what is the "minimal Cocoon".
> 
> Regards,
>     Konstantin Piroumian
> 
> ----- Original Message -----
> From: "Guillaume Rousse" <ro...@ccr.jussieu.fr>
> To: <co...@xml.apache.org>
> Sent: Thursday, October 04, 2001 6:46 PM
> Subject: minimal configuration for cocoon 2
> 
> 
> > Hello.
> > I'm trying to find the smallest cocoon configuration for a simple
> xml->html
> > application. I used original cocoon directory and removed everything i can
> > from sitemap and configuration. This is OK.
> > Now i'm trying to remove useless jars, as stated in docs, and restart
> tomcat
> > everytime to check my app still works. I succeded from many package
> (xt.jar
> > xerces_1_4_3.jar rhino.jar bsf.jar fop-0_20_1-dev.jar batik-libs.jar
> > jimi-1.0.jar jstyle.jar, junit.jar, velocity.jar), but as soon as i remove
> > either hsqldb.jar or maybeupload.jar, it breaks (interupted connexion from
> > the server) with nothing worth in the logs. Most curious is that just
> putting
> > the jars back (and restart tomcat, of course) is not enough, i have to put
> > back every removed jars so far.
> > I highly suspect they are still some configuration options related to
> > database of upload lying in configuration files, but i didn't found them.
> Or
> > are they default options ?
> >
> > I use cocoon 2 rc1 on Linux, with tomcat 3.2.3. I'm joining configuration
> > files.
> > --
> > Guillaume Rousse <ro...@ccr.jussieu.fr>
> > GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html
> >
> >
> 
> 
> ----------------------------------------------------------------------------
> ----
> 
> 
> > ---------------------------------------------------------------------
> > 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>
> 
> ---------------------------------------------------------------------
> 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>
> 

---------------------------------------------------------------------
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: minimal configuration for cocoon 2

Posted by "Piroumian, Konstantin" <KP...@flagship.ru>.
Hi!

I think, that the problem comes from the build process. I suspect, that you
have hsqldb.jar and maybeupload.jar in your xml-cocoon/lib directory and
this causes the build process to use some specific classes to build the
core.

Try to make clean rebuild of C2 (with removed hsqldb.jar, maybeupload.jar,
xt.jar, batik-all.jar, etc.) and then you'll get a minimal Cocoon. The
question had been asked many times in cocoon-dev, but it seems that nobody
can decide what is the "minimal Cocoon".

Regards,
    Konstantin Piroumian

----- Original Message -----
From: "Guillaume Rousse" <ro...@ccr.jussieu.fr>
To: <co...@xml.apache.org>
Sent: Thursday, October 04, 2001 6:46 PM
Subject: minimal configuration for cocoon 2


> Hello.
> I'm trying to find the smallest cocoon configuration for a simple
xml->html
> application. I used original cocoon directory and removed everything i can
> from sitemap and configuration. This is OK.
> Now i'm trying to remove useless jars, as stated in docs, and restart
tomcat
> everytime to check my app still works. I succeded from many package
(xt.jar
> xerces_1_4_3.jar rhino.jar bsf.jar fop-0_20_1-dev.jar batik-libs.jar
> jimi-1.0.jar jstyle.jar, junit.jar, velocity.jar), but as soon as i remove
> either hsqldb.jar or maybeupload.jar, it breaks (interupted connexion from
> the server) with nothing worth in the logs. Most curious is that just
putting
> the jars back (and restart tomcat, of course) is not enough, i have to put
> back every removed jars so far.
> I highly suspect they are still some configuration options related to
> database of upload lying in configuration files, but i didn't found them.
Or
> are they default options ?
>
> I use cocoon 2 rc1 on Linux, with tomcat 3.2.3. I'm joining configuration
> files.
> --
> Guillaume Rousse <ro...@ccr.jussieu.fr>
> GPG key http://lis.snv.jussieu.fr/~rousse/gpgkey.html
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> 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>

---------------------------------------------------------------------
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>