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 and the fly likes Problem creating service jboss.aop:service=AspectManager Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Problem creating service jboss.aop:service=AspectManager
 
Similar Threads
DeploymentException while deploying ear file in JBoss
Exception got in deployment of EJB3 .ear
Unable to deploy ejb3 entity bean with Oracle Datasource
getting null pointer exception
JBossJSFConfigureListener Error