Hi Kabir, sorry to bother you. Did you find anything else? could you give me
another hint as where to look, or what to touch to make another test ?
tks again.-
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4009597#4009597
Reply to the post :
At a glance this looks correct...
Try checking out jboss from cvs and building that, and then the testsuite. Have
a look at aoptest.sar...
Actually revisiting this I see that we do
| prepare expr=all(org.jboss.test.aop.bean.SecuredPOJO)/
|
|metadata tag=security
:(, tried several times, but is not working. Below is the list of steps i think
are correct and that i've already done:
1) downloaded: jboss-4.0.5.GA.zip
2) downloaded: jboss-aop_1.5.0.GA.zip
3) copied jboss-aop_1.5.0.GA\jboss-40-install\jboss-aop-jdk50.deployer to
I don't know if you need to include the metadate-loader again since that is
already defined in base-aop.xml.
Here's a jboss-aop.xml snippet from our testsuite
|!-- Security testing --
|
|prepare expr=all(org.jboss.test.aop.bean.SecurityTester)/
|
|prepare
The -aop.xml must be deployed before your application, or as part of it,
otherwise the metadata does not exist when your class is loaded. Take a look at
the injboss tutorial that comes with the aop distribution for some
suggestions.
View the original post :
Thanks for the prompt reply. I changed the UseJBossClassLoader parameter to
true, copied the learning-aop.xml and learning-aop.war to the deploy dir and
nothing happened. The logfile from the ejecution is:
16:25:43,750 INFO [Server] Starting JBoss (MX MicroKernel)...
| 16:25:43,750 INFO