You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mariusz Wójcik <wo...@okno.pw.edu.pl> on 2004/04/09 11:24:22 UTC
How build minimal cocoon version for portal environment???
Hi
Which components are neccessary to build minimal cocoon portal production
environment? I'd like to build it without HSQLDB Server. How can I do it?
Thanks for help.
mario
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How build minimal cocoon version for portal environment???
Posted by Joerg Heinicke <jo...@gmx.de>.
On 09.04.2004 23:19, Leon Widdershoven wrote:
> If it is actually *starting* you call it somewhere (if you use unix, I
> suggest a
> find . -type f -exec grep -H hsql {} \; and patience, or just look at
> the deployed
> supposedly minimized cocoon and check
> 1. WEB-INF/web.xml
> 2. WEB-INF/cocoon.xconf
> 3. sitemap.xmap
> 4. rm -rf samples (don't do this at home - NO WARRANTY GIVEN:)
>
> And you can of course delete all jar files you're sure you don't need.
> Be very sure, and take small
> steps - each time reloading cocoon or restarting tomcat (if thats what
> you use).
> But uncalled libraries are not loaded.
In theory there is no need to do this. Also the changes got lost when
building Cocoon another time. So the problem should be fixed at its
source, not after the build. Disabling the block and doing a clean build
should do it.
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How build minimal cocoon version for portal environment???
Posted by Leon Widdershoven <qa...@dds.nl>.
If it is actually *starting* you call it somewhere (if you use unix, I
suggest a
find . -type f -exec grep -H hsql {} \; and patience, or just look at
the deployed
supposedly minimized cocoon and check
1. WEB-INF/web.xml
2. WEB-INF/cocoon.xconf
3. sitemap.xmap
4. rm -rf samples (don't do this at home - NO WARRANTY GIVEN:)
And you can of course delete all jar files you're sure you don't need.
Be very sure, and take small
steps - each time reloading cocoon or restarting tomcat (if thats what
you use).
But uncalled libraries are not loaded.
You might also wish to edit WEB-INF/logkit.xconf and set every possible
logger to
DEBUG. You'll get tons of output - but you'll see what is happening.
Turn debug off
after that since logfiles of 100+ MB are quite common then.
I'm probably giving a lot of superfluous advise (maybe even incorrect:(
since I don't know
how experienced you are.
If you do get a working result a posting with some good advice would
surely be
appreciated - or maybe even an addition to the wiki docs:)
Good luck,
Leon
Mariusz Wojcik wrote:
>Thanks for help... but are you sure that I don't need to remove some *.jar
>file from subdirectories of cocoon_build/lib?
>I've removed all database, hsql blocks, but HSQLDB is still starting. The
>same story may concern others components (but I'm not sure).
>
>mario
>
>----- Original Message -----
>From: "Leon Widdershoven" <qa...@dds.nl>
>To: <us...@cocoon.apache.org>
>Sent: Friday, April 09, 2004 9:33 PM
>Subject: Re: How build minimal cocoon version for portal environment???
>
>
>
>
>>I can understand the question. I also had the same feeling, especially
>>when reading
>>the default configuration. It is not so much complex as very large.
>>
>>I think the trick is to - indeed - read the INSTALL file. I'm not quite
>>
>>
>sure
>
>
>>whether all references are fully stated in the local.blocks.properties
>>(I got a
>>compile error though I thought I did it right), but if you get it compiled
>>you have a go.
>>
>>You don't need hsqldb. It's used in the examples which you don't use.
>>
>>I can recommend an XML targetted editor for the config files (web.xml
>>and cocoon.xconf); pollo might be a good choice (found on sourceforge).
>>
>>I personally don't really use it that much, but it's perfect to get an
>>overview
>>over the huge files and delete those parts you don't want. Don't forget
>>to back up:)
>>
>>Leon
>>
>>Joerg Heinicke wrote:
>>
>>
>>
>>>On 09.04.2004 11:24, Mariusz Wójcik wrote:
>>>
>>>
>>>
>>>>Hi
>>>>Which components are neccessary to build minimal cocoon portal
>>>>production
>>>>environment? I'd like to build it without HSQLDB Server. How can I do
>>>>it?
>>>>
>>>>
>>>There is a INSTALL.TXT in the root dir of Cocoon that explains how to
>>>do it (blocks.properties/local.blocks.properties).
>>>
>>>Does this help? If not feel free to ask more questions.
>>>
>>>Joerg
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>>For additional commands, e-mail: users-help@cocoon.apache.org
>>>
>>>
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>>For additional commands, e-mail: users-help@cocoon.apache.org
>>
>>
>>
>>
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How build minimal cocoon version for portal environment???
Posted by Joerg Heinicke <jo...@gmx.de>.
On 09.04.2004 23:06, Mariusz Wojcik wrote:
> Thanks for help... but are you sure that I don't need to remove some *.jar
> file from subdirectories of cocoon_build/lib?
> I've removed all database, hsql blocks, but HSQLDB is still starting. The
> same story may concern others components (but I'm not sure).
Just select the blocks you need in local.blocks.properties. Try to
exclude all, but the portal block and its dependencies at the beginning.
You must do a "build clean" afterwards, as the already built Cocoon
version might have hsqldb included. Blocks can not be removed from a
built version, therefore you have to build it completely from scratch.
You do not need to touch any configuration file or remove any JAR file
from build directory though there might be some superfluous JARs from
lib/optional, but that's not the case for hsqldb.
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How build minimal cocoon version for portal environment???
Posted by Mariusz Wojcik <wo...@okno.pw.edu.pl>.
Thanks for help... but are you sure that I don't need to remove some *.jar
file from subdirectories of cocoon_build/lib?
I've removed all database, hsql blocks, but HSQLDB is still starting. The
same story may concern others components (but I'm not sure).
mario
----- Original Message -----
From: "Leon Widdershoven" <qa...@dds.nl>
To: <us...@cocoon.apache.org>
Sent: Friday, April 09, 2004 9:33 PM
Subject: Re: How build minimal cocoon version for portal environment???
> I can understand the question. I also had the same feeling, especially
> when reading
> the default configuration. It is not so much complex as very large.
>
> I think the trick is to - indeed - read the INSTALL file. I'm not quite
sure
> whether all references are fully stated in the local.blocks.properties
> (I got a
> compile error though I thought I did it right), but if you get it compiled
> you have a go.
>
> You don't need hsqldb. It's used in the examples which you don't use.
>
> I can recommend an XML targetted editor for the config files (web.xml
> and cocoon.xconf); pollo might be a good choice (found on sourceforge).
>
> I personally don't really use it that much, but it's perfect to get an
> overview
> over the huge files and delete those parts you don't want. Don't forget
> to back up:)
>
> Leon
>
> Joerg Heinicke wrote:
>
> > On 09.04.2004 11:24, Mariusz Wójcik wrote:
> >
> >> Hi
> >> Which components are neccessary to build minimal cocoon portal
> >> production
> >> environment? I'd like to build it without HSQLDB Server. How can I do
> >> it?
> >
> >
> > There is a INSTALL.TXT in the root dir of Cocoon that explains how to
> > do it (blocks.properties/local.blocks.properties).
> >
> > Does this help? If not feel free to ask more questions.
> >
> > Joerg
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How build minimal cocoon version for portal environment???
Posted by Joerg Heinicke <jo...@gmx.de>.
On 09.04.2004 21:33, Leon Widdershoven wrote:
> I think the trick is to - indeed - read the INSTALL file. I'm not quite
> sure
> whether all references are fully stated in the local.blocks.properties
> (I got a
> compile error though I thought I did it right), but if you get it compiled
> you have a go.
Please report such errors if you came across them, otherwise they won't
get fixed. The blocks.properties file is generated out of gump.xml. This
gump descriptor knows "all" dependencies, but some might be missing.
Especially after the move of XSP from to its own block might made some
dependencies missing (I fixed it for example for the database block).
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How build minimal cocoon version for portal environment???
Posted by Leon Widdershoven <qa...@dds.nl>.
I can understand the question. I also had the same feeling, especially
when reading
the default configuration. It is not so much complex as very large.
I think the trick is to - indeed - read the INSTALL file. I'm not quite sure
whether all references are fully stated in the local.blocks.properties
(I got a
compile error though I thought I did it right), but if you get it compiled
you have a go.
You don't need hsqldb. It's used in the examples which you don't use.
I can recommend an XML targetted editor for the config files (web.xml
and cocoon.xconf); pollo might be a good choice (found on sourceforge).
I personally don't really use it that much, but it's perfect to get an
overview
over the huge files and delete those parts you don't want. Don't forget
to back up:)
Leon
Joerg Heinicke wrote:
> On 09.04.2004 11:24, Mariusz Wójcik wrote:
>
>> Hi
>> Which components are neccessary to build minimal cocoon portal
>> production
>> environment? I'd like to build it without HSQLDB Server. How can I do
>> it?
>
>
> There is a INSTALL.TXT in the root dir of Cocoon that explains how to
> do it (blocks.properties/local.blocks.properties).
>
> Does this help? If not feel free to ask more questions.
>
> Joerg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: How build minimal cocoon version for portal environment???
Posted by Joerg Heinicke <jo...@gmx.de>.
On 09.04.2004 11:24, Mariusz Wójcik wrote:
> Hi
> Which components are neccessary to build minimal cocoon portal production
> environment? I'd like to build it without HSQLDB Server. How can I do it?
There is a INSTALL.TXT in the root dir of Cocoon that explains how to do
it (blocks.properties/local.blocks.properties).
Does this help? If not feel free to ask more questions.
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org