|
From: <nic...@uk...> - 2005-05-26 21:43:57
|
You cant change a jar's contents - you can only create a new jar - and in
any case the file lock will prevent you.
George,
What you are wanting to do here is "hot deployment" like most application
servers / servlet engines have...
If you can use an appserver/servlet engine, then maybe you want to have a
look at:
1) JNLP - Its what is used for Java Web Start - but it you can use the JNLP
framework to do updates for anything.. server included.
2) OSGI
-Nick
Internet
JS...@gt...@lists.sourceforge.net - 26/05/2005 09:29
Please respond to wra...@li...
Sent by: wra...@li...
To: wrapper-user
cc:
Subject: RE: [Wrapper-user] Self Updating Application
Maybe leave the jar as it is, but change its contents?
Like changing the chair that you (the java app) are sitting on..
You may get classloader problems if you do such a thing.
Met vriendelijke groet,
Johan Stuijt
Application Engineer
MES Expert Center
Doorkiesnummer: 075 612 79 34
GTI Industrie Noordwest bv
Industrial Automation
Houthavenkade 44 1506 PD Zaandam
Postbus 1377 1500 AJ Zaandam
tel.: 075 612 76 00 fax: 075 612 30 60
<http://www.gti-group.com/ia> www.gti-group.com/ia
-----Oorspronkelijk bericht-----
Van: George M. Liptak [mailto:gl...@we...]
Verzonden: woensdag 25 mei 2005 20:05
Aan: wra...@li...
Onderwerp: [Wrapper-user] Self Updating Application
Does anybody know io a good way to have the wrapper service restart the jvm
with an updated version of the jar the contains app that is running? I want
to make my service self updating but I can't replace the jar file because
Windows has it locked.
*********************************************************
Confidentiality Notice: This e-mail message, including any attachments, is
for the sole use of the intended recipient(s) and may contain confidential
and privileged information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient, please
contact the sender by reply e-mail and destroy all copies of the original
message.
================================================
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht
onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en
de afzender direct te informeren door het bericht te retourneren.
================================================
The information contained in this message may be confidential
and is intended to be exclusively for the addressee. Should you
receive this message unintentionally, please do not use the contents
herein and notify the sender immediately by return e-mail.
================================================
(See attached file: C.htm)
This message and any attachments (the "message") is
intended solely for the addressees and is confidential.
If you receive this message in error, please delete it and
immediately notify the sender. Any use not in accord with
its purpose, any dissemination or disclosure, either whole
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message.
BNP PARIBAS (and its subsidiaries) shall (will) not
therefore be liable for the message if modified.
**********************************************************************************************
BNP Paribas Private Bank London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in the
United Kingdom.
BNP Paribas Securities Services London Branch is authorised
by CECEI & AMF and is regulated by the Financial Services
Authority for the conduct of its investment business in the
United Kingdom.
BNP Paribas Fund Services UK Limited is authorised and
regulated by the Financial Services Authority.
|