So where should the Context be?
On 22/07/64 2:59 PM, Pid wrote:
Don't put a Context in server.xml. That is a massive can of worms all
on its own.
On 23/10/2011 19:57, Dave Filchak wrote:
<Context path='' docBase='/home/#####/public_html/' debug='0'
<Resource name="jdbc/exodus" auth="Container" type="javax.sql.DataSource"
username="#####_#####"
password="#####"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/#####_#####?useUnicode=true&characterEncoding=utf8"
maxActive="15"
maxIdle="7"
defaultTransactionIsolation="READ_COMMITTED"
validationQuery="Select 1" />
/>
The above won't work, it should really stop Tomcat from starting.
Wrong:
<Context
<Resource ... />
/>
Right:
<Context>
<Resource ... />
</Context>
p
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org