Subject | Re: [Firebird-Java] problem with isValid() |
---|---|
Author | Yves Glodt |
Post date | 2008-10-18T20:46:55Z |
On Sat 18 Oct 2008, Roman Rokytskyy wrote:
Java5/tomcat5.5, and that's why I use the V5 jaybird jar in my project.
Is an upgrade of my production environment to Java6 the only option I
have?
Best regards,
Yves
> > I use conn.isValid(2000) in my code and get a crash at that line,I exactly do that. I develop on Java 6/tomcat5.5 and deploy on
> > with this exception:
> >
> > SEVERE: Servlet.service() for servlet jsp threw exception
> > java.lang.AbstractMethodError:
> > org.apache.tomcat.dbcp.dbcp.PoolingDataSource$PoolGuardConnectionWr
> >apper.isValid(I)Z at
> > lu.demo.web.Application.getDbConnection(Application.java:49)
> >
> > Still being a little newbie... do I do something wrong?
>
> Most likely you run Java 6.0, but use JDBC driver version for Java
> 5.0 or 1.4.2.
Java5/tomcat5.5, and that's why I use the V5 jaybird jar in my project.
Is an upgrade of my production environment to Java6 the only option I
have?
Best regards,
Yves
> Roman[Non-text portions of this message have been removed]