[jboss-user] [Microcontainer] - ClassLoaderMetaData not propagating (yet?) to classloader cr

gcompienne do-not-reply at jboss.com
Fri Feb 8 13:00:21 EST 2008


Sorry, last question for today. 

I am doing further testing with the deployers and I have noticed that the ClassLoaderMetaData info does not seem to be used (or fully used?) yet by the subsystem that triggers the creation of the classloader.

In my describe stage I try to change the domain (to see a little what are the effects) and I can see that my classloader stage got the changes but for some reason the classloader that was created is still using the default domain.

Any idea what I could be doing wrong?

Here is the log I got:


  | 2008-02-08 17:49:31,856 DEBUG [org.jboss.deployers.plugins.main.MainDeployerImpl] Add deployment: vfsfile:/C:/jboss5-beta3/jboss-5.0.0.Beta3/server/default/deploy/apptest.jar
  | 2008-02-08 17:49:31,856 DEBUG [org.jboss.deployers.plugins.main.MainDeployerImpl] Scheduling deployment: vfsfile:/C:/jboss5-beta3/jboss-5.0.0.Beta3/server/default/deploy/apptest.jar parent=null
  | 2008-02-08 17:49:31,856 DEBUG [org.jboss.deployers.plugins.deployers.DeployersImpl] Deploying vfsfile:/C:/jboss5-beta3/jboss-5.0.0.Beta3/server/default/deploy/apptest.jar
  | 2008-02-08 17:49:31,856 DEBUG [protomcf.test.deployer.TestParserDeployer] TestDeployerParser parsing...
  | 2008-02-08 17:49:31,856 DEBUG [protomcf.test.deployer.TestParserDeployer] TestDeployerParser returning: ParserMetaData at 10009199[testapp.BaseTestServlet]
  | 2008-02-08 17:49:31,856 DEBUG [protomcf.test.deployer.TestDescribeDeployer] TestDescribeDeployer deploy called...
  | 2008-02-08 17:49:31,856 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ** ClassLoaderMetaData = org.jboss.deployers.structure.spi.classloading.ClassLoaderMetaData at 78e67f
  | 2008-02-08 17:49:31,856 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ** Name = vfsfile:/C:/jboss5-beta3/jboss-5.0.0.Beta3/server/default/deploy/apptest.jar
  | 2008-02-08 17:49:31,856 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ** Domain = <DEFAULT>
  | 2008-02-08 17:49:31,856 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ** Parent Domain = null
  | 2008-02-08 17:49:31,856 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ** isImportAll? true
  | 2008-02-08 17:49:31,856 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ** Export all = NON_EMPTY
  | 2008-02-08 17:49:31,856 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ClassLoaderFactory not present...
  | 2008-02-08 17:49:31,856 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ParserMetaData found: ParserMetaData at 10009199[testapp.BaseTestServlet]
  | 2008-02-08 17:49:31,856 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ** ClassLoaderMetaData = org.jboss.deployers.structure.spi.classloading.ClassLoaderMetaData at 78e67f
  | 2008-02-08 17:49:31,856 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ** Name = vfsfile:/C:/jboss5-beta3/jboss-5.0.0.Beta3/server/default/deploy/apptest.jar
  | 2008-02-08 17:49:31,871 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ** Domain = TestAppDomain
  | 2008-02-08 17:49:31,871 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ** Parent Domain = null
  | 2008-02-08 17:49:31,871 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ** isImportAll? false
  | 2008-02-08 17:49:31,871 DEBUG [protomcf.test.deployer.TestDescribeDeployer] ** Export all = NON_EMPTY
  | 2008-02-08 17:49:31,871 DEBUG [org.jboss.classloader.spi.base.BaseClassLoader] Created BaseClassLoader at 164a659 with policy VFSClassLoaderPolicy at e523ed{domain=null roots=[JarEntryHandler at 32044257[path=apptest.jar/WEB-INF/classes context=file:/C:/jboss5-beta3/jboss-5.0.0.Beta3/server/default/deploy/ real=jar:file:/C:/jboss5-beta3/jboss-5.0.0.Beta3/server/default/deploy/apptest.jar!/WEB-INF/classes/], MemoryContextHandler at 26854149[path=classes context=vfsmemory://5c4o1s-a5nrui-fcf14ibf-1-fcf19nbz-1l real=vfsmemory://5c4o1s-a5nrui-fcf14ibf-1-fcf19nbz-1l/classes]]  delegates=[] exported=[testapp]NON_EMPTY}
  | 2008-02-08 17:49:31,871 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderDomain] ClassLoaderDomain at 670479{<DEFAULT>} registerClassLoader BaseClassLoader at 164a659{VFSClassLoaderPolicy at e523ed{domain=null roots=[JarEntryHandler at 32044257[path=apptest.jar/WEB-INF/classes context=file:/C:/jboss5-beta3/jboss-5.0.0.Beta3/server/default/deploy/ real=jar:file:/C:/jboss5-beta3/jboss-5.0.0.Beta3/server/default/deploy/apptest.jar!/WEB-INF/classes/], MemoryContextHandler at 26854149[path=classes context=vfsmemory://5c4o1s-a5nrui-fcf14ibf-1-fcf19nbz-1l real=vfsmemory://5c4o1s-a5nrui-fcf14ibf-1-fcf19nbz-1l/classes]]  delegates=[] exported=[testapp]NON_EMPTY}}
  | 2008-02-08 17:49:31,871 DEBUG [protomcf.test.deployer.TestClassloaderDeployer] ** ClassLoaderMetaData = org.jboss.deployers.structure.spi.classloading.ClassLoaderMetaData at 78e67f
  | 2008-02-08 17:49:31,871 DEBUG [protomcf.test.deployer.TestClassloaderDeployer] ** Name = vfsfile:/C:/jboss5-beta3/jboss-5.0.0.Beta3/server/default/deploy/apptest.jar
  | 2008-02-08 17:49:31,871 DEBUG [protomcf.test.deployer.TestClassloaderDeployer] ** Domain = TestAppDomain
  | 2008-02-08 17:49:31,871 DEBUG [protomcf.test.deployer.TestClassloaderDeployer] ** Parent Domain = null
  | 2008-02-08 17:49:31,871 DEBUG [protomcf.test.deployer.TestClassloaderDeployer] ** isImportAll? false
  | 2008-02-08 17:49:31,871 DEBUG [protomcf.test.deployer.TestClassloaderDeployer] ** Export all = NON_EMPTY
  | 2008-02-08 17:49:31,871 DEBUG [protomcf.test.deployer.TestClassloaderDeployer] ClassLoaderFactory not present...
  | 2008-02-08 17:49:31,871 DEBUG [protomcf.test.deployer.TestClassloaderDeployer] ClassLoader is BaseClassLoader at 164a659
  | 2008-02-08 17:49:31,871 DEBUG [protomcf.test.deployer.TestClassloaderDeployer] ** module = org.jboss.deployers.plugins.classloading.Module at 1d2822f
  | 2008-02-08 17:49:31,871 DEBUG [org.jboss.ejb3.deployers.Ejb3Deployer] ********* Ejb3Deployer Begin Unit: apptest.jar jar: apptest.jar
  | 2008-02-08 17:49:31,871 DEBUG [org.jboss.ejb3.Ejb3Deployment] EJB3 deployment time took: 0
  | 2008-02-08 17:49:31,871 DEBUG [org.jboss.deployers.plugins.deployers.DeployersImpl] Fully Deployed vfsfile:/C:/jboss5-beta3/jboss-5.0.0.Beta3/server/default/deploy/apptest.jar
  | 
  | 

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

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



More information about the jboss-user mailing list