tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freddy Villalba Arias" <fvilla...@madrid.bilbomatica.es>
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).

HTH.

-----Mensaje original-----
De: Sandy McArthur [mailto:Sandy@McArthur.org] 
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?

Sandy

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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message