]
Dimitris Andreadis commented on JBAS-7100:
------------------------------------------
Andrew, are you going to revert it?
Exploding vfsmemory:// contents is empty for web deployments
------------------------------------------------------------
Key: JBAS-7100
URL:
https://jira.jboss.org/jira/browse/JBAS-7100
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Web (Tomcat) service
Reporter: Andrew Lee Rubinger
Assignee: Andrew Lee Rubinger
Fix For: JBossAS-5.2.0.Beta1, JBossAS-6.0.0.Alpha1
The following patch addresses this:
[alrubinger@localhost Branch_5_x]$ svn di server/
When using an in-memory archive backed by VFS, we're using an "unjar"; this
leaves out any RAM-backed resources. Instead explode the contents, regardless of
what's behind the virtual abstraction:
Index: server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java
===================================================================
--- server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java (revision 91204)
+++ server/src/main/org/jboss/web/deployers/AbstractWarDeployer.java (working copy)
-357,7 +357,7 @@
VFSDeploymentUnit vfsUnit = (VFSDeploymentUnit)unit;
VirtualFile root = vfsUnit.getRoot();
- VirtualFile unjared = VFSUtils.unjar(root);
+ VirtualFile unjared = VFSUtils.explode(root);
// file was not unjared yet
if (root != unjared)
{
This was exposed by prototyping in EMB-32.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: