Dynamic Transformation

2002-01-14 Thread Marc Baumgartner
Hello, I am new to Cocoon. The Framework seems to be very interesting for me. I've looked all the dokumentation but I still have a question: Is ist possbile to define at runtime the stylesheet the xml content should be transformed with? For example for a role management so that i don't have to

Re: Dynamic Transformation

2002-01-14 Thread David BERNARD
Is ist possbile to define at runtime the stylesheet the xml content should be transformed with? Yes, sitemap contains a Map and (key, value) pair can be set (by action). this map can be used to parameter generation (source), stylesheet... For example for a role management so that i don't

RE: Dynamic Transformation

2002-01-14 Thread Luca Morandini
Marc, the answer is yes... and it could be done in a number of different ways: just let me explain one of these ways: map:match name=wildcard pattern=dynamic-*-*-doc.html map:generate type=file src={1}.xml/ map:transform src={2}.xsl/

404 error with Apache-Tomcat-Cocoon

2002-01-14 Thread CalexO
Hi ! I installed Tomcat 4.0.1 working with Apache 1.3.20 thanks to mod_jk Then, I installed Cocoon 2.0 But, when i want to acess to a XML file, i have a 404 error, returned by Tomcat (see at : http://cocoon.calexo.org/xmls/index.xml) Did anyone know the solution (maybe it's a classical

RE: How to call an external Servlet?

2002-01-14 Thread Andreas Hartmann
Hi Lukas, thanks for your answer, but ... [see below] *** REPLY SEPARATOR *** On 14.01.2002 at 11:59 lucas wrote: just type the name of the external servlet in your sitemap pipeline, adding the parameters. in example, if you want to call a servlet called 'outserv' and give

RE: 404 error with Apache-Tomcat-Cocoon

2002-01-14 Thread CalexO
1. Do you have sitemap entry to process your request? What is sitemap entry ? Thanks ! CalexO - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html

Re: from session-attribute to xsl-variable

2002-01-14 Thread Christian Haul
On 13.Jan.2002 -- 09:11 PM, Uwe Stelzer wrote: Hello Cocoon fellows, How can I only copy the content of a session attribute to a xsl variable in my xsl-logicsheet? I have tried this here, but I only get an empty string in $usertype: xsl:variable name=usertypesession:get-attribute

sitemap_xmap

2002-01-14 Thread Robert Yates
Hi, I was wondering if anyone could help me, Ive been set the nightmare task of setting up cocoon 2 on one of our developement boxes and basically after 2 weeks of looking at internal errors i think its fair to say im not getting anywhere :) Its a sun sparc 5 box running solaris (2.) 7, i have

RE: How to call an external Servlet?

2002-01-14 Thread SANSONE, AARON M [Non-Pharmacia/1000]
Andreas, Just a random thought but: I believe that if you use the request-parameter action, you can actually retrieve the query string as a sitemap parameter. Then you could use that string as your GET parameter set (which would forward all parameters that were passed in). Check the source

RE: 404 error with Apache-Tomcat-Cocoon

2002-01-14 Thread Vadim Gritsenko
From: CalexO [mailto:[EMAIL PROTECTED]] 1. Do you have sitemap entry to process your request? What is sitemap entry ? Welcome to Cocoon 2! And I recommend you to start with reading some documentation: http://xml.apache.org/cocoon/userdocs/concepts/index.html

RE: from session-attribute to xsl-variable

2002-01-14 Thread SANSONE, AARON M [Non-Pharmacia/1000]
Uwe, I think what you are looking for is passing request parameters to the stylesheet. To do that you must pass the paramters in the sitemap. For example: map:transform type=xslt src=stylesheets/myStyleSheet.xsl map:parameter name=use-request-parameters value=true/ /map:transform

RE: sitemap_xmap

2002-01-14 Thread Vadim Gritsenko
From: Robert Yates [mailto:[EMAIL PROTECTED]] Hi, I was wondering if anyone could help me, Ive been set the nightmare task of setting up cocoon 2 on one of our developement boxes and basically after 2 weeks of looking at internal errors i think its fair to say im not getting anywhere

RE: How to call an external Servlet?

2002-01-14 Thread Andreas Hartmann
Hi Aaron, *** REPLY SEPARATOR *** On 14.01.2002 at 09:37 SANSONE, AARON M [Non-Pharmacia/1000] wrote: Andreas, Just a random thought but: I believe that if you use the request-parameter action, you can actually retrieve the query string as a sitemap parameter. Then you

Re: sitemap_xmap

2002-01-14 Thread Robert
ah.. .. back to the drawing board then. thx, Rob. IIRC, Cocoon requires Tomcat 3.2+ http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=99729793803377w=2 Vadim - Please check that your question has not already

Bugs in Hello World action example

2002-01-14 Thread Miller, Grant
Hi, I've been having problems getting actions to work. This turns out to be because there are a couple of mistakes in the hello world example in the documentation: 1) Docs say define action as follows: map:actions map:action name=hello-world class=test.HelloWorldAction/ /map:actions The

Tools with Cocoon

2002-01-14 Thread Matthew Langham
Hi, we are currently evaluating various tools for use in Cocoon projects (such as XML/XSL editors). Any suggestions from this list for good tools that enhance the Cocoon experience? To start the ball rolling: We are using XMetal to author documentation using the journalist.dtd we then serve

Installling Apache 1.3.22 + Tomcat 3.3 + Cocoon 1.8.2

2002-01-14 Thread Roman Medina
Hi all: I have to install the following system: Apache 1.3.22 + Tomcat 3.3 + Cocoon 1.8.2. I'm not a java programmer so the app that needs to be run in this box is a black box for me and I don't necessary have to know about java classes, etc So I usually mess-up with those java terms.

cocoon 1 issue

2002-01-14 Thread Dwayne Kemp
I am using cocoon 1 and it seems at a certain point in time after editing an xml file a number of times, the file gets edited but it does not change when loaded in the browser. I know there were some caching issues with cocoon one but where there any solutions to this problem with out having

stylesheets aggregation

2002-01-14 Thread Christian Zoffoli
Hi to all. Is it possible to aggregate stylesheets (using map:aggregate) ? ...how ? thanks, Christian - Please check that your question has not already been answered in the FAQ before posting.

RE: stylesheets aggregation

2002-01-14 Thread Todd Densmore
Less than helpful Torsten. Please refrain from sending non-useful comments to this list. -Original Message- From: Torsten Curdt [mailto:[EMAIL PROTECTED]] Sent: Monday, January 14, 2002 1:24 PM To: Cocoon Users Mailing Subject: Re: stylesheets aggregation Hi to all. Is it possible

[C2] Testing your esql pooled connection

2002-01-14 Thread fred . tsang
All, Is there any way to check if cocoon2 has properly loaded external jdbc drivers and has an established connection to a db url? I'm trying to get esql to work following the examples by the book with no luck. I'm thinking somehow I've messed up the setup, but can't verify this. Thanks in

I'm still having problems....

2002-01-14 Thread Anthony Diodato
Im working on installing Cocoon 1.8.2 with Tomcat 4.0.1 and IIS 5.0 I have Tomcat working fine, but when I try to run process an XML page, I get this java.lang.RuntimeException: Error while initializing XSP engine: org.xml.sax.SAXParseException: General Schema Error: Grammar with uri:

HELP PLEASE: Error executing the example esql.xml on cocoon1.8.2

2002-01-14 Thread Ivan Manuel Andrade Muñoz
Hello to all, Happy New Year. The error is: *** --- Cocoon 1.8.2

HELP: Error opening connection to dburl: jdbc:postgresql://localhost/test

2002-01-14 Thread Ivan Manuel Andrade Muñoz
Hello to all, Happy New Year. The error is: *** --- Cocoon 1.8.2

GeneratorSelector error

2002-01-14 Thread Webmaster NWWV
I had cocoon 2 and resin working fine. Apparently it crashed over the weekend. Well now it doesn't work anymore. Even with a totally fresh install. Never had this error before. Here is what cocoon says: DEBUG (2002-01-14) 14:11.46:392 [cocoon ] (Unknown-URI) Unknown-thread/Exca

Re: GeneratorSelector error

2002-01-14 Thread David BERNARD
Webmaster NWWV a écrit : I had cocoon 2 and resin working fine. Apparently it crashed over the weekend. Well now it doesn't work anymore. Even with a totally fresh install. Never had this error before. Here is what cocoon says: DEBUG (2002-01-14) 14:11.46:392 [cocoon ]

Re: HELP: Error opening connection to dburl: jdbc:postgresql://localhost/test

2002-01-14 Thread Marty McClelland
Generally - when I get this error - there is a mismatch between the configuration of the database and what has been specified when connecting with the driver. For example - I forgot to create the username/password - or the name of the database has a typo - or I forgot to create the sample

message The sitemap handler's sitemap is not available. Please check logs for the exact error.

2002-01-14 Thread Thomas Cherryhomes
Hi! I am a relatively new Tomcat/Jakarta/Cocoon user. I rather like the whole setup, very flexible... anyway... I am running Tomcat 4.0.1 with latest cocoon, and latest versions I could find of every jar that cocoon needs.. I also have Jetspeed and Slide running on the server as well. I get

Big problem with cocoon2 !

2002-01-14 Thread Philippe Serre
Hi all, I have a problem with cocoon2. I have installed it with apache 1.3.22 and tomcat 4.0.1 and when I point to http://localhost:8080/cocoon I have problem : Catalina.start: LifecycleException: null.open: java.net.BindException: Adresse déjà utilisée LifecycleException: null.open:

stylesheets aggregation

2002-01-14 Thread Christian Zoffoli
Hi to all. Is it possible to aggregate many stylesheets ? ...how ? thanks, Christian - Please check that your question has not already been answered in the FAQ before posting.

Re: Big problem with cocoon2 !

2002-01-14 Thread David BERNARD
It's not a cocoon problem. You can't run Tomcat 4.0.1 you have already one service use port 8080. try to use netstat -a command and you see all local port used. So try to find wich service use it and stop it or edit server.xml on Tomcat/conf to modify port of HttpConnector. If you don't

RE: Big problem with cocoon2 !

2002-01-14 Thread Jeremy Crosbie
I don't know French but I am guessing your problem is with Tomcat, not cocoon. Does déjà utilisée mean already in use? If so it looks like you are trying to start Tomcat on a port that is already being used. -Original Message- From: Philippe Serre [mailto:[EMAIL PROTECTED]] Sent:

Cocoon URL

2002-01-14 Thread Yuri Gadow
From the FAQ it would seem that one cannot run Cocoon from a URL or context other the /cocoon (since the FAQ only offers ideas for changing the URL by having Apache rewrite on the fly.) Is this correct (if so, anyone have any guesstimates on how much work would be involved in changing or removing

EAR Deployment and Manifest Classpaths

2002-01-14 Thread Yuri Gadow
I am deploying Cocoon2 within an EAR and would like to have the support JARs outside the WAR containing Cocoon. Unfortunately, Cocoon's class loader does not seem to be able to find classes on the classpath built up by the container from the manifest class-path entries. Is there a way around

RE: message The sitemap handler's sitemap is not available. Please check logs for the exact error.

2002-01-14 Thread Vadim Gritsenko
You have to look into Cocoon's logs, not Tomcat's. Usually they are located under cocoon/WEB-INF/logs. Vadim From: Thomas Cherryhomes [mailto:[EMAIL PROTECTED]] The Logs don't reveal anything specific that says that an error had occured, nor any java exceptions this is the log

RE: stylesheets aggregation

2002-01-14 Thread Vadim Gritsenko
From: root [mailto:root] On Behalf Of Christian Zoffoli Hi to all. Is it possible to aggregate many stylesheets ? Yes. ...how ? Using aggregation capabilities of Cocoon: 1. map:aggregate construct in the sitemap, 2. CInludeTransformer and XIncludeTransformer. For more information on

RE: Cocoon URL

2002-01-14 Thread Vadim Gritsenko
From: Yuri Gadow [mailto:[EMAIL PROTECTED]] From the FAQ it would seem that one cannot run Cocoon from a URL or context other the /cocoon (since the FAQ only offers ideas for changing the URL by having Apache rewrite on the fly.) Is this correct No, that's not true. (if so, anyone have

Re: Cocoon URL

2002-01-14 Thread Bert Van Kets
This is actually a webapp question. If you copy the cocoon.war file to another name, say test.war, you can access it from that name, /test here. I just copy the original Cocoon.war file to another name, let tomcat unpack it to the new directory and then erase everything I don't need. The

Re: message The sitemap handler's sitemap is not available. Please check logs for the exact error.

2002-01-14 Thread David BERNARD
You have a error/misconfiguration in your sitemap.xmap file and Cocoon can't compile it or initialize it. Read the WEB-INF/logs/cocoon.log to find ERROR. by example if you run Cocoon on a server without X11 Session, then you can't initialize svgXXX Serializer (batik need X) and you have this

RE: Cocoon URL

2002-01-14 Thread Emmanuel Bardet
Don't you have to change the web.xml file as well ? -Original Message- From: Bert Van Kets [mailto:[EMAIL PROTECTED]] Sent: lundi 14 janvier 2002 22:45 To: [EMAIL PROTECTED] Subject: Re: Cocoon URL This is actually a webapp question. If you copy the cocoon.war file to another name,

Re: Cocoon URL

2002-01-14 Thread Yuri Gadow
Ok, thanks guys. I realise I didn't state the original question as fully as I should, the second half of it was missing. What I have is a WAR with Cocoon2 (C2), and a large amount of other presentation layer 'stuff' (JSP, Servlets, etc.) So, the context root for the WAR is /, however that root

RE: Cocoon URL

2002-01-14 Thread Vadim Gritsenko
No, never. It does not have anything like this inside. Vadim From: Emmanuel Bardet [mailto:[EMAIL PROTECTED]] Don't you have to change the web.xml file as well ? -Original Message- From: Bert Van Kets [mailto:[EMAIL PROTECTED]] Sent: lundi 14 janvier 2002 22:45 To: [EMAIL

RE: Cocoon URL

2002-01-14 Thread Vadim Gritsenko
From: Yuri Gadow [mailto:[EMAIL PROTECTED]] Ok, thanks guys. I realise I didn't state the original question as fully as I should, the second half of it was missing. What I have is a WAR with Cocoon2 (C2), and a large amount of other presentation layer 'stuff' (JSP, Servlets, etc.) So,

RE: Cocoon URL

2002-01-14 Thread Bert Van Kets
nope, worked for me as described At 22:53 14/01/2002 +, you wrote: Don't you have to change the web.xml file as well ? -Original Message- From: Bert Van Kets [mailto:[EMAIL PROTECTED]] Sent: lundi 14 janvier 2002 22:45 To: [EMAIL PROTECTED] Subject: Re: Cocoon URL This is actually

Request parameter to a transformer

2002-01-14 Thread Laurent CAPRANI
I need to provide a request parameter to a transformation. Ex: http://.../application/page.xml?my-parameter=value I tried to send a parameter to this transformer this way: map:match pattern=application/**.xml map:generate src=application/{1}.xml/ map:transform type=my-transform

RE: Request parameter to a transformer

2002-01-14 Thread Vadim Gritsenko
From: Laurent CAPRANI [mailto:[EMAIL PROTECTED]] I need to provide a request parameter to a transformation. Ex: http://.../application/page.xml?my-parameter=value I tried to send a parameter to this transformer this way: map:match pattern=application/**.xml map:generate

Re: Big problem with cocoon2 !

2002-01-14 Thread TJ Smith
Hello all Before I get flamed - let me apologize for probably an inappropriate posting to the group -but I AM using Cocoon/Tomcat/Servlets/etc. so I'm hoping someone out there has encountered my problem (and has a FIX) and desperation has set in so Particulars: Tomcat 3.3, Cocoon 1.8.2.

Big problem with IE!

2002-01-14 Thread TJ Smith
Hello all Before I get flamed - let me apologize for probably an inappropriate posting to the group -but I AM using Cocoon/Tomcat/Servlets/etc. so I'm hoping someone out there has encountered my problem (and has a FIX) and desperation has set in so Particulars: Tomcat 3.3, Cocoon 1.8.2.

Re: Installling Apache 1.3.22 + Tomcat 3.3 + Cocoon 1.8.2

2002-01-14 Thread Brian Blakeley
Hi Román, This issue has been discussed many items in the not to distant past - you might want to check the archives. Basically, you need to locate the referenced files and amend the cocoon.properties file to point at the files directly then restart tomcat. There is also a posting about some

Re: Installling Apache 1.3.22 + Tomcat 3.3 + Cocoon 1.8.2

2002-01-14 Thread Brian Blakeley
Román - this one of the posting I was refering to: The changes for Tomcat 3.3 rc1 were something to work out! I think what I did to get past where it sounds like you are was to locate the various resource files at the end of cocoon.properties and amended cocoon.properties to point to the

Re: Big problem with IE!

2002-01-14 Thread Adam A R
Hi TJ, Please check the logicsheet which munges the data. If the browser(I think you will encounter the same problem if you were to use any other browser. Please check and let us know) can display it 5 times, it means that there is probably no problem with the browser. Sometimes you may keep

Re: Big problem with IE!

2002-01-14 Thread TJ Smith
Hi Adam Thanx for responding...The application works fine on Netscape 6. Also, I didn't mean '5' literally :-) It's a random-ish number - actually it's only guaranteed to fail (as it did today) during a customer demo! Unfortunately, customers know of no other browser than IE, so sadly TJ

Re: Big problem with IE!

2002-01-14 Thread Marty McClelland
Which version of IE and what is the OS? Are you using Apache or IIS also? I am running C1.8.2 and tomcat 3.2 on my laptop. IE has been reliable for me since I did a clean install of Windows 2000. I did not install MS Office marty - Original Message - From: TJ Smith [EMAIL

Re: Big problem with IE!

2002-01-14 Thread TJ Smith
Hi Marty OS for server is win2K. IE is 5.0 I'm not running Apache, just Tomcat as a server (port 8080, etc.) The problem is maddeningly intermitant - unpredictable. I'm resigned to finding a workaround (i.e., kludge) TJ - Original Message - From: Marty McClelland [EMAIL PROTECTED] To:

locating logicsheets with the resource scheme

2002-01-14 Thread Phil Blake
Hi All, I am wanting to refer to a logicsheet using the resource:// scheme. I have placed my logic sheet in WEB-INF/classes/logicSheet/logicTest.xsl then I refer to it with: resource://logicSheet/logicText.xsl but I get resource not found. Am I on the right path, or have I missed

Re: locating logicsheets with the resource scheme

2002-01-14 Thread Patrick Husi
Hi I did the same thing an I put the logicsheet under WEB-INF/classes/ch/arpage/logicTest.xsl Then you have to tell cocoon, where to find the logicsheet Open cocoon.xconf: markup-languages xsp-language name=xsp ... builtin-logicsheet parameter name=prefix