[JBoss AOP] - Obnoxious AOP runtime error
by mckeno
I really don't understand why I keep getting the following error at runtime
org.jboss.util.NotImplementedException: Use getFieldWriteInfos
| at org.jboss.aop.ClassAdvisor.getFieldWriteInterceptors(ClassAdvisor.java:243)
|
Basically when I have my project compile and run with ant build everything works fine (I use JbossCache and a couple of aspectized class in being used). The thing is that if I compile it and then uses apoc (aop compiler of JbossAOP) to aspectize the class and then run in Eclipse by running the main class then the error above would happen.
So what does NotImplementedException mean? that function was supposed to be in jboss-aop.jar i guess. I don't think it is the jboss-aop.xml's problem as well cause with the ant build and run, it works fine
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048997#4048997
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048997
18 years, 11 months
[EJB 3.0] - Re: can any one help me - having a bad day with ejb3 server
by wiggy
could you be more specific please, I am not sure which properties and one which side -
do I have to do soemthing in the annotation on the 4.2 server side of my bean, or is it something i have to do on the embedded container side.
one thing though i've seen examples where they use a name atribute for the @Stateless(name=<...>) declaration on the bean - what relation does that have to the @Local or @Remote declariations on the business interfaces.
its just not clear what gets registered to JNDI by any of these (presumably all three i guess) as a call on a proxy with the business interface, has to get to the right bean implementation.
Why doesnt my simple DI example work in the embedded server. I declare a bean, declare its interface as local and then try use it from the main routine. I thought the injection would at least work locally in one application?
regards wiggy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048992#4048992
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048992
18 years, 11 months