File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes Problem creating service jboss.aop:service=AspectManager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem creating service jboss.aop:service=AspectManager" Watch "Problem creating service jboss.aop:service=AspectManager" New topic
Author

Problem creating service jboss.aop:service=AspectManager

murali kankanala
Ranch Hand

Joined: Nov 15, 2004
Posts: 110
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

Joined: Nov 15, 2004
Posts: 110
jboss-service.xml



run.bat



Interceptor code



jboss-aop.xml

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem creating service jboss.aop:service=AspectManager