Re: Defining JDBC resource and AutoDeploy

2011-10-01 Thread Arttu Tanner
to add a >         to . See the Configuration >        documentation. > > http://tomcat.apache.org/tomcat-5.5-doc/config/context.html has all the > details. > > > On Fri, 2011-09-30 at 06:17 +0300, Arttu Tanner wrote: >> OS: Linux / CentOS / 2.6.18-028stab092.1 >>

Defining JDBC resource and AutoDeploy

2011-09-29 Thread Arttu Tanner
OS: Linux / CentOS / 2.6.18-028stab092.1 Tomcat: 5.5.23 I have simple XML-RPC -WebApp, that uses MySQL database. Currently I have defined the JDBC resource in server.xml inside the -tags as follows: In the WebApp the connection is formed like this: DataSource ds =(DataSource)ctx.lookup(