The temp directory should default to the ${jboss.server.temp.dir} if
there is no module. I don't think an aspectized class is needed in this
situation as its just a remoting proxy is it not?
It also seems like the ClassPools handle a null tmp URL fine. If we want
a default tmp url it seems it should be injected into the
org.jboss.aop.asintegration.jboss5.JBoss5Integration instance.
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-Test...
>
> Adrian Brock wrote:
>
>> FYI:
>>
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152035#...
>>
> _______________________________________________
> jboss-development mailing list
> jboss-development(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jboss-development
>