[jboss-dev-forums] [Design of POJO Server] - Re: JBAS-5895; Processing too many classes
alesj
do-not-reply at jboss.com
Fri Sep 12 05:57:32 EDT 2008
OK, this is the actual cause of the problem.
In EARStructure we have by default includeEarRootInClasspath = true.
Hence the root is added to classpath.
Skipping lib in classpath doesn't help here.
It's the VFSDeploymentClassLoaderPolicyModule::visit that picks up
classes in EAR-ROOT/lib/shared.jar since root is in the classpath.
While visiting root as part of classpath it finds com.sun.ts.tests.ejb30.assembly.librarydirectory.disable.AssemblyBean as a resource: lib.shared.jar.com.sun.ts.tests.ejb30.assembly.librarydirectory.disable.AssemblyBean
But I use javassist to give me classname, hence the name is real classname, not full resource name (including prefix lib.shared.jar).
What should be a proper/good fix for this?
We have bunch of filters we could use.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176072#4176072
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176072
More information about the jboss-dev-forums
mailing list