[jboss-jira] [JBoss JIRA] Resolved: (JBAS-7100) Exploding vfsmemory:// contents is empty for web deployments

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Tue Feb 9 22:11:11 EST 2010


     [ https://jira.jboss.org/jira/browse/JBAS-7100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Stansberry resolved JBAS-7100.
------------------------------------

    Fix Version/s:     (was: JBossAS-6.0.0.M3)
       Resolution: Done


> 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-6.0.0.M1
>
>
> The following patch addresses this:
> [alrubinger at 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list