Results 1 to 3 of 3

Thread: AopCoinfigException is normal?

  1. #1
    Join Date
    Sep 2005
    Posts
    1

    Default AopCoinfigException is normal?

    There are some AopCoinfigException were throwed out when use CGLib,but the code was performed correctly,is it normal?

    Code:
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Unable to apply any optimisations to advised method public java.lang.String java.lang.Object.toString() - using AOP_PROXY
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.addAdvisor(org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.addAdvisor(int,org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.setTargetSource(org.springframework.aop.TargetSource) is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.isProxyTargetClass() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.setExposeProxy(boolean) is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.isExposeProxy() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.isFrozen() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract java.lang.Class[] org.springframework.aop.framework.Advised.getProxiedInterfaces() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.addAdvice(org.aopalliance.aop.Advice) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.addAdvice(int,org.aopalliance.aop.Advice) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract org.springframework.aop.TargetSource org.springframework.aop.framework.Advised.getTargetSource() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.isInterfaceProxied(java.lang.Class) is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.removeAdvice(org.aopalliance.aop.Advice) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.removeAdvisor(org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract void org.springframework.aop.framework.Advised.removeAdvisor(int) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract org.springframework.aop.Advisor[] org.springframework.aop.framework.Advised.getAdvisors() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract boolean org.springframework.aop.framework.Advised.replaceAdvisor(org.springframework.aop.Advisor,org.springframework.aop.Advisor) throws org.springframework.aop.framework.AopConfigException is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract java.lang.String org.springframework.aop.framework.Advised.toProxyConfigString() is declared on Advised - using DISPATCH_ADVISED
    1762 DEBUG org.springframework.aop.framework.Cglib2AopProxy  - Method public abstract int org.springframework.aop.framework.Advised.indexOf(org.springframework.aop.Advisor) is declared on Advised - using DISPATCH_ADVISED

  2. #2
    Join Date
    Aug 2004
    Posts
    2,715

    Default

    Since the message is logged on DEBUG level, I would consider it normal.
    Besides that, I understand the log that way, that some method declares to throw the mentioned exception. It does not look like the exception is actually being thrown.

    Regards,
    Andreas

  3. #3
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    Andreas is correct. This is normal debug log output. It refers to normal processing of methods, some of which have signatures throwing AopConfigException.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

Similar Threads

  1. Replies: 3
    Last Post: Sep 30th, 2005, 05:58 AM
  2. Logo for Spring IDE - The normal one or the sketchy one?
    By Torsten Juergeleit in forum SpringSource Tool Suite
    Replies: 0
    Last Post: Jul 26th, 2005, 11:58 AM
  3. Replies: 2
    Last Post: Oct 31st, 2004, 07:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •