't be two of the same class (package
> name and class name) visible from different classloaders. Tomcat
> internal code will see the one in common/lib first, your webapps will
> see it's own copy first and you'll end up with many a wonderous and
> strange error to as
you.
> The code you cite below looks like it's for when you are creating the
> pool and managing it yourself, which you aren't doing in this case.
>
> Also you didn't mention it, but I'm assuming your one and only copy of
> the DBCP jar file is in common
I have configured my web app to use tomcat's connection pooling.
and also I have modfied the default value of the factory attribute:
factory="org.apache.commons.dbcp.BasicDataSourceFactory"
Here is the context.xml
Here is how I retrieve the data source so that I later can ask for a
ut you can see the contents just by unzipping it.
>
> --David
>
> jerrycat wrote:
>> [Tried to read the tomcat docs, but it is a bit confusing]
>>
>> Right, my goal is to deploy war files that get unpacked so that I can see
>> the directory structure.
>>
>&
e is running on port 80 and the firewall is turned off. The OS is
windows server 2003.
Thanks for all help so far.
Markus Schönhaber-10 wrote:
>
> jerrycat wrote:
>
>> Thanks,
>> just a question here.
>>
>> Set the appBase attributes for all your Host eleme
e is running on port 80 and the firewall is turned off. The OS is
windows server 2003.
Thanks for all help so far.
Markus Schönhaber-10 wrote:
>
> jerrycat wrote:
>
>> Thanks,
>> just a question here.
>>
>> Set the appBase attributes for all your Host eleme
Thanks,
just a question here.
Set the appBase attributes for all your Host elements to different paths
and make sure that not one is contained in another. For example, if
you've got two hosts, "localhost" and "www.test.com", you could
configure them like that:
> j
for the specific Host, how should I configure it then?
Please help by giving examples!
Markus Schönhaber-10 wrote:
>
> jerrycat wrote:
>
>> I understand that Tomcat 5.5 prefers that your web application comes with
>> a
>> context.xml file under the META-INF f
Dear all,
I understand that Tomcat 5.5 prefers that your web application comes with a
context.xml file under the META-INF folder.
So I added a context.xml file under the META-INF folder of my web
application, please have a look below.
context.xml
[code]
[/code]
Ok, that is good so far