tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Filchak <sub...@zuka.net>
Subject Re: Re: : tomcat error 404
Date Sun, 23 Oct 2011 22:22:40 GMT
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&amp;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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message