Re: NEWBIE: Cannot connect to MySQL db

2003-10-06 Thread Geoff Howard
Joe Williams wrote: When using an XSP to connect to a MySQL database, I get an error, according to my WEB-INF/log/error.log: "Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException No valid JdbcConnection class available at org.apache.avalon.excalibur.dataso

Re: Cacheable XSP with key based on jpath

2003-10-06 Thread Geoff Howard
Frank Taffelt wrote: Hi, i wanna make my xsp page cacheable based on the cache example included in the samples. If i understand the caching mechanism right, the processing order of an XSP page is as follows: 1. getKey is called 2. getValidity is called 3. generate method is called In my scenario t

Authentication Framework and JAAS

2003-10-06 Thread Ralph Goers
Has anyone implemented a handler for the authentication framework that ties it into JAAS in a servlet container? Ralph Goers - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[ANN] othello project

2003-10-06 Thread gounis
hi people we publish our approach of using cocoon to build all these small to medium web sites in greece as a project with the name othello web site http://othello.osmosis.gr the currect version is BETA and we have a BIG TODO list also "work in progress" is this web site too Othello The i

Display image using relative url

2003-10-06 Thread Ibeling, Narisa
Hi, I am trying to insert an image into my pdf report using tag. I am using Cocoon 2.0.4. I would like to use relative url. In other words, I would like to not always type in the context. How do I configure and do that? Currently, I am doing: src="http://localhost:8080/myReports/images/m

Re: Accessing to environment variables from Cocoon

2003-10-06 Thread Tony Collen
Conal Tuohy wrote: [snip] I'm sorry I don't know the exact syntax for the "header" module (I haven't used it), but I think you should be able to find it. It's not documented on the Cocoon site or Wiki (as far as I can tell), but I think there are examples in the Cocoon samples. Hopefully somethin

RE: Accessing to environment variables from Cocoon

2003-10-06 Thread Conal Tuohy
Hi Josep I think that in Cocoon you should capture the HTTP header from Apache using an input module (probably the HeaderAttributeModule). This is an "Input Module"; a sitemap component which allows you to refer to some aspect of the environment by an expression in your sitemap. These expressions

Re: NEWBIE: Cannot connect to MySQL db

2003-10-06 Thread Werner Guttmann
Joe, I can only offer you related advice on your problem, as I was fiddling around with Cocoon, mySQL 4.0 on SuSe 8.2 the other day. I had similar problems as you, though in the end I found the culprit in the 3.1 alpha JDBC driver for mySQL that still has some heavy bugs. Why don't you configure

NEWBIE: Cannot connect to MySQL db

2003-10-06 Thread Joe Williams
When using an XSP to connect to a MySQL database, I get an error, accordingto my WEB-INF/log/error.log:"Could not get the datasourceorg.apache.avalon.excalibur.datasource.NoValidConnectionException No validJdbcConnection class available atorg.apache.avalon.excalibur.datasource.JdbcConnectio

Re: Executing a pipeline from Java code

2003-10-06 Thread Upayavira
The CocoonWrapper has a processURI method that does what you want. I would suggest getting the CLI to generate the page you require, get used to using the CLI, and you should then find it pretty easy to understand how to configure the CocoonWrapper. Basically, set everything that has a set meth

Executing a pipeline from Java code

2003-10-06 Thread Francis Vermeulen
Hi, I'd like to process a pipeline from a Java class (inside a Cocoon web application) for the purpose of just performing an XSLT transformation on a source XML document. I suspect I can use CocoonWrapper for this, but unfortunately this is not documented. Does anyone know where it would be descri

RE: JISP Problem

2003-10-06 Thread Carsten Ziegeler
I contacted Scott about this problem several weeks ago and he confirmed that there are some bugs in the current version of Jisp. These will be fixed in the next version which can be expected (according to Scott) very soon. Carsten Stephanie Zohner wrote: > > Also see, > > http://marc.theaimsgr

Re: JISP Problem

2003-10-06 Thread Stephanie Zohner
Also see, http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=106144430107808&w=2 in my case this helped. Regards, Stephanie - Original Message - From: "Vadim Gritsenko" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 06, 2003 4:24 PM Subject: Re: JISP Problem > Se

Re: JISP Problem

2003-10-06 Thread Vadim Gritsenko
Sebastian Gil wrote: Hi there, Since Cocoon 2.1.1 till now 2.1.2 I've got terrible errors in logs. It happens suddenly and I don't know what is the reason and how to handle it. Delete the working directory. Should help. Vadim -

RE: Mime type not getting set for fo2pdf serialization

2003-10-06 Thread David Benoff
Thanks very much for the tips Antonio. Actually, on my setup the transformation explicitly bombs out with an exception if Batik isn't in the path. Anyway, I wound up resolving the issue by calling response.setContentType("application/pdf"); within my business class before forwarding to cocoon. I

Cacheable XSP with key based on jpath

2003-10-06 Thread Frank Taffelt
Hi, i wanna make my xsp page cacheable based on the cache example included in the samples. If i understand the caching mechanism right, the processing order of an XSP page is as follows: 1. getKey is called 2. getValidity is called 3. generate method is called In my scenario the value of the ca

Re: SVG graphics not working

2003-10-06 Thread Steve Schwarz
Take a look at: http://cocoon.apache.org/2.1/installing/index.html#Headless+UNIX+and+PJA You might also look at the batik install stuff because I think they made some changes (due to 1.4?) that made this easier(???) http://xml.apache.org/batik/ HTH Steve Yes, for headless operation u need to pas

Re: SVG graphics not working

2003-10-06 Thread Jorg Heymans
Have you checked the logs (catalina.out , core.log, error.log ..). I think you need an XServer instance running and set some CATALINA_OPTS display variables to get it going under linux. If you're running under java 1.4 then you can try running it in headless mode as well. I remember setting thi

Re: SVG graphics not working

2003-10-06 Thread Oleg Dulin
Yes, for headless operation u need to pass a parameter to jvm. Read JDK 1.4 docs for details. THis is only necessary on UNIX systems In older JDKs you had to install a headless virtuall framebuffer. Doug Chestnut wrote: I ran into this problem on Solaris because I did not have my DISPLAY e

Re: SVG graphics not working

2003-10-06 Thread Doug Chestnut
I ran into this problem on Solaris because I did not have my DISPLAY environmental variable set when I started tomcat. I thing that batik requires an x server because of its use of awt. --Doug - Original Message - From: "Nesto" <[EMAIL PROTECTED]> To: "Cocoon Users" <[EMAIL PROTECTED]> Se

SVG graphics not working

2003-10-06 Thread Nesto
Hi! I'm trying to write an application, that make use of svg graphics. I'm developing the application on my windows pc and I run it without any problems (cocoon 2.1.2 under tomcat 4.1.18). When I want to deploy the application on a Linux server I cannot put it work correctly: I cannot view the ima

FW: File downloading problem in combination with Tomcat Security

2003-10-06 Thread Danny Bols
Repost. > -Original Message- > From: Danny Bols [mailto:[EMAIL PROTECTED] > Sent: vrijdag 26 september 2003 13:18 > To: [EMAIL PROTECTED] > Subject: File downloading problem in combination with Tomcat Security > > > Hello, > > we are having problems downloading files from a cocoon based >

Re: Accessing to environment variables from Cocoon

2003-10-06 Thread Josep Riudavets
Please Some help for my question !!! ;) Thanks - Original Message - From: Josep Riudavets To: [EMAIL PROTECTED] Sent: Friday, October 03, 2003 5:23 PM Subject: Accessing to environment variables from Cocoon Hi ...   I'm trying to capture SSL_CLIEN

Re: OR statement in sitemap match pattern

2003-10-06 Thread Dimitrios A Adamos
nai re, me regexp kanto... On Mon, 6 Oct 2003 13:44:28 +0300 (EEST) [EMAIL PROTECTED] wrote: > hi people > > is it possible to have something just like or statemend > in sitemap match pattern? > > (home or Welcome or Entrance) > > > i think tha this can be using RegExp (but im looking some

OR statement in sitemap match pattern

2003-10-06 Thread gounis
hi people is it possible to have something just like or statemend in sitemap match pattern? (home or Welcome or Entrance) i think tha this can be using RegExp (but im looking something simpler) thanx --stavros - To unsub

Re: Installation problems with Cocoon 2.1.M3 Tomcat 4.1.27 J2SDK 1.4.2

2003-10-06 Thread Geoff Howard
Stephanie Zohner wrote: Hi, I still have all tehese RDFParser Errors when I start Tomcat with Cocoon 2.1.2, but fortunatly cocoon works despite these errors, so I decided to ignore them. However, if anybody has an idea how to get rid off these startup errors, please let me know. This sounds like a

Generating URL from sitemap with username:password for remote website

2003-10-06 Thread Tommy Smith
Hello All, I was wondering if it is possible to supply the username and password to a remote site in it's URL in this familiar form, username:[EMAIL PROTECTED] directly from a so that a login box does not pop up on the user's browser. I have looked at some archived messages and cannot see any

Re: Disposed Component error

2003-10-06 Thread Antonio Gallardo
Hi: Can you upgrade to 2.1.2 there are fixed on some non dispposed components. Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Disposed Component error

2003-10-06 Thread iyy
Hi,   Our web server is Tomcat 3.3.1.   Our cocoon (2.1 dev) site connects to Ms Sql server using Microsoft jars, on local machine(Tomcat 4.0.2) we never get DISPOSED COMPONENT ERROR , but on web , we get that error many times.   I have searched for a solution .. but could not find any.   A

Re: html templates - best practise

2003-10-06 Thread Andreas Bohnert
wow - so many answers! and so many different approaches, i'll read them all carefully. i think i have to take a timeout - because my knowledge of xslt sucks thank you all andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: AW: AW: Cocoon performance

2003-10-06 Thread Antonio Gallardo
Hi Jin: > Hi, Antonio, > > many thanks for your help! Glad to help you. ;) Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Re[2]: Installation problems with Cocoon 2.1.M3 Tomcat 4.1.27 J2SDK 1.4.2

2003-10-06 Thread Stephanie Zohner
Hi, I still have all tehese RDFParser Errors when I start Tomcat with Cocoon 2.1.2, but fortunatly cocoon works despite these errors, so I decided to ignore them. However, if anybody has an idea how to get rid off these startup errors, please let me know. Regards, Stephanie - Original Messa

AW: Problems with xsltc and xalan nodeset function

2003-10-06 Thread Peter Broschwitz
That's is interesting to know, I'll post the bug. Thanks for testing! -- Peter -Ursprungliche Nachricht- Von: Joerg Heinicke [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 3. Oktober 2003 16:59 An: [EMAIL PROTECTED] Betreff: Re: Problems with xsltc and xalan nodeset function Can reproduc

AW: AW: Cocoon performance

2003-10-06 Thread Jin . Xu
Hi, Antonio, many thanks for your help! Best regards ! Jin > -Ursprüngliche Nachricht- > Von: Antonio Gallardo [SMTP:[EMAIL PROTECTED] > Gesendet am: Montag, 6. Oktober 2003 10:30 > An: [EMAIL PROTECTED] > Betreff: Re: AW: Cocoon performance > > > Hello, > > > > It could be

Re[4]: Installation problems with Cocoon 2.1.M3 Tomcat 4.1.27 J2SDK 1.4.2

2003-10-06 Thread Oskar Casquero Oiarzabal
http://xml.apache.org/xalan-j/downloads.html Oskar -- Best regards, Oskarmailto:[EMAIL PROTECTED] SZ> Where do I find the xsltc.jar? SZ> Regards, SZ> Stephanie SZ> - Original Message - SZ> From: "Oskar Casquero Oiarzabal" <[EMAIL PROTECTED]> SZ> To: "An

FYI: GT2003 Hackathon talks online

2003-10-06 Thread Bertrand Delacretaz
We're writing (rather raw) reports of the ongoing talks at the wiki, see http://wiki.cocoondev.org/Wiki.jsp?page=RecentChanges -Bertrand - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Link Livesites: Cocoon 2.1.2

2003-10-06 Thread Tomasz Mechlinski
We created the www.eu-healthmarket.com (www.rynekmedyczny.pl) portal to present health care institutions' offers.   Regards TM

Re: AW: Cocoon performance

2003-10-06 Thread Antonio Gallardo
> Hello, > > It could be because that xalan needs more time to process > transformations. I am using cocoon to generate PDF files. I had a > prototype with only one transformation (xml to xsl-fo) and then > implemented an application with several transformations. The prototype > gets ca. 300K bytes

Re: Re[2]: Installation problems with Cocoon 2.1.M3 Tomcat 4.1.27 J2SDK 1.4.2

2003-10-06 Thread Stephanie Zohner
Where do I find the xsltc.jar? Regards, Stephanie - Original Message - From: "Oskar Casquero Oiarzabal" <[EMAIL PROTECTED]> To: "Antonio Gallardo" <[EMAIL PROTECTED]> Sent: Monday, October 06, 2003 9:36 AM Subject: Re[2]: Installation problems with Cocoon 2.1.M3 Tomcat 4.1.27 J2SDK 1.4.2

AW: Cocoon performance

2003-10-06 Thread Jin . Xu
Hello, It could be because that xalan needs more time to process transformations. I am using cocoon to generate PDF files. I had a prototype with only one transformation (xml to xsl-fo) and then implemented an application with several transformations. The prototype gets ca. 300K bytes/s rate back

Re[2]: Installation problems with Cocoon 2.1.M3 Tomcat 4.1.27 J2SDK 1.4.2

2003-10-06 Thread Oskar Casquero Oiarzabal
Hi, The same happened to me (I'm using exactly the same environment) and I solved it copying xsltc.jar to $TOMCAT_HOME/common/endorsed. Oskar AG> Hi: AG> Try to install J2SDK 1.4.2_01: AG> http://java.sun.com/j2se/1.4.2/download.html AG> Best Regards, AG> Antonio Gallardo AG> ---

Re: [help] access parameters

2003-10-06 Thread Roberto Fornasiero
ciao! ho provato con i tag XSP che mi hai detto ma non riesco comunque ad accedere alla variabile, il parametro in questione non esiste. ho provato anche a cambiare il nome ( mi pare che si chiami ID e non username ), ma non cambia nulla. a te funziona? che versione di cocoon usi? grazie ancora! Ro

Re: Installation problems with Cocoon 2.1.M3 Tomcat 4.1.27 J2SDK 1.4.2

2003-10-06 Thread Antonio Gallardo
Hi: Try to install J2SDK 1.4.2_01: http://java.sun.com/j2se/1.4.2/download.html Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Installation problems with Cocoon 2.1.M3 Tomcat 4.1.27 J2SDK 1.4.2

2003-10-06 Thread Stephanie Zohner
- Original Message - From: "Joerg Heinicke" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 02, 2003 5:46 PM Subject: Re: Installation problems with Cocoon 2.1.M3 Tomcat 4.1.27 J2SDK 1.4.2 > Stephanie Zohner wrote: > > Hi, > > > > I tried in vain to install Cocoon. W