Keeping in mind I do not know a hell of a lot about java or jdbc, does it
make any sense that I can write a little test program in java, and have it
connect to the database just fine with the jdbc driver, but when used in
cocoon, I get a slew of errors?

The java program only goes up to "DriverManager.getConnection" and if that
dosent throw an exception, it assumes that all went well.  Is this at all a
reasonable test to expect Cocoon to then at least show that it makes a
connection for the pool?

I'm just wondering if I'm not causing myself grief when my real problem is
in my Cocoon settings (which were included at the beginning of this
thread).

-Tom


On Wed, Mar 20, 2002, [EMAIL PROTECTED] wrote:
> On Wed, Mar 20, 2002, leo leonid wrote:
> > do the e?sql-samples work that come with the distribution using the 
> > hsqldb-server?
> > I bet they don't.
> 
> You are correct.  I just built a recent (past few days) CVS snapshot and
> the ESQL samples spit that same NoValidConnectionException.
> 
> This is lame.....I suppose thats what I get for using 1.4 fresh off of the
> factory floor...but I really didnt like the X/Xvfb/VNC-server options too
> much for working with Batik in 1.3.....
> 
> Well, I found some whispers of some patches for the postgresql jdbc driver
> that allow it to be built with 1.4, maybe I'll give those a shot if I can
> figure a way to cram the patches from a few months ago into the current
> postgresql CVS...
> 
> I'd appriciate any comments from anyone working with jdbc and 1.4....if you
> feel they are worthwhile (the comments I mean)
> 
> Thanks,
> -Tom
> 
> 
> > 
> > On Wednesday, March 20, 2002, at 07:21  Uhr, von Schwerdtner, Thomas 
> > (GXS, FPI) wrote:
> > 
> > >Hey folks,
> > >
> > >Setup:
> > >?cocoon-2.0.2dev (can give snapshot date if needed, it's from about a 
> > >week ago)
> > >?tomcat 4.0.3-LE
> > >?jdk1.4
> > >?linux
> > >?java2/1.2/1.3/1.4 postgresql jdbc driver is in classpath (downloaded 
> > >bianry from jdbc.postgresql.org which specified that it would work with 
> > >1.4 (but it also specified it could not be compiled with it).
> > >
> > >Problem:
> > >I'm trying to get esql/postgresql setup here, and with a small xsp page 
> > >I am getting the following errors:
> > 
> > 
> > ---------------------------------------------------------------------
> > Please check that your question has not already been answered in the
> > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> > 
> > To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> > For additional commands, e-mail: <[EMAIL PROTECTED]>
> > 
> > 
> 
> -- 
> --
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 
> 

-- 
--

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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

Reply via email to