Vadim Gritsenko | 12 Mar 2002 19:47
Picon

RE: Jetty and Cocoon2, help?

> From: Skansen [mailto:skansen <at> telia.com]
> 
> Thank you very much for all the help and assistens.
> 
> I got one last question regarding the extra-classpath
> 
> Why is it required to do the steps in presented in

In two words: classloading issues.
More detailed answer: AFAIU, some servlet engine (newer ones) prevent
webapp from loading some xml classes in the webapp's classloader but
forces to use classes loaded by the servlet engine; this causes
ClassCastException.

> >
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101509865506696&w=2
> 
> which i interperted as follows.
> * copy xalan, xerces, xml-apis, batik to a directory
> * add jars in the above directory to the classpath for jetty
> 
> * remove xt from the cocoon servlet
> 
> * uncomment extra-classpath in web.xml and add the path to above jars

Java compiler has to know were the classes are on the hard drive.

> * do clean build
> * remove the above mentioned jars from the servlet

(Continue reading)

Noah Mittman | 12 Mar 2002 21:12
Picon

XMLTransformer without XML declaration?

I'm using Cocoon to output ASX (Windows Media playlists) content, 
but since it's a wonderful Microsoft product, it's XML formatted, 
but if you include an XML declaration, it doesn't work. Can I use 
the XMLTransformer, but without the xml declaration it adds (i.e. 
is it configurable?) or am I stuck faking it out with the 
TextTransformer?

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe <at> xml.apache.org>
For additional commands, e-mail: <cocoon-users-help <at> xml.apache.org>

Noah Mittman | 12 Mar 2002 21:24
Picon

PS: XMLTransformer without XML declaration?

Sorry, that would be the TextSerializer and XMLSerializer...

On Tuesday, March 12, 2002, at 03:12  PM, Noah Mittman wrote:

> I'm using Cocoon to output ASX (Windows Media playlists) content, 
> but since it's a wonderful Microsoft product, it's XML formatted, 
> but if you include an XML declaration, it doesn't work. Can I use 
> the XMLTransformer, but without the xml declaration it adds (i.e. 
> is it configurable?) or am I stuck faking it out with the 
> TextTransformer?
>

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe <at> xml.apache.org>
For additional commands, e-mail: <cocoon-users-help <at> xml.apache.org>

Russell Castagnaro | 12 Mar 2002 22:48

esql in a logicsheet problem

Aloha Cocooners,

I'm having a problem using esql in a logic sheet.  Please keep in mind
I'm using Cocoon 1.82 so cocoon 2.x solutions won't help :(

Here's the logicsheet

<?xml version="1.0"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xsp="http://www.apache.org/1999/XSP/Core"
xmlns:esql="http://apache.org/cocoon/SQL/v2"
xmlns:xspdoc="http://apache.org/cocoon/XSPDoc/v1"
xmlns:fourc="http://foo.4charity.com/fourc"
version="1.0">
<!-- This template copies the root elements for processing by -->
<!-- other logicsheets as necessary. Also, various class-level -->
<!-- code and package imports may be done here. -->
<xsl:template match="xsp:page">
<xsl:copy>
<xsl:apply-templates select=" <at> *"/>
<xsl:apply-templates/>
</xsl:copy>
</xsl:template>
<!-- This template defines the tag "greeting:hello-world" -->
<xsl:template match="fourc:test">
<!-- more complex XSLT is possible here as well -->
<xsp:logic>
String msg = "Poop Really Smells!";
</xsp:logic>
(Continue reading)

Frank Ridderbusch | 12 Mar 2002 23:32
Picon
Picon

Apache and mod_jk (could not get mod_webapp working)

Hi folks,

I like to share a couple of experiences, which I learned the hard way
and I learned them, while trying to get Cocoon working through Apache.
They might have been obvious to someone else, but anyway.

First I tried mod_webapp. I configured it like this

 <IfModule mod_webapp.c>
 Include /etc/httpd/mod_webapp.conf
 </IfModule>

while mod_webapp.conf contained the actual directives. The result was,
that it didn't work. Looking at /server-info I saw this:

 Module Name: mod_webapp.c
 Content handlers: webapp-handler
 Configuration Phase Participation: Child Init, Child Exit
 Request Phase Participation: Translate Path
 Module Directives:
 WebAppInfo - 
 WebAppConnection - [optional parameter] 
 WebAppDeploy - 
 Current Configuration: 

No configuration visible. I think here is an issue with the include
mechanism. Then I configured it like this:

 <IfModule mod_webapp.c>
 WebAppConnection conn      warp  localhost:8008
(Continue reading)

Andreas Hartmann | 12 Mar 2002 23:41
Picon

Re: cocooncenter.de is now cocooncenter.org


Hi Konstantin,
 
Hi!
 
I have a small tutorial on logicsheet creation. It consists of 2 simple logicsheets and step-by-step instructions on how to create and install them in C2. Feel free to place it on your site if you think it'll be useful.
 
Thank you very much!
I just published the tutorial.
 
Greetings,
Andreas
 
 
 
Regards,
    Konstantin Piroumian
----- Original Message -----
Sent: Tuesday, March 12, 2002 3:09 PM
Subject: cocooncenter.de is now cocooncenter.org

Hi Cocoon users!
 
First, I want to thank you for the positive feedback and suggestions
that helped me to improve the cocooncenter site. Of course, special
thanks for the contributions!
 
I decided to "upgrade" to an international domain, looking forward
to see how the site will evolve during the next time.
Of course, cocooncenter.de will still be available.
 
Greetings,
Andreas
Axel Honfi | 13 Mar 2002 01:06
Picon

How to get data into sitemap-params (for use with XIndice)?????

Hello and I know I posted a similar question before.

Does anyone have a clue or a good idea or anything about how to get
information out of the SAX-Events from the pipeline?

I need to choose the pipeline based upon the xml-data querried from an
XMLDB.

<collection:results ressources="0"/> or <collection:results
ressources="25">.....

So how can I get the value of ressources into a sitemap-param?

Thanks for ANY help or idea

Axel

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe <at> xml.apache.org>
For additional commands, e-mail: <cocoon-users-help <at> xml.apache.org>

Axel Honfi | 13 Mar 2002 01:06
Picon

cocoon and xindice

Hello!

O.K., my combination works, I can query and update XIndice, but how did
anybody solve the problem of user-authentication with the user-data
(username, password) saved in XIndice?

Thanks for some clues

Axel

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe <at> xml.apache.org>
For additional commands, e-mail: <cocoon-users-help <at> xml.apache.org>

Tom von Schwerdtner | 13 Mar 2002 04:09

questions about a few pipeline options

Looking at the sunSpot demo, I see this pipeline:

<map:pipeline internal-only="true">

I've done some poking around and I cant figure out what the 'internal-only'
option is all about....can someone clue me in (either to what it means or
to the M I am supposed to RTF)?

TIA,
-Tom

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe <at> xml.apache.org>
For additional commands, e-mail: <cocoon-users-help <at> xml.apache.org>

ml | 13 Mar 2002 09:52
Picon

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

I can't find it, It said invalid project.
can you help me?
----- Original Message ----- 
From: "John Austin" <john <at> integerservices.no-ip.com>
To: <cocoon-users <at> xml.apache.org>
Sent: Saturday, March 09, 2002 4:28 PM
Subject: Re: what is the easiest way to delopy cocoon application?


> 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: <cocoon-users-unsubscribe <at> xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help <at> xml.apache.org>
> 

Gmane