Connection pooling [message #161761] |
Thu, 23 February 2006 16:25 |
Eclipse User |
|
|
|
Originally posted by: frankderjaeger.gmx.de
Hi
I want to use Connection Pooling with Tomcat 5.0.28 and the Firebird
Database 1.0.3 with eclipse wtp project. I have insert the Connection
Pooling properties in the server.xml from Tomcat. This works.
When i start the Connection Pooling with WTP 1.0, WTP uses the server.xml
from the workspace\Servers\Tomcat 5@localhost-config folder. the
server.xml from the standalone tomcat is not the same as the server.xml in
the workspace\.. folder.
which settings must be taken to run Connection Pooling with WTP ?
part of the server.xml from the Tomcat stanalone----
<Context docBase="Help" path="/Help" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_Help" suffix=".log"
timestamp="false"/>
<Resource name="jdbc/Help" auth="Container" type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/Help">
<parameter><name>username</name>
<value>SYSDBA</value></parameter>
parameter><name>password</name>
<value>masterkey</value></parameter>
<parameter>
<name>url</name>
<value>jdbc:firebirdsql:localhost/3050:Qms.gdb</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>org.firebirdsql.jdbc.FBDriver</value>
</parameter>
</ResourceParams></Context>
--- part of the server.xml from the Tomcat WTP ----
<Context docBase="Help" path="/Help" reloadable="true"
source="org.eclipse.jst.j2ee.server:Help"/></Host>
|
|
|
|
Powered by
FUDForum. Page generated in 0.02935 seconds