Re: [C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Carlos Araya
First thing to check is whether Batik is running. If it is and you get that error, then it might be Batik. Look at the solution proposed on http://xml.apache.org/cocoon/installing/index.html and scroll down until you find headles/linux/batik It's been known to work with Tomcat 4 but it may very w

No such Method

2001-12-12 Thread Aguirre, Carlos (C.)
hi, i get this error when i try to start Tomcat 3.2.4 2001-12-12 14:46:47 - ContextManager: Adding context Ctx( /myapp ) 2001-12-12 14:46:47 - ContextManager: Adding context Ctx( /examples ) 2001-12-12 14:46:47 - ContextManager: Adding context Ctx( /cocoon ) Exception in thread "main" java.lang.

[C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Christian Joelly
Hello! i want to run C2 on Debian unstable w/ tomcat 3.3-2 and j2sdk1.3 but run into troubles w/ the sitemap. i have carefully read all related threads on the mailarchive, installed the Xvfb in the cocoonhost because many ppl have reported that this should be a solution to this problem. Unfortuna

No such

2001-12-12 Thread Aguirre, Carlos (C.)
Hi all, im new in this, when i try to run Tomcat i get this error. Exception in thread "main" java.lang.NoSuchMethodError at org.apache.avalon.framework.configuration.DefaultConfigurationBuilder .(DefaultConfigurationBuilder.java:38) at org.apache.cocoon.servlet.CocoonServlet.initL

Re: NoSuchMethodError at...components.browser.BrowserImpl.createDocument...

2001-12-12 Thread Arnaud Vandyck
arnaud wrote: > Hi all, > > Don't know why my cocoon won't run anymore?! > > ERROR (2001-12-12) 14:38.34:821 [cocoon ] (/cocoon/) Thread-20/Handler: Error >compiling sitemap > java.lang.NoSuchMethodError > at >org.apache.cocoon.components.browser.BrowserImpl.createDocumentForBrowse

Re: [Best Practices] Initial request

2001-12-12 Thread David Rosenstrauch
Great idea Carlos! I've definitely got some input for you. Will email you as soon as I get a spare minute. DR At 08:05 AM 12/12/01 -0800, you wrote: >Good morning: > >I am working on putting together a document about Cocoon's best practices >and am soliciting your help. I'd like to know: > >

passing sitemap parameters inside of a pipeline

2001-12-12 Thread Marie Brandt
>Date: Tue, 11 Dec 2001 17:07:54 -0800 >To: [EMAIL PROTECTED] >From: Marie Brandt <[EMAIL PROTECTED]> >Subject: passing sitemap parameters inside of a pipeline > >I am attempting to use an XSP page generator to setup a sitemap parameter >which will then be used in the xslt tranformer statement t

Re: [Serializer] Get request and parameters?

2001-12-12 Thread David Rosenstrauch
It doesn't look like it to me. FYI - one workaround that I've used for this is to stick an Action right before the serializer. The action gets passed the objectModel (which contains the request object) and can therefore do the work you want. e.g.: DR At 11:00 AM 12/12/01 +0100, you

RE: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-12 Thread David Rosenstrauch
Ah, but that's the rub. It's only invoked in one place in the Java code, and yet it gets called twice. Cocoon itself is calling this pipeline twice, for some reason, and I have no idea why. Thanks for the msg, though. DR At 10:04 AM 12/12/01 +0100, you wrote: >David, > >I think what Mitch

Re: [C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Carlos Araya
Chris: Try deleting the cocoon directory (Not the .war file!) restart tomcat and wait about 15 to 20 seconds before accessing the directory. That has worked for me Carlos On 12/12/01 8:43 AM, "Christian Joelly" <[EMAIL PROTECTED]> wrote: > Hello! > > On Wed, Dec 12, 2001 at 03:48:43PM +0100,

Re: [C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Christian Joelly
Hello! On Wed, Dec 12, 2001 at 03:48:43PM +0100, Christian Schmitt wrote: > If so, are all necessary *.jar file in $TOMCAT_HOME/webapps/cocoon/WEB-INF/lib ? > Because form the error message it looks like you're missing xml-apis.jar. i have downloaded the cocoon-2.0-bin.tgz from the website now a

RE: [C2rc2] handle-errors not working

2001-12-12 Thread Hope Sean
Thanks to both of you! Upgrading to 2.0 release solved the blank page problem. -Original Message- From: Carlos Araya [mailto:[EMAIL PROTECTED]] Sent: 12 December 2001 15:59 To: [EMAIL PROTECTED] Subject: Re: [C2rc2] handle-errors not working Sean: Cocoon 2 went final. Have you tried

Re: [Best Practices] Initial request

2001-12-12 Thread DOD
Sounds like a fantastic idea (and a massive undertaking). Hopefully you'll keep us abreast of your progress. Regards, DOD - Please check that your question has not already been answered in the FAQ before posting.

[Best Practices] Initial request

2001-12-12 Thread Carlos Araya
Good morning: I am working on putting together a document about Cocoon's best practices and am soliciting your help. I'd like to know: * What has worked for you when using Cocoon? * Do you have any tip or trick to make Cocoon work better/faster * What has your experience been with Cocoon and wha

Re: [C2rc2] handle-errors not working

2001-12-12 Thread Carlos Araya
Sean: Cocoon 2 went final. Have you tried the final release version? Carlos On 12/12/01 2:41 AM, "Hope Sean" <[EMAIL PROTECTED]> wrote: > Hi, > > I am running C2rc2 on Tomcat 3.2.3. When I request a non-existent page such > as http://localhost:8080/cocoon/doesnotexists I get an HTTP/1.0 404 N

Re: Recursive sub sitemaps

2001-12-12 Thread Hubert NEOtyk Iwaniuk
On Wed, Dec 12, 2001 at 04:15:41PM +0100, Arnaud Vandyck wrote: > Is it possible to mount sub sitemaps recursively? > > I mean: > > /cocoon/sitemap.xmap (mount sub) > /cocoon/sub/sitemap.xmap (mount undersub) subsitemap is sitemap as well so it can have subsitemaps. > /cocoon/sub/undersub/sit

Re: [C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Christian Joelly
On Wed, Dec 12, 2001 at 03:48:43PM +0100, Christian Schmitt wrote: > On Wed, Dec 12, 2001 at 02:40:56PM +0100, Christian Joelly wrote: > > > DEBUG 73680 [cocoon ] (Thread-4): Beginning sitemap regeneration > > DEBUG 73680 [cocoon ] (Thread-4): Making URL from >file:/var/lib/tomcat/weba

Recursive sub sitemaps

2001-12-12 Thread Arnaud Vandyck
Is it possible to mount sub sitemaps recursively? I mean: /cocoon/sitemap.xmap (mount sub) /cocoon/sub/sitemap.xmap (mount undersub) /cocoon/sub/undersub/sitemap.xmap and so on... -- Arnaud, STE-Formations Informatiques, fapse, ULg, .BE --

NoSuchMethodError at...components.browser.BrowserImpl.createDocument...

2001-12-12 Thread Arnaud Vandyck
Hi all, Don't know why my cocoon won't run anymore?! ERROR (2001-12-12) 14:38.34:821 [cocoon ] (/cocoon/) Thread-20/Handler: Error compiling sitemap java.lang.NoSuchMethodError at org.apache.cocoon.components.browser.BrowserImpl.createDocumentForBrowserInfo(BrowserImpl.java:379)

Re: simple href link

2001-12-12 Thread Joerg Heinicke
http://localhost:8080/cocoon/showuser?username={result-id}";>test Henrik Hofmann wrote: >> http://localhost:8080/cocoon/showuser?username=testuser >> > > Hi, > To get the Link you need to use > > It should look like this > >name="href">http://localhost:8080/cocoon/showuser?username

RE: simple href link

2001-12-12 Thread Henrik Hofmann
> http://localhost:8080/cocoon/showuser?username=testuser Hi, To get the Link you need to use It should look like this http://localhost:8080/cocoon/showuser?username= Hope this helps. bye

Re: [C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Christian Schmitt
On Wed, Dec 12, 2001 at 02:40:56PM +0100, Christian Joelly wrote: > > Chris > > -- > KNAPP Logistics Automation http://www.knapp.com > Ing. Christian JöllyTel/FAX: (++43) 316 / 495 1926 / 495 394 > Günter-Knapp-Straße 5-7 A-8075 Hart bei Graz > > DEBUG 73680 [cocoon ] (Th

Velocity

2001-12-12 Thread Andy Eltis
Hi all I'm trying to use Velocity in Cocoon 2. I would like to add objects to the VelocityContext without having to change the VelocityGenerator class (where I can add them explicitly, I know). >From what I understand reading the doc I should be able to declare the object (Menu) >in the sitem

Re: C2 file upload problem

2001-12-12 Thread tek
Seems I have to describe the problem once again: Uploading a file with the cocoon2 upload-example seems to work ok. The uploaded file appears in the file-list. But when you look closer, you notice, that uploaded file is empty (only containing some information about the original file type, lik

RE: simple href link

2001-12-12 Thread Karl Oie
test.html sometarget mvh karl oie -Original Message- From: rgi [mailto:[EMAIL PROTECTED]] Sent: 12. desember 2001 14:49 To: [EMAIL PROTECTED] Subject: simple href link Hello cocoon-users, I have a easy problem...! I want to make a link with parameter in

simple href link

2001-12-12 Thread rgi
Hello cocoon-users, I have a easy problem...! I want to make a link with parameter in the url. I read some data from a database (user with diffrent usernames). Now I want to make links to a other xsp page and the username should be in the query. e.g. http://localhost:8080/cocoon/showuse

[C2] The sitemap handler's sitemap is not available

2001-12-12 Thread Christian Joelly
Hello! i want to run C2 on Debian unstable w/ tomcat 3.3-2 and j2sdk1.3 but run into troubles w/ the sitemap. i have carefully read all related threads on the mailarchive, installed the Xvfb in the cocoonhost because many ppl have reported that this should be a solution to this problem. Unfortuna

RE: urgent encoding problem...

2001-12-12 Thread Karl Øie
erm... that code snipple was from the XMLSerializer, not the HTMLSerializer as i wrote, but the approach should be the same.. sorry!   mvh karl øie -Original Message-From: Karl Øie [mailto:[EMAIL PROTECTED]]Sent: 12. desember 2001 13:51To: [EMAIL PROTECTED]; Arun.NSubject: RE

Re: FAQ - How do I hide "cocoon" in the URL

2001-12-12 Thread Bert Van Kets
Now I want to be able to enter the URL "http://www.place.com/index.html" and get back the same result as "http://www.place.com:8080/cocoon/mount/MyWebSite/index.html". I used mod_webapp with great result.  It does exactly what you need makes cocoon active on the root of the site.  Just know that E

RE: urgent encoding problem...

2001-12-12 Thread Karl Øie
the increasing page size does not concern me (:-) because the serializer should write directly to the response.getPrintWriter(). Then again, the serializer does not flush before the end of the page, so users must wait till the page is finished.   when it comes to the missing characters. you

Re: urgent encoding problem...

2001-12-12 Thread Arun.N
 Thank you karl.         I have fixed that problem and i have followed the method which you have said. every thing is being displayed properly but there is still a problem in the source code. if the string contains    ‚±‚¿‚ç‚É–|–óŒã‚Ì•¶Í‚ª•\Ž¦‚³‚ê‚Ü‚·B it is priniting こちらに翻訳後の文章が表示されます

RE: urgent encoding problem...

2001-12-12 Thread Karl Øie
it's not that people don't bother to answer you but a lot of people here don't have any experience with shift-jis encoding. as a Norwegian I have the same problem, non Scandinavians can hardly reproduce problems revolving Scandinavian-characters.   when it comes to your string problem there

Re: urgent encoding problem...

2001-12-12 Thread Arun.N
 Hi all,             First of all i thank everybody for not bothering to reply. I corrected the second and the third problem. If the list is still alive and anyone cares to give me solution for the first problem please do reply. thankx, Arun.N   - Original Message - From:

RE: [Serializer] Get request and parameters?

2001-12-12 Thread Max Larsson
Hi, actually i don't know. I never coded a serialzer, but when i did a Transformer i had a similiar problem and solved it with that method. And there should be a mezthod in a Serialzer so that you can get access to the request object. Maybe its named different. I have no time now to take a deeper

Re: Method Post with ISO 8859-1

2001-12-12 Thread Nicola Ken Barozzi
- Original Message - From: "Sebastian Mäder" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 12:03 PM Subject: Method Post with ISO 8859-1 > Hey Cocooner's ,-) > > We want to use an input field for international character and post the > value of this field

Re: [C2rc2] handle-errors not working

2001-12-12 Thread Nicola Ken Barozzi
- Original Message - From: "Hope Sean" <[EMAIL PROTECTED]> To: "Cocoon-Users (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, December 12, 2001 11:41 AM Subject: [C2rc2] handle-errors not working > Hi, > > I am running C2rc2 on Tomcat 3.2.3. When I request a non-existent page such > as ht

RE: [Serializer] Get request and parameters?

2001-12-12 Thread Stephan Michels
On Wed, 12 Dec 2001, Max Larsson wrote: > hi, > > i think it works, wour class has to implement the avalon interface, > which contains the setup method (see below). if you implement it, the > method will be called each time your Serialzer is used. In the setup method > you can retrieve the requ

Method Post with ISO 8859-1

2001-12-12 Thread Sebastian Mäder
Hey Cocooner's ,-) We want to use an input field for international character and post the value of this field in the next page with method post. We get the value as parameter with xsp:logic get.Parameter etc. But it works only with UTF-8. Hm. 1.) the problem is, that coco

[C2rc2] handle-errors not working

2001-12-12 Thread Hope Sean
Hi, I am running C2rc2 on Tomcat 3.2.3. When I request a non-existent page such as http://localhost:8080/cocoon/doesnotexists I get an HTTP/1.0 404 Not Found response but no page is rendered and the browser (IE5.5) renders a blank page. I thought that my handle-errors section (below) would result

RE: [Serializer] Get request and parameters?

2001-12-12 Thread Max Larsson
hi, i think it works, wour class has to implement the avalon interface, which contains the setup method (see below). if you implement it, the method will be called each time your Serialzer is used. In the setup method you can retrieve the request object the so called ComponentManage. objectModel

[Serializer] Get request and parameters?

2001-12-12 Thread Stephan Michels
Hi, exists a way to get the request and the request parameters in a serialzier? AbstractGenerator and AbstractTransformer implements the interface SitemapModelComponent. If I implement SitemapModelComponent in my serializer it will ignored. And SitemapOutputComponent doesn't implement a method li

Re: starting Xvfb for Cocoon

2001-12-12 Thread Arnaud Vandyck
Cindy Ballreich <[EMAIL PROTECTED]> wrote: > I have a very basic RedHat 7.0 web server (Apache 1.3.20) and I want > to run Cocoon 2.0 with Tomcat 3.3. Apparently, I also need to run > Xvfb in order for Cocoon to work properly. I would very much like to > start Xvfb at boot time along wi

RE: IBM-jdk-1.3 and cocoon2

2001-12-12 Thread Karl Oie
>You might try adding tools.jar to your classpath. I have had to do >that on some platforms with IBM JDKs. i have done that too "-version" on java gives: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0) Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20010626 (JIT enabled:

RE: XSP page getting called TWICE! (was: Pipeline dependencies)

2001-12-12 Thread Nick Entin
David, I think what Mitch meant and I'm not sure you mean the same - you may trace down from which point of sitemap_xmap.java your pipelines are invoked. And as soon you found _two_ places of invocation in java code, you may match them back to your sitemap.xmap (you should see what exactly made y

Re: OT: Transforming EJB data to XML for Cocoon

2001-12-12 Thread Aurelien
I know you've asked this for some time, but I found your post just recently. Well, I am using JBoss/tomcat (catalina)/cocoon2 also, and I've used a very simple scheme so far, but it works great, and could be generalized very easily. Regarding J2EE, I'm akin to using the façade pattern when it

AW: FAQ - How do I hide "cocoon" in the URL

2001-12-12 Thread Reinhard Potz
> -Ursprungliche Nachricht- > Von: Phil Blake [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 12. Dezember 2001 07:34 > An: [EMAIL PROTECTED] > Betreff: Re: FAQ - How do I hide "cocoon" in the URL > > > > What they're referring to in the FAQ is that, by default, all URL's > > con

Re: starting Xvfb for Cocoon

2001-12-12 Thread Aurelien
The cocoon2install docs explain how to get rid of Xvfb when installing with tomcat 4 (it's outa beta, so there's no reason not to us it anymore): in this configuration, you'd use a java implementation of the awt, and what's more, one that's really cross-platform. Guess it works with tomcat 3.3