Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Environment setting and autodeploy problem

terenyi

2007-07-18

Replies:

Hi!

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.

<Host appBase="webapps"
      name="localhost"
  unpackWARs="true" autoDeploy="true">

    <Context
       path="/ideskweb">
      <Environment
       description=""
       name="dburl"
       type="java.lang.String"
       value="jdbc:postgresql://xxx:5433/test"/>
    </Context>

</Host>

Is there a solution for using environment settings with autodeploy?

Thanks in advance,
Balázs

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.