Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2006

Tip: Looking for answers? Try searching our database.

Tomcat 5.5: exploded WAR directory persists

Thread view: 
bruce_phipps@my-deja.com - 15 Jul 2006 18:59 GMT
Tomcat 5.5.
I copy my WAR file myApp.war to $CATALINA_HOME/webapps
Browse to the servlet and test it.
Tomcat "explodes" the jar to create a myApp/ directory. But this
directory is not cleaned up when I stop Tomcat.

In the develop-deploy WAR-test cycle I need to keep deleting the
"exploded" directory.
Is there a way to avoid this?

Thanks
Bruce
Bill Medland - 17 Jul 2006 17:55 GMT
> Tomcat 5.5.
> I copy my WAR file myApp.war to $CATALINA_HOME/webapps
[quoted text clipped - 4 lines]
> In the develop-deploy WAR-test cycle I need to keep deleting the
> "exploded" directory.

Why do you need to delete it?

> Is there a way to avoid this?

I'm new to this area too but my experience is that if I replace the WAR then
a couple of seconds later it gets re-expanded automatically

(That is, I understand, because of some tomcat configuration setting
somewhere)

> Thanks
> Bruce

Signature

Bill Medland

Larry - 19 Jul 2006 20:23 GMT
> Tomcat 5.5.
> I copy my WAR file myApp.war to $CATALINA_HOME/webapps
[quoted text clipped - 8 lines]
> Thanks
> Bruce

ANT can be configured to do the tedious deployment work for you, which
is one of many tasks it was designed to do, and does very well  ;-)

Larry


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.