tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: How to deploy class jar file without restart Apache tomcat 7.0.40 server(Linux OS)
Date Sun, 02 Feb 2014 19:19:38 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Sushil,

On 2/1/14, 1:14 AM, Sushil Prusty wrote:
> Our web application contains both .war as well as .jar's file.

A web application (i.e. context) can really only have one WAR file.
There are odd ways of using more than one, but that would represent a
fairly non-standard configuration. If you have a suite of web
application (context) that appear as one to a user, that's not
terribly relevant.

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

- -chris

> On Sat, Feb 1, 2014 at 12:22 AM, Christopher Schultz < 
> chris@christopherschultz.net> wrote:
> 
> Chuck,
> 
> On 1/31/14, 1:47 PM, Caldarale, Charles R wrote:
>>>>> From: Sushil Prusty [mailto:sushil.prusty@gmail.com]
>>>>> Subject: Re: How to deploy class jar file without restart
>>>>> Apache tomcat 7.0.40 server(Linux OS)
>>>> 
>>>>> If Apache-tomact have a feature  like war deployment which
>>>>> is not required to stop and start the server same way in
>>>>> jar deployment it  will be more powerful and advantages.
>>>> 
>>>> There's no reason to restart Tomcat just to update a webapp.
>>>> If you simply replace the .war file, the webapp will be
>>>> restarted - unless you have explicitly disabled that in your
>>>> specific configuration.
> 
> ... and even if you have, you can always use the manager webapp to 
> explicitly reload WAR files (or deploy, undeploy, and redeploy).
> 
> -chris
>> 
>> ---------------------------------------------------------------------
>>
>> 
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>> 
>> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJS7ppHAAoJEBzwKT+lPKRYuBUP/3OJv3S57H1UNF+fSDkpyDE8
+cVJmhHh/6N+oxVX3BwAMPsyfrNDWwhjLjjuEiWT7Y6ljwGaR5X/XWTLne8M3IdR
xCJKGmUEX+Qiw8nTaSX9EriCacY3QXhu4zLZ8aN1rTl+kTNdKPS9yuo1feGbrA1b
wQzKORINIWyvZyNbQVUljzlf5mUkVdNm+6wD4Kq063YNrxefjoISL8vjWycLdFYP
/AOR8SoR4sero91kp4/PkBtxHqRBHigDQ/kGHCR4qal282uWTkAw8pbuJ5A/sUl2
YhJELbbrUW8sPbOEtS2XPzOzP9QjyQZAbWL4auLX200rPjh6HFje9YjunfFluW7R
HOyXfC6olgUS5kCwcldhu2QfpyEIejgHMtXMecW1kwbhrjxKPyO8nD0Pf8WQC3vY
zaxf9QA/z7YF01uwrwFMY+cs5nft7J2RkRNGq65eF/UjkTtOwLQ37HK29wmwIsUA
8O+OcGc74UY67NxpZdw1bZ/7o0YQUgRrKZYrzziyerIPeBQgANkRqOhOJPNYoaOR
3/CNFyAQiHHaOpMBeachQTmfqlx2oim3ac3NsKqxQleIZYUBHaG2tSrcOofD7QRn
5pJ2K8Ho4dgl+BP0yxEwaUDn9+oENPEJTc7pfxjA1xazFoplU/jwIKlK8rC/n2Za
82IWBEsoHKkf9yA9yB7B
=x/Lo
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message