I've found that working (on my dev box -- sometimes windows, sometime linux) under Eclipse, it can be somewhat unpredictable when redeployment of a new page really "takes" in Tomcat's directory. When it seems funny, as Chris suggested, I shutdown Tomcat (from the MyEclipse control). Since I often have several apps I'm currently working on (myapp1, myapp2, ...), I just remove the specific Tomcat folders for, say myapp2: ~webapps/myapp2 and ~work/myapp2, then redeploy from the MyEclipse control., and then restart Tomcat. I've found that a page "taking" after changes is even more delicate when
the page is a GWT-based page in the app.

--Ken

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

Bob,

Bob Riaz wrote:
| Thank you, David. The jsp is on my development machine. I'm doing all my
| testing locally, so I wouldn't think this would be an issue. However,
I have
| been changing my system clock to test some time sensitive aspects of the
| application. I will look into this more closely. I wonder if you could
give
| me a pointer how to clean tomcat's  work directory.
| Thanks again for your thoughts.

It's easy: just shut down Tomcat, delete the entire "work" directory
(found in $CATALINA_HOME) and its contents, and then restart Tomcat. If
Tomcat doesn't have permissions to create the "work" directory, then you
should empty it, but not delete it.

- -chris

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

iEYEARECAAYFAkePkbMACgkQ9CaO5/Lv0PAriACdHETZ9ZsB46znaE9ICs0g2G6e
1rwAnRYFyesO63zKQdBz9q0m9FR/3YT6
=AAB2
-----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