Installation Problem

2001-09-25 Thread SIddharth Paralikar



 
- Original Message - 
From: SIddharth 
Paralikar 
To: [EMAIL PROTECTED] 
Sent: Wednesday, September 26, 2001 12:48 PM

Hi ,
 
I am new to cocoon, i am trying to build the cocoon.war but 
its givin me error that build failed due to 
javax.xml.transform.TransformfactoryConfigurationError provider 
org.apache.xalan.processor.TransfrormerFactoryImpl not found.
 
Can u pl. help me i have installed every thing according to 
instructon
 
thanks 
 
siddharth


RE: What's the differences between Cocoon and servlet+XSL ?

2001-09-25 Thread Ming Fai

Hi, this is the first time I send message to this mail list.

Recently, I'm exploring Jetspeed and Cocoon. To my understanding, the two
projects are focus on different things, Jetspeed is a portal platform that
focus on the organization each 'component' on web pages, while cocoon is a
web publishing framework that focus on dynamically build content from raw
data (xml) to different presentation formats. However, my question is,
Jetspeed got a xml presentation mechanism, so do Cocoon. Should we use them
together or should we pick only one?

In another word, could you please tell what's the differences between
Cocoon, Jetspeed and Servlet+XSL?

regards,
mingfai



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
Bertrand Delacretaz
Sent: Wednesday, September 26, 2001 2:30 PM
To: [EMAIL PROTECTED]
Subject: Re: What's the differences between Cocoon and servlet+XSL ?


> I don't know what is the difference between Cocoon and
> servlet+XSL  , can anybody explain it ?

Among many others, one of the main advantages of Cocoon is the sitemap
mechanism, which will allow you to dynamically build "processing pipelines"
(Generator -> Transformers -> Serializer) according to various attributes of
the request being handled.

Of course you can do the same with servlets, but in time you will most
probably find yourself reinventing most of Cocoon: sitemap, matchers,
caching, etc..

--
 -- Bertrand Delacrétaz, www.codeconsult.ch
 -- web technologies consultant - OO, Java, XML, C++

-
Please check that your question has not already been answered in the
FAQ before posting. 

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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: [c1] Cocoon / Tomcat / XSL Files

2001-09-25 Thread Derek Hohls

Brent

A while back, there was a post about using the cocoon.properties file to store DB 
parameters -its fairly straightforward, but I could just not get it to work with my DB 
(mySQL) - using this approach would have the advantage of allowing multiple files to 
access one set of values; also easier when deploying from a desktop to a server (as in 
my case)  as the xml/xsl files can be copied over without the need for any change.  If 
you do get this route working, I'd like to hear from you...

Derek

>>> [EMAIL PROTECTED] 25/09/2001 07:53:09 >>>
I'm not sure this is really the best mailing list to direct this to - but
since it is directly related to Cocoon I'll try anyways.

I'm using ESQL in many different documents for reading info out of a
database.  The problem is, the database username and passwords are stored in
cleartext in the XSL document, and someone could simply read the HTML source
and pick out the namespaces and read the XSL documents (thus getting access
to not only the code used to create most of the dynamic pages, but DB
usernames and passwords).

Does anyone know if I can restrict access to .xsl files using Apache +
Tomcat + Cocoon1 ??

Thanks,

- Brent


-
Please check that your question has not already been answered in the
FAQ before posting. 

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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: What's the differences between Cocoon and servlet+XSL ?

2001-09-25 Thread Bertrand Delacretaz

> I don't know what is the difference between Cocoon and
> servlet+XSL  , can anybody explain it ?

Among many others, one of the main advantages of Cocoon is the sitemap 
mechanism, which will allow you to dynamically build "processing pipelines" 
(Generator -> Transformers -> Serializer) according to various attributes of 
the request being handled.

Of course you can do the same with servlets, but in time you will most 
probably find yourself reinventing most of Cocoon: sitemap, matchers, 
caching, etc..

-- 
 -- Bertrand Delacrétaz, www.codeconsult.ch
 -- web technologies consultant - OO, Java, XML, C++

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




What's the differences between Cocoon and servlet+XSL ?

2001-09-25 Thread smallufo



I tried Cocoon , followed the steps mentioned in 
"Java and XML".
Now , I can use servlet+XSL , and the result is the same ( except XSP 
) .
Except for XSP (which I am not very appreciate , 
because I think it mix the logic with presentation . Well , 
maybe because I don't understand the essence of XSP ) , 

I don't know what is the difference between 
Cocoon and servlet+XSL  , can anybody explain it ?
 
Thank you.
 
 


Fwd: Cocoon 1.8 to cocoon 2.0 docs?

2001-09-25 Thread Russell Castagnaro


Aloha all,

Are there any docs that would help converting from cocoon 1.x to
cocoon 2.  It seems so different.




-- 
Best regards,
 Russellmailto:[EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: [C2] sample httpd.conf for TomCat 4 + C2

2001-09-25 Thread Colin Paul Adams

> "Jeremy" == Jeremy Quinn <[EMAIL PROTECTED]> writes:

Jeremy> I have this in a file loaded by the main httpd.conf


Jeremy> LoadModule webapp_module libexec/httpd/mod_webapp.so
Jeremy> AddModule mod_webapp.c DocumentRoot /cocoon ServerName
Jeremy> localhost WebAppConnection warpConnection warp
Jeremy> localhost:8008 WebAppDeploy /cocoon warpConnection /cocoon

I'm getting the same sort of problems as you've been reporting.

Is this lot inside a virtual server (if so, what does your
virtualserver tag look like?) or not?
-- 
Colin Paul Adams
Preston Lancashire

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: [C2] sample httpd.conf for TomCat 4 + C2

2001-09-25 Thread Jeremy Quinn

At 1:45 PM +0100 25/9/01, Jeremy Quinn wrote:
>At 4:04 PM +1000 24/9/01, Jeff Turner wrote:
>>On Sun, Sep 23, 2001 at 04:42:10PM +0100, Jeremy Quinn wrote:
>>> Hi
>>>
>>>
>>> I am trying to get TomCat 4.0 and Cocoon 2.1b to run behind Apache 1.3.
>>[..]

[snip]

This sample is beginning to work on my setup.

MacOSX 10.0.4, Apache 1.3.19, TomCat 4.0 and Cocoon 2.1b

I have this in a file loaded by the main httpd.conf


LoadModule webapp_module libexec/httpd/mod_webapp.so
AddModule mod_webapp.c
DocumentRoot /cocoon
ServerName localhost
WebAppConnection warpConnection warp localhost:8008
WebAppDeploy /cocoon warpConnection /cocoon


It almost works!

http://my.host/
 404 from Apache (no static files??)
http://my.host/cocoon   404 from Apache
http://my.host/cocoon/  hangs (browser says 
'connecting to
localhost')
http://my.host/cocoon/welcome   works fine


How do I make it more 'resilient'?
How do I add more webapps?

Sorry but which Apache config tag do I put this in, so I can have one for
each TomCat context and defaults for regular Apache?


Thanks for any help.
Hopefully this can be be added to the FAQ if I can get it working properly ;)


regards Jeremy
-- 
   ___

   Jeremy Quinn   Karma Divers
   webSpace Design
HyperMedia Research Centre

   


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: [c1] Cocoon / Tomcat / XSL Files

2001-09-25 Thread giacomo

On Tue, 25 Sep 2001, Sergio Carvalho wrote:

>
> If you are using apache on the frontend, you can use mod_rewrite to forbid any
> ^.*xsl$ request. See the URL rewriting guide:
>  http://httpd.apache.org/docs/misc/rewriteguide.html

As Cocoon2 is controlling its hole URI space in the sitemap you can
easily verify if *.xsl files will be accessable through Cocoon by taking
a look into the sitemaps matcher elements.

Giacomo

>
> On Tue, 25 Sep 2001 13:53:09 -0400, Brent L Johnson wrote:
> From: "Brent L Johnson" <[EMAIL PROTECTED]>
> --
>
> > I'm not sure this is really the best mailing list to direct this to - but
> > since it is directly related to Cocoon I'll try anyways.
> >
> > I'm using ESQL in many different documents for reading info out of a
> > database.  The problem is, the database username and passwords are stored in
> > cleartext in the XSL document, and someone could simply read the HTML source
> > and pick out the namespaces and read the XSL documents (thus getting access
> > to not only the code used to create most of the dynamic pages, but DB
> > usernames and passwords).
> >
> > Does anyone know if I can restrict access to .xsl files using Apache +
> > Tomcat + Cocoon1 ??
> >
> > Thanks,
> >
> > - Brent
> >
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
>
>
> --
> Sergio Carvalho
> ---
> [EMAIL PROTECTED]
>
> If at first you don't succeed, skydiving is not for you
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: i18n & with subelements

2001-09-25 Thread Gustav Liden

No, I gave that a shot, but the CDATA element is maintained intact through
all processing steps showing "The first paragraph" as text also in
HTML.

Thanks anyway for the tip :)

Thanks also Konstantin for your answer! It saved me alot of trial and error.

Regards,

Gustav

-Original Message-
From: Michael McKibben [mailto:[EMAIL PROTECTED]]
Sent: den 25 september 2001 19:52
To: [EMAIL PROTECTED]
Subject: Re: i18n &  with subelements


Would it work if the text was wrapped as CDATA? I.e.



Regards,

--mike

On Tue, 25 Sep 2001, Piroumian, Konstantin wrote:

> > I am developing an international website with mainly static content, but
> > have run into a problem related to i18n.
> >
> > I would like to translate whole paragraphs of text using the i18n
> framework,
> > but would like these paragraphs to contain some more or less html-like
> tags.
> > The problem is that I18nTransformer seems to only copy the last text
node
> > from a  tag.
>
> Yes, that's true. i18ntransformer does not support nested XML. Speaking
> frankly I've been thinking about this, but couldn't find a good solution.
> For large XML text insertions maybe it'd better to use something like
> XInclude ot CInclude?
>
> >
> > An example of what I would like to have:
> >
> > The first paragraph
> >
> > giving the translated english result:
> > "The first paragraph"
> >
> > ...later to be serialized into an html file.
> >
> > Howewver, the result is just:
> > "paragraph"
> >
> > I can understand that there is some basic framework constraint I could
be
> > violating, but I don't have the experience to point it out. Could
someone
> do
> > that for me? Anyone with a solution or a work-around?
>
> An ugly workaround is to use separate translation tags for every part,
but,
> sure, it's not a good way:
>
>
Thefirstpara
> graph.
>
> As I remember, this problem appears because of XML format of dictionaries.
> How would you specify a translation entry like that in the dictionary?
>
> Maybe, we need something like  tag? But I have no clear idea of
> how to implement it.
>
> >
> > /Gustav
> >
> >
>
> Best regards,
>
> Konstantin Piroumian
> Sr. Software engineer
>
> Protek Flagship LLC
> Phone: + 7 095 795 0520 (add. 1288)
> Fax: + 7 095 795 0525
> E-mail: [EMAIL PROTECTED]
> http://www.protek.com
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> 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. 

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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: [c1] Cocoon / Tomcat / XSL Files

2001-09-25 Thread Sergio Carvalho


If you are using apache on the frontend, you can use mod_rewrite to forbid any
^.*xsl$ request. See the URL rewriting guide:
 http://httpd.apache.org/docs/misc/rewriteguide.html

On Tue, 25 Sep 2001 13:53:09 -0400, Brent L Johnson wrote:
From: "Brent L Johnson" <[EMAIL PROTECTED]>
--

> I'm not sure this is really the best mailing list to direct this to - but
> since it is directly related to Cocoon I'll try anyways.
> 
> I'm using ESQL in many different documents for reading info out of a
> database.  The problem is, the database username and passwords are stored in
> cleartext in the XSL document, and someone could simply read the HTML source
> and pick out the namespaces and read the XSL documents (thus getting access
> to not only the code used to create most of the dynamic pages, but DB
> usernames and passwords).
> 
> Does anyone know if I can restrict access to .xsl files using Apache +
> Tomcat + Cocoon1 ??
> 
> Thanks,
> 
> - Brent
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 


--
Sergio Carvalho
---
[EMAIL PROTECTED]

If at first you don't succeed, skydiving is not for you

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Documentation / API - Doc

2001-09-25 Thread Sergio Carvalho


Some elements, like actions, have their documentation in javadoc. Do a
./build.sh javadoc and ant will generate the javadocs for you.

On Tue, 25 Sep 2001 15:44:23 +0200, Arno Illmann wrote:
From: Arno Illmann <[EMAIL PROTECTED]>
--

> Dear Cocooners!
> 
> Where can I find the API-Docs for C2? Could it be a part in the answers for my
questions in thread "Documentation of sitemap syntax, XSP-Logicsheets and
configuring for actions" two threads before?
> 
> I know, the Cocoon developers are commenting there code like in
\src\org\apache\cocoon\acting\HelloAction.java like below. How can I "translate"
any comments and syntax or description in API-Doc in appropriate syntax for i.e
the sitemap?
> 
> Thanks in advance, Arno
> 

--
Sergio Carvalho
---
[EMAIL PROTECTED]

If at first you don't succeed, skydiving is not for you

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




[c1] Cocoon / Tomcat / XSL Files

2001-09-25 Thread Brent L Johnson

I'm not sure this is really the best mailing list to direct this to - but
since it is directly related to Cocoon I'll try anyways.

I'm using ESQL in many different documents for reading info out of a
database.  The problem is, the database username and passwords are stored in
cleartext in the XSL document, and someone could simply read the HTML source
and pick out the namespaces and read the XSL documents (thus getting access
to not only the code used to create most of the dynamic pages, but DB
usernames and passwords).

Does anyone know if I can restrict access to .xsl files using Apache +
Tomcat + Cocoon1 ??

Thanks,

- Brent


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: i18n & with subelements

2001-09-25 Thread Michael McKibben

Would it work if the text was wrapped as CDATA? I.e.



Regards,

--mike

On Tue, 25 Sep 2001, Piroumian, Konstantin wrote:

> > I am developing an international website with mainly static content, but
> > have run into a problem related to i18n.
> >
> > I would like to translate whole paragraphs of text using the i18n
> framework,
> > but would like these paragraphs to contain some more or less html-like
> tags.
> > The problem is that I18nTransformer seems to only copy the last text node
> > from a  tag.
>
> Yes, that's true. i18ntransformer does not support nested XML. Speaking
> frankly I've been thinking about this, but couldn't find a good solution.
> For large XML text insertions maybe it'd better to use something like
> XInclude ot CInclude?
>
> >
> > An example of what I would like to have:
> >
> > The first paragraph
> >
> > giving the translated english result:
> > "The first paragraph"
> >
> > ...later to be serialized into an html file.
> >
> > Howewver, the result is just:
> > "paragraph"
> >
> > I can understand that there is some basic framework constraint I could be
> > violating, but I don't have the experience to point it out. Could someone
> do
> > that for me? Anyone with a solution or a work-around?
>
> An ugly workaround is to use separate translation tags for every part, but,
> sure, it's not a good way:
>
> Thefirstpara
> graph.
>
> As I remember, this problem appears because of XML format of dictionaries.
> How would you specify a translation entry like that in the dictionary?
>
> Maybe, we need something like  tag? But I have no clear idea of
> how to implement it.
>
> >
> > /Gustav
> >
> >
>
> Best regards,
>
> Konstantin Piroumian
> Sr. Software engineer
>
> Protek Flagship LLC
> Phone: + 7 095 795 0520 (add. 1288)
> Fax: + 7 095 795 0525
> E-mail: [EMAIL PROTECTED]
> http://www.protek.com
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: C2 : parametered XSL stylesheets (was : RE: Cocoon2 : Managing URL-encoded parameters)

2001-09-25 Thread florent barbare

hi all,

surely a newbie question but don't found anything in the FAQs..

I'm using cocoon 2 with tomcat 4.

i'll want to convert seconds (in my xml file),
to display, with the associated xsl file, in format like
"hour:minutes:seconds".

any idea ?

Thanks in advance

Florent


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: i18n & with subelements

2001-09-25 Thread Piroumian, Konstantin

> I am developing an international website with mainly static content, but
> have run into a problem related to i18n.
>
> I would like to translate whole paragraphs of text using the i18n
framework,
> but would like these paragraphs to contain some more or less html-like
tags.
> The problem is that I18nTransformer seems to only copy the last text node
> from a  tag.

Yes, that's true. i18ntransformer does not support nested XML. Speaking
frankly I've been thinking about this, but couldn't find a good solution.
For large XML text insertions maybe it'd better to use something like
XInclude ot CInclude?

>
> An example of what I would like to have:
>
> The first paragraph
>
> giving the translated english result:
> "The first paragraph"
>
> ...later to be serialized into an html file.
>
> Howewver, the result is just:
> "paragraph"
>
> I can understand that there is some basic framework constraint I could be
> violating, but I don't have the experience to point it out. Could someone
do
> that for me? Anyone with a solution or a work-around?

An ugly workaround is to use separate translation tags for every part, but,
sure, it's not a good way:

Thefirstpara
graph.

As I remember, this problem appears because of XML format of dictionaries.
How would you specify a translation entry like that in the dictionary?

Maybe, we need something like  tag? But I have no clear idea of
how to implement it.

>
> /Gustav
>
>

Best regards,

Konstantin Piroumian
Sr. Software engineer

Protek Flagship LLC
Phone: + 7 095 795 0520 (add. 1288)
Fax: + 7 095 795 0525
E-mail: [EMAIL PROTECTED]
http://www.protek.com

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




addLogicsheetToList Error while using c2

2001-09-25 Thread Michael Bierenfeld

Hi there,

still struggling. I have copied the generate examples from the xsp guide

sitemap.xconf is mounted from master sitemap in the webapps/cocoon dir.

sniplet

   



   

logicsheet.greeting is the same as in the docs greeting3.xml is copied
to greeting.xml and
greeting.xsl is evenso the same as in the docs. And while accessing
greeting.xml I receive

java.lang.IllegalAccessError: try to access method
org.apache.cocoon.components.language.markup.AbstractMarkupLanguage.addLogicsheetToList(Lorg/apache/cocoon/components/language/markup/AbstractMarkupLanguage$LanguageDescriptor;Ljava/lang/String;Lorg/apache/cocoon/environment/SourceResolver;)V
from class
org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage$XSPTransformerChainBuilderFilter
at
org.apache.cocoon.components.language.markup.xsp.XSPMarkupLanguage$XSPTransformerChainBuilderFilter.processingInstruction(XSPMarkupLanguage.java:357)
at
org.xml.sax.helpers.XMLFilterImpl.processingInstruction(XMLFilterImpl.java:651)

and so on ..


This is really getting me grazy. Perhaps somebody can help me

Kind regards

Michael

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




i18n & with subelements

2001-09-25 Thread Gustav Liden

I am developing an international website with mainly static content, but
have run into a problem related to i18n.

I would like to translate whole paragraphs of text using the i18n framework,
but would like these paragraphs to contain some more or less html-like tags.
The problem is that I18nTransformer seems to only copy the last text node
from a  tag.

An example of what I would like to have:

The first paragraph

giving the translated english result:
"The first paragraph"

...later to be serialized into an html file.

Howewver, the result is just:
"paragraph"

I can understand that there is some basic framework constraint I could be
violating, but I don't have the experience to point it out. Could someone do
that for me? Anyone with a solution or a work-around?

/Gustav


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: cocoon 2 and tomcat 4

2001-09-25 Thread Ed Nixon

I've managed to get beyond this problem by following these steps:
1. Shutdown Tomcat
2. Delete the JAXP, CRIMSON (and PARSER) jars from TOMCAT_HOME/common/lib 
directory (Apparently, these files have been moved with the upgrade of Tomcat4)
3. Copy Xerces and Xalan jars from the Cocoon lib distribution into 
TOMCAT_HOME/common/lib.
4. Copy the cocoon WAR file into the TOMCAT_HOME/webapps directory and
5. Remove the TOMCAT_HOME/webapps/cocoon subdirectory if it has been 
created by a previous install attempt
6. Remove the work directory under Tomcat
7. Restart tomcat and try http://localhost:8080/cocoon/

I've created this list from memory but I think it should work.

The confusion seems to relate to the XML parser and XSLT engines used by 
Tomcat versus Cocoon. They interfere with each other.

This has been a nagging problem for quite some time, with various releases 
of both Tomcat and Cocoon. It's too bad the issue can't be solved on some 
permanent basis; preferably in a way that maintains the rather automatic 
and elegant WAR installation process and eliminates the necessity of hand 
copying files back and forth.

   ...edN


At 11:03 AM 25/09/2001 -0400, Rajkumar, Joseph wrote:
>Hi
>I am also getting the very same error on a Sun solaris 2.7 with a fresh
>install of Tomcat-4.0 and Cocoon-2.0RC1.
>
>I have a site running Tomcat-4.0B7 and cocoon - 2.0B2 with no
>problems.
>
>Regards
>Joseph Rajkumar
>
>
>Wes Morgan wrote:
>
>>I am getting the same error on a clean install of both Tomcat 4.0 final 
>>and Cocoon 2.0rc1. I am running Debian GNU/Linux with IBM JDK 1.3. My 
>>CLASSPATH is also empty when compiling cocoon.war. Any help would be 
>>greatly appreciated.
>>
>>Wes Morgan
>>
>>Ed Nixon wrote:
>>
>>>At 08:02 PM 24/09/2001 -0400, Vadim Gritsenko wrote:
>>>
Work just fine if followed instructions in install.html document.
Make sure you do have empty CLASSPATH when building cocoon.war.

Vadim
>>>
>>>
>>>
>>>Thanks, Vadim. I've read the Install file many times; followed the 
>>>instructions therein *and* blanked out my CLASSPATH as you suggest while 
>>>compiling cocoon.war. I get the same exception as always when I first 
>>>try to run the cocoon context. Here is the description:
>>>
>>>org.apache.cocoon.ProcessingException: Exception in Handler: 
>>>org.apache.avalon.framework.component.ComponentException: Could not set 
>>>up Component for hint: org\apache\cocoon\www\sitemap_xmap
>>>
>>>I wish I could say this even raised a hint of what to look for but it 
>>>doesn't.
>>>
>>>Any other suggestions would be very helpful. 
>>>Thanks. ...edN
>>>
 > -Original Message-
 > From: Ed Nixon [mailto:[EMAIL PROTECTED]]
 > Sent: Monday, September 24, 2001 6:53 PM
 > To: [EMAIL PROTECTED]
 > Subject: cocoon 2 and tomcat 4
 >
 >
 > Is there a combination of cocoon version 2 and tomcat 4 that works? On
 > Win2K with JVM /JRE 1.3.1?
 >
 > I've spent the day trying a number of options:
 > 1. tomcat4 win install as service with cocoon2 rc1
 > 2. tomcat4 zip in console with cocoon2 rc1 and b2
 > 3. tomcat323 in console with cocoon 2 rc1
 >
 > The tomcat 4 win install release code with cocoon2 rc1 causes cocoon to
 > generate an exception concerning sitemap configuration failure. I can
 > provide more detailed information if this is actually news to the list;
 > please let me know.
 >
 > However, I'd just like to get something working. At least until 
 Cocoon2 is
 > released in final form (whenever that is.)
 >
 > Thanks for your help....edN
>>>
>>>
>>>
>>>
>>>
>>>
>>>-
>>>Please check that your question has not already been answered in the
>>>FAQ before posting. 
>>>
>>>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. 
>>
>>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. 
>
>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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: C1 [1.8.2] and national char

2001-09-25 Thread Hubert NEOtyk Iwaniuk

hello Remek,
are you using xsp, in 1.8.2 is bug that wont let you produce national
characters
1.8.3-dev is ok.
if you are not using xsp, so you have only xml, and xsp, it should work.
you can see my test for static (xml, xsl) generated html under
http://office.ferienwelt.com.pl/cocoon/xml/test6.xml
send cocoon.properties and files which should produce national characters.

hope it helps,
hubert.
> Hi!
> I have problem with Cocoon 1.8.2 and national (Polish) character in
> generated content. In non-English characters, they appear in browser as
> question marks (HTML) or hash (PDF).
>
> 1. XML files contain encoding directive set to "UTF-8" ( encoding="UTF-8"?>)
> 2. XML files contain cocoon encoding directive  type="text/html/loose"?>
> 3. Chars in XML file are encoded with UTF-8 standard
> 4.  In cocoon property file I set processor.xsp.encoding to UTF-8
> (processor.xsp.encoding = UTF-8)
>
> Best regards
> Remek
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>


---
Ausgehende Mail ist zertifiziert virenfrei.
Uberpruft durch AVG Antivirus System (http://www.grisoft.com/de).
Version: 6.0.281 / Virendatenbank: 149 - Erstellungsdatum: 2001-09-18


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: cocoon 2 and tomcat 4

2001-09-25 Thread Rajkumar, Joseph

Hi
I am also getting the very same error on a Sun solaris 2.7 with a fresh
install of Tomcat-4.0 and Cocoon-2.0RC1.

I have a site running Tomcat-4.0B7 and cocoon - 2.0B2 with no
problems.

Regards
Joseph Rajkumar


Wes Morgan wrote:

> I am getting the same error on a clean install of both Tomcat 4.0 
> final and Cocoon 2.0rc1. I am running Debian GNU/Linux with IBM JDK 
> 1.3. My CLASSPATH is also empty when compiling cocoon.war. Any help 
> would be greatly appreciated.
>
> Wes Morgan
>
> Ed Nixon wrote:
>
>> At 08:02 PM 24/09/2001 -0400, Vadim Gritsenko wrote:
>>
>>> Work just fine if followed instructions in install.html document.
>>> Make sure you do have empty CLASSPATH when building cocoon.war.
>>>
>>> Vadim
>>
>>
>>
>> Thanks, Vadim. I've read the Install file many times; followed the 
>> instructions therein *and* blanked out my CLASSPATH as you suggest 
>> while compiling cocoon.war. I get the same exception as always when I 
>> first try to run the cocoon context. Here is the description:
>>
>> org.apache.cocoon.ProcessingException: Exception in Handler: 
>> org.apache.avalon.framework.component.ComponentException: Could not 
>> set up Component for hint: org\apache\cocoon\www\sitemap_xmap
>>
>> I wish I could say this even raised a hint of what to look for but it 
>> doesn't.
>>
>> Any other suggestions would be very helpful. 
>> Thanks. ...edN
>>
>>> > -Original Message-
>>> > From: Ed Nixon [mailto:[EMAIL PROTECTED]]
>>> > Sent: Monday, September 24, 2001 6:53 PM
>>> > To: [EMAIL PROTECTED]
>>> > Subject: cocoon 2 and tomcat 4
>>> >
>>> >
>>> > Is there a combination of cocoon version 2 and tomcat 4 that 
>>> works? On
>>> > Win2K with JVM /JRE 1.3.1?
>>> >
>>> > I've spent the day trying a number of options:
>>> > 1. tomcat4 win install as service with cocoon2 rc1
>>> > 2. tomcat4 zip in console with cocoon2 rc1 and b2
>>> > 3. tomcat323 in console with cocoon 2 rc1
>>> >
>>> > The tomcat 4 win install release code with cocoon2 rc1 causes 
>>> cocoon to
>>> > generate an exception concerning sitemap configuration failure. I can
>>> > provide more detailed information if this is actually news to the 
>>> list;
>>> > please let me know.
>>> >
>>> > However, I'd just like to get something working. At least until 
>>> Cocoon2 is
>>> > released in final form (whenever that is.)
>>> >
>>> > Thanks for your help....edN
>>
>>
>>
>>
>>
>>
>> -
>> Please check that your question has not already been answered in the
>> FAQ before posting. 
>>
>> 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. 
>
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Configure a oracle db conection in cocoon2

2001-09-25 Thread Lajos Moczar

Alberto:

The esql logicsheet should already be defined in cocoon.xconf. See 
http://xml.apache.org/cocoon2/logicsheet-esql.html for the specifics of 
what goes in there in case it's missing in your copy.

Lajos


Alberto Garcia wrote:

> Hi everybody, and thank you Lajos.
> 
> We have done the connection with the oracle db. And now our problem is that
> cocoon doesn´t recognize the esql namespace.
> How do we have to configure the sitemap in order to recognize the esql
> namespace?
> 
> Thak you again and "Saludos Cordiales"
> 
> Alberto
> 
> - Original Message -
> From: Lajos Moczar <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Sunday, September 23, 2001 1:15 PM
> Subject: Re: Configure a oracle db conection in cocoon2
> 
> 
> 
>>Hi Alberto:
>>
>>Here is what you have to do:
>>
>>1) Add the Oracle class to Cocoon's web.xml in the ""
>>section, thus:
>>
>>
>>  load-class
>>  
>>oracle.jdbc.driver.OracleDriver
>>... // Other database classes
>>  
>>
>>
>>
>>2) Add the oracle datasource to cocoon.xconf, thus:
>>
>>   
>> 
>>
>>   
>>  // Don't forget this!!!
>>   your_user_name
>>
>>   your_password
>>
>>   your_database_url
>> 
>>
>> ...
>>
>>
>>
>>3) Then restart everything and see if it works. You can edit one of the
>>esql samples to point to your Oracle database for testing.
>>
>>
>>Hope that helps.
>>
>>Lajos
>>www.galatea.com
>>
>>
>>Alberto Garcia wrote:
>>
>>
>>>Hello everybody,
>>>I would like to create a connection with an oracle db in cocoon2.
>>>I've been looking for the way to make it in internet , and I have to
>>>configure the cocoon.properties file, but I can't find this file in my
>>>cocoon2 installation.
>>>Do I have  to create this file? where? who?
>>>
>>>Sorry about my English and thank you very much.
>>>
>>>"Saludos Cordiales"
>>>Alberto
>>>
>>>
>>>--
>>>This email is confidential and intended solely for the use of the
>>>
> individual to whom it is addressed. Any views or opinions presented are
> solely those of the author and do not necessarily represent those of
> SchlumbergerSema.
> 
>>>If you are not the intended recipient, be advised that you have received
>>>
> this email in error and that any use, dissemination, forwarding, printing,
> or copying of this email is strictly prohibited.
> 
>>>--
>>>
>>>
>>>-
>>>Please check that your question has not already been answered in the
>>>FAQ before posting. 
>>>
>>>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. 
>>
>>To unsubscribe, e-mail: <[EMAIL PROTECTED]>
>>For additional commands, e-mail: <[EMAIL PROTECTED]>
>>
> 
> --
> This email is confidential and intended solely for the use of the individual to whom 
>it is addressed. Any views or opinions presented are solely those of the author and 
>do not necessarily represent those of SchlumbergerSema. 
> If you are not the intended recipient, be advised that you have received this email 
>in error and that any use, dissemination, forwarding, printing, or copying of this 
>email is strictly prohibited.
> --
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Documentation / API - Doc

2001-09-25 Thread Arno Illmann

Yes, thanks. Where can I find information about the cocoon: protocol ? :) Wasn't in 
the docs
on the c2 site or in your how-to. The  tag isn't described there too. 

Or am I with eyes close? 

And a much thanks for your how-to-tutorial v1.0. - very good readable and much 
enlighning to me (with general knowledge in web app authoring). And now I want to put 
flesh on my general overview of c2 web app development knowledge. Do you think, I 
should be more patient in asking for documentation? I think this could eh generate a 
good view of what is necessary for the doc too.

Thanks, Arno (c2 idiot v0.2RC1)

Berin Loritsch schrieb:
> 
> Arno Illmann wrote:
> 
> Try here:
> 
> http://xml.apache.org/cocoon2/apidocs/
> 
> >
> > Dear Cocooners!
> >
> > Where can I find the API-Docs for C2? Could it be a part in the answers for my 
>questions in thread "Documentation of sitemap syntax, XSP-Logicsheets and configuring 
>for actions" two threads before?
> >
> > I know, the Cocoon developers are commenting there code like in 
>\src\org\apache\cocoon\acting\HelloAction.java like below. How can > > translate" any 
>comments and syntax or description in API-Doc in appropriate syntax for i.e the 
>sitemap?

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Logging problem

2001-09-25 Thread Alexander Smirnoff

Hi all,

Some newbie question arised.

 I use c2b2 and cannot see the log files where it 
suppose to be. This is my log definition in web.xml:

...
  
   log-level
   DEBUG
  
  
   log-dir
   /WEB-INF/logs
  
  
   log-name
   my.log
  
...

So the problem is that /WEB-INF/logs is empty and all cocoons 
logging goes to catalina's log files. What I did wrong?

Thanks in adnvance,
Alexander Smirnoff


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Documentation / API - Doc

2001-09-25 Thread Berin Loritsch

Arno Illmann wrote:

Try here:

http://xml.apache.org/cocoon2/apidocs/

> 
> Dear Cocooners!
> 
> Where can I find the API-Docs for C2? Could it be a part in the answers for my 
>questions in thread "Documentation of sitemap syntax, XSP-Logicsheets and configuring 
>for actions" two threads before?
> 
> I know, the Cocoon developers are commenting there code like in 
>\src\org\apache\cocoon\acting\HelloAction.java like below. How can I "translate" any 
>comments and syntax or description in API-Doc in appropriate syntax for i.e the 
>sitemap?
> 
> Thanks in advance, Arno
> And apologize for probably posting this a second time, I got  problems with my 
>mailprogram...
> 
> 
> /**
>  * A simple Action that tracks if a Session object
>  * has been created or not.
>  *
>  * @author mailto:[EMAIL PROTECTED]";>Giacomo Pati
>  * @version CVS $Revision: 1.5 $ $Date: 2001/08/22 12:03:32 $
>  */
> public class HelloAction extends ComposerAction implements ThreadSafe {
> 
> /**
>  * A simple Action that logs if the Session object
>  * has been created
>  */
> public Map act (Redirector redirector, SourceResolver resolver, Map objectModel, 
>String src, Parameters par) throws Exception {
> Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT);
> if (request != null) {
> Session session = request.getSession (false);
> 
> if (session != null) {
> if (session.isNew()) {
> getLogger().debug("Session is new");
> } else {
> getLogger().debug("Session is old");
> }
> } else {
> getLogger().debug("A session object was not created");
> }
> }
> 
> return null;
> }
> }
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: Pipeline caching...

2001-09-25 Thread Vadim Gritsenko

Key must identify your generated page, and it does not necessary mean that
one XSP file must have just one key - because one XSP file may generate lots of pages 
depending
on environment parameters. Consider following example: XSP generates a catalogue page 
and takes a
parameter CategoryID.
Then, good example of key method would be:

   public long generateKey(){
   // Unique ID of your page
   String CategoryID = request.getParameter(ID); // Get CategoryID parameter used 
to generate XSP
   return HashUtil.hash(getClass().getName() + CategoryID);
   }


> About caching... another question: the caching validity is
> application-relative, session-relative or page-relative?

Then, answering on your question, validity must be generated in scope of this key - in 
our example, in
scope of catalogue category:

   public CacheValidity generateValidity(){
   String CategoryID = request.getParameter(ID); // Get CategoryID parameter used 
to generate XSP
   return new TimeStampValidity( 
MyCatalogue.getCategory(CategoryID).modificationTime() );
   }

Then XSP page representing CategoryID=XXX would be regenrated ONLY when this category 
has been changed.


> Is there any way to define application-scope variables within cocoon?

Can't suggest you anything right now...


Vadim


> -Original Message-
> From: Paolo [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 25, 2001 9:17 AM
> To: [EMAIL PROTECTED]
> Subject: R: Pipeline caching...
>
>
> Hi Vadim...
> Thank you for your precious reply!
>
> About caching... another question: the caching validity is
> application-relative, session-relative or page-relative?
>
> Is there any way to define application-scope variables within cocoon?
>
> Thank you,
> Paolo Scaffardi
> AIRVENT SAM S.p.A.
>
> -Messaggio originale-
> Da: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
> Inviato: lunedì 24 settembre 2001 17.06
> A: [EMAIL PROTECTED]
> Oggetto: RE: Pipeline caching...
>
> By default XSP generated by Cocoon are not cached, and executed on every
> request.
> To change this behaviour, you need to add these two methods:
>
> http://apache.org/xsp";>
> 
>   public long generateKey(){
>   // Unique ID of your page
>   return HashUtil.hash(getClass().getName());
>   }
>   public CacheValidity generateValidity(){
>   // Modify according to your needs
>   return new NOPCacheValidity();
>   }
> 
>
> If you add snippet shown above, your XSP would be executed ONLY ONCE and
> cached FOREVER by Cocoon.
> Another example of validity method is:
>
>   public CacheValidity generateValidity(){
>   if(changed) return null;
>   return new NOPCacheValidity();
>   }
>
> This would invalidate cache entry every time you decide (using if()
> statement) to re-generate XSP.
>
> Vadim
>
> > -Original Message-
> > From: Paolo [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, September 24, 2001 10:42 AM
> > To: Cocoon-Users; [EMAIL PROTECTED]
> > Subject: Pipeline caching...
> >
> >
> > I am working on a web application bases on Cocoon 2. Every page of my
> > application has to be created by applying a stylesheet to many
> > aggregated pipelines. Some of these are generated by XSP and querying
> > databases.
> >
> > Some of these XML components don't change into a session, then I can
> > generate them the first time only, store somewhere and reload them
> fast
> > without reprocess every pipeline during the session.
> >
> > I trying using the WriteDOM/ReadDOM transformers but I really don't
> know
> > how to use that because of their transformer-nature (how can use a
> > stored DOM tree as generator?).
> >
> > What I am asking is simple: is there any way to cache a pipeline in
> this
> > way, simply by adding a parameter to the pipeline definition instead
> of
> > many selectors/transformers to do that?
> >
> > Is there anyone that is working on a feature like that?
> >
> > This is my sitemap:
> >
> > 
> > 
> >   
> >
> > 
> > 
> > 
> > 
> >   
> >   
> >   
> > 
> >
> > Where dbhotel, dbroom and dbcustomer are something like:
> >
> > 
> >> type="serverpages"/>
> >   
> > 
> >
> > What do you think about that?
> >
> > Thanx,
> > Paolo Scaffardi
> > AIRVENT SAM S.p.A.
> >
> >
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> >
> > 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. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>
>
>
> 

Documentation / API - Doc

2001-09-25 Thread Arno Illmann

Dear Cocooners!

Where can I find the API-Docs for C2? Could it be a part in the answers for my 
questions in thread "Documentation of sitemap syntax, XSP-Logicsheets and configuring 
for actions" two threads before?

I know, the Cocoon developers are commenting there code like in 
\src\org\apache\cocoon\acting\HelloAction.java like below. How can I "translate" any 
comments and syntax or description in API-Doc in appropriate syntax for i.e the 
sitemap?

Thanks in advance, Arno
And apologize for probably posting this a second time, I got  problems with my 
mailprogram...


/**
 * A simple Action that tracks if a Session object
 * has been created or not.
 *
 * @author mailto:[EMAIL PROTECTED]";>Giacomo Pati
 * @version CVS $Revision: 1.5 $ $Date: 2001/08/22 12:03:32 $
 */
public class HelloAction extends ComposerAction implements ThreadSafe {

/**
 * A simple Action that logs if the Session object
 * has been created
 */
public Map act (Redirector redirector, SourceResolver resolver, Map objectModel, 
String src, Parameters par) throws Exception {
Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT);
if (request != null) {
Session session = request.getSession (false);

if (session != null) {
if (session.isNew()) {
getLogger().debug("Session is new");
} else {
getLogger().debug("Session is old");
}
} else {
getLogger().debug("A session object was not created");
}
}

return null;
}
}

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




FOP .20

2001-09-25 Thread Mark S. Kent

Does the latest release of FOP (.20) work with Cocoon 1.8.2?  I tried using
the included FOP .15 version with the Cocoon distribution, but realized it
is seriously lacking a few key components that I'd like to use.

Peace,
Mark


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: Configure a oracle db conection in cocoon2

2001-09-25 Thread Alberto Garcia

Hi everybody, and thank you Lajos.

We have done the connection with the oracle db. And now our problem is that
cocoon doesn´t recognize the esql namespace.
How do we have to configure the sitemap in order to recognize the esql
namespace?

Thak you again and "Saludos Cordiales"

Alberto

- Original Message -
From: Lajos Moczar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 23, 2001 1:15 PM
Subject: Re: Configure a oracle db conection in cocoon2


> Hi Alberto:
>
> Here is what you have to do:
>
> 1) Add the Oracle class to Cocoon's web.xml in the ""
> section, thus:
>
> 
>   load-class
>   
> oracle.jdbc.driver.OracleDriver
> ... // Other database classes
>   
> 
>
>
> 2) Add the oracle datasource to cocoon.xconf, thus:
>
>
>  
>
>
>   // Don't forget this!!!
>your_user_name
>
>your_password
>
>your_database_url
>  
>
>  ...
> 
>
>
> 3) Then restart everything and see if it works. You can edit one of the
> esql samples to point to your Oracle database for testing.
>
>
> Hope that helps.
>
> Lajos
> www.galatea.com
>
>
> Alberto Garcia wrote:
>
> > Hello everybody,
> > I would like to create a connection with an oracle db in cocoon2.
> > I've been looking for the way to make it in internet , and I have to
> > configure the cocoon.properties file, but I can't find this file in my
> > cocoon2 installation.
> > Do I have  to create this file? where? who?
> >
> > Sorry about my English and thank you very much.
> >
> > "Saludos Cordiales"
> > Alberto
> >
> >
> > --
> > This email is confidential and intended solely for the use of the
individual to whom it is addressed. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
SchlumbergerSema.
> > If you are not the intended recipient, be advised that you have received
this email in error and that any use, dissemination, forwarding, printing,
or copying of this email is strictly prohibited.
> > --
> >
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> >
> > 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. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>

--
This email is confidential and intended solely for the use of the individual to whom 
it is addressed. Any views or opinions presented are solely those of the author and do 
not necessarily represent those of SchlumbergerSema. 
If you are not the intended recipient, be advised that you have received this email in 
error and that any use, dissemination, forwarding, printing, or copying of this email 
is strictly prohibited.
--


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Documentation / API - Doc

2001-09-25 Thread Arno Illmann

Dear Cocooners!

Where can I find the API-Docs for C2? Could it be a part in the answers for my 
questions in thread "Documentation of sitemap syntax, XSP-Logicsheets and configuring 
for actions" two threads before?

I know, the Cocoon developers are commenting there code like in 
\src\org\apache\cocoon\acting\HelloAction.java like below. How can I "translate" any 
comments and syntax or description in API-Doc in appropriate syntax for i.e the 
sitemap?

Thanks in advance, Arno


/**
 * A simple Action that tracks if a Session object
 * has been created or not.
 *
 * @author mailto:[EMAIL PROTECTED]";>Giacomo Pati
 * @version CVS $Revision: 1.5 $ $Date: 2001/08/22 12:03:32 $
 */
public class HelloAction extends ComposerAction implements ThreadSafe {

/**
 * A simple Action that logs if the Session object
 * has been created
 */
public Map act (Redirector redirector, SourceResolver resolver, Map objectModel, 
String src, Parameters par) throws Exception {
Request request = (Request) objectModel.get(Constants.REQUEST_OBJECT);
if (request != null) {
Session session = request.getSession (false);

if (session != null) {
if (session.isNew()) {
getLogger().debug("Session is new");
} else {
getLogger().debug("Session is old");
}
} else {
getLogger().debug("A session object was not created");
}
}

return null;
}
}

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re[2]: jikes compiler

2001-09-25 Thread Andrew Answer

Hello Berin,

Thanks, all working! I can see jikes wrapper in cocoon sources
earlier... it's bug in my head :)

Tuesday, September 25, 2001, 7:50:25 PM, you wrote:

> Andrew Answer wrote:


> Official answer from a Cocoon Guru:

> In order to use Jikes, you have to do three things:

> 1) Ensure the Jikes executable is in your system PATH.
> 2) In web.xml enter the path to your rt.jar in your "extra-classpath"
>initial parameter.
> 3) Set your compiler to 
>"org.apache.cocoon.components.language.programming.java.Jikes"

> This will alow Cocoon to find Jikes, for Jikes to find all
> the classes it needs, and for Cocoon to know what the Compiler
> wrapper class is that it needs to use.

>> 
>> Hello Henrik,
>> 
>> It's too simply, but isn't right. Sorry for inexact problem
>> decsription.
>> Jikes java compiler written by IBM on C++ and compiled under all
>> platforms. It's exe file (jikes.exe) under Windows, and i don't know
>> how write path to jikes into cocoon.xconf.
>> If jikes can be used therefore must be way to set it into config file,
>> isn't it?
>> http://oss.software.ibm.com/developerworks/opensource/jikes/
>> - homepage of Jikes.
>> 
>> Tuesday, September 25, 2001, 6:45:55 PM, you wrote:
>> 
>> > -Original Message-
>> > From: Andrew Answer [mailto:[EMAIL PROTECTED]]
>> > Sent: Dienstag, 25. September 2001 13:27
>> > To: [EMAIL PROTECTED]
>> > Subject: jikes compiler
>> 
>> > Hello cocoon-users,
>> 
>> >   how to use IBM jikes compiler instead of javac?
>> > cocoon.xconf:
>> > >
>> >  not work.
>> > [ java.lang.ClassNotFoundException: Jikes ]
>> 
>> --
>> Best regards,
>>  Andrewmailto:[EMAIL PROTECTED]
>> 
>> -
>> Please check that your question has not already been answered in the
>> FAQ before posting. 
>> 
>> 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. 

> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>



-- 
Best regards,
 Andrewmailto:[EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: non-existing -src and sitemap-recompilation

2001-09-25 Thread Jörg Heinicke

Even the deleting of the Tomcat/work/cocoon/cache-dir and of the 
Tomcat/work/cocoon/org/.../public_cocoon/user/ (where the sitemap_xmap.java 
and .class are stored) works. Only restarting of Tomcat helps.

Joerg

 Original Message 
Subject: non-existing -src and sitemap-recompilation
Date: Tue, 25 Sep 2001 13:25:42 +0200
From: Jörg Heinicke <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]

Hi,

we have a problem with our sitemap(s) here. We are working with one central
cocoon2b2-version and for anyone a sub-sitemap and for anyone and any
project a sub-sub-sitemap. Adding a non-existing -src causes an error

java.lang.ClassNotFoundException: org.apache.test

of course. The problem is after deleting this -entry in the
sitemap. The recompilation of the sitemap fails with the same error-message.
Renaming the action won't work too.
A consciously provoked error like missing end-tag will be detected and I get
another error message. But when I correct this I will get the
ClassNotFoundException again though there is nothing more written in the
sitemap about the .

In every parent-sitemap the mounts have the attributes:

check-reload="yes" reload-method="synchron"

How can we solve the problem without root-access and restarting tomcat or
deleting work-directory?

Joerg


-
Please check that your question has not already been answered in the
FAQ before posting. 

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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: C2 : parametered XSL stylesheets (was : RE: Cocoon2 : Managing URL-encoded parameters)

2001-09-25 Thread Olivier Boulanger

Thanks a lot. I've found what was wrong with my sitemap, and everything is
now working fine.

-Message d'origine-
De : Max Larsson [mailto:[EMAIL PROTECTED]]
Envoyé : mardi 25 septembre 2001 15:10
À : [EMAIL PROTECTED]; [EMAIL PROTECTED]
Objet : RE: C2 : parametered XSL stylesheets (was : RE: Cocoon2 :
Managing URL-encoded parameters)


HI,

if you instruct the transformer to make the request parameters
visible for your stylesheet it should work:





.


best regards


Max


And does anyone know how to send these parameters to a parametered XSL
stylesheet ?

Olivier

-Message d'origine-
De : Multani, Dal [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 20 septembre 2001 20:28
À : '[EMAIL PROTECTED]'
Objet : RE: Cocoon2 : Managing URL-encoded parameters


Has anyone used this to capture more that one parameter ?

Dal Multani

-Original Message-
From: giacomo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 2:08 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Cocoon2 : Managing URL-encoded parameters


On Thu, 20 Sep 2001, Sparkes, Peter wrote:

> Thanks Carsten,
>
> With your help I have got it working.
>
> A commented sitemap DTD would be a great help, is anyone working on it?

Not that I know. There has been an draft of an XML Schema in xdocs/draft
but that one is really old.

Giacomo

>
> Peter
> -
> Peter Sparkes
> Data Architect
> Derwent Information
> 14 Great Queen St Tel. +44 (0)20 7424 2084
> LondonFax. +44 (0) 20 7344 2815
> WC2B 5DF  Email. [EMAIL PROTECTED]
> UKWebsite: http://www.derwent.com/
>
> > -Original Message-
> > From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
> > Sent: 20 September 2001 09:00
> > To: [EMAIL PROTECTED]
> > Subject: AW: Cocoon2 : Managing URL-encoded parameters
> >
> >
> > The usual sitemap match (map:match pattern="xyz") tests
> > only the request uri. It does not take any parameter into
> > account.
> > For testing parameters you can use the parameters matcher:
> >
> > 
> >
> >  > Von: Sparkes, Peter [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 20. September 2001 09:41
> > An: '[EMAIL PROTECTED]'
> > Betreff: RE: Cocoon2 : Managing URL-encoded parameters
> >
> >
> > HI,
> > I have the same problem.
> > Peter
> > -- Peter Sparkes
> > Data Architect
> > Derwent Information
> > 14 Great Queen St   Tel. +44 (0)20 7424 2084
> > London  Fax. +44 (0) 20 7344 2815
> > WC2B 5DFEmail. [EMAIL PROTECTED]
> > UK  Website: http://www.derwent.com/
> > > -Original Message-
> > > From: Olivier Boulanger [mailto:[EMAIL PROTECTED]]
> > > Sent: 19 September 2001 18:52
> > > To: [EMAIL PROTECTED]
> > > Subject: Cocoon2 : Managing URL-encoded parameters
> > >
> > >
> > > Hi all,
> > >
> > > I have just installed cocoon 2. I first thought that defining
> > > a sitemap was
> > > a great idea, but i'm wondering by now if it's possible to manage
> > > URL-encoded parameters in an XML2HTML process (like i used to
> > > with cocoon
> > > 1).
> > >
> > > Considering an url like
> > > "localhost/my-project/my-xml-document.xml?param=1",
> > > what should be written in the sitemap file to make it work fine ?
> > > I've tried to define several kinds of "map:match"
> > corresponding to my
> > > pattern, without any success...
> > >
> > > Thanks a lot in advance,
> > >
> > > Olivier Boulanger
> > >
> >
> >
> > **
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> >
> > This footnote also confirms that this email message has been swept by
> > MIMEsweeper for the presence of computer viruses.
> >
> > www.mimesweeper.com
> > **
> >
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
>
>
> **
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.com
> **
>


-
Pleas

R: Pipeline caching...

2001-09-25 Thread Paolo

Hi Vadim...
Thank you for your precious reply!

About caching... another question: the caching validity is
application-relative, session-relative or page-relative?

Is there any way to define application-scope variables within cocoon?

Thank you,
Paolo Scaffardi
AIRVENT SAM S.p.A.

-Messaggio originale-
Da: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] 
Inviato: lunedì 24 settembre 2001 17.06
A: [EMAIL PROTECTED]
Oggetto: RE: Pipeline caching...

By default XSP generated by Cocoon are not cached, and executed on every
request.
To change this behaviour, you need to add these two methods:

http://apache.org/xsp";>

  public long generateKey(){
  // Unique ID of your page
  return HashUtil.hash(getClass().getName());
  }
  public CacheValidity generateValidity(){
  // Modify according to your needs
  return new NOPCacheValidity();
  }


If you add snippet shown above, your XSP would be executed ONLY ONCE and
cached FOREVER by Cocoon.
Another example of validity method is:

  public CacheValidity generateValidity(){
  if(changed) return null;
  return new NOPCacheValidity();
  }

This would invalidate cache entry every time you decide (using if()
statement) to re-generate XSP.

Vadim

> -Original Message-
> From: Paolo [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 24, 2001 10:42 AM
> To: Cocoon-Users; [EMAIL PROTECTED]
> Subject: Pipeline caching...
> 
> 
> I am working on a web application bases on Cocoon 2. Every page of my
> application has to be created by applying a stylesheet to many
> aggregated pipelines. Some of these are generated by XSP and querying
> databases.
> 
> Some of these XML components don't change into a session, then I can
> generate them the first time only, store somewhere and reload them
fast
> without reprocess every pipeline during the session.
> 
> I trying using the WriteDOM/ReadDOM transformers but I really don't
know
> how to use that because of their transformer-nature (how can use a
> stored DOM tree as generator?).
> 
> What I am asking is simple: is there any way to cache a pipeline in
this
> way, simply by adding a parameter to the pipeline definition instead
of
> many selectors/transformers to do that?
> 
> Is there anyone that is working on a feature like that?
> 
> This is my sitemap:
> 
> 
> 
>   
>  
>   
>   
>   
>   
>   
>   
>   
> 
> 
> Where dbhotel, dbroom and dbcustomer are something like:
> 
> 
>type="serverpages"/>
>   
> 
> 
> What do you think about that?
> 
> Thanx,
> Paolo Scaffardi
> AIRVENT SAM S.p.A.
> 
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> 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. 

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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: C2 : parametered XSL stylesheets (was : RE: Cocoon2 : Managing URL-encoded parameters)

2001-09-25 Thread Max Larsson

HI,

if you instruct the transformer to make the request parameters
visible for your stylesheet it should work:





.


best regards


Max


And does anyone know how to send these parameters to a parametered XSL
stylesheet ?

Olivier

-Message d'origine-
De : Multani, Dal [mailto:[EMAIL PROTECTED]]
Envoyé : jeudi 20 septembre 2001 20:28
À : '[EMAIL PROTECTED]'
Objet : RE: Cocoon2 : Managing URL-encoded parameters


Has anyone used this to capture more that one parameter ?

Dal Multani

-Original Message-
From: giacomo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 20, 2001 2:08 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Cocoon2 : Managing URL-encoded parameters


On Thu, 20 Sep 2001, Sparkes, Peter wrote:

> Thanks Carsten,
>
> With your help I have got it working.
>
> A commented sitemap DTD would be a great help, is anyone working on it?

Not that I know. There has been an draft of an XML Schema in xdocs/draft
but that one is really old.

Giacomo

>
> Peter
> -
> Peter Sparkes
> Data Architect
> Derwent Information
> 14 Great Queen St Tel. +44 (0)20 7424 2084
> LondonFax. +44 (0) 20 7344 2815
> WC2B 5DF  Email. [EMAIL PROTECTED]
> UKWebsite: http://www.derwent.com/
>
> > -Original Message-
> > From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]]
> > Sent: 20 September 2001 09:00
> > To: [EMAIL PROTECTED]
> > Subject: AW: Cocoon2 : Managing URL-encoded parameters
> >
> >
> > The usual sitemap match (map:match pattern="xyz") tests
> > only the request uri. It does not take any parameter into
> > account.
> > For testing parameters you can use the parameters matcher:
> >
> > 
> >
> >  > Von: Sparkes, Peter [mailto:[EMAIL PROTECTED]]
> > Gesendet: Donnerstag, 20. September 2001 09:41
> > An: '[EMAIL PROTECTED]'
> > Betreff: RE: Cocoon2 : Managing URL-encoded parameters
> >
> >
> > HI,
> > I have the same problem.
> > Peter
> > -- Peter Sparkes
> > Data Architect
> > Derwent Information
> > 14 Great Queen St   Tel. +44 (0)20 7424 2084
> > London  Fax. +44 (0) 20 7344 2815
> > WC2B 5DFEmail. [EMAIL PROTECTED]
> > UK  Website: http://www.derwent.com/
> > > -Original Message-
> > > From: Olivier Boulanger [mailto:[EMAIL PROTECTED]]
> > > Sent: 19 September 2001 18:52
> > > To: [EMAIL PROTECTED]
> > > Subject: Cocoon2 : Managing URL-encoded parameters
> > >
> > >
> > > Hi all,
> > >
> > > I have just installed cocoon 2. I first thought that defining
> > > a sitemap was
> > > a great idea, but i'm wondering by now if it's possible to manage
> > > URL-encoded parameters in an XML2HTML process (like i used to
> > > with cocoon
> > > 1).
> > >
> > > Considering an url like
> > > "localhost/my-project/my-xml-document.xml?param=1",
> > > what should be written in the sitemap file to make it work fine ?
> > > I've tried to define several kinds of "map:match"
> > corresponding to my
> > > pattern, without any success...
> > >
> > > Thanks a lot in advance,
> > >
> > > Olivier Boulanger
> > >
> >
> >
> > **
> > This email and any files transmitted with it are confidential and
> > intended solely for the use of the individual or entity to whom they
> > are addressed. If you have received this email in error please notify
> > the system manager.
> >
> > This footnote also confirms that this email message has been swept by
> > MIMEsweeper for the presence of computer viruses.
> >
> > www.mimesweeper.com
> > **
> >
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
>
>
> **
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.com
> **
>


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

-
Please check that your question has not already been 

C2rc1: Content aggregation and sub sitemaps (No pipeline matched request)

2001-09-25 Thread Paolo

I need to create a XML page as result of aggregation of more XML pages
taken from sub sitemaps (placed into subfolders). The directory tree is
something like:

/sitemap.xmap
/customer/sitemap.xmap
/home/sitemap.xmap
/mailbox/sitemap.xmap
/admin/sitemap.xmap
/home/sitemap.xmap
/mailbox/sitemap.xmap

in every sitemap I defined in a pipeline a 'summary' resource that
should generate an XML composed by aggregation of 'summary' resources of
subfolders or without nothing (il this node is a child). Please ignore
the meaning of this example: It's only an example to show the strange
error I got with cocoon.

This is my root sitemap summary pipeline (customer, guest, admin and
setup are mounted in other sitemaps where summary, again, is defined):


  



 
  
  
  


This is a child example (defined into guest, admin and setup sub
sitemaps):


  




 
  
  


And, finally, every other sitemap under that (home, mailbox, restaurant,
paytv and bill) has a pipeline that returns a simple XML (without
aggregation) from XSP:


  
  


Ok... if I browse these pages (not the root one) here what I got:

/myappname/customer/home/summary -> The valid XML (generated from XSP)
/myappname/customer/summary -> A valid XML (aggregated from its
children)

It seems everything ok, but when I try to browse the root summary I got
a Xml containing only the root element of every aggregation and an error
into the root.log:

HttpProcessor[8080][0]/CocoonServlet: getRealPath for /:
D:\Programmi\jakarta-tomcat\webapps\gportal\
HttpProcessor[8080][0]/CocoonServlet: URL for Root:
file:/D:/Programmi/jakarta-tomcat/webapps/gportal/
HttpProcessor[8080][0]/AbstractEnvironment: Changing Cocoon
context(sitemap.xmap) to prefix()
HttpProcessor[8080][0]/AbstractEnvironment: from
context(file:/D:/Programmi/jakarta-tomcat/webapps/gportal/) and prefix()
HttpProcessor[8080][0]/AbstractEnvironment: at URI summary
HttpProcessor[8080][0]/AbstractEnvironment: New context is
file:/D:/Programmi/jakarta-tomcat/webapps/gportal/
HttpProcessor[8080][0]/AbstractEnvironment: Resolving
'cocoon:/customer/summary' in context
'file:/D:/Programmi/jakarta-tomcat/webapps/gportal/'
HttpProcessor[8080][0]/AbstractEnvironment: Resolved to
'http://localhost:8080/gportal/customer/summary'
HttpProcessor[8080][0]/AbstractEnvironment: Resolving
'stylesheets/debug2xml.xsl' in context
'file:/D:/Programmi/jakarta-tomcat/webapps/gportal/'
HttpProcessor[8080][0]/AbstractEnvironment: Resolved to
'file:/D:/Programmi/jakarta-tomcat/webapps/gportal/stylesheets/debug2xml
.xsl'
HttpProcessor[8080][0]/AbstractEnvironment: Set the URI Prefix (OLD=,
NEW=)
HttpProcessor[8080][0]/AbstractEnvironment: Reset context to
file:/D:/Programmi/jakarta-tomcat/webapps/gportal/
HttpProcessor[8080][0]/CocoonServlet: The resource was not found
org.apache.cocoon.ResourceNotFoundException: No pipeline matched request
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:793)
at
org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:715)
at
org.apache.cocoon.components.source.SitemapSource.refresh(SitemapSource.
java:232)
at
org.apache.cocoon.components.source.SitemapSource.(SitemapSource.j
ava:150)
at
org.apache.cocoon.components.source.CocoonSourceFactory.getSource(Cocoon
SourceFactory.java:54)
at
org.apache.cocoon.components.source.SourceHandlerImpl.getSource(SourceHa
ndlerImpl.java:131)
at
org.apache.cocoon.environment.AbstractEnvironment.resolve(AbstractEnviro
nment.java:275)
at
org.apache.cocoon.sitemap.ContentAggregator.setup(ContentAggregator.java
:256)
at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipelin
e(AbstractEventPipeline.java:146)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(Caching
EventPipeline.java:243)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(C
achingEventPipeline.java:103)
at
org.apache.cocoon.components.source.SitemapSource.refresh(SitemapSource.
java:238)
at
org.apache.cocoon.components.source.SitemapSource.(SitemapSource.j
ava:150)
at
org.apache.cocoon.components.source.CocoonSourceFactory.getSource(Cocoon
SourceFactory.java:54)
at
org.apache.cocoon.components.source.SourceHandlerImpl.getSource(SourceHa
ndlerImpl.java:131)
at
org.apache.cocoon.environment.AbstractEnvironment.resolve(AbstractEnviro
nment.java:275)
at
org.apache.cocoon.sitemap.ContentAggregator.setup(ContentAggregator.java
:256)
at
org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipelin
e(AbstractEventPipeline.java:146)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(Caching
EventPipeline.java:243)
at
org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(C
achingEventPipeline.java:103)
at
org.a

Re: Cocoon and dbXML

2001-09-25 Thread Tobias Luikard

Hi Gianugo,

now i works. I only added the jar to the
jakarta-tomcat-3.2.3\webapps\cocoon\WEB-INF\lib directory with doesn't work. In
the
jakarta-tomcat-3.2.3\lib\ directory they were better treated .-)

I'm so happy .-)

By

Tobi

Tobias Luikard wrote:

> Hi Gianugo,
>
> this Classes work? Cool, then there is hope :-)
>
> What *.jar did you copy and where? Only the driver-jar (xmldb.jar) or
> something else too? (I copied all jars into $cocoon$/lib and made a new build)
>
> Thanks a lot
>
> Tobias
> - the man with no idea why it dosn't work -
>
> Gianugo Rabellino wrote:
>
> > Tobias,
> >
> > > I try to use Cocoon2 (b2) with dbXML. Has anyone done this before?
> >
> > In the CVS version of Cocoon there are a couple of generators that I wrote
> > for dbXML: I had no problem at all in making dbXML work with Cocoon, you
> > might want to start investigating from there. Let me know if you need any
> > assistance.
> >
> > Ciao,
> >
> > --
> > Gianugo Rabellino
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
>
> --
> Tobias Luikard
>
>  |X
> X|
>
>  eXXcellent solutions gmbh
>  In der Wanne 55
>
>  D-89075 Ulm
>
>  e | [EMAIL PROTECTED]
>  t | +49 [0]731-55026-22
>  f | +49 [0]731-55026-99
>  i | www.eXXcellent.de
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

--
Tobias Luikard

 |X
X|

 eXXcellent solutions gmbh
 In der Wanne 55

 D-89075 Ulm

 e | [EMAIL PROTECTED]
 t | +49 [0]731-55026-22
 f | +49 [0]731-55026-99
 i | www.eXXcellent.de



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: Tomcat 4.0 + Cocoon2 rc1 on RedHat 6.2

2001-09-25 Thread Karl Oie

if you are running rh7.1 you can install jdk1.3.1 and it will run fine,
atleast for me. i have encountered the same problem on slackware8 where i
stepped down to 1.3 from www.blackdown.org, and that also runs fine now.

mvh karl



> -Original Message-
> From: Sergio Carvalho [mailto:[EMAIL PROTECTED]]
> Sent: 25. september 2001 13:45
> To: [EMAIL PROTECTED]
> Subject: Re: Tomcat 4.0 + Cocoon2 rc1 on RedHat 6.2
>
>
>
> If you are using a recent linux, like Suse 7.1/7.2 or RH 7.1, try doing:
> ulimit -s 1024
> before launching any Java application. This is a documented bug,
> and is a side
> effect of a bug correction in recent glibc (JDK relied on the erroneous
> behaviour).
>
> On Mon, 24 Sep 2001 17:05:08 -0600, Lajos Moczar wrote:
> From: Lajos Moczar <[EMAIL PROTECTED]>
> --
>
> > Hi all:
> >
> > I tried this install today, using JDK 1.2.2_006. The Tomcat code is the
> > 4.0 release version and Cocoon2 is the version announced this morning.
> > When I access http://localhost:8080/cocoon, Tomcat core dumps
> with stuff
> > like this (in catalina.out):
> >
> > ***
> >
> > SIGSEGV   11*  segmentation violation
> >  si_signo [11]: SIGSEGV   11*  segmentation violation
> >  si_errno [0]: Success
> >  si_code [0]: SI_USER [pid: 0, uid: 0]
> >  stackpointer=0x44884e28
> >
> > Full thread dump Classic VM (1.2.2_006, green threads):
> >  "Thread-16" (TID:0x40e40510, sys_thread_t:0x9252658,
> state:R) prio=5
> >  at java.lang.ClassLoader.findLoadedClass(Native Method)
> >  at java.lang.ClassLoader.loadClass(ClassLoader.java:284)
> >  at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> >  at
> > org.apache.avalon.excalibur.component.ExcaliburComponentManager.looku
> > p(Unknown Source)
> >  at
> > org.apache.avalon.excalibur.component.ExcaliburComponentManager.looku
> > p(Unknown Source)
> >  at
> > org.apache.cocoon.sitemap.AbstractSitemap.compose(AbstractSitemap.jav
> > a:122)
> >
> > ***
> >
> > Has anyone else seen this? I've never successfully run any
> Cocoon2 build
> > on my Linux Box with any version of Catalina. Getting kinda
> frustrating.
> > Any ideas will be welcome.
> >
> >
> > Lajos Moczar
> > galatea.com
> >
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> >
>
>
> --
> Sergio Carvalho
> ---
> [EMAIL PROTECTED]
>
> If at first you don't succeed, skydiving is not for you
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: Re[2]: jikes compiler

2001-09-25 Thread Vadim Gritsenko

Andrew,



will solve your problem. Please note that you have to have rt.jar in your classpath
in order to use Jikes.

Vadim

> -Original Message-
> From: Andrew Answer [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 25, 2001 8:43 AM
> To: Henrik Hofmann
> Subject: Re[2]: jikes compiler
> 
> 
> Hello Henrik,
> 
> It's too simply, but isn't right. Sorry for inexact problem
> decsription.
> Jikes java compiler written by IBM on C++ and compiled under all
> platforms. It's exe file (jikes.exe) under Windows, and i don't know
> how write path to jikes into cocoon.xconf.
> If jikes can be used therefore must be way to set it into config file,
> isn't it?
> http://oss.software.ibm.com/developerworks/opensource/jikes/
> - homepage of Jikes.
> 
> Tuesday, September 25, 2001, 6:45:55 PM, you wrote:
> 
> 
> 
> > -Original Message-
> > From: Andrew Answer [mailto:[EMAIL PROTECTED]] 
> > Sent: Dienstag, 25. September 2001 13:27
> > To: [EMAIL PROTECTED]
> > Subject: jikes compiler
> 
> > Hello cocoon-users,
> 
> >   how to use IBM jikes compiler instead of javac?
> > cocoon.xconf:
> > >
> >  not work.
> > [ java.lang.ClassNotFoundException: Jikes ]
> 
> 
> 
> -- 
> Best regards,
>  Andrewmailto:[EMAIL PROTECTED]
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: jikes compiler

2001-09-25 Thread Berin Loritsch

Andrew Answer wrote:


Official answer from a Cocoon Guru:

In order to use Jikes, you have to do three things:

1) Ensure the Jikes executable is in your system PATH.
2) In web.xml enter the path to your rt.jar in your "extra-classpath"
   initial parameter.
3) Set your compiler to "org.apache.cocoon.components.language.programming.java.Jikes"

This will alow Cocoon to find Jikes, for Jikes to find all
the classes it needs, and for Cocoon to know what the Compiler
wrapper class is that it needs to use.

> 
> Hello Henrik,
> 
> It's too simply, but isn't right. Sorry for inexact problem
> decsription.
> Jikes java compiler written by IBM on C++ and compiled under all
> platforms. It's exe file (jikes.exe) under Windows, and i don't know
> how write path to jikes into cocoon.xconf.
> If jikes can be used therefore must be way to set it into config file,
> isn't it?
> http://oss.software.ibm.com/developerworks/opensource/jikes/
> - homepage of Jikes.
> 
> Tuesday, September 25, 2001, 6:45:55 PM, you wrote:
> 
> > -Original Message-
> > From: Andrew Answer [mailto:[EMAIL PROTECTED]]
> > Sent: Dienstag, 25. September 2001 13:27
> > To: [EMAIL PROTECTED]
> > Subject: jikes compiler
> 
> > Hello cocoon-users,
> 
> >   how to use IBM jikes compiler instead of javac?
> > cocoon.xconf:
> > >
> >  not work.
> > [ java.lang.ClassNotFoundException: Jikes ]
> 
> --
> Best regards,
>  Andrewmailto:[EMAIL PROTECTED]
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: jikes compiler

2001-09-25 Thread Berin Loritsch

Andrew Answer wrote:
> 
> Hello cocoon-users,
> 
>   how to use IBM jikes compiler instead of javac?
> cocoon.xconf:
> 
>  not work.
> [ java.lang.ClassNotFoundException: Jikes ]

Try the wrapper class in the same format as above:



The value is a fully qualified class name that implements the Compiler
interface.  "Jikes" is not an existing class name.

> 
> --
> Best regards,
>  Andrew  mailto:[EMAIL PROTECTED]
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: [C2] sample httpd.conf for TomCat 4 + C2

2001-09-25 Thread Jeremy Quinn

At 4:04 PM +1000 24/9/01, Jeff Turner wrote:
>On Sun, Sep 23, 2001 at 04:42:10PM +0100, Jeremy Quinn wrote:
>> Hi
>>
>>
>> I am trying to get TomCat 4.0 and Cocoon 2.1b to run behind Apache 1.3.
>[..]
>>
>> I get an 'Invalid virtual host name' error on line 4, ie. the line trying
>> to set up the 'examples' context.
>>
>> Can anyone suggest what I am doing wrong?
>
>The WebAppDeploy bit must be inside a  tag. Can't remember
>where I read this.. anyway, this is what I appended to my httpd.conf:
>
>LoadModule webapp_module /usr/lib/apache/1.3/mod_webapp.so
>WebAppConnection warpConnection warp localhost:8008
>
>  DocumentRoot /home/jeff/public_html
>  ServerName localhost
>  WebAppDeploy examples warpConnection /examples/
>
>
>
>That fixed the "Invalid virtual host name" error. I then restarted
>everything, and found I was getting these errors on catalina.out:

Yes, thanks, that helped me fix that problem, but now Apache cannot trigger
TomCat . 

>At this point I gave up ;P It's beta code, after all..

Well, I am running the release version of TomCat 4.0.
Do you refer to the quality of the "WarpConnector"?


>Good luck

Still trying to get it going if anyone has a working sample, please forward it.

Thanks

regards Jeremy

-- 
   ___

   Jeremy Quinn   Karma Divers
   webSpace Design
HyperMedia Research Centre

   


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re[2]: jikes compiler

2001-09-25 Thread Andrew Answer

Hello Henrik,

It's too simply, but isn't right. Sorry for inexact problem
decsription.
Jikes java compiler written by IBM on C++ and compiled under all
platforms. It's exe file (jikes.exe) under Windows, and i don't know
how write path to jikes into cocoon.xconf.
If jikes can be used therefore must be way to set it into config file,
isn't it?
http://oss.software.ibm.com/developerworks/opensource/jikes/
- homepage of Jikes.

Tuesday, September 25, 2001, 6:45:55 PM, you wrote:



> -Original Message-
> From: Andrew Answer [mailto:[EMAIL PROTECTED]] 
> Sent: Dienstag, 25. September 2001 13:27
> To: [EMAIL PROTECTED]
> Subject: jikes compiler

> Hello cocoon-users,

>   how to use IBM jikes compiler instead of javac?
> cocoon.xconf:
> >
>  not work.
> [ java.lang.ClassNotFoundException: Jikes ]



-- 
Best regards,
 Andrewmailto:[EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Documentation of sitemap syntax, XSP-Logicsheets and configuring for actions

2001-09-25 Thread Arno Illmann

Yes, thanks. Where can I find information about this protocol ? :) Wasn't in the docs 
on the c2 site or in the how-to from Berin Loritsch. The  tag isn't 
described there too.

[EMAIL PROTECTED] wrote:
> 1) I think you have to use the cocoon: protocol 
> to refer to internal resources for parts in 

Thanks, Arno (c2 idiot v0.2RC1)

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Documentation of sitemap syntax, XSP-Logicsheets and configuring for actions

2001-09-25 Thread Sergio Carvalho


1) I think you have to use the cocoon: protocol to refer to internal resources
for parts in 
2) Dunno...
3) Since Cocoon pipelines its content, when an XSP page is being processed there
is no guarantee that HTTP output hasn't already begun. So, using C2's
architecture, it is impossible to have a response taglib.

On Tue, 25 Sep 2001 13:34:41 +0200, Arno Illmann wrote:
From: Arno Illmann <[EMAIL PROTECTED]>
--

> Dear Cocoon Users and Developers, 
> 
> Ahead I beg your pardon for my germlish. Following a few questions about
sitemap syntax, XSP-Logicsheets and configuring for actions. I think these
questions are a good example for the questions of a c2 idiot v0.2RC1 0:) . The
answers should be added in the below mentioned documentations and what I can do
is supplie it in xdoc format to Jeremy Aston and his "The Cocoon Two Idiots
Guide" at http://www.pigbite.co.uk/ctwig/index.html .
> 
> 1) Where to find additional detailed syntax and usage of sitemap tags?
> 
> A few days ago I tried to put out i.e. a HTML head with caching information,
but it doesn't do it (was not parsed or outputted). I found some snippets on
this mailing list. My test was (map:aggregate did it):
> 
> 
> ns="http://lokalzumhost/arnoillmann";>
>   ns="http://lokalzumhost/arno"/>
>   ns="http://lokalzumhost/illmann"/>
> 
> 
> 
>   
>   
>   
> 
>   
> 
> 
> The very helpful overview/documentation v1.0 from Berin Loritsch (to find in
thread "cocoon 2 tutorial") or the profound documentation on the Cocoon 2 Site
about sitemap tags don't provide this information.
> 
> 2) A next question is about the (deprecated?) built-in XSP logicsheets, i.e
response.xsl
(\src\org\apache\cocoon\components\language\markup\xsp\java\request.xsl) or
util.xsl. 
> I know, i should work with actions in the sitemap, but where can I find the
corresponding elements in c2?
> 
> 3) Why is the request taglib in use and the response taglib not, respectivly
is an action set defined for i.e HTTP reguest and where to find those in the
cocoon code base. Respectivly can someone give an overview of the contents  and
a what-to-do-with-it (beside building a war file) of these folders in
\src\org\apache\cocoon\:
> 
> \acting\
> \components\browser\
> \components\language\markup\sitemap\java\
> \components\language\markup\xsp\
> \components\language\markup\
> \environment\http\
> \environment\wrapper\
> \environment\
> \selection\
> \sitemap\
> 
> 
> Concerning Carsten Ziegelers mail in thread "Apache Cocoon 2 RC Release" [ ...
The schedule for the final version of Cocoon 2 is estimated at 4-6 weeks from
today. This heavily depends on the feedback of the current Cocoon 2 users. We
expect that the changes between the release candidate and the final version only
concern documentation updates. But this is a very difficult and time consuming
task. ...] I will post this to cocoon-dev too. I hope this is o.k. and
constructive. If it's the wrong place for documentation feedback, let me know.
> 
> Thanks in advance and congratulations and many thanks to the C2 developer team
for releasing RC1!
> 
> Best regards, Arno Illmann
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 


--
Sergio Carvalho
---
[EMAIL PROTECTED]

If at first you don't succeed, skydiving is not for you

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Tomcat 4.0 + Cocoon2 rc1 on RedHat 6.2

2001-09-25 Thread Sergio Carvalho


If you are using a recent linux, like Suse 7.1/7.2 or RH 7.1, try doing:
ulimit -s 1024
before launching any Java application. This is a documented bug, and is a side
effect of a bug correction in recent glibc (JDK relied on the erroneous
behaviour).

On Mon, 24 Sep 2001 17:05:08 -0600, Lajos Moczar wrote:
From: Lajos Moczar <[EMAIL PROTECTED]>
--

> Hi all:
> 
> I tried this install today, using JDK 1.2.2_006. The Tomcat code is the 
> 4.0 release version and Cocoon2 is the version announced this morning. 
> When I access http://localhost:8080/cocoon, Tomcat core dumps with stuff 
> like this (in catalina.out):
> 
> ***
> 
> SIGSEGV   11*  segmentation violation
>  si_signo [11]: SIGSEGV   11*  segmentation violation
>  si_errno [0]: Success
>  si_code [0]: SI_USER [pid: 0, uid: 0]
>  stackpointer=0x44884e28
> 
> Full thread dump Classic VM (1.2.2_006, green threads):
>  "Thread-16" (TID:0x40e40510, sys_thread_t:0x9252658, state:R) prio=5
>  at java.lang.ClassLoader.findLoadedClass(Native Method)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:284)
>  at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>  at 
> org.apache.avalon.excalibur.component.ExcaliburComponentManager.looku
> p(Unknown Source)
>  at 
> org.apache.avalon.excalibur.component.ExcaliburComponentManager.looku
> p(Unknown Source)
>  at 
> org.apache.cocoon.sitemap.AbstractSitemap.compose(AbstractSitemap.jav
> a:122)
> 
> ***
> 
> Has anyone else seen this? I've never successfully run any Cocoon2 build 
> on my Linux Box with any version of Catalina. Getting kinda frustrating. 
> Any ideas will be welcome.
> 
> 
> Lajos Moczar
> galatea.com
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 


--
Sergio Carvalho
---
[EMAIL PROTECTED]

If at first you don't succeed, skydiving is not for you

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Documentation of sitemap syntax, XSP-Logicsheets and configuring for actions

2001-09-25 Thread Arno Illmann

Dear Cocoon Users and Developers, 

Ahead I beg your pardon for my germlish. Following a few questions about sitemap 
syntax, XSP-Logicsheets and configuring for actions. I think these questions are a 
good example for the questions of a c2 idiot v0.2RC1 0:) . The answers should be added 
in the below mentioned documentations and what I can do is mailing it to Jeremy Aston 
and his "The Cocoon Two Idiots Guide" at http://www.pigbite.co.uk/ctwig/ .

1) Where to find additional detailed syntax and usage of sitemap tags?

A few days ago I tried to put out i.e. a HTML head with caching information, but it 
doesn't do it (was not parsed or outputted). I found some snippets on this mailing 
list. My test was (map:aggregate did it):


http://lokalzumhost/arnoillmann";>
 http://lokalzumhost/arno"/>
 http://lokalzumhost/illmann"/>



  
  
  

  


The very helpful overview/documentation v1.0 from Berin Loritsch (to find in thread 
"cocoon 2 tutorial") or the profound documentation on the Cocoon 2 Site about sitemap 
tags don't provide this information.

2) A next question is about the (deprecated?) built-in XSP logicsheets, i.e 
response.xsl (\src\org\apache\cocoon\components\language\markup\xsp\java\request.xsl) 
or util.xsl. 
I know, i should work with actions in the sitemap, but where can I find the 
corresponding elements in c2?

3) Why is the request taglib in use and the response taglib not, respectivly is an 
action set defined for i.e HTTP reguest and where to find those in the cocoon code 
base. Respectivly can someone give an overview of the contents  and a 
what-to-do-with-it (beside building a war file) of these folders in 
\src\org\apache\cocoon\:

\acting\
\components\browser\
\components\language\markup\sitemap\java\
\components\language\markup\xsp\
\components\language\markup\
\environment\http\
\environment\wrapper\
\environment\
\selection\
\sitemap\


Concerning Carsten Ziegelers mail in thread "Apache Cocoon 2 RC Release" [ ... The 
schedule for the final version of Cocoon 2 is estimated at 4-6 weeks from today. This 
heavily depends on the feedback of the current Cocoon 2 users. We expect that the 
changes between the release candidate and the final version only concern documentation 
updates. But this is a very difficult and time consuming task. ...] I will post this 
to cocoon-dev too. I hope this is o.k. and constructive. If it's the wrong place for 
documentation feedback, let me know.

Thanks in advance and congratulations and many thanks to the C2 developer team for 
releasing RC1!

Best regards, Arno Illmann

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: jikes compiler

2001-09-25 Thread Henrik Hofmann



-Original Message-
From: Andrew Answer [mailto:[EMAIL PROTECTED]] 
Sent: Dienstag, 25. September 2001 13:27
To: [EMAIL PROTECTED]
Subject: jikes compiler

Hello cocoon-users,

  how to use IBM jikes compiler instead of javac?
cocoon.xconf:

 not work.
[ java.lang.ClassNotFoundException: Jikes ]

-- 

I think you need to enter the absolute class name (containing the
package information)

I haven't work with Jikes but as you say it's from IBM It should be
something like 

You'll find out which path to insert by looking into your jar file
containing Jikes. You need to insert every embedded directory separated
by a dot.

In the above example Jikes would be under com --> ibm --> somethingelse
--> Jikes

bye


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: ctwig update

2001-09-25 Thread Gritsenko

Thank You Jeremy!

Viktor
- Original Message -
From: "Jeremy Aston" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 24, 2001 10:30 PM
Subject: ctwig update


> Just a quick note to advise that cTwIG - the C2 Idiots Guide - has been
> converted from raw HTML to xdocs format.  The result of this is that the
url
> has slightly changed to http://www.pigbite.co.uk/ctwig/index.html.
> index.htm will continue to work but please update any links/favorites as
> this might change at anytime.
>
> I am also about to test the install process against RC1 and add in some
> examples for basic XSP and XSP/Logicsheet processing.
>
> Several people have provided comments on the content.  I will update these
> this week and post as I go along.  I also have had several people offering
> to add content.  This is great and just what I was hoping for.  In line
with
> the work I have done on xdocs it would be really useful if any content was
> supplied in that format however if it comes in HTML, MS Word etc etc I
will
> aim to convert it.  I will add this info to the site this week as well.
>
> Thanks for your support and comments so far!
>
> Regards
>
> Jeremy
>
>
> _
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
>
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Newbie Question (Static HTML from Cocoon2)

2001-09-25 Thread Arno Illmann

Oh. Yes. I hit the wrong button! .-) Arno

giacomo schrieb:
> 
> On Mon, 24 Sep 2001, Arno Illmann wrote:
> 
> Arno
> 
> Please post in english or in private.
> 
> TIA
> 
> Giacomo
> 
> > oder z.B mit Webcopier (mein favorite, ist auch freeware) oder noch anderen 
>"offline browsern".  Aber warum eine static version ?
> >
> > mfg, Arno
> >
> > Sebastian Mäder schrieb:
> > >
> > > Hi there,
> > >
> > > my name is sebastian and im a trainee on a company in Gemany. Im was
> > > building a website with xhtml and cocoon2 ..
> > >
> > > Now my big boss said to me, that i have to build a "STATIC HTML VERSION" of
> > > my cocoon site, and I don't know how I can do this.
> > > The only way I know is, to save from Browser, but that's not the way.
> > >
> > > Are there any instructions for the sitemap.xmap or a batch file, which
> > > generated this static version ??
> > > I will hope you can help me. How can I get this information?
> > >
> > > THX
> > >
> > > Sebastian
> > >
> > > -
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. 
> > >
> > > 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. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>

-- 
Arno Illmann
Uerdinger Str. 22
47799 Krefeld
02151/601142
[EMAIL PROTECTED]

-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




jikes compiler

2001-09-25 Thread Andrew Answer

Hello cocoon-users,

  how to use IBM jikes compiler instead of javac?
cocoon.xconf:

 not work.
[ java.lang.ClassNotFoundException: Jikes ]

-- 
Best regards,
 Andrew  mailto:[EMAIL PROTECTED]


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




non-existing -src and sitemap-recompilation

2001-09-25 Thread Jörg Heinicke

Hi,

we have a problem with our sitemap(s) here. We are working with one central 
cocoon2b2-version and for anyone a sub-sitemap and for anyone and any 
project a sub-sub-sitemap. Adding a non-existing -src causes an error

java.lang.ClassNotFoundException: org.apache.test

of course. The problem is after deleting this -entry in the 
sitemap. The recompilation of the sitemap fails with the same error-message. 
   Renaming the action won't work too.
A consciously provoked error like missing end-tag will be detected and I get 
another error message. But when I correct this I will get the 
ClassNotFoundException again though there is nothing more written in the 
sitemap about the .

In every parent-sitemap the mounts have the attributes:

check-reload="yes" reload-method="synchron"

How can we solve the problem without root-access and restarting tomcat or 
deleting work-directory?

Joerg


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: cocoon 2 and tomcat 4

2001-09-25 Thread Christofer Dutz

I am encoutering the exactly same problem. When running the combination
Tomcat-4.0 Cocoon2.0rc2 I get the same error messages. Even after changing
jaxp.jar and crimson.jar. Do I have to change anything else ?

Regards,
Christofer Dutz



- Original Message -
From: "Morrison, John" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 25, 2001 9:40 AM
Subject: RE: cocoon 2 and tomcat 4


> The reason is to do with the following message:
>
> >On Mon, 24 Sep 2001, Glenn Nielsen wrote:
> >
> >> Date: Mon, 24 Sep 2001 07:33:01 -0500
> >> From: Glenn Nielsen <[EMAIL PROTECTED]>
> >> Reply-To: [EMAIL PROTECTED]
> >> To: [EMAIL PROTECTED]
> >> Subject: Tomcat 4 jaxp.jar and crimson.jar now in common/lib ?
> >>
> >> In the catalina/build.xml version 1.60 commit the location of jaxp.jar
> >> and crimson.jar was changed from server/lib to common/lib.  Was this
> >> change intended or inadvertant?
> >>
> >
> >The change was intentional.
> >
> >Many servlet containers (and all J2EE platforms) expose an XML parser to
> >web applications by default, so that they don't have to include one in
> >/WEB-INF/lib.  Tomcat 4.0 was different in that respect, which caused
lots
> >of install questions.
> >
> >That being said, there is an outstanding conflict with the new mechanism
> >when the webapp really does include Xerces.  An upcoming 4.0.1 release
> >(release plan/vote will be presented soon) will deal with this -- either
> >by fixing the underlying problem (if possible) or telling people how to
> >deal with it in the Release Notes.
> >
> >> Regards,
> >>
> >> Glenn
> >>
> >
> >Craig
> >
>
> The solution is to replace the jaxp.jar and crimson.jar in common/lib with
> the version of xerces and xalan which come with Cocoon2.
>
> Regards,
>
> J.
>
> > -Original Message-
> > From: Wes Morgan [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, 25 September 2001 3:40 am
> > To: [EMAIL PROTECTED]
> > Subject: Re: cocoon 2 and tomcat 4
> >
> >
> > I am getting the same error on a clean install of both Tomcat
> > 4.0 final
> > and Cocoon 2.0rc1. I am running Debian GNU/Linux with IBM JDK 1.3. My
> > CLASSPATH is also empty when compiling cocoon.war. Any help would be
> > greatly appreciated.
> >
> > Wes Morgan
> >
> > Ed Nixon wrote:
> >
> > > At 08:02 PM 24/09/2001 -0400, Vadim Gritsenko wrote:
> > >
> > >> Work just fine if followed instructions in install.html document.
> > >> Make sure you do have empty CLASSPATH when building cocoon.war.
> > >>
> > >> Vadim
> > >
> > >
> > > Thanks, Vadim. I've read the Install file many times; followed the
> > > instructions therein *and* blanked out my CLASSPATH as you suggest
> > > while compiling cocoon.war. I get the same exception as
> > always when I
> > > first try to run the cocoon context. Here is the description:
> > >
> > > org.apache.cocoon.ProcessingException: Exception in Handler:
> > > org.apache.avalon.framework.component.ComponentException: Could not
> > > set up Component for hint: org\apache\cocoon\www\sitemap_xmap
> > >
> > > I wish I could say this even raised a hint of what to look
> > for but it
> > > doesn't.
> > >
> > > Any other suggestions would be very helpful.
> > > Thanks. ...edN
> > >
> > >> > -Original Message-
> > >> > From: Ed Nixon [mailto:[EMAIL PROTECTED]]
> > >> > Sent: Monday, September 24, 2001 6:53 PM
> > >> > To: [EMAIL PROTECTED]
> > >> > Subject: cocoon 2 and tomcat 4
> > >> >
> > >> >
> > >> > Is there a combination of cocoon version 2 and tomcat 4
> > that works? On
> > >> > Win2K with JVM /JRE 1.3.1?
> > >> >
> > >> > I've spent the day trying a number of options:
> > >> > 1. tomcat4 win install as service with cocoon2 rc1
> > >> > 2. tomcat4 zip in console with cocoon2 rc1 and b2
> > >> > 3. tomcat323 in console with cocoon 2 rc1
> > >> >
> > >> > The tomcat 4 win install release code with cocoon2 rc1
> > causes cocoon to
> > >> > generate an exception concerning sitemap configuration
> > failure. I can
> > >> > provide more detailed information if this is actually
> > news to the list;
> > >> > please let me know.
> > >> >
> > >> > However, I'd just like to get something working. At least until
> > >> Cocoon2 is
> > >> > released in final form (whenever that is.)
> > >> >
> > >> > Thanks for your help....edN
> > >
> > >
> > >
> > >
> > >
> > >
> > -
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. 
> > >
> > > 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. 
> >
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional c

AW: [Announcement] Apache Cocoon 2 RC Release

2001-09-25 Thread Carsten Ziegeler

Hi,

delete your work directory before restarting the servlet
engine and it should work.

I just uploaded a new distribution of Cocoon2 which
should not have these problems anymore.

Carsten

> -Ursprungliche Nachricht-
> Von: Henrik Hofmann [mailto:[EMAIL PROTECTED]]
> Gesendet: Dienstag, 25. September 2001 12:00
> An: [EMAIL PROTECTED]
> Betreff: RE: [Announcement] Apache Cocoon 2 RC Release
> 
> 
> 
> 
> -Original Message-
> From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] 
> Sent: Montag, 24. September 2001 17:52
> To: [EMAIL PROTECTED]
> Subject: AW: [Announcement] Apache Cocoon 2 RC Release
> 
> Hi Jose,
> 
> you compiled cocoon 2 with the javax.naming package available,
> which results in including the LDAPTransformer into the webapp.
> But the package is not included in the WEB-INF/libs directory.
> So you can either:
> - recompile c2 without access to the package
> - remove the line for the LDAPTransformer from the sitemap.xmap file
> - Add a jar containing these packages to the WEB-INF/libs dir.
> 
> HTH
> 
> Carsten
> 
> Hi Carsten,
> 
> I had the same problem. After putting the jar into Web-inf/lib directory
> it worked.
> 
> On the other hand removing the LDAP Transformer from the sitemap.xmap
> doesn't work. When removing the line from sitemap the Classloader error
> disappears but a new Error message occurs. Cocoon told me now that there
> are no more DTM IDs available (I don't have any idea what this is).
> 
> bye 
> 
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: [Announcement] Apache Cocoon 2 RC Release

2001-09-25 Thread Henrik Hofmann



-Original Message-
From: Carsten Ziegeler [mailto:[EMAIL PROTECTED]] 
Sent: Montag, 24. September 2001 17:52
To: [EMAIL PROTECTED]
Subject: AW: [Announcement] Apache Cocoon 2 RC Release

Hi Jose,

you compiled cocoon 2 with the javax.naming package available,
which results in including the LDAPTransformer into the webapp.
But the package is not included in the WEB-INF/libs directory.
So you can either:
- recompile c2 without access to the package
- remove the line for the LDAPTransformer from the sitemap.xmap file
- Add a jar containing these packages to the WEB-INF/libs dir.

HTH

Carsten

Hi Carsten,

I had the same problem. After putting the jar into Web-inf/lib directory
it worked.

On the other hand removing the LDAP Transformer from the sitemap.xmap
doesn't work. When removing the line from sitemap the Classloader error
disappears but a new Error message occurs. Cocoon told me now that there
are no more DTM IDs available (I don't have any idea what this is).

bye 


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: cocoon 2 and tomcat 4

2001-09-25 Thread Tobias Luikard

Ups sorry. But I was wrong. With CocoonRC and Tomcat 3.2.3. the same error occures
like with Tomcat 4

By

Tobi

Tobias Luikard wrote:

> Hi,
>
> I downloaded Cocoon RC 1 and Tomcat 4.0 final. There the same happens to me. It
> tried all cominations
>
> With Tomcat 4 I got allways the message:
>
> org.apache.cocoon.ProcessingException: Exception in Handler:
> org.apache.avalon.framework.component.ComponentException: Could not set up
> Component for hint: org\apache\cocoon\www\sitemap_xmap
>
> To run Cocoon2RC on Tomcat 3.2.3 I had to change the xerces_X_X_X.jar then it
> worked.
>
> Any hints for Tomcat 4??
>
> Thanks
>
> Tobi
>
> Wes Morgan wrote:
>
> > I am getting the same error on a clean install of both Tomcat 4.0 final
> > and Cocoon 2.0rc1. I am running Debian GNU/Linux with IBM JDK 1.3. My
> > CLASSPATH is also empty when compiling cocoon.war. Any help would be
> > greatly appreciated.
> >
> > Wes Morgan
> >
> > Ed Nixon wrote:
> >
> > > At 08:02 PM 24/09/2001 -0400, Vadim Gritsenko wrote:
> > >
> > >> Work just fine if followed instructions in install.html document.
> > >> Make sure you do have empty CLASSPATH when building cocoon.war.
> > >>
> > >> Vadim
> > >
> > >
> > > Thanks, Vadim. I've read the Install file many times; followed the
> > > instructions therein *and* blanked out my CLASSPATH as you suggest
> > > while compiling cocoon.war. I get the same exception as always when I
> > > first try to run the cocoon context. Here is the description:
> > >
> > > org.apache.cocoon.ProcessingException: Exception in Handler:
> > > org.apache.avalon.framework.component.ComponentException: Could not
> > > set up Component for hint: org\apache\cocoon\www\sitemap_xmap
> > >
> > > I wish I could say this even raised a hint of what to look for but it
> > > doesn't.
> > >
> > > Any other suggestions would be very helpful.
> > > Thanks. ...edN
> > >
> > >> > -Original Message-
> > >> > From: Ed Nixon [mailto:[EMAIL PROTECTED]]
> > >> > Sent: Monday, September 24, 2001 6:53 PM
> > >> > To: [EMAIL PROTECTED]
> > >> > Subject: cocoon 2 and tomcat 4
> > >> >
> > >> >
> > >> > Is there a combination of cocoon version 2 and tomcat 4 that works? On
> > >> > Win2K with JVM /JRE 1.3.1?
> > >> >
> > >> > I've spent the day trying a number of options:
> > >> > 1. tomcat4 win install as service with cocoon2 rc1
> > >> > 2. tomcat4 zip in console with cocoon2 rc1 and b2
> > >> > 3. tomcat323 in console with cocoon 2 rc1
> > >> >
> > >> > The tomcat 4 win install release code with cocoon2 rc1 causes cocoon to
> > >> > generate an exception concerning sitemap configuration failure. I can
> > >> > provide more detailed information if this is actually news to the list;
> > >> > please let me know.
> > >> >
> > >> > However, I'd just like to get something working. At least until
> > >> Cocoon2 is
> > >> > released in final form (whenever that is.)
> > >> >
> > >> > Thanks for your help....edN
> > >
> > >
> > >
> > >
> > >
> > > -
> > > Please check that your question has not already been answered in the
> > > FAQ before posting. 
> > >
> > > 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. 
> >
> > 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. 
>
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: cocoon 2 and tomcat 4

2001-09-25 Thread Tobias Luikard

Hi,

I downloaded Cocoon RC 1 and Tomcat 4.0 final. There the same happens to me. It
tried all cominations

With Tomcat 4 I got allways the message:

org.apache.cocoon.ProcessingException: Exception in Handler:
org.apache.avalon.framework.component.ComponentException: Could not set up
Component for hint: org\apache\cocoon\www\sitemap_xmap

To run Cocoon2RC on Tomcat 3.2.3 I had to change the xerces_X_X_X.jar then it
worked.

Any hints for Tomcat 4??

Thanks

Tobi


Wes Morgan wrote:

> I am getting the same error on a clean install of both Tomcat 4.0 final
> and Cocoon 2.0rc1. I am running Debian GNU/Linux with IBM JDK 1.3. My
> CLASSPATH is also empty when compiling cocoon.war. Any help would be
> greatly appreciated.
>
> Wes Morgan
>
> Ed Nixon wrote:
>
> > At 08:02 PM 24/09/2001 -0400, Vadim Gritsenko wrote:
> >
> >> Work just fine if followed instructions in install.html document.
> >> Make sure you do have empty CLASSPATH when building cocoon.war.
> >>
> >> Vadim
> >
> >
> > Thanks, Vadim. I've read the Install file many times; followed the
> > instructions therein *and* blanked out my CLASSPATH as you suggest
> > while compiling cocoon.war. I get the same exception as always when I
> > first try to run the cocoon context. Here is the description:
> >
> > org.apache.cocoon.ProcessingException: Exception in Handler:
> > org.apache.avalon.framework.component.ComponentException: Could not
> > set up Component for hint: org\apache\cocoon\www\sitemap_xmap
> >
> > I wish I could say this even raised a hint of what to look for but it
> > doesn't.
> >
> > Any other suggestions would be very helpful.
> > Thanks. ...edN
> >
> >> > -Original Message-
> >> > From: Ed Nixon [mailto:[EMAIL PROTECTED]]
> >> > Sent: Monday, September 24, 2001 6:53 PM
> >> > To: [EMAIL PROTECTED]
> >> > Subject: cocoon 2 and tomcat 4
> >> >
> >> >
> >> > Is there a combination of cocoon version 2 and tomcat 4 that works? On
> >> > Win2K with JVM /JRE 1.3.1?
> >> >
> >> > I've spent the day trying a number of options:
> >> > 1. tomcat4 win install as service with cocoon2 rc1
> >> > 2. tomcat4 zip in console with cocoon2 rc1 and b2
> >> > 3. tomcat323 in console with cocoon 2 rc1
> >> >
> >> > The tomcat 4 win install release code with cocoon2 rc1 causes cocoon to
> >> > generate an exception concerning sitemap configuration failure. I can
> >> > provide more detailed information if this is actually news to the list;
> >> > please let me know.
> >> >
> >> > However, I'd just like to get something working. At least until
> >> Cocoon2 is
> >> > released in final form (whenever that is.)
> >> >
> >> > Thanks for your help....edN
> >
> >
> >
> >
> >
> > -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> >
> > 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. 
>
> 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. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: cocoon 2 and tomcat 4

2001-09-25 Thread Morrison, John

The reason is to do with the following message:

>On Mon, 24 Sep 2001, Glenn Nielsen wrote:
>
>> Date: Mon, 24 Sep 2001 07:33:01 -0500
>> From: Glenn Nielsen <[EMAIL PROTECTED]>
>> Reply-To: [EMAIL PROTECTED]
>> To: [EMAIL PROTECTED]
>> Subject: Tomcat 4 jaxp.jar and crimson.jar now in common/lib ?
>>
>> In the catalina/build.xml version 1.60 commit the location of jaxp.jar
>> and crimson.jar was changed from server/lib to common/lib.  Was this
>> change intended or inadvertant?
>>
>
>The change was intentional.
>
>Many servlet containers (and all J2EE platforms) expose an XML parser to
>web applications by default, so that they don't have to include one in
>/WEB-INF/lib.  Tomcat 4.0 was different in that respect, which caused lots
>of install questions.
>
>That being said, there is an outstanding conflict with the new mechanism
>when the webapp really does include Xerces.  An upcoming 4.0.1 release
>(release plan/vote will be presented soon) will deal with this -- either
>by fixing the underlying problem (if possible) or telling people how to
>deal with it in the Release Notes.
>
>> Regards,
>>
>> Glenn
>>
>
>Craig
>

The solution is to replace the jaxp.jar and crimson.jar in common/lib with
the version of xerces and xalan which come with Cocoon2.

Regards,

J.

> -Original Message-
> From: Wes Morgan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 25 September 2001 3:40 am
> To: [EMAIL PROTECTED]
> Subject: Re: cocoon 2 and tomcat 4
> 
> 
> I am getting the same error on a clean install of both Tomcat 
> 4.0 final 
> and Cocoon 2.0rc1. I am running Debian GNU/Linux with IBM JDK 1.3. My 
> CLASSPATH is also empty when compiling cocoon.war. Any help would be 
> greatly appreciated.
> 
> Wes Morgan
> 
> Ed Nixon wrote:
> 
> > At 08:02 PM 24/09/2001 -0400, Vadim Gritsenko wrote:
> >
> >> Work just fine if followed instructions in install.html document.
> >> Make sure you do have empty CLASSPATH when building cocoon.war.
> >>
> >> Vadim
> >
> >
> > Thanks, Vadim. I've read the Install file many times; followed the 
> > instructions therein *and* blanked out my CLASSPATH as you suggest 
> > while compiling cocoon.war. I get the same exception as 
> always when I 
> > first try to run the cocoon context. Here is the description:
> >
> > org.apache.cocoon.ProcessingException: Exception in Handler: 
> > org.apache.avalon.framework.component.ComponentException: Could not 
> > set up Component for hint: org\apache\cocoon\www\sitemap_xmap
> >
> > I wish I could say this even raised a hint of what to look 
> for but it 
> > doesn't.
> >
> > Any other suggestions would be very helpful. 
> > Thanks. ...edN
> >
> >> > -Original Message-
> >> > From: Ed Nixon [mailto:[EMAIL PROTECTED]]
> >> > Sent: Monday, September 24, 2001 6:53 PM
> >> > To: [EMAIL PROTECTED]
> >> > Subject: cocoon 2 and tomcat 4
> >> >
> >> >
> >> > Is there a combination of cocoon version 2 and tomcat 4 
> that works? On
> >> > Win2K with JVM /JRE 1.3.1?
> >> >
> >> > I've spent the day trying a number of options:
> >> > 1. tomcat4 win install as service with cocoon2 rc1
> >> > 2. tomcat4 zip in console with cocoon2 rc1 and b2
> >> > 3. tomcat323 in console with cocoon 2 rc1
> >> >
> >> > The tomcat 4 win install release code with cocoon2 rc1 
> causes cocoon to
> >> > generate an exception concerning sitemap configuration 
> failure. I can
> >> > provide more detailed information if this is actually 
> news to the list;
> >> > please let me know.
> >> >
> >> > However, I'd just like to get something working. At least until 
> >> Cocoon2 is
> >> > released in final form (whenever that is.)
> >> >
> >> > Thanks for your help....edN
> >
> >
> >
> >
> >
> > 
> -
> > Please check that your question has not already been answered in the
> > FAQ before posting. 
> >
> > 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. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 


===
Information in this email and any attachments are confidential, and may
not be copied or used by anyone other than the addressee, nor disclosed
to any third party without our permission.  There is no intention to
create any legally binding contract or other commitment through the use
of this email.

Experian Limited (registration number 653331).  
Registered office: Talbot House, Talbot Street, Nottingham NG1 5HF

-
Please check that your question has not already been