[jboss-dev-forums] [Deployers on JBoss (Deployers/JBoss)] - Re: HOWTO deploy webapp dynamically
thomas.diesler@jboss.com
do-not-reply at jboss.com
Tue Feb 26 07:10:31 EST 2008
I read http://labs.jboss.com/file-access/default/members/jbossmc/freezone/docs/2.0.x/userGuide/pt04.html
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#4132146
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132146
More information about the jboss-dev-forums
mailing list