I read
http://labs.jboss.com/file-access/default/members/jbossmc/freezone/docs/2...
Is there anywhere else this is documented?
How do I set the deployments class path?
I cant do
| // There is one top level deployment
| ContextInfo context = factory.addContext(unit, "");
| context.addClassPathEntry(entry);
|
because the classpath is not file based.
In my case, the deployment should use the context class loader of the calling component.
I get
| Caused by: java.lang.IllegalArgumentException: Null policy
| at
org.jboss.classloader.spi.base.BaseClassLoaderSystem.registerClassLoaderPolicy(BaseClassLoaderSystem.java:112)
| at
org.jboss.classloader.spi.ClassLoaderSystem.registerClassLoaderPolicy(ClassLoaderSystem.java:328)
| at
org.jboss.deployers.plugins.classloading.AbstractClassLoaderSystemDeployer.createClassLoader(AbstractClassLoaderSystemDeployer.java:143)
| at
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.createClassLoader(AbstractDeploymentContext.java:510)
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132146#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...