-
1. Re: Restarting w/o deleting already deployed apps.
lasterra Apr 22, 2002 1:21 PM (in response to tosehee)Why don't you save this files in another folder???
-
2. Re: Restarting w/o deleting already deployed apps.
tosehee Apr 24, 2002 1:31 PM (in response to tosehee)Well, that's what I did for now. But, I want to be as much free as possible with possible security issues associated with saving the files to different directory and etc.
Se Hee -
3. Re: Restarting w/o deleting already deployed apps.
adrian.brock Apr 24, 2002 2:05 PM (in response to tosehee)You can unpack your deployment.
Basically create directories called myapp.war instead of
an archive but with the same structure.
To redeploy, touch the deployment descriptor.
The unpacked deployment is deployed in place rather
than copying to tmp. It is not deleted at undeployment.
Everything has to be unpacked.
It isn't considered good practice to write back
into a deployment.
The unpacked deployment is intended for development.
Regards,
Adrian -
4. Re: Restarting w/o deleting already deployed apps.
tosehee Apr 24, 2002 3:03 PM (in response to tosehee)Thanks for tips. I will try that for now.
Se Hee -
5. Re: Restarting w/o deleting already deployed apps.
blaine Apr 29, 2002 5:44 PM (in response to tosehee)J2EE is supposed to provide improved responsiblity
delineation. If a runtime administrator wants to change
a run-time parameter like "maxExemption" or "taxRate"
on a production server, why must he rebuild and re-deploy
an ear file? (I know "why" in the sense that the mods
are in the web.xml or ejb-jar.xml file, but why have
run-time variables buried 2-levels deep inside an ear
file?)
This would be a trivial text file edit with a conventional
UNIX daemon program. IMO, production-only setups should
not require build-tools like ant to be present.
Am I missing some reason why embedding JNDI or other
mappings is somehow better than progams like inetd,
sshd (and in some cases httpd), that re-read independent
text config files when you give them a HUP signal? -
6. Re: Restarting w/o deleting already deployed apps.
wchao Apr 29, 2002 7:56 PM (in response to tosehee)I think the intent was to make distribution and deployment as easy as possible. It's hard to go wrong with just one file. As for the deployment descriptors, they can either be edited with a GUI tool that automatically unpacks the archive and repacks it with the updated descriptors. Alternatively, you could manually unpack, edit, and repack. Ant is certainly not needed -- just some familiarity with either the GUI deployment tool or the jar command and an editor.