[jboss-jira] [JBoss JIRA] Commented: (JBAS-7100) Exploding vfsmemory:// contents is empty for web deployments
Andrew Lee Rubinger (JIRA)
jira-events at lists.jboss.org
Thu Oct 1 14:38:49 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-7100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12488134#action_12488134 ]
Andrew Lee Rubinger commented on JBAS-7100:
-------------------------------------------
Yes; was planning on doing so after this next big patch I'm working on it complete. If needed sooner ping me and I'll do it in a new workspace.
> 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 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