Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Connection pooling
Connection pooling [message #161761] Thu, 23 February 2006 16:25 Go to next message
Eclipse UserFriend
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>
Re: Connection pooling [message #161823 is a reply to message #161761] Thu, 23 February 2006 21:06 Go to previous message
Johannes Wolfgang Woger is currently offline Johannes Wolfgang WogerFriend
Messages: 13
Registered: July 2009
Junior Member
miccook wrote:
> 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>
>
Have a look at
http://tomcat.apache.org/tomcat-5.0-doc/jndi-datasource-exam ples-howto.html

Wolfgang
Previous Topic:Update from within wtp-all-in-one-sdk-1.0-linux-gtk effects only emf
Next Topic:Opportunity for Early Testers: WTP 101 testUpdates site
Goto Forum:
  


Current Time: Fri Apr 26 18:37:05 GMT 2024

Powered by FUDForum. Page generated in 0.02935 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top