[jboss-user] [Microcontainer] - Re: Deploying a self contianed JBossMC Bean in a JAR
Some more related dev issues: - http://www.jboss.org/index.html?module=bbop=viewtopict=128233start=0 - http://www.jboss.org/index.html?module=bbop=viewtopict=128560 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123842#4123842 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Deploying a self contianed JBossMC Bean in a JAR
kevglass wrote : I've been the code you pointed to but I'm still a little confused. The AS code only seems to honour the classpath for bootstrap deployments. Is there some similar code that applys the context class loader for application JARs? | http://jira.jboss.com/jira/browse/JBAS-4206 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4120418#4120418 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4120418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Deploying a self contianed JBossMC Bean in a JAR
I've been the code you pointed to but I'm still a little confused. The AS code only seems to honour the classpath for bootstrap deployments. Is there some similar code that applys the context class loader for application JARs? Kev View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082508#4082508 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082508 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Deploying a self contianed JBossMC Bean in a JAR
kevglass wrote : | I've spent some time looking through the code. The class loader deployed is creating a basic class loader and storing it in the deployment context. However, I can't find anywhere this context class loader is actually picked up (*the bean deployer seems to use either the bean meta info classloader or the thread context class loader). I've produced a small patch for the DeployersImpl that sets up the context class loader during install - but I'm not sure this is the right approach. | The code you are looking for (or missing) is in these two classes: - org.jboss.system.server.profileservice.ProfileServiceBootstrap - org.jboss.system.server.profileservice.hotdeploy.HDScanner View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082186#4082186 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Deploying a self contianed JBossMC Bean in a JAR
Ok, so the ProfileServiceBootstrap does the class loader assignment to the thread - thats great, I should be able to get stuff deploying now. I'm a bit confused though. Shouldn't the deployment framework honour the class loader set in the context? The change I made was (probably incorrectly) inside the DeployersImpl, which at least meant not down casting the MainDeployer. Thanks for the info, Kev View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082219#4082219 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user