[jboss-jira] [JBoss JIRA] (JBAOP-695) Hot un/deployment of .aop file works with war only when UseJBossWebLoader is enabled
Flavia Rainone (JIRA)
issues at jboss.org
Tue Jun 23 00:07:03 EDT 2015
[ https://issues.jboss.org/browse/JBAOP-695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Flavia Rainone reassigned JBAOP-695:
------------------------------------
Assignee: (was: Flavia Rainone)
> Hot un/deployment of .aop file works with war only when UseJBossWebLoader is enabled
> ------------------------------------------------------------------------------------
>
> Key: JBAOP-695
> URL: https://issues.jboss.org/browse/JBAOP-695
> Project: JBoss AOP
> Issue Type: Bug
> Affects Versions: 2.0.0.SP1
> Reporter: Flavia Rainone
> Fix For: TRUNK
>
>
> To reproduce the bug, follow in the steps:
> -Package your web application in a WAR just like normal.
> -Package your jboss-aop.xml and interceptor(s) in an AOP archive (e.g. myInterceptors.aop).
> -Start JBoss with both the WAR and the AOP archive in the "deploy" directory and load-time weaving enabled. When JBoss starts it will examine the point-cuts in the jboss-aop.xml of your AOP archive and weave the classes in your WAR accordingly.
> -To enable your interceptor(s), leave your AOP archive in the "deploy" directory.
> -To disable your interceptor(s), remove your AOP archive from the "deploy" directory.
> You will notice that the hot deploy is not working. It will work only if you change "UseJBossWebLoader" to "true" in <JBOSS_HOME>/server/default/deploy/jboss-web.deployer/META-INF/jboss-service.xml.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list