Add the following files to Meta-INF:
XML Version = "1.0" encoding = "UTF-8"?>
advice ejb-name>
JNDI / Advice jndi-name>
session>
enterprise-beans>
jboss>