Have used this for MySQL DB - am NOT totally sure that it is completely
correct
This is what works for me - (see NOTES at end - if anyone can shed any light
on Limiting Pool size)
#1in your Server.xml
factory
com.mysql.jdbc.jdbc2.optional.MysqlDataSourceFactor
> Well, get ready to start standing
I knew about the bit that goes in the deployment descriptor (!) It was 'the
rest' I was referring to :-)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
At 10:16 AM 2/16/2004 +, you wrote:
I not think you can put the JNDI/Resource stuff in the deployment
descriptor, though I stand to be corrected (!)
Well, get ready to start standing
DB Connection
jdbc/TestDB
javax.sql.DataSource
Container
That goes in your we
I not think you can put the JNDI/Resource stuff in the deployment
descriptor, though I stand to be corrected (!)
AFAIK the JNDI/Resource stuff is placed within an application's 'Context'
element.
With Tomcat 5 you can have separate context fragments - individual XML
documents - for each applicati
I don't think you can.
In web.xml you only make the named DataSource available for your webapp, but the
DataSource must be setted up already (in server.xml)...
Therefore, I think there is no possible way to do it. Does anyone know a solution, I
will be interested to know it too!
Jose
On Sun,
The reference book I have shows how to configure a data resource (JDBC) in the
server.xml.
Does anyone have a reference on how to do this in the web.xml?
I'd like to be able to unpack a war and have everything run, without the need to edit
the
server.xml.
Thanks for your help.
Mike
___