[jboss-dev] Modularisation of the AS bootstrap

Adrian Brock abrock at redhat.com
Wed May 21 06:28:43 EDT 2008


NOTE. This change occurred because the bootstrap now
uses a VFSClassLoader instead of a NoAnnotationURLClassLoader,
so this will now be true:

     if (!isWebCl && cl instanceof RealClassLoader)

On Wed, 2008-05-21 at 12:26 +0200, Adrian Brock wrote:
> This looks to be some problem with when the "real" profile service is
> using AOP to create a remote proxy:
> 
> 2008-05-20 17:05:28,700 ERROR
> [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main)
> Error installing to Start: name=ProfileServiceProxyFactory state=Create
> java.lang.NullPointerException
> 	at org.jboss.aop.asintegration.jboss5.JBoss5ClassPoolFactory.getTempURL(JBoss5ClassPoolFactory.java:77)
> 	at org.jboss.aop.asintegration.jboss5.JBoss5ClassPoolFactory.create(JBoss5ClassPoolFactory.java:68)
> 	at org.jboss.aop.asintegration.jboss5.JBoss5Integration.create(JBoss5Integration.java:135)
> 	at javassist.scopedpool.ScopedClassPoolRepositoryImpl.createScopedClassPool(ScopedClassPoolRepositoryImpl.java:99)
> 	at javassist.scopedpool.ScopedClassPoolRepositoryImpl.registerClassLoader(ScopedClassPoolRepositoryImpl.java:125)
> 	at org.jboss.aop.classpool.AOPClassPoolRepository.registerClassLoader(AOPClassPoolRepository.java:157)
> 	at org.jboss.aop.AspectManager.registerClassLoader(AspectManager.java:744)
> 	at org.jboss.aop.AspectManager.findClassPool(AspectManager.java:734)
> 	at org.jboss.aop.proxy.ProxyFactory.createProxyCtClass(ProxyFactory.java:206)
> 	at org.jboss.aop.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:116)
> 	at org.jboss.aop.proxy.ProxyFactory.createInterfaceProxy(ProxyFactory.java:93)
> 	at org.jboss.aop.proxy.ProxyFactory.createInterfaceProxy(ProxyFactory.java:83)
> 	at org.jboss.aspects.remoting.Remoting.createRemoteProxy(Remoting.java:102)
> 	at org.jboss.profileservice.remoting.ProxyFactory.start(ProxyFactory.java:132)
> 
> I've fixed the NPE. i.e. if it doesn't know the module, there is no
> TempURL, but there might be more to it than this? 
> 
> Presummably it is going to try to generate a "remote class"
> in the temp url or does it have a default one?
> (Kabir and Scott in copy).
> 
> On Wed, 2008-05-21 at 11:07 +0300, Dimitris Andreadis wrote:
> > The testsuite needs to adjust to the configuration file changes:
> > http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-5.0.x-TestSuite-sun15/595/
> > 
> > Adrian Brock wrote:
> > > FYI:
> > > http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152035#4152035
> > _______________________________________________
> > jboss-development mailing list
> > jboss-development at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/jboss-development
-- 
xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Adrian Brock
Chief Scientist
JBoss, a division of Red Hat
xxxxxxxxxxxxxxxxxxxxxxxxxxxx




More information about the jboss-development mailing list