wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem creating service jboss.aop:service=AspectManager
 
Similar Threads
Unable to deploy ejb3 entity bean with Oracle Datasource
DeploymentException while deploying ear file in JBoss
JBossJSFConfigureListener Error
getting null pointer exception
Exception got in deployment of EJB3 .ear