Thanks a lot.

After going through the documentation, I revisited my deployment to match what had 
been speciifed but I still cant get it to work.

First, I created a .aop of my intercepter class (which I verified worked in the 
stand-alone mode) :


  | $ jar -tvf SimpleAOP.aop 
  |      0 Tue Aug 17 00:35:46 IST 2004 META-INF/
  |     70 Tue Aug 17 00:35:46 IST 2004 META-INF/MANIFEST.MF
  |      0 Tue Aug 17 00:34:10 IST 2004 classes/
  |      0 Tue Aug 17 00:34:10 IST 2004 classes/test/
  |      0 Tue Aug 17 00:34:10 IST 2004 classes/test/ejb/
  |   1409 Tue Aug 17 00:35:20 IST 2004 classes/test/ejb/SimpleInterceptor.class
  |    177 Tue Aug 17 00:35:14 IST 2004 META-INF/jboss-aop.xml
  | 

I modified the $JBOSS_HOME/server/default/conf/jboss-service.xml file to add in the 
mbean specified in the link :


  |    <classpath codebase="lib" archives="*"/>
  |    <mbean code="org.jboss.aop.deployment.AspectManagerService"
  |       name="jboss.aop:service=AspectManager">
  |       <attribute name="EnableTransformer">false</attribute>
  |       <!-- only relevant when EnableTransformer is true -->
  |       <attribute name="SuppressTransformationErrors">true</attribute>
  |       <!-- only relevant when Enabletransformer is true.  Optimization is optional
  |            only just in case there is a bug in it -->
  |       <attribute name="Optimized">true</attribute>
  |       <attribute name="Verbose">false</attribute>
  |    </mbean>
  | 
  |    <mbean code="org.jboss.aop.deployment.AspectDeployer"
  |       name="jboss.aop:service=AspectDeployer">
  |    </mbean>   
  |    
  |    <mbean code="org.jboss.management.j2ee.LocalJBossServerDomain"
  | ...
  | 

I added the base-aop.xml file to the same directory.

I started up my jboss 3.2.5 server - then added my testEJB.jar file to the deploy 
directory. The beans were deployed successfully.

Next, I added the Simple.aop file. When I added it, I got the below message from the 
server :


  | Incompletely deployed packages:
  | [EMAIL PROTECTED] { 
url=file:/Users/sathya/Servers/jboss-3.2.5/server/default/deploy/SimpleAOP.aop }
  |   deployer: null
  |   status: null
  |   state: INIT_WAITING_DEPLOYER
  |   watch: file:/Users/sathya/Servers/jboss-3.2.5/server/default/deploy/SimpleAOP.aop
  |   lastDeployed: 1092683344241
  |   lastModified: 1092683344000
  |   mbeans:
  | 

and the aspect does not get executed when the beans method is executed.

Anything I am missing out ??

Thanks
Sathya

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845241#3845241

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845241


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to