This content has been marked as final.
Show 7 replies
-
1. Re: Where does the working copy of the WAR file live?
alesj Dec 8, 2009 10:50 AM (in response to laredotornado)"laredotornado" wrote:
does JBoss keep a working copy in a temp directory somewhere?
It depends on the type of the packaging.
For exploded and standalone .wars it shouldn't create a copy by default.
It should only create a .war copy if the archive is nested -- inside some other archive. -
2. Re: Where does the working copy of the WAR file live?
jaikiran Dec 8, 2009 10:55 AM (in response to laredotornado)"alesj" wrote:
It depends on the type of the packaging.
For exploded and standalone .wars it shouldn't create a copy by default.
I thought we started creating temp even for exploded deployments, to allow accessing resources during undeployment, starting JBossAS 5.1.0. Isn't that the case? -
3. Re: Where does the working copy of the WAR file live?
laredotornado Dec 8, 2009 11:04 AM (in response to laredotornado)In my case I am using a WAR file (as opposed to an exploded one). So when you say
> It should only create a .war copy if the archive is nested -- inside some other archive.
Where does that get created?
Thanks, - Dave -
4. Re: Where does the working copy of the WAR file live?
alesj Dec 8, 2009 11:57 AM (in response to laredotornado)"jaikiran" wrote:
I thought we started creating temp even for exploded deployments, to allow accessing resources during undeployment, starting JBossAS 5.1.0. Isn't that the case?
Hmmm ... I remember Jason adding something, but that could be for archives only ... afair. -
5. Re: Where does the working copy of the WAR file live?
alesj Dec 8, 2009 12:04 PM (in response to laredotornado)"laredotornado" wrote:
Where does that get created?
JBOSS_HOME/server/(your_config_here)/tmp -
6. Re: Where does the working copy of the WAR file live?
laredotornado Dec 8, 2009 1:22 PM (in response to laredotornado)I could only find one directory in there that seemed to match my WAR, but it has a date (and contents) of a deployment from yesterday.
./5c4o4w1-qu3u9i-g2ytcv7x-1-g2yyjama-21/myco-galc-capitol-tours-webapp.war/editContactInfo.jsp
When I change the files in that tmp directory, the changes are reflected on the web site, but when I redeploy, the files revert back to an older date and version. Any ideas as to why I'm observing these bizarre phenomena?
Thanks, - Dave
PS - Psyched about the World Cup? -
7. Re: Where does the working copy of the WAR file live?
alesj Dec 8, 2009 1:40 PM (in response to laredotornado)"laredotornado" wrote:
I could only find one directory in there that seemed to match my WAR, but it has a date (and contents) of a deployment from yesterday.
The old stuff should be deleted after re-boot or re/un-deploy."laredotornado" wrote:
When I change the files in that tmp directory, the changes are reflected on the web site, but when I redeploy, the files revert back to an older date and version. Any ideas as to why I'm observing these bizarre phenomena?
The old temp should / must be removed, hence the copy of the (old) original deployment kicks in.
You could un-jar the .war, which would mean we wouldn't create a copy.
unjar == explode only top level, leave nested jars as they are"laredotornado" wrote:
PS - Psyched about the World Cup?
Not yet. After all, it's still far away.
But I guess you'll see me less on the forums in June. :-)