cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leo leonid <...@leonid.de>
Subject Re: jdbc or xsp or esql problem
Date Wed, 20 Mar 2002 19:22:29 GMT
with jdk1.4, my experience was, that none of the jdbc-drivers (hsqldb or 
mysql) worked anymore (NoValidConnectionException). I temporarily 
downgraded to jdk 1.3 :-(
/Leo

On Wednesday, March 20, 2002, at 08:04  Uhr, von Schwerdtner, Thomas 
(GXS, FPI) wrote:

> I don't remember if I tried it with jdk1.4.  I'll re-build it in a few 
> minutes if I dont find a quicker solution.
>
> Despite the errors going away (now the xsp page spits no errors, but 
> the resulting page is totally blank, not even a <html> tag (more of a 
> NULL than a page I guess)) I'm having database connection issues which 
> I thought might relate to some comments I have seen on this list about 
> jdbc drivers not working properly with 1.4.  The drivers I am using are 
> described as "working with jdk1.4, but not compiling with it".
>
> postgresql is running in network mode.....and I can connect to it from 
> other machines with the user specified in my cocoon files....
>
> jdbc errors:
>
> DEBUG   (2002-03-20) 13:18.01:497   
> [core.datasources.gesupply](Unknown-URI) Unknown-thread/LogKitLogger: 
> factory created class was null so a new instance could not be created.
>
> org.apache.avalon.excalibur.datasource.NoValidConnectionException: No 
> valid JdbcConnection class available
>         at 
> org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.newInstance(
> JdbcConnectionFactory.java:183)
>         at 
> org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:
> 82)
>         at 
> org.apache.avalon.excalibur.pool.HardResourceLimitingPool.newPoolable
> (HardResourceLimitingPool.java:95)
>         at 
> org.apache.avalon.excalibur.datasource.JdbcConnectionPool.newPoolable
> (JdbcConnectionPool.java:74)
>         at 
> org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(AbstractPool.java:
> 126)
>         at 
> org.apache.avalon.excalibur.pool.HardResourceLimitingPool.internalGrow
> (HardResourceLimitingPool.java:104)
>         at 
> org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow
> (SoftResourceLimitingPool.java:91)
>         at 
> org.apache.avalon.excalibur.datasource.JdbcConnectionPool.run
> (JdbcConnectionPool.java:195)
>         at java.lang.Thread.run(Thread.java:536)
>
>
>
>
>
> =========================================================================
> ==
> > From: leo leonid [mailto:tek@leonid.de]
> > Sent: Wednesday, March 20, 2002 1:55 PM
> > To: cocoon-users@xml.apache.org
> > Subject: Re: jdbc or xsp or esql problem
> >
> >
> > do the e?sql-samples work that come with the distribution using the
> > hsqldb-server?
> > I bet they don't.
> >
> > 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: <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
> >
>


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message