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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 09, 2004 9:33 PM Subject: Re: How build minimal cocoon version for portal environment???
sureI 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
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
