Fine, thanks!
FYI:
I'm using jboss 4.0.4GA in a Debian Linux box, Sun's JDK 1.4 and the latest
jboss-aop deployer: 1.5.0GA.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4012429#4012429
Reply to the post :
Just for your information,
the above problem occurs with this configuration
app/deploy/mywebapp.war
app/deploy/app_aspect.aop
app/deploy/app_aspect/META-INF/jboss-aop.xml
I also tried to deploy the aspect using the other scheme:
app/deploy/mywebapp.war
app/deploy/app_aspect.jar - this
Yes, sure, it is. That's because if I don't include the class in the .aop or
.jar that contains the interceptor, it throws a ClassNotFoundException.
There must be a way to make the interceptor to be executed in the same
classloader as the class that contains (in this case) the method
I asked for the posibility of deploying the aspect inside a .war file because
of this content in the jboss-aop reference documentation:
http://labs.jboss.com/portal/jbossaop/docs/1.5.0.GA/docs/aspect-framework/reference/en/html/running.html#d0e3109
There states:
anonymous wrote : That is you
: false
| repositories:
| -- Parent Classloader:
| [EMAIL PROTECTED]
| 17:45:54,255 INFO [STDOUT] class
core.services.document.DocumentServiceParameters [EMAIL PROTECTED]
url=file:/home/pepelu/app/jboss/server/app/deploy/app_aspects.aop/
,addedOrder=8}
What can be done