-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Chuck,
On 2/2/14, 2:34 PM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: How to deploy class jar file without restart Apache >> tomcat 7.0.40 server(Linux OS) > >>> Our web application contains both .war as well as .jar's file. > > Not possible. It's either/or, not both - if the webapp is built > properly. You may have added .jar files elsewhere that really > should be included in the .war file. > >>> When ever we changes our service layer code it will be in .jar >>> file which also deploying in tomact server. I just want avoid >>> restarting server for changes in .jar file. > >> As long as your web application redeploys cleanly (e.g. does not >> leak memory -- particular ClassLoaders), you should not have to >> restart Tomcat just to reload a web application. > > I have a suspicion that the OP painted himself into a corner by > having a .war file for most of the webapp but then dumping some > .jar files that the webapp depends on into Tomcat's lib directory - > a really, really bad idea. If this is the case, than only a Tomcat restart can re-load those JAR files, of course. > Such .jar files should be part of the .war file, not in some > accidentally associated location. Perhaps this is another instance > of trying to save disk space by putting common .jar files in a > single location for use by multiple webapps, rather than properly > including them in each webapp. Whatever is going on smacks of poor > application deployment methodology. Likely, but let's not beat-up Sushil too soon. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJS7qQeAAoJEBzwKT+lPKRYGsMP/jNqcuaA/sbTwSU7nFXHCtVr 1rccw7ZOjS8WjyJxbhWqiT90d/r3I+q/gabL0owlAR17i2eSGLW97e6Azxgp+OyI qAGif9kLj8CAcNmqXM/SjBTlH1m0Me0LWGpaOaJcK/cIkq+sNGdwbHDe63HMAXPA 2DZ7MJ89NShw7Qq4VTO3AdrGVLfqN6Zq+n79jPLGZKpR86ivezZyh/Xpp0B2lZ5r b9U89WudlEb2dqzRMv9Z4KA+yvYwM4biHWu/UB1VLTDL3neJ1bCJMy4zqrgSM8NS v8hjugy9OpzHSQZNu5c/Q16886uZznXfBWZU9oGjYou7sx4zduW1qedo9vQSJA1C xtccaOhD+KsVAhGYiq6kpQObLAo0YTcdm5IqXyrTwEQNaCG0QsX5uWMuGAez5O1U J349U2LzcCAugeJXPiGK0jroF0jXMlbsQcqA0yiJ73mKcJkArAUSIXcDMn40OYt4 QgodBRF+vCAnNO9rxaQPc14yrPbEPIrcLj2nnesyNQJrF8qmcI8bpm4Cyem6bEQ+ Pw84GIXq3Zi2K9oRne3MOx1EY/BT+NOlZdRYNIWCiA/OuedPDCV45QriTg6WVGED 2q1cLurRegpwKYs3IvKYw/j3a0M/sT2UyHy+L/X0cB5sw1i0Gr4eNLU+NUVkEgvR dVjzN9d+zOUSG1oZwd4z =4tpp -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org