Derek Hohls wrote:
Tony
Thanks for the reply. I am not sure what JDBC jar
is required here... AFAIK, the Cocoon samples (the
one for HSQL) should work "out the box" with no
additional files or configuration entries required
(and, yes, for the record, I did jump through all
the hoops trying to get Cocoon to talk to mySQL -
using the same - working - setup as another
machine that was working under JDK1.3... but this
is all moot - the Cocoon samples should work!)
Derek


>>> [EMAIL PROTECTED] 11/08/2003 08:05:01 >>>
Hi Derek,
I've had no problem with databases at all with 2.0.4 and Java 1.4.
Did you copy your jdbc jar file to the WEB-INF/lib folder of Cocoon (if it was a new installation) and did you add the appropriate entries to the cocoon.xconf and web.xml files?
I don't want to sound as though I'm stating the obvious but its caught me out a few times!
Tony
Geoff
I definitely downloaded and used the JDK1.4 compatible
version - that is why I was surprised it wasn't working.
As I said, I have used 2.0.4 with JDK1.3 without any
problems - but I need to upgrade to 1.4 for other apps -
I cannot do so if Cocoon does not work properly.
Are there any pacthes or solutions for this problem?
Should I alert on of the developers?

I am one, and as far as I know there is no problem. The samples work unless they have been recently broken (unlikely). More likely is that there is something amiss in your setup/build. Can you detail the steps you took to get this running? Specifically, we'll need to see your web.xml init-param where the hsql and mysql classes are declared, your
cocoon.xconf datasource decl (with password & username obscured), a DIR of your WEB-INF\lib dir.


Geoff

     >>> [EMAIL PROTECTED] 10/08/2003 08:50:11 >>>
    Derek Hohls wrote:
     > Hi
     >
     > I am trying to get Cocoon talking to a database on a new
    installation.
     > At the moment, I cannot even get the Cocoon hsql database
     > samples to work.

...



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to