[
http://jira.jboss.com/jira/browse/JBAOP-492?page=comments#action_12390066 ]
Ryan R. LaMothe commented on JBAOP-492:
---------------------------------------
This error occurs a pointcut definition which uses an '*' across multiple packages
including ones containing the Entity items:
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
<aop>
<bind pointcut="all(us.va.*)">
<interceptor class="Log"/>
</bind>
</aop>
The stack trace does not appear with a pointcut defintion such as:
<?xml version="1.0" encoding="UTF-8"
standalone="yes"?>
<aop>
<typedef name="EJBs"
expr="class(us.va.state.vwc.poc.jpa.PocItemEntity)"/>
<bind pointcut="all($typedef{EJBs})">
<interceptor class="Log"/>
</bind>
</aop>
Unfortunately, it is not an acceptable solution to write a typedef for every single Entity
class in the entire application. Also, any other instance where a pointcut is defined
with a '*' and it crosses over an Entity item an exception occurs.
Duplicate _getAdvisor
---------------------
Key: JBAOP-492
URL:
http://jira.jboss.com/jira/browse/JBAOP-492
Project: JBoss AOP
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.CR1
Reporter: Flavia Rainone
Users are getting the following error message:
AOP Instrumentor failed to transform
com.radware.insite.model.trafficredirection.farm.profile.FarmProfile
_$$_javassist_233
16:09:12,066 ERROR [STDERR] javassist.bytecode.DuplicateMemberException: duplicate
method: _getAdvis
or in com.radware.insite.model.trafficre
This bug has been reproduced when using Hibernate with JBoss AOP. Refer to the forum link
for more information.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira