Hi!

I used the Tomcat Administrator to define the environment setting. Admin saved 
the entry to the server.xml. You can see it in the docs at 
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Environment%20Entries

Otherwise it works fine, but I can't use the autodeploy feature.

Thanks,
Balázs

On 2007-07-18 Wednesday 18:47, Christopher Schultz wrote:
> Balázs,
>
> [EMAIL PROTECTED] wrote:
> > Using Tomcat 5.5 with environment setting in context (in server.xml) the
> > auto(live)deploy doesn't work anymore (noting happens when touching the
> > war in webapps). If I remove the context from the host tag in server.xml
> > it works again.
>
> You should /not/ have a <Context> in server.xml. Instead, use a
> META-INF/context.xml file in your WAR file (if you use WAR files) or in
> your webapp's deployment directory.
>
> >         <Context
> >             path="/ideskweb">
> >           <Environment
>
> What is <Environment>? It does not appear to be a valid "nested
> component" according to the documentation for your version:
>
> http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Nested%20Compon
>ents
>
> > Is there a solution for using environment settings with autodeploy?
>
> Are you looking for "Context Parameters"?
>
> http://tomcat.apache.org/tomcat-5.5-doc/config/context.html#Context%20Param
>eters
>
> -chris
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to