Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Filip,

Filip Hanik - Dev Lists wrote:
Mentioning WatchedResource is a red herring.
reloadable attribute -> nothing to do with reloadable apps

I disagree:

"relodable (<Context> attribute)

Set to true if you want Catalina to monitor classes in /WEB-INF/classes/
and /WEB-INF/lib for changes, and automatically reload the web
application if a change is detected."

autoDeploy attribute -> everything to do with reloadable apps

I disagree:

"autoDeploy (<Host> attribute)

This flag value indicates if new web applications, dropped in to the
appBase directory while Tomcat is running, should be automatically
deployed."
yes, the same attribute is used for re-deployment, which is the same as a reload. a reload is a stop followed by a start, and is just a little less than undeploy/deploy
Although, my configuration has autoDeploy="false" and unpackWARs="true",
and my WAR file dropped into appBase ends up being auto-deployed. Strange.

autoDeploy uses WarchedResource to find out how/when to reload an app

Huh? This sound entirely backward.
what's backwards about it, Its the host that managed webapp deployments/undeployments and reloads. so not sure what you are confused about. It would be hard for an app to redeploy itself :)
Backwards or not, that's how its coded,

it's all there in the code, org/apache/catalina/startup/HostConfig.java

reloadable attribute is development use only, should never be used for
production

Hey! I agree with that!

Not to mention on a less powerful windows xp machine the first scenario
starts in seconds...

Dan, try to get a thread dump when your server is taking forever to
startup. Just do a CRTL-\ after a waiting a few seconds after running
startup.bat and check out what the VM is doing. Who knows... maybe it's
trying to download an XML DTD from another site over a crappy connection
or something.
yes, good point,

Filip
- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGz0WE9CaO5/Lv0PARAo+GAJ9JkB8Gw6xQgN1N4j5pgGaev2Q2KQCfX8mt
MhxZf5/TP9c8HYea4Uz4a+0=
=wq6C
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
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