I'm out then. I'm fine with the way tomcat operates and don't feel
anything in the way context xml files are associated with webapps is
ambiguous. It's really simple:
1. If you just want to deploy a webapp and don't need to define any
resources like db pools, just drop the webapp in the weba
2008/9/3 David Smith <[EMAIL PROTECTED]>:
> There's an implicit association based on the context path. myWebApp.xml in
> conf/Catalina/localhost is implicitly associated with the webapp myWebApp in
> the webapps directory, whether it be as a .war or expanded folder.
Yes, I agree that the docs rea
> From: Paul Pepper [mailto:[EMAIL PROTECTED]
> Subject: Re: Problem with JNDI environment entry resources
>
> Besides, I don't see any other documented way of associating
> each application with its associated element within
> server.xml.
Because you're not
There's an implicit association based on the context path. myWebApp.xml
in conf/Catalina/localhost is implicitly associated with the webapp
myWebApp in the webapps directory, whether it be as a .war or expanded
folder.
Illegal may be a strong word -- it implies that tomcat will flat out
reje
> I'll have to check the docs again. However, docBase is only legal when the
> webapp is stored outside of the
> appBase directory. Otherwise, you risk ending up with double deployment.
I don't see docBase described that way in the docs - at this moment
I'm referring to
http://tomcat.apache.or
contained within this transmission.
> Date: Wed, 3 Sep 2008 14:42:24 +0100
> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: Re: Problem with JNDI environment entry resources
>
> Martin,
>
> Thanks for the suggestion, though I think there may have
> From: Paul Pepper [mailto:[EMAIL PROTECTED]
> Subject: Re: Problem with JNDI environment entry resources
>
> Tomcat 6 docs states that docBase is a valid attribute
> in this situation.
I'll have to check the docs again. However, docBase is only legal when the
webapp is s
his transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>
>> Date: Wed, 3 Sep 2008 01:01:40 +0100
>> From:
From: Paul Pepper [mailto:[EMAIL PROTECTED]
>> Subject: Problem with JNDI environment entry resources
>>
>> Can anyone suggest what I might have missed?
>
> What happens if you follow the (strongly) recommended practice of not putting
> elements in server.xml? If you don
necessarily endorse content contained within this transmission.
> Date: Wed, 3 Sep 2008 01:01:40 +0100
> From: [EMAIL PROTECTED]
> To: users@tomcat.apache.org
> Subject: Problem with JNDI environment entry resources
>
> Tomcat 6.0.18
> java version "1.6.0_06" (sun-jav
> From: Paul Pepper [mailto:[EMAIL PROTECTED]
> Subject: Problem with JNDI environment entry resources
>
> Can anyone suggest what I might have missed?
What happens if you follow the (strongly) recommended practice of not putting
elements in server.xml? If you don't want to
Tomcat 6.0.18
java version "1.6.0_06" (sun-java6-jdk on Ubuntu 8.04 i386)
I'm attempting to create environment entry resources, of type
java.lang.String, within conf/server.xml and access them from web
applications using JNDI. I've created a bare-bones test web app,
jndistring
Original Message -
From: "Bachler, Elisabeth (Elisabeth)" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, June 27, 2007 1:48 PM
Subject: RE: How to read environment entry?
Thank you I will have a look at it.
-Original Message-
From: Dav
Thank you I will have a look at it.
-Original Message-
From: David Delbecq [mailto:[EMAIL PROTECTED]
Sent: miércoles, 27 de junio de 2007 12:44
To: Tomcat Users List
Subject: Re: How to read environment entry?
Read doc on environment entries in tomcat context documentation:
http
Read doc on environment entries in tomcat context documentation:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
En l'instant précis du 27/06/07 12:28, Bachler, Elisabeth (Elisabeth)
s'exprimait en ces termes:
> Hi,
> I have an application and I need to specify a string (that will be
Hi,
I have an application and I need to specify a string (that will be
different in each site), so the header I am using in each jsp page will
be able to read it and show it. I could do it using web.xml but I
was wondering if it was possible to do it using, in the Tomcat server
tool (context (a
> From: Marcelo Fukushima [mailto:[EMAIL PROTECTED]
> Subject: Environment Entry
>
> Another sily question: how do i retrieve these Environment Entries
> within an application? im using tomcat 5.5
There are examples here:
http://tomcat.apache.org/tomcat-5.5-doc/jndi-resou
Another sily question: how do i retrieve these Environment Entries
within an application?
im using tomcat 5.5
thanks again
--
[]'s
Marcelo Takeshi Fukushima
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
18 matches
Mail list logo