tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freddy Villalba Arias" <>
Subject RE: JNDI and DataSource
Date Mon, 12 Apr 2004 15:36:07 GMT
Yes and no... :)

I have only one web application to be deployed (wa). Then, I read in
some places that it's mandatory to have a default context. I tried
defining a <DefaultContext> but then Tomcat's initialization failed (I
looked for something odd but couldn't find anything). So, I decided to
"create" a default (dummy) web app "by hand". That's the only intent of
that second web app. It doesn't even exist (there is no WEB-INF
directory, leave alone web.xml). The good part: that solved the
initialization problem.

So, it's not what I originally wanted (I'd remove it if I knew how to
"elegantly" solve the dummy web app - or just no default web app, if
possible - issue), but it does the job for now (if you can provide some
insight on this other subject, I would also appreciate it).


-----Mensaje original-----
De: Sandy McArthur [] 
Enviado el: lunes, 12 de abril de 2004 17:32
Para: Tomcat Users List
Asunto: Re: JNDI and DataSource

You have a default context right after the wa context that doesn't 
specify a <Resource . Is that what you meant?


On Apr 12, 2004, at 9:44 AM, Freddy Villalba Arias wrote:

> [...]
>               </ResourceParams>
>             </Context>
>             <Context path="" docBase="..\..\Testing" debug="5"
> reloadable="true">
>             </Context>
>       </Host>
> [...]

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message