Moving file locking issue to the forum.
I tried using the feature I recently added - explicit unpacking of archives - with top
level .ear file.
Adding this jboss-structure.xml to ear's META-INF directory does the trick of
unpacking ear into tmp directory, but still doesn't allow the original ear file to be
deleted.
| <structure>
| <context modification="Unpack">
| <path name=""/>
| <metaDataPath>
| <path name="META-INF"/>
| </metaDataPath>
| </context>
| <context>
| <path name="inner.war"/>
| <metaDataPath>
| <path name="WEB-INF"/>
| </metaDataPath>
| </context>
| </structure>
|
I guess when you do any kind of reading inside file, in this case reading the contents of
jboss-structure.xml, the file gets locked.
I don't see how we can get past this w/o rewriting how URL(Connection)s are handled.
Can someone try how we stand with this on Linux?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4145753#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...