[jboss-dev-forums] [Design the new POJO MicroContainer] - Re: vfsmemory url problem

alesj do-not-reply at jboss.com
Thu Aug 21 11:04:40 EDT 2008


"alesj" wrote : 
  | Last deployers commit marked with JBDEPLOY-75
  | resolved the issue - I removed the 'classes' path,
  | leaving only guid host name.
You need trunk VFS and Deployers-VFS.
And this patch:

  | Index: src/main/org/jboss/aop/asintegration/jboss5/JBoss5ClassPoolFactory.java
  | ===================================================================
  | --- src/main/org/jboss/aop/asintegration/jboss5/JBoss5ClassPoolFactory.java     (revision 77280)
  | +++ src/main/org/jboss/aop/asintegration/jboss5/JBoss5ClassPoolFactory.java     (working copy)
  | @@ -21,7 +21,6 @@
  |  */
  |  package org.jboss.aop.asintegration.jboss5;
  | 
  | -import java.net.MalformedURLException;
  |  import java.net.URL;
  |  import java.util.Map;
  | 
  | @@ -29,7 +28,6 @@
  |  import javassist.scopedpool.ScopedClassPool;
  |  import javassist.scopedpool.ScopedClassPoolFactory;
  |  import javassist.scopedpool.ScopedClassPoolRepository;
  | -
  |  import org.jboss.aop.classpool.AOPClassPool;
  |  import org.jboss.aop.classpool.AbstractJBossClassPoolFactory;
  |  import org.jboss.aop.classpool.ExtraClassPoolFactoryParameters;
  | @@ -75,16 +73,6 @@
  |        if (module == null)
  |           return null;
  | 
  | -      try
  | -      {
  | -         URL tempUrl = module.getDynamicClassRoot();
  | -         if (tempUrl == null)
  | -            return null;
  | -         return new URL(tempUrl,  "/classes");
  | -      }
  | -      catch (MalformedURLException e)
  | -      {
  | -         throw new RuntimeException(e);
  | -      }
  | +      return module.getDynamicClassRoot();
  |     }
  |  }
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171803#4171803

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171803



More information about the jboss-dev-forums mailing list