RE: Newbie: yet ANOTHER problem: db access (NoValidConnectionException)
Hi All, I was having the same problem with Phoenix. It turns out that the excalibur-datasource-1.0.jar is missing org.apache.avalon.excalibur.datasource.JdbcConnection. Must have been a build problem :( After adding it everything works fine. Faron -Original Message- From: Phil Coultard [mailto:[EMAIL PROTECTED] Sent: Saturday, April 05, 2003 6:55 PM To: [EMAIL PROTECTED] Subject: RE: Newbie: yet ANOTHER problem: db access (NoValidConnectionException) From: Andrew Savory Sent: 05 April 2003 22:29 On Sat, 5 Apr 2003, Geoff Howard wrote: But if clearing up the jdk dependency doesn't work, try explicitly giving root access to the database you're using for the wildcard host: %. Also, try explicitly adding localhost - MySQL regards localhost as different to the wildcard every host, for goodness knows what reason. (Although that will throw a connection error with the command-line client as well as Cocoon.) Nope. That didn't work either... still getting the same message: ERROR (2003-04-06) 00:50.36:940 [sitemap.generator.serverpages] (/ltd_coultard/tickets.xsp) Thread-11/tickets_xsp: Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid JdbcConnection class available This is one mild mannered Englishman who is off out to buy a baseball bat soon ;-) Phil --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.465 / Virus Database: 263 - Release Date: 24/03/03 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: SQL and Stylesheets
Richard, If you are running cocoon from the command line then be aware that the Cocoon class will request the page three times: once to determine the mime type, once to get the outgoing links, and once to get the actual content. Faron. -Original Message- From: Richard Cunliffe [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 10:32 AM To: [EMAIL PROTECTED] Subject: RE: SQL and Stylesheets Thorsten Ok, I when I looked at the book I thought I would take it back one step, for it to make more sense to me. Therefore I thought I would start off doing all the XPATHs together instead of separating it out and doing many more MATCHes. If you look on page 171 of the 'Cocoon Building applications' we can the result that the SQL transformer comes out with, we don't normally see this. Therefore I think I was calling templates that exist(although temporarily). Can you check I'm right? I have got the results to come out correctly by just copying the book, but as soon as I start adding things to the style sheet, things start to go wrong, that's why I thought I would set it up myself from start to gain a better understanding. If I am calling the correct templates, can you see why it displays my XML document 3 times? If I'm wrong :-( about the templates on page 171, then tell me, and I will try and work from there example a bit more. Thanks Richard By the way I have included my sitemap! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Optional libraries that are not optional
The following libraries appear to be non-optional: lib/optional/commons-jxpath-1.0.jar lib/optional/spark.jar To Recreate: 1) ./build.sh clean 2) rm -f lib/optional/*.jar 3) ./build.sh - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]