Subject | Re: [Firebird-Java] |
---|---|
Author | Rick Fincher |
Post date | 2002-12-20T21:20:31Z |
Alessandro,
OK, with the JSTL reference I think I understand now what you are doing.
Since it works with Interclient, I don't know why it isn't working with
JayBird.
Can you send a dump of the exception stack trace? Also try setting the debug
level in the context to 99 and run it until it fails. This should generate
a lot more detail in the Tomcat log files so we can see what failed.
I'm not sure how you have Tomcat set up, but you may need to uncomment the
logging stuff in server.xml to generate the log files.
Just in case you might want to try the standard format of the URL. Change:
<parameter><name>driverName</name><value>jdbc:firebirdsql:127.0.0.1/3050:/db
/off.gdb</value></parameter>
To:
<parameter><name>driverName</name><value>jdbc:firebirdsql://127.0.0.1:3050/d
b/off.gdb</value></parameter>
This shouldn't matter but it's worth a try.
Rick
OK, with the JSTL reference I think I understand now what you are doing.
Since it works with Interclient, I don't know why it isn't working with
JayBird.
Can you send a dump of the exception stack trace? Also try setting the debug
level in the context to 99 and run it until it fails. This should generate
a lot more detail in the Tomcat log files so we can see what failed.
I'm not sure how you have Tomcat set up, but you may need to uncomment the
logging stuff in server.xml to generate the log files.
Just in case you might want to try the standard format of the URL. Change:
<parameter><name>driverName</name><value>jdbc:firebirdsql:127.0.0.1/3050:/db
/off.gdb</value></parameter>
To:
<parameter><name>driverName</name><value>jdbc:firebirdsql://127.0.0.1:3050/d
b/off.gdb</value></parameter>
This shouldn't matter but it's worth a try.
Rick
----- Original Message -----
>
> On Thu, 19 Dec 2002 15:56:57 -0500, "Rick Fincher" <rnf@...> wrote :
>
> > Hi Alessandro,
> >
> > How are you using this? Why are you using a JNDI resource instead of a
JNDI
> > dataSource? What version of Tomcat, and JayBird are you using?
> >
>
> I read it on an example on the tomcat website: it works with Interclient
> 2.01. I'm using Tomcat 4.0 with JayBird 1.0RC2 (great software!).
> I'm using it with jstl, defining the
javax.servlet.jsp.jstl.sql.dataSource
> as the JNDI resource.
>
> > The parameter "charSet" is not valid for JayBird.
> >
> > You may be able to change:
> >
<parameter><name>driverName</name><value>jdbc:firebirdsql:127.0.0.1/3050:/db
> > /off.gdb</value></parameter
> >
> > To:
> >
<parameter><name>driverName</name><value>jdbc:firebirdsql:127.0.0.1/3050:/db
> > /off.gdb?&lc_ctype=ISO8859_1</value></parameter
> >
> > This might get things working for you.
> >
>
> I already tried without charset, but it doesn't help.
> Thanks a lot.
> Alessandro Fiorino