com.tc.aspectwerkz.exception.DefinitionException: could not find advice method [addFilterIfNeeded(StaticJoinPoint jp, weblogic.servlet.internal.FilterManager filterManager)] in [com.tc.weblogic.SessionAspectWL9] (are you using a compiler extension that you have not registered?) (are you using XML defined advice, with StaticJoinPoint bindings without specifying the fullsource like signature?)

Terracotta Project Issue Tracker | Alex Miller | 9 years ago
  1. 0

    As a result of Weblogic 9 changes in 2.4.3, Weblogic 8 prints this error in the terracotta-client.log file. WL8 still works fine, this just looks scary - it's basically trying to weave a class that doesn't exist in WL8. This is reproducible with pretty much any WL8 container test. 2007-09-14 12:31:44,932 [main] ERROR com.terracottatech.dso.instrumentation - Aspect module [com.tc.weblogic.SessionAspectModule] could not be deployed in sun.misc.Launcher$AppClassLoader@1482257; com.tc.aspectwerkz.exception.DefinitionException: could not find advice method [addFilterIfNeeded(StaticJoinPoint jp, weblogic.servlet.internal.FilterManager filterManager)] in [com.tc.weblogic.SessionAspectWL9] (are you using a compiler extension that you have not registered?) (are you using XML defined advice, with StaticJoinPoint bindings without specifying the fullsource like signature?) com.tc.aspectwerkz.exception.DefinitionException: could not find advice method [addFilterIfNeeded(StaticJoinPoint jp, weblogic.servlet.internal.FilterManager filterManager)] in [com.tc.weblogic.SessionAspectWL9] (are you using a compiler extension that you have not registered?) (are you using XML defined advice, with StaticJoinPoint bindings without specifying the fullsource like signature?) at com.tc.aspectwerkz.definition.DefinitionParserHelper.createMethodInfoForAdviceFQN(DefinitionParserHelper.java:479) at com.tc.aspectwerkz.definition.deployer.AspectDefinitionBuilder.addAdvice(AspectDefinitionBuilder.java:67) at com.tc.weblogic.SessionAspectModule.addWL9Aspect(SessionAspectModule.java:42) at com.tc.weblogic.SessionAspectModule.deploy(SessionAspectModule.java:16) at com.tc.aspectwerkz.definition.deployer.StandardAspectModuleDeployer.loadModule(StandardAspectModuleDeployer.java:140) at com.tc.aspectwerkz.definition.deployer.StandardAspectModuleDeployer.doDeploy(StandardAspectModuleDeployer.java:131) at com.tc.aspectwerkz.definition.deployer.StandardAspectModuleDeployer.deploy(StandardAspectModuleDeployer.java:67) at com.tc.object.bytecode.hook.impl.DefaultWeavingStrategy.transform(DefaultWeavingStrategy.java:104) at com.tc.object.bytecode.hook.impl.DSOContextImpl.preProcess(DSOContextImpl.java:138) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:517) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at weblogic.socket.JVMSocketManager.<clinit>(JVMSocketManager.java:70) at weblogic.t3.srvr.T3Srvr.setJVMID(T3Srvr.java:637) at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:790) at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343) at weblogic.Server.__tc_main(Server.java:32) at weblogic.Server.main(Server.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.tc.test.server.appserver.cargo.CargoLinkedChildProcess.main(CargoLinkedChildProcess.java:52)

    Terracotta Project Issue Tracker | 9 years ago | Alex Miller
    com.tc.aspectwerkz.exception.DefinitionException: could not find advice method [addFilterIfNeeded(StaticJoinPoint jp, weblogic.servlet.internal.FilterManager filterManager)] in [com.tc.weblogic.SessionAspectWL9] (are you using a compiler extension that you have not registered?) (are you using XML defined advice, with StaticJoinPoint bindings without specifying the fullsource like signature?)
  2. 0

    As a result of Weblogic 9 changes in 2.4.3, Weblogic 8 prints this error in the terracotta-client.log file. WL8 still works fine, this just looks scary - it's basically trying to weave a class that doesn't exist in WL8. This is reproducible with pretty much any WL8 container test. 2007-09-14 12:31:44,932 [main] ERROR com.terracottatech.dso.instrumentation - Aspect module [com.tc.weblogic.SessionAspectModule] could not be deployed in sun.misc.Launcher$AppClassLoader@1482257; com.tc.aspectwerkz.exception.DefinitionException: could not find advice method [addFilterIfNeeded(StaticJoinPoint jp, weblogic.servlet.internal.FilterManager filterManager)] in [com.tc.weblogic.SessionAspectWL9] (are you using a compiler extension that you have not registered?) (are you using XML defined advice, with StaticJoinPoint bindings without specifying the fullsource like signature?) com.tc.aspectwerkz.exception.DefinitionException: could not find advice method [addFilterIfNeeded(StaticJoinPoint jp, weblogic.servlet.internal.FilterManager filterManager)] in [com.tc.weblogic.SessionAspectWL9] (are you using a compiler extension that you have not registered?) (are you using XML defined advice, with StaticJoinPoint bindings without specifying the fullsource like signature?) at com.tc.aspectwerkz.definition.DefinitionParserHelper.createMethodInfoForAdviceFQN(DefinitionParserHelper.java:479) at com.tc.aspectwerkz.definition.deployer.AspectDefinitionBuilder.addAdvice(AspectDefinitionBuilder.java:67) at com.tc.weblogic.SessionAspectModule.addWL9Aspect(SessionAspectModule.java:42) at com.tc.weblogic.SessionAspectModule.deploy(SessionAspectModule.java:16) at com.tc.aspectwerkz.definition.deployer.StandardAspectModuleDeployer.loadModule(StandardAspectModuleDeployer.java:140) at com.tc.aspectwerkz.definition.deployer.StandardAspectModuleDeployer.doDeploy(StandardAspectModuleDeployer.java:131) at com.tc.aspectwerkz.definition.deployer.StandardAspectModuleDeployer.deploy(StandardAspectModuleDeployer.java:67) at com.tc.object.bytecode.hook.impl.DefaultWeavingStrategy.transform(DefaultWeavingStrategy.java:104) at com.tc.object.bytecode.hook.impl.DSOContextImpl.preProcess(DSOContextImpl.java:138) at com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:517) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at weblogic.socket.JVMSocketManager.<clinit>(JVMSocketManager.java:70) at weblogic.t3.srvr.T3Srvr.setJVMID(T3Srvr.java:637) at weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:790) at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343) at weblogic.Server.__tc_main(Server.java:32) at weblogic.Server.main(Server.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.tc.test.server.appserver.cargo.CargoLinkedChildProcess.main(CargoLinkedChildProcess.java:52)

    Terracotta Project Issue Tracker | 9 years ago | Alex Miller
    com.tc.aspectwerkz.exception.DefinitionException: could not find advice method [addFilterIfNeeded(StaticJoinPoint jp, weblogic.servlet.internal.FilterManager filterManager)] in [com.tc.weblogic.SessionAspectWL9] (are you using a compiler extension that you have not registered?) (are you using XML defined advice, with StaticJoinPoint bindings without specifying the fullsource like signature?)

    Root Cause Analysis

    1. com.tc.aspectwerkz.exception.DefinitionException

      could not find advice method [addFilterIfNeeded(StaticJoinPoint jp, weblogic.servlet.internal.FilterManager filterManager)] in [com.tc.weblogic.SessionAspectWL9] (are you using a compiler extension that you have not registered?) (are you using XML defined advice, with StaticJoinPoint bindings without specifying the fullsource like signature?)

      at com.tc.aspectwerkz.definition.DefinitionParserHelper.createMethodInfoForAdviceFQN()
    2. com.tc.aspectwerkz
      AspectDefinitionBuilder.addAdvice
      1. com.tc.aspectwerkz.definition.DefinitionParserHelper.createMethodInfoForAdviceFQN(DefinitionParserHelper.java:479)
      2. com.tc.aspectwerkz.definition.deployer.AspectDefinitionBuilder.addAdvice(AspectDefinitionBuilder.java:67)
      2 frames
    3. com.tc.weblogic
      SessionAspectModule.deploy
      1. com.tc.weblogic.SessionAspectModule.addWL9Aspect(SessionAspectModule.java:42)
      2. com.tc.weblogic.SessionAspectModule.deploy(SessionAspectModule.java:16)
      2 frames
    4. com.tc.aspectwerkz
      StandardAspectModuleDeployer.deploy
      1. com.tc.aspectwerkz.definition.deployer.StandardAspectModuleDeployer.loadModule(StandardAspectModuleDeployer.java:140)
      2. com.tc.aspectwerkz.definition.deployer.StandardAspectModuleDeployer.doDeploy(StandardAspectModuleDeployer.java:131)
      3. com.tc.aspectwerkz.definition.deployer.StandardAspectModuleDeployer.deploy(StandardAspectModuleDeployer.java:67)
      3 frames
    5. com.tc.object
      ClassProcessorHelper.defineClass0Pre
      1. com.tc.object.bytecode.hook.impl.DefaultWeavingStrategy.transform(DefaultWeavingStrategy.java:104)
      2. com.tc.object.bytecode.hook.impl.DSOContextImpl.preProcess(DSOContextImpl.java:138)
      3. com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:517)
      3 frames
    6. Java RT
      ClassLoader.loadClassInternal
      1. java.lang.ClassLoader.defineClass(ClassLoader.java:539)
      2. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
      3. java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
      4. java.net.URLClassLoader.access$100(URLClassLoader.java:55)
      5. java.net.URLClassLoader$1.run(URLClassLoader.java:194)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. java.net.URLClassLoader.findClass(URLClassLoader.java:187)
      8. java.lang.ClassLoader.loadClass(ClassLoader.java:289)
      9. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
      10. java.lang.ClassLoader.loadClass(ClassLoader.java:235)
      11. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
      11 frames
    7. weblogic.socket
      JVMSocketManager.<clinit>
      1. weblogic.socket.JVMSocketManager.<clinit>(JVMSocketManager.java:70)
      1 frame
    8. weblogic.t3.srvr
      T3Srvr.run
      1. weblogic.t3.srvr.T3Srvr.setJVMID(T3Srvr.java:637)
      2. weblogic.t3.srvr.T3Srvr.initializeHere(T3Srvr.java:790)
      3. weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:669)
      4. weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:343)
      4 frames
    9. weblogic
      Server.main
      1. weblogic.Server.__tc_main(Server.java:32)
      2. weblogic.Server.main(Server.java)
      2 frames
    10. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    11. com.tc.test
      CargoLinkedChildProcess.main
      1. com.tc.test.server.appserver.cargo.CargoLinkedChildProcess.main(CargoLinkedChildProcess.java:52)
      1 frame