3 Replies Latest reply on Jan 11, 2012 1:56 PM by Jason Porter

    ExceptionHandledInterceptor.passExceptionsToSolderCatch Weblogic compliance

    Mark Ashworth Newbie

      Good day,


      In change SOLDER-290 performed on the 13 Oct 2011, the method signature of passExceptionsToSolderCatch() was changed to throw Throwable instead of Exception. This change causes a Weblogic 12c compliance check error:-


      weblogic.ejb.container.compliance.ComplianceException: AroundInvoke method passExceptionsToSolderCatch in class org.jbos
      s.solder.exception.control.ExceptionHandledInterceptor must have the signature: 'Object <METHOD(InvocationContext)> thro
      ws Exception'
              at weblogic.ejb.container.compliance.BusinessMethodInterceptorChecker.validateAroundInvokeOrTimeoutMethod(Busine
      ssMethodInterceptorChecker.java:227)
              at weblogic.ejb.container.compliance.BusinessMethodInterceptorChecker.checkAroundInvokeOrTimeoutMethods(Business
      MethodInterceptorChecker.java:125)
              at weblogic.ejb.container.compliance.InterceptorChecker.checkAroundInvokeMethods(InterceptorChecker.java:91)
              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:597)
              at weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:107)
              at weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:89)
              at weblogic.ejb.container.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:702)
              at weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:179)
              at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:392)
              at weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:359)
              at weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:588)
              at weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:499)
              at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:895)
              at weblogic.ejb.container.deployer.EjbModuleExtension.postPrepare(EjbModuleExtension.java:97)
              at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:89)
              at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
              at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:172)
              at weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:167)



      Versions
      Weblogic 12c (12.1.1) zip distribution
      Solder 3.1.0.CR1 also tries Solder 3.1.0-SNAPSHOT 20111214.051054-32


      Packaging
      The project is packaged as a Web Archive


      Regards,
      Mark P Ashworth