• Get the target bean in a interceptor

    Hello, We use EJB 3 interceptors at the server side and we want use the target bean by calling the method 'getTargetObject' of the 'Invocation' object. Unfortunately, this method return always null at every invocati...
    Profile Photo
    created by slimamar
  • Get bean context from an Aspect

    Hi, I'm trying to get the context of a bean that I'm intercepting using an AOP aspect. I've tried to use InitialContext(); and lookup(......) but it doesn't work and it seems to be impossible to get the context of a...
    Profile Photo
    last modified by giordacchio++
  • Hot deployment in Jboss for AOP applications

    hi, I am a newbie to AOP and I liked to know how to do hot deployment in jboss for aop applications. Please help me. I am using jboss 4.2.1 and jboss AOP 1.5.6 (since our product already in production) I will explai...
    Profile Photo
    last modified by yuvaraj
  • Deploy AOP Application on JBOSS AS

    Hello, i was join jboss aop and a standalonne aplication works perfectly, but when i was deploy a web application on JbossAS it doesnt work. Please, wht is necessary for my application work on JbossAS ? i just follow ...
    Profile Photo
    last modified by wandxinho
  • Whether Compile time AOP increases size of project?

    I am new to AOP and I am quite impressed with it. I tried compile time JBoss AOP and found that it creates lot of extra class files. I thought aopc will modify the existing class file. I am trying to understand wheth...
    Profile Photo
    last modified by itramana
  • JSP expression language & JSP scriptlets, different AOP resu

    I have a Servlet that sets an Action Bean instance as an attribute called 'actionBean'. I also have successfully setup an AOP interceptor (with load time weaving) to intercept the User bean's getName() method. clas...
    Profile Photo
    last modified by alen_ribic
  • Interceptor invoked in context of Servlet but not JSP

    I have an Interceptor that intercepts the Hibernate's LazyInitializationException. I also have Load Time Weaving turned on. This interceptor works well when called from within the context of the Web Application Servle...
    Profile Photo
    last modified by alen_ribic
  • Class Cast Exception when AOP enabled

    Hi All, I am trying AOP in an application running on JBOSS 5.01 GA. The application has some JBPM code. The process handler calls an EJB internally. When this call happens I get the below class cast exception. Any ide...
    Profile Photo
    created by gunaranjanc
  • Client interceptor giving an NPE

    Hello, I've already posted on the EJB3 forum, but didn't get any replies there, so I thought that maybe on the AOP forum I'll have more luck. If any of you get this post twice, sorry :) First, my setup. I have an .e...
    Profile Photo
    last modified by adamw
  • Introducing annotations only on classes which don't have it

    I have been trying the examples hosted in the aop project SVN https://svn.jboss.org/repos/jbossas/projects/aop/trunk/aop/docs/examples/. Specifically, the annotation-introduction example. The sample application that i...
    Profile Photo
    last modified by jaikiran
  • Problems with Maven plugin for multi-dependency projects

    I have tested my module in a simple Maven environment and everything works, but I have a problem when I try to integrate the jboss aop module into a multi-module Maven project. The most important parts of the Maven m...
    Profile Photo
    created by kenzotomita
  • Standalone after-throwing sample works fine, but not work on

    Hello, Thank you for JBoss AOP effort first. I'm using JBoss AOP and trying to use after-throwing for exception handling. As like subject, the after-throwing sample in jboss-aop-2.0.1.GA works fine but same sample o...
    Profile Photo
    last modified by ienvyou
  • Problems with Maven2 and JBoss AOP 1.5.6.GA

    Hi, I'm trying to move my projects from Ant to Maven2. The maven-jbossaop-plugin is only compatible with jbossaop 2.0.x so I was wondering how someone else solved this problem. At the moment I try to test everything ...
    Profile Photo
    created by marvm
  • Library Conflict jboss-aop.jar <> jbossall-client.jar (Aspec

    Since this has happened more than one time, I guess there should be a solution for the problem: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=146554 http://www.jboss.com/index.html?module=bb&op...
    Profile Photo
    last modified by dermas
  • Write invocation not being called for arrayreplacement

    Hi All, I've been pulling my hair out with this one for some time. I'm trying to intercept reads and writes to an array. Reading is working really well but I cannot for the life of me get the writes to work. Here's i...
    Profile Photo
    created by sgoyette
  • Custom ClassFileTransformer disables JBoss AOP

    Hi JBoss AOP experts. I have been using a ClassFileTransformer in my program to build a registry of certain classes. It is loaded through the pluggable instrumentor. This solution is described in the following thread...
    Profile Photo
    last modified by fbrueseke
  • client interceptor to retrieve client IP

    Hi, I'm trying to apply a client interceptor to a method inside a SLSB in order to get the client IP address in the server. I read the doc https://www.jboss.org/community/docs/DOC-13224 where there is a simple exampl...
    Profile Photo
    last modified by formica
  • not blocking warning "may not be in your classpath"

    Hi (again), if you read my other post, I'm in the same application. I use the standalone JBoss AOP api. As I said, I don't have anything else then what I give you in the console. I have many (13) lines like these. I...
    Profile Photo
    last modified by alexis_morelle
  • Method Advised class on getInterceptorChainReadWriteLock wit

    I been searching the JIRA bugs related to AOP but not finding anything so I thought I might see if anyone has any suggestions. We have upgraded from AOP 1.5.6 in JBoss 4.2.2 GA to JBoss 5.0.1 using AOP 2.0.0 GA and a...
    Profile Photo
    last modified by pcross616
  • java.lang.RuntimeException: java.lang.NoSuchFieldException:

    Hi, While using JBoss AOP in Apache Tomcat 6.0.16, I am getting a strange error message, from which I can't make out what is the cause of the error. below is my AOP file and the error message. Please let me know if ...
    Profile Photo
    last modified by samvijay