tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Bainbridge <ja...@jblinux.org>
Subject Re: Jaybird With Tomcat Part II
Date Wed, 28 May 2003 21:50:51 GMT
On Thu, 29 May 2003 05:13, Rob Casteen wrote:
> Just to clarify:
> I am using
> Windows 2000 Pro
> Tomcat 4.1.18
> Firebird Version 1
> FirebirdSQL-1.0.0 (Jaybird)

First thing you probably want to try is the DB Taglibs:

http://jakarta.apache.org/taglibs/doc/dbtags-doc/intro.html

They have good documentation to get you on your way for the JSP side of 
things.

IB Phoenix, which from memory is the corporation behind Firebird has a bit of 
information about Tomcat at:

http://www.ibphoenix.com/a631.htm#8

Their example though is to setup a realm for user authentication but things 
like the connectionUrl would be the same.

You should also check out the JNDI Datasource howto at:

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html

Follow the MySQL one and just modify it for Firebird.

Using all that information should end with you having a JNDI datasource setup 
in your server.xml, the Jaybird JDBC driver's .jar file in WEB-INF/lib, the 
dbtags .jar file in WEB-INF/lib, the taglib .tld file in WEB-INF and your 
.jsp page in the root of your web application, then with a restart of Tomcat 
you should be good to go.

Just read the doco very carefully and go one step at a time. :)

Regards,
-- 
Jason Bainbridge
KDE Web Team - http://kde.org 
webmaster@kde.org 

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message