RE: Newbie: yet ANOTHER problem: db access (NoValidConnectionException)

2003-04-04 Thread Phil Coultard
Hi Marco, Thanks for your help in pointing me to the right section of the README I have replaced the driver ref with the right string but I'm still getting the same error message when I try to run the xsp. Jens, Thanks for your suggestion too of including the port number in the .xconf dburl in

Re: Sample PDF

2003-04-04 Thread Upayavira
To my mind, the crucial bit: > - Root Cause - > java.lang.NoClassDefFoundError > at java.lang.Class.newInstance0(Native Method) > at java.lang.Class.newInstance(Class.java:232) > at > org.apache.avalon.excalibur.component.DefaultComponentFactory.newInsta > nce(Defau

Re: SourceWrite error :|

2003-04-04 Thread Upayavira
> thnks :) > It worked :) Great! It is pleasing when logic prevails! > Now I just have one question: I use the tag to write to > the file, and overwriting it, but what if I want to append data to the > existing file ? Can i use the tag? Or is it another > way to do it ? In 2.1, you ca

RE: Dynamic sitemap

2003-04-04 Thread Reinhard Pötz
No because this would lead to a real mess in sitemaps and therefore to committers are against dynamic sitemaps (and IMHO they are right ...). and maybe the more important reason is that nobody has ever presented a usecase that makes dynamic sitemaps necessary. By the way, what's your usecase? Reg

Sample PDF

2003-04-04 Thread James McLean
Dear All, I am having difficulty with the serialization of the sample PDF (hello.pdf). Every attempt at generating the file returns a blank document - entirely devoid any data. All of the other samples appear to be functioning correctly. Additionally, I encountered a rather obscure log entry after

DO NOT REPLY [PATCH QUEUE] Summary April 5 2003

2003-04-04 Thread nicolaken
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to th

AW: memory on the status page

2003-04-04 Thread Marco Rolappe
hi bert, the 119MB is the amount of memory used by the java process (i.e. heap and other resources). the -Xmx parameter specifies the maximum size of the heap, i.e. not the maximum size of memory used by the process. the other numbers tell you that the heap's current size is 64MB of which 19MB a

RE: seperating content structure and style

2003-04-04 Thread Argyn
Kris, this sounds very familiar to me. Once I had to make a reporting module with PDF generation. When I looked at the existing reports (about 50-60 of them), I found out that they are all (surprise!) similar :)   Actually, now I think that I found an example of self-similar fractals in repo

AW: AW: Cocoon on Orion2

2003-04-04 Thread Michael Gerzabek
Hi Enio, web3 is a block. so have a look at the blocks.properties and include the line exclude.block.web3=true and rebuild cocoon. sorry can't help with 2) regards Michael > -Ursprungliche Nachricht- > Von: e nio [mailto:[EMAIL PROTECTED] > Gesendet: Donnerstag, 03. April 2003 18:21 > A

[HELP]Exception during processing of servletgenerator

2003-04-04 Thread Aamir Majeed
  Hi, I am using ServletGenerator and I continuously find java.io.UTFDataFormatException: Invalid byte 2 of 2-byte UTF-8 sequence Below is my Servlet code   import javax.servlet.*; import javax.servlet.http.*; import java.io.PrintWriter; import java.io.IOException; import com.mysql.jdbc.Driver; im

memory on the status page

2003-04-04 Thread Bert Van Kets
Hi all, I have Cocoon configured on a Windows2K server that is using JDK 1.3.1 and Tomcat 4.0.6. The JAVA_OPTS environment variable is set to -Xmx256m Tomcat is setup as a service and is using 119MB of memory. When I call the status page it tells me there's 64MB of memory and 19MB is available.

Re: SourceWrite error :|

2003-04-04 Thread João César
thnks :) It worked :) Now I just have one question: I use the tag to write to the file, and overwriting it, but what if I want to append data to the existing file ? Can i use the tag? Or is it another way to do it ? It's late now here in Portugal, but tomorrow I will test how to do it.

How to get tomcat work directory from cocoon?

2003-04-04 Thread Rob Johnston
Is there a session context or some other environmental way to get the absolute path to the tomcat work directory in a pipeline? I'd like to put some temporary files there and need to get the absolute path to do this. thanks, rob ---

AW: Newbie: yet ANOTHER problem: db access (NoValidConnectionException)

2003-04-04 Thread Marco Rolappe
first, HTH = Hope That Helps ;-), my first name is marco, my mysql driver jar's name is 'mysql-connector-java-2.0.14-bin.jar' (which is in WEB-INF/lib). within the jar I have a file README. a snip from the section 'USAGE AND INSTALLATION': ... If you are going to use the driver with the JDBC Dri

Re: TEI and cocoon

2003-04-04 Thread Upayavira
> I am having some issues using the TEI (http://www.tei-c.org/Lite/) > stylesheets (http://www.tei-c.org/Stylesheets/teixsl.html) to convert > the XML to HTML. After much searching I found a document on the cocoon > wiki discussing the xsl:output tag and how it cannot be used in cocoon > - http://w

Re: SourceWrite error :|

2003-04-04 Thread Upayavira
> Yes, but the error keeps going on.. I'll check that later, and search > a little more deep for help on documentation... Okay. Check in your $COCOON-HOME/WEB-INF/cocoon.xconf and make sure you've got this entry: That being missing could cause the problem. Upayavira -

Re[2]: Newbie: yet ANOTHER problem: db access (NoValidConnectionException)

2003-04-04 Thread Jens Maukisch
Hi, maybe you should include the port in your dburl jdbc:mysql://localhost:3306/coultard -- * best regards * Jens Maukisch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

TEI and cocoon

2003-04-04 Thread Warner Onstine
I am having some issues using the TEI (http://www.tei-c.org/Lite/) stylesheets (http://www.tei-c.org/Stylesheets/teixsl.html) to convert the XML to HTML. After much searching I found a document on the cocoon wiki discussing the xsl:output tag and how it cannot be used in cocoon - http://wiki.cocoon

using cocoon with xindice1.1

2003-04-04 Thread Krzysztof Witukiewicz
Hi, I succeed in connecting cocoon with xindice 1.1 But there is some strange thing, namely when I send XUpdate statement from xslt stylesheet, there is everything ok. When I send the same statement from xsp page, XMLDBTransformer cut xmlns:xu=http://www.xmldb.org/xupdate namespace definitio

RE: Newbie: yet ANOTHER problem: db access (NoValidConnectionException)

2003-04-04 Thread Phil Coultard
Hi HTH, Thanks for your suggestion but that didn't work - I'm still getting the same message (even after re-starting the server and deleting the work directory). I have read the readme enclosed with the jar but to my uneducated eye it does not seem to enclose a ref to what I should call the class

Re: SourceWrite error :|

2003-04-04 Thread João César
> No, that is syntax for 2.1 AFAIK, not 2.0.4. You need as > you had. I've noticed that, because I've seen in some examples that they used other notation, like to represent that, but in fact, we're using cocoon 2.0.4 + tomcat 4.1. > Believe me, it does get easier as you get used to how to wor

exp + esql tags and attributes - where I can find these?

2003-04-04 Thread e nio
Anyone has an online docs for where the xsp and esql tags attributes are? The one from cocoon site is very limited. Thanks, enio __ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com --

seperating content structure and style

2003-04-04 Thread Kris Rasmussen
Let me know what you guys think about this. The general idea these days is to seperate content logic and style, as cocoon does very well. However, I think it is even better if you can seperate structure from style. The way i have done this in the past is with template calling in xsl. However, I thi

RE: XSL transformation exception when run as CLI, but not as servlet

2003-04-04 Thread Olson, Dave -Systems
Thanks for mentioning that. Upgrading Xalan to 2.4.1 fixed it. -DAvid > -Original Message- > From: Joerg Heinicke [mailto:[EMAIL PROTECTED] > Sent: Friday, April 04, 2003 5:18 AM > To: [EMAIL PROTECTED] > Subject: Re: XSL transformation exception when run as CLI, but not as > servlet >

AW: Newbie: yet ANOTHER problem: db access (NoValidConnectionException)

2003-04-04 Thread Marco Rolappe
hi phil, please try com.mysql.jdbc.Driver as the driver class. that should work. your dburl seems to be correct. otherwise have a look into your mysql-connector jar. there should be a README inside. HTH > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > A

Re: London Cocoonist seeks comradeship, possibly more ;-)

2003-04-04 Thread Richard In Public
Hi Phil After several months, I remain a newbie, albeit a more experienced one. Regardless, I don't think that developers have to meet as equals to be of use to each other. Let's meet up and see what happens. What's better for you, evenings or weekends? Richard - Original Message - From

RE: London Cocoonist seeks comradeship, possibly more ;-)

2003-04-04 Thread Phil Coultard
Hi Richard, Well I too am based in London (Fulham/Hammersmith) but I'm afraid I'm just a newbie so I wouldn't be much use to you yet! I'm a convert from the MS camp and as such am just learning the ropes... On the other hand I have found bouncing ideas off someone who thinks in similar wave lengt

Newbie: yet ANOTHER problem: db access (NoValidConnectionException)

2003-04-04 Thread Phil Coultard
Geoff: Thanks for all your help, you are a star. Big apologies from a newbie struggling with the basics of Cocoon... I have run into yet another problem which I don't seem to be able to get over... This time I am trying to connect to a MySQL db but get the message: ERROR (2003-04-04) 16:18.09

Re: SourceWrite error :|

2003-04-04 Thread Upayavira
> No effect :( Oh well. > Perhaps we could use source:insert instead, we've tried but we get an > XML output of what we wanted to insert, and no changes on the file :| No, that is syntax for 2.1 AFAIK, not 2.0.4. You need as you had. > There are no working examples on the documentation, jus

London Cocoonist seeks comradeship, possibly more ;-)

2003-04-04 Thread Richard In Public
Hi I live in London and am in the process of building a home-based business providing 'web-presence'. As of September, I will also be studying law. After following Cocoon for a few months, I decided to use Cocoon as the basis for my projects. So far I have put up two static sites (www.lifeproje

Re: SourceWrite error :|

2003-04-04 Thread João César
No effect :( Perhaps we could use source:insert instead, we've tried but we get an XML output of what we wanted to insert, and no changes on the file :| There are no working examples on the documentation, just a scratchpad that we already tested with no results also... Why are we figuring that a

Cocoon J2EE datasource in WSAD

2003-04-04 Thread Michael Vennera
I'm trying to get Cocoon to recognize a datasource defined in the WSAD 4 test client, but it doesn't seem to be working. I've checked and rechecked everything and I keep getting the error: ERROR (2003-04-04) 10:52.04:201 [core.manager] (Unknown-URI) Unknown-thread/J2eeDataSource: Problem with

Re: SourceWrite error :|

2003-04-04 Thread Upayavira
Try adding overwrite="true" into the node. Not sure if that is it, but it is worth a try. Upayavira On 4 Apr 2003 at 16:53, João César wrote: > > Hi, first of all thanks for your prompt answer :) > > I've just changed to and the > error still remains, but after I analyse the XML displayed in

Re: SourceWrite error :|

2003-04-04 Thread João César
Hi, first of all thanks for your prompt answer :) I've just changed to and the error still remains, but after I analyse the XML displayed in the browser we see: http://apache.org/cocoon/source/1.0";> The src attribute doesn't resolve to a writeable source and failed to cancel And the fil

Re: upload - webdav

2003-04-04 Thread Guido Casper
Geoff Howard wrote: > At 07:44 AM 4/4/2003, you wrote: >> Sorry for the late answer. >> I have been OOTO this week. >> >> Olivier GUCKERT wrote: >>> Now, i can use protected webdav directory to serve files with >>> Cocoon : thanks Guido. >>> >>> What i want to do yet et upload files with Cocoon to

Re: SourceWrite error :|

2003-04-04 Thread Upayavira
> Hi all, > > We're getting this error on sourcewrite transformer: > > "The src attribute doesn't resolve to a writeable source and failed to > cancel " > ... > > ... The source you write to must be 'writable'. Obviously 'context:' does not refer to a source that is writable. If you wish to

SourceWrite error :|

2003-04-04 Thread João César
Hi all, We're getting this error on sourcewrite transformer: "The src attribute doesn't resolve to a writeable source and failed to cancel " The generator src is: erro.xml: http://apache.org/cocoon/source/1.0";> XML Object body in the sitemap we have:

Does this look familiar

2003-04-04 Thread Yves Vindevogel
Hi all, I've been using Cocoon since quite some time now, and I'm doing pretty much everything with it. However, I miss one thing. As a development project leader, coordinating a team, I found it very difficult to create large websites (like 500 screens on database with 75 tables) that are co

Re: Content formats

2003-04-04 Thread Ryan Hoegg
Hi, I've been looking over the suggestions, and they seem to be pretty much what I was looking for. I understand now why someone suggested XHTML. However, there is way too much styling possible in XHTML. I need a content format that somewhat encourages authors not to put style elements such

Re: escaping xml tags

2003-04-04 Thread Bert Van Kets
Aparently your result returns a string and not and XML stream. You can use JTidy to convert your String to an XML stream. It's classes are available in Cocoon! Here's a code snip out of an XSP page that converts a POST from a brower based html editor to an XML stream. org.w3c.tidy.Tidy

Re: Stripping space from XSP output

2003-04-04 Thread Michael Vennera
The spaces are reporduced from the XSP source page. For instance, the lines on which I declare my connection info in the XSP show up as equivalent blank lines in the XML output. I could normailze the XSP source, but I need to keep it readable... --- Lionel Crine <[EMAIL PROTECTED]> wrote: > can yo

Re: PDF Forms and XSL:FO

2003-04-04 Thread Bert Van Kets
iText has PDF forms support. Bert At 12:44 3/04/2003 -0800, you wrote: Is it possible to generate PDF forms (editable fields within PDF) using XSL:FO? Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness,

Re: [XSP] not for int?

2003-04-04 Thread Boris Althaus
The xsp-logic tag is allowed before the page tag too. But in that section should be declared a class or a method like   String myMethod(){  return "string"; }   This declared method can used in the page section.   Boris - Original Message - From: Lionel Crine To: [EMAIL

XMLMetaModule

2003-04-04 Thread Lionel Crine
Hello, I'd like to load a module (another xml file) into my cocoon.xconf but I do not have the XMLMetaModule (I use cocoon 2.0.4). this component is not working : So can I put directly the values from RLR.xconf in the cocoon.xconf and how. Lionel ---

Re: upload - webdav

2003-04-04 Thread Geoff Howard
At 07:44 AM 4/4/2003, you wrote: Sorry for the late answer. I have been OOTO this week. Olivier GUCKERT wrote: > Now, i can use protected webdav directory to serve files with Cocoon : > thanks Guido. > > What i want to do yet et upload files with Cocoon to this protected > webdav directory. Is it a

Re: escaping xml tags

2003-04-04 Thread Upayavira
Don't know if this is the only way, nor how to do it in XSP, but what you want to do is parse the XML. In Java (e.g. in a custom generator) you could say is something like: InputSource inputSource = new InputSource(new ByteArrayInputStream(page.getBytes())); Parser parse

Re: escaping xml tags

2003-04-04 Thread Ali Mesbah
> As quoted from Lionel Crine <[EMAIL PROTECTED]>: > > document returned is escaped -> What does that mean? > I would expect: http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="person.xsd" xmlns:src="http://xml.apache.org/xindice/Query"; src:col="/db/perso

Re: escaping xml tags

2003-04-04 Thread Ali Mesbah
As quoted from Lionel Crine <[EMAIL PROTECTED]>: > document returned is escaped -> What does that mean? I would expect: http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="person.xsd" xmlns:src="http://xml.apache.org/xindice/Query"; src:col="/db/person" src:key

Re: escaping xml tags

2003-04-04 Thread Lionel Crine
document returned is escaped -> What does that mean? Lionel At 13:53 04/04/2003 +0200, you wrote: I have an XSP which returns an XML document from the Xindice database. result = get the document from Xindice; result It goes all well except that the document returned is escaped so it is not act

Re: upload - webdav

2003-04-04 Thread Guido Casper
Sorry for the late answer. I have been OOTO this week. Olivier GUCKERT wrote: > Now, i can use protected webdav directory to serve files with Cocoon : > thanks Guido. > > What i want to do yet et upload files with Cocoon to this protected > webdav directory. Is it a simple way to do this ? Sorry

escaping xml tags

2003-04-04 Thread Ali Mesbah
I have an XSP which returns an XML document from the Xindice database. result = get the document from Xindice; result It goes all well except that the document returned is escaped so it is not actually XML anymore. Does anyone know how to tell XSP not to escape the result? Thanks, Ali -- --

RE: Unit test for Cocoon

2003-04-04 Thread Stephan Michels
On Wed, 2 Apr 2003, Pham Thanh Quan wrote: > Dear Stephan, > > I would like to test on every separate action, generator, transformer... > Please show me the test case for that. Thank you. In the current CVS HEAD: cocoon-2.1/src/test/org/apache/cocoon/generation/AbstractGeneratorTestCase.java co

Using system properties in sitemap

2003-04-04 Thread Alexander Docter
Hi, is it possible to use system properties (or other properties, environment vars) directly in the sitemap? I want to put a line like http://{server}/blaa.xml"; /> in the sitemap and I want to be able to keep the servername configurable. What I could do is use an action that puts a system proper

Re: Authentication framework sample and Mozilla...

2003-04-04 Thread Olivier Billard
Hi Jin ! I use the cocoon 2.1dev. I think you should try it to check if some bug was fix between our 2 versions by testing the 2.1 dev with your config. If I'm not wrong, the authentication framework was split from the sunRise portal in the 2.1dev with maybe some fixes. I can't reproduce the

Re: Content formats

2003-04-04 Thread Steve Crossan
How about the xdoc format used by Maven and Anakia ? http://jakarta.apache.org/site/jakarta-site-tags.html Steve http://www.runtime-collective.com t: 01273 234290 f: 01273 234291 m: 0789 984 1684 On Thu, 3 Apr 2003, Alex Romayev wrote: > I haven't seen/used any standardised page layout > forma

Re: XSL transformation exception when run as CLI, but not as servlet

2003-04-04 Thread Joerg Heinicke
Hello Dave, one week ago somebody had exactly the same problem with Cocoon 2.0.4, Xalan 2.3.1 and DocBook 1.48. He solved it by using Xalan 2.4.1, so give it a try. What the difference is between CLI and servlet? I don't know. Joerg Olson, Dave -Systems wrote: Dear community: I've been trying

Dynamic sitemap

2003-04-04 Thread Ali Mesbah
Hallo, I need to add new pipelines to the sitemap dynamically. Is there any way of doing this?? Thanks, -- -- Ali Mesbah, West Consulting B.V., www.west.nl, +31 15 2191600 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: Stripping space from XSP output

2003-04-04 Thread Lionel Crine
can you tell us more . The spaces are created by the xsp page? Lionel At 12:07 03/04/2003 -0800, you wrote: Anyone know a way (besides XSLT) to strip white space from XSP output. I tried the following: However, this has no effect on whitespace in my output. Obviously, I could use XSLT to strip