Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem creating service jboss.aop:service=AspectManager

 
murali kankanala
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Experts,

I have been strugling with JBoss AOP execution, I did everything correct for JBoss AOP , but still i am always getting the following error.
Please help me.

1)I have installed jboss-aop-jdk50.deployer
2) modified jboss-service.xml <attribute name="EnableLoadtimeWeaving">true</attribute>
3)modified run.bat with set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME% -javaagent:%JBOSS_ENDORSED_DIRS%\pluggable-instrumentor.jar
4)pluggable-instrumentor.jar is there in bin and as well in endorsed folder
5)I have deployed jboss-aop.xml the aspect/interceptor classes jar in /deploy folder

No luck, i have been strugling for 2 days. Please help.



I am using jboss-4.2.3 GA

attaching
Interceptor class
jboss-aop.xml

If the target class is in other webserivce which is running ( execution(* com.training.jaxws.sun.topdown.LoginValidationPortType->*(..)) ) , will it be invoked by interceptor ???
Attac

 
murali kankanala
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jboss-service.xml



run.bat



Interceptor code



jboss-aop.xml

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic