Re: what is the easiest way to delopy cocoon application?

2002-03-09 Thread John Austin

On Thursday 07 March 2002 02:20, you wrote:
 What is the easiest way to delopy cocoon application (including
 database)?

 Create a web application archive (WAR) file? If yes, how can I create
 one for my cocoon application (including database)?

Take a look at http://sourceforge.net/projects/Chello it is supposed to 
be a minimalist C2 application. You probably want to clone it as a 
basis for your application (assuming Apache-ish license).

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




Compression in HTML Serializer ?

2002-03-09 Thread Luca Morandini

Folks,

I've been ruminating about speeding up my Cocoon app... and came up with the
conclusion that un-necessary white spaces in my app use more than the usual
20-30% of an HTML page.

Hence, I was wondering how to squeeze HTML of unnecessary spaces (and,
maybe, of Javascript comments ?) in the HTML Serializer (or in a
HTMLSerializer-derived serializer).

I know, web-servers can use compression schemes, but I'd like to give them
something slimmer anyway.

Does it make any sense ?
There's anyone who already thougth about it ?
Is someone interested in developing it ?

Best regards,

-
   Luca Morandini
   GIS Consultant
  [EMAIL PROTECTED]
http://utenti.tripod.it/lmorandini/index.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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re[2]: No valid JdbcConnection for MySQL

2002-03-09 Thread Oleg Gusakov

Friday, March 8, 2002, 3:33:06 AM, Richard wrote:

 I also had a problem with MySQL. This is how I solved it:
 (Tomcat 4.0.1   JDK 1.3.1_02  Cocoon 2.0.2-dev)
 Download a mm.mysql-bin-xxx.jar.Put mm.mysql-bin-xxx.jar in the lib/optional
 directory of a CVS HEAD, change the database.properties file to reflect your
 settings and rebuild.

As far as I can see this file, database.properties, is only used to
create an entry in new build's cocoon.xconf, which I already have
done. Also the jdbc .jar file - I have it alredy in ...jre/lib/ext so
it is available.

 Now it's configured for your database, you only need to remove all
 references to the hsqldb-server from the cocoon.xconf file.

 I hope this will help you

 Richard Korthuis

Thanks Richard, but looks like my problem is still there.

I tried to check the inner workings on Avalon/Cocoon, but
unfortunately the latest version of avalon-excalibur does not work
(logkit issues) with Cocoon. And the 4.1 version does not compile correctly on my
machine :( I guess I will have to endeavor into making it
compile.

-- 
Best regards,
 OG


 - Original Message -
 From: OG [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, March 08, 2002 4:02 AM
 Subject: C2.1: No valid JdbcConnection for MySQL


 I managed to compile the 07-Mar-2002 HEAD cocoon source under
 WinXP/Java 1.4 and run it with Tomcat 4.0.3 LE - many thanks to Vadim
 Gritsenko. But got stuck with the following exception in core.log
 org.apache.avalon.excalibur.datasource.NoValidConnectionException: No
 valid JdbcConnection class available

 The funniest thing is that the connection is described in cocoon.xconf
 and worked fine for C2.0.0. The JDBC driver is OK and is used by
 Tomcat without problems. Connection itself is correct. This looks like a
 problem with Avalon
 Component Manager, but I am not sure.

 Has somebody managed to make MySQL jdbc work with Cocoon 2.1? I am
 using mm.mysql-2.0.11.


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




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



-- 
Best regards,
 OG 
-- 
Thanks,
Oleg




__
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/


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




Websphere and Cocoon2 and JSP

2002-03-09 Thread m . marggraf

hello,
does anybody know the classname of the jsp-generator class
in WAS?

the default-class
org.apache.cocoon.generation.JspGenerator
uses the jasper-compiler. if i use the 
jasper-jars then it won't work because of
the jasper uses J2EE1.3 and WAS is 1.2.x
(for inst. HttpServletResponseWrapper)

is it possible to configure the jsp-generator
of C2 so that it can work with WAS?

thanks 
Michael

-- 
-
[EMAIL PROTECTED]



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




Re: what is the easiest way to delopy cocoon application?

2002-03-09 Thread Peter Robins

On Saturday 09 Mar 2002 8:28 am, John Austin wrote:

 Take a look at http://sourceforge.net/projects/Chello 

should read chello 

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




Relationship between pipelines and match nodes

2002-03-09 Thread Peter Robins

I'm getting rather confused on what a pipeline actually consists of, and 
can't find any docu on this. In the sample sitemap, some match nodes are in 
their own pipeline, other pipelines contain many different matches. One 
pipeline contains its own error-handling definition, which implies that you 
can have different pipelines with differing error-handling routines (altho in 
this case it seems to be identical, so quite what purpose . . .). If so, what 
happens for those pipelines that don't have an error-handling definition?

I eventually found a definition of the 'cocoon:/' syntax buried in the 
changes log, which says that it accesses another pipeline, yet in the 
documentation sitemap, the example doesn't go to another pipeline but to 
another match in the same pipeline. In any case, afaics, there is no 
identifier for pipelines.

If these matches were all in their own separate pipelines, would the 
behaviour be different, and if so how?

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




[FYI] Success Story - Cocoon-based Web-CMS with Vignette-Integration

2002-03-09 Thread Stefan Seifert


We developed in a big project roughly spanning the past 1,5 years a
Java-based Web Content Management System using Cocoon 2 with
Vignette-Integration.

The result of the first development phase (the live website) you can see
at
http://www.gruene-fraktion.de (german). The System was developed by
gedas for the 'parliamentary faction of Bündnis90/Die Grünen' (the
German Green Party).

Some technical/architectional information:
 - The live-site is powerd by a farm of 5 web-/application and database
servers
 - The whole Live-Website is generated by Cocoon 2.0.1
 - The data (metadata, XML/XHTML-Fragments, Image data) is stored in a
relational database
 - Each page delivery consists af a bunch of complex aggregated
XSP-Pages using ESQL, transformed with XSLT-Stylesheets for different
layouts
 - Output is done in HTML, HTML Print version, PDF, RTF, Text (all
generated from the same content) and JPEGs (for graphical menus). (In
the live-site you will see at this moment only HTML output - the other
formats are used live in the near future).
 - For some reasons the caching mechanisms of Cocoon where not used but
it was decided to run this high-traffic Website on Vignette, using the
Vignette-Caching-Mechanisms.
 - Vignette is used for some other special community-features like
Online-Voting
 - The Content Management System itself is a traditional JSP/Java-Based
n-tiered System running in IE5 and higher and Netscacpe 4.7 and higher,
using a java applet for authoring formatted XHTML fragements. Some
additional feaures: Complex User Roles, simple Workflow,
Image+Link-Management etc.
 - A sort of 'cache manager daemon' does on-demand-regeneration of
changed pages
 - The system supports the administration of several sites in the same
web farm with completely different layouts
 - The system is used by up to 200 editors who can edit content -
without having to know anything about HTML or XML.


In late 2000 we took a first look at Cocoon 1 and did some prototyping
and implemented the system using Cocoon 2 since it reached first beta.
We were very impressed by the features and architecture of cocoon. The
first architecture was planned as a vignette-only website, but because
the lack of sufficient XML-support in Vignette (and other reasons) we
decided to use Cocoon as core system and Vignette only for caching and
cluster management and never looked back!

Using the sitemap-concept of Cocoon 2 it was very easy to implement the
cryptic Vignette URL syntax like ..xyz/0,938,123,00.htm and Vignette
Integration was made very easy.

Thanks to all developers maintaining and extending cocoon!
Its an excellent system! (some wishes, of course, remain)

The Content Managemenet System itself is unfortunately closed-souce, but
perhaps we can give some of our cocoon-related know-how as 'power-user'
back to the community in the future.

Stefan

--
If you like marketing stuff see the official press release for this
project:
http://www.gedas.com/press/releases_2001/release2001_12_11.asp
(you will find contact info for commercial contacts there too)
In case you don't know what Vignette is go http://www.vignette.com.

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




Re: [FYI] Success Story - Cocoon-based Web-CMS with Vignette-Integration

2002-03-09 Thread Olivier Rossel

Stefan Seifert wrote:

We developed in a big project roughly spanning the past 1,5 years a
Java-based Web Content Management System using Cocoon 2 with
Vignette-Integration.

The result of the first development phase (the live website) you can see
at
http://www.gruene-fraktion.de (german). The System was developed by
gedas for the 'parliamentary faction of Bündnis90/Die Grünen' (the
German Green Party).

Some technical/architectional information:
 - The live-site is powerd by a farm of 5 web-/application and database
servers
 - The whole Live-Website is generated by Cocoon 2.0.1
 - The data (metadata, XML/XHTML-Fragments, Image data) is stored in a
relational database
 - Each page delivery consists af a bunch of complex aggregated
XSP-Pages using ESQL, transformed with XSLT-Stylesheets for different
layouts
 - Output is done in HTML, HTML Print version, PDF, RTF, Text (all
generated from the same content) and JPEGs (for graphical menus). (In
the live-site you will see at this moment only HTML output - the other
formats are used live in the near future).
 - For some reasons the caching mechanisms of Cocoon where not used but
it was decided to run this high-traffic Website on Vignette, using the
Vignette-Caching-Mechanisms.
 - Vignette is used for some other special community-features like
Online-Voting
 - The Content Management System itself is a traditional JSP/Java-Based
n-tiered System running in IE5 and higher and Netscacpe 4.7 and higher,
using a java applet for authoring formatted XHTML fragements. Some
additional feaures: Complex User Roles, simple Workflow,
Image+Link-Management etc.
 - A sort of 'cache manager daemon' does on-demand-regeneration of
changed pages
 - The system supports the administration of several sites in the same
web farm with completely different layouts
 - The system is used by up to 200 editors who can edit content -
without having to know anything about HTML or XML.


In late 2000 we took a first look at Cocoon 1 and did some prototyping
and implemented the system using Cocoon 2 since it reached first beta.
We were very impressed by the features and architecture of cocoon. The
first architecture was planned as a vignette-only website, but because
the lack of sufficient XML-support in Vignette (and other reasons) we
decided to use Cocoon as core system and Vignette only for caching and
cluster management and never looked back!

Using the sitemap-concept of Cocoon 2 it was very easy to implement the
cryptic Vignette URL syntax like ..xyz/0,938,123,00.htm and Vignette
Integration was made very easy.

Thanks to all developers maintaining and extending cocoon!
Its an excellent system! (some wishes, of course, remain)

The Content Managemenet System itself is unfortunately closed-souce, but
perhaps we can give some of our cocoon-related know-how as 'power-user'
back to the community in the future.

Stefan

It sounds an impressive job.
I wonder if you developped your own X(HT)ML authoring applet?
I think this is the component that Cocoon is lacking for further 
evolutions in CMS applications.
Q42.nl plans to open-source version2 of their product.
XXE is a GREAT editor, but license is quite hard to manage with.
Your applet solution (if open-sourcing things is planned on your side) 
would be great.


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




RE: Relationship between pipelines and match nodes

2002-03-09 Thread Vadim Gritsenko

 From: Peter Robins [mailto:[EMAIL PROTECTED]]
 
 I'm getting rather confused on what a pipeline actually consists of,

Pipeline object consist from:
 - 1 generator
 - 0..N transformers
 - 1 serializer
Or:
 - 1 reader
Or:
 - 1 redirect

And, pipeline object is not the same as map:pipeline/ element in the
sitemap file.


 and can't find any docu on this.
 In the sample sitemap, some match nodes are in
 their own pipeline, other pipelines contain many different matches.

It does not mean anything really.

 One pipeline contains
 its own error-handling definition, which implies that you
 can have different pipelines with differing error-handling routines
(altho in
 this case it seems to be identical, so quite what purpose . . .).

Yes. Take a look at sub/sitemap.xmap, it specifically have a sample of
customized 404 (IIRC).


 If so, what happens
 for those pipelines that don't have an error-handling definition?

They will get default, built-in error handler.

 
 I eventually found a definition of the 'cocoon:/' syntax buried
 in the changes log,

Were do you want it to be buried? ;)


 which says that it accesses another pipeline,

It accesses another *pipeline*, not *map:pipeline/* - these are
different things. map:pipeline/ defines how pipeline is assembled.


 yet in the documentation sitemap,
 the example doesn't go to another pipeline but to
 another match in the same pipeline.

See previous comment. Don't mix sitemap file syntax and the sitemap
object being created as a result of processing sitemap file. Also, take
a look at changes entry saying about Additions to sitemap syntax:.
Matchers can be nested in other matchers, selectors, actions, etc. So
your sentence is not correct.


 In any case, afaics, there is no
 identifier for pipelines.

Exactly. Sitemap is build dynamically by sitemap engine based on current
execution environment, and the resulting pipeline object does not bear
any identifier.

 
 If these matches were all in their own separate pipelines, would the
 behaviour be different, and if so how?

map:pipeline/ has two things which could be customized:
 - @internal-only=true: makes whole map:pipeline inaccessible from
outside world,
 - map:handle-errors/: changes error handling routine.

If you move some of the code from one map:pipeline/ two another,
behavior of the system will change only if these map:pipeline/s have
different customizations.

Regards,
Vadim


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




Re: [FYI] Success Story - Cocoon-based Web-CMS with Vignette-Integration

2002-03-09 Thread Thorsten Daum

On Saturday 09 March 2002 09:57, you wrote:
 We developed in a big project roughly spanning the past 1,5 years a
 Java-based Web Content Management System using Cocoon 2 with
 Vignette-Integration.

 The result of the first development phase (the live website) you can see
 at http://www.gruene-fraktion.de (german). The System was developed by
 gedas for the 'parliamentary faction of Bündnis90/Die Grünen' (the
 German Green Party).

Great showcase for Cocoon! Congrats!

 Some technical/architectional information:
[...]
  - The whole Live-Website is generated by Cocoon 2.0.1
[...]
  - The Content Management System itself is a traditional JSP/Java-Based
 n-tiered System [...]

I am curious: Vignette bills itself as a CMS solution, yet it seems you did 
not use Vignette for CMS? Care to eleborate (not withstandding your licensing 
constraints, of course ;-)) ?

  - The system is used by up to 200 editors who can edit content -
 without having to know anything about HTML or XML.

Just FYI, it seems you content contributors can generate links that are based 
on syntactically invalid URLs. E.g., there is a link to http://surf.to\elbe; 
on http://www.gruene-fraktion.de/rsvgn/rs_dok/0,,788,00.htm

Again, congratulations!

Thorsten

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




DO NOT REPLY [PATCH QUEUE] Summary March 10 2002

2002-03-09 Thread nicolaken

---
 This mail is generated automatically using
 Jakarta Ant. Contents are automatically
 downloaded from Apache's Bugzilla.
---
 Please do not reply to this mail.
---

***
COCOON PATCH QUEUE UPDATE
 
patches in queue:  4 
***


---
6654:[PATCH] Getting Cocoon-2.0.1 working on BES 5
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6654

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
6740:[PATCH] Problem with SOAP Logicsheet in accessing .Net Web S
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6740

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
6879:[patch] Cache improvement using ESI invalidation protocol
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6879

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW
---
6661:[PATCH]LinkStatusGenerator contribution
---
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6661

REVIEWER:[EMAIL PROTECTED]
RESOLUTION:  
STATUS:  NEW

*that's it!

patch HOWTO

Send patches to http://nagoya.apache.org/bugzilla/
specifying [PATCH] in the summary.
Bugzilla sends a mail automatically to this list.
Reviewers will mark it FIXED there when applied.
Patches not sent to Bugzilla will not be reviewed.
---
This file is scheduled to be generated every Tuesday and
Friday 1:00 CET for the cocoon-dev mailing list, on
Sundays 1:00 CET for the cocoon-users mailing list.
For any problem, question or suggestion, please notify 
[EMAIL PROTECTED]
---
There is a HEAD branch and sometimes a previous-version
branch that are maintained. Where will the patch go?
1. If it is a bug fix it should go to both branches
2. If something is totally new it goes into HEAD scratchpad.
3. Something in between, but does not break backward
   compatibility _may_ go into both (and may not)
4. For everything else, a vote is required  so
   first it may go into HEAD, and then be VOTEd in order
   to sync this into branch.
Please note that structural changes have to be VOTEd first.
  

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




Using Generators outside Cocoon

2002-03-09 Thread odwl

Is that possible to easily reuse the code for the generators in order to 
create XML files.
For instance, is that possible to use DirectoryGenerator outside cocoon 
(I mean without passing through the servlet engine) ?


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