Subject | Re: [Firebird-Java] Connection pool and remaining fb_inet_server processes |
---|---|
Author | Roman Rokytskyy |
Post date | 2008-12-18T14:38:25Z |
> I use a connection pool with tomcat 5.5/java 1.5 which is set up like this:Can it be that Tomcat opens at minimum 10 connections on start? There
>
> <Resource auth="Container" driverClassName="org.firebirdsql.jdbc.FBDriver"
> maxActive="50" maxIdle="5" maxWait="5000" name="jdbc/Prod"
> password="masterkey" type="javax.sql.DataSource"
> url="jdbc:firebirdsql:server2003:db?encoding=ISO8859_1"
> username="SYSDBA" validationQuery="select 1 from RDB$DATABASE" />
>
> It runs on a debian etch server and connects to a windows 2003 server, and we
> have a lot of fb_inet_server processes which do not disappear... More info
should be a property to control this.
> - netstat -t | /bin/grep gds shows just a small amount of connectionsThat is strange... I would suspect that it has something to do with the
> - Even after stopping tomcat the fb_inet_server processes stay there
network configuration. Try opening a new isql session to your win2k3
server, you should get a new process there, then close the session and
check whether the process is gone. If not, then this is config issue
with your win2k3 server, if yes - with pool.
> I have noticed that some people use org.firebirdsql.pool.FBWrappingDataSourceI would wonder if it works as driver class. It is a full implementation
> as a driverClass. What is the difference?
of a connection pool and implements javax.sql.DataSource interface.
Roman