glassfish
  1. glassfish
  2. GLASSFISH-20357

Weld Duplicate Interceptors in ejb30_bb suite: see https://issues.jboss.org/browse/WELD-1410

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0_b85
    • Fix Version/s: 4.0
    • Component/s: cdi
    • Labels:
      None

      Description

      Duplicate Interceptors (NOT fixed by Weld 2.0.0CR2) See https://issues.jboss.org/browse/WELD-1410
      com/sun/ts/tests/ejb30/bb/session/stateless/interceptor/listener/mixed/Client.java#interceptorOrderingOverride: Client_interceptorOrderingOverride
      com/sun/ts/tests/ejb30/bb/session/stateless/interceptor/listener/mixed/Client.java#methodLevelClassLevelInterceptorMixedTest: Client_methodLevelClassLevelInterceptorMixedTest
      com/sun/ts/tests/ejb30/bb/session/stateless/interceptor/listener/mixed/Client.java#methodLevelInterceptorMixedTest: Client_methodLevelInterceptorMixedTest
      com/sun/ts/tests/ejb30/bb/session/stateless/interceptor/listener/mixed/Client.java#repeatedInterceptors: Client_repeatedInterceptors
      7832: Exception during lifecycle processing
      7833: org.glassfish.deployment.common.DeploymentException: CDI deployment failure:Duplicate interceptor class definition when binding com.sun.ts.tests.ejb30.common.interceptor.Interceptor1 on AROUND_INVOKE
      7834: at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:223)
      7835: at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:131)
      7836: at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:328)
      7837: at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:493)
      7838: at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:219)
      7839: at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:491)
      7840: at com.sun.enterprise.v3.admin.CommandRunnerImpl$2.execute(CommandRunnerImpl.java:537)
      7841: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:546)
      7842: at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1423)
      7843: at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1500(CommandRunnerImpl.java:108)
      7844: at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1762)
      7845: at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:164)
      7846: at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:595)
      7847: at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:482)
      7848: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:410)
      7849: at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:401)
      7850: at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:233)
      7851: at java.util.TimerThread.mainLoop(Timer.java:555)
      7852: at java.util.TimerThread.run(Timer.java:505)
      7853: Caused by: org.jboss.weld.interceptor.proxy.InterceptorException: Duplicate interceptor class definition when binding com.sun.ts.tests.ejb30.common.interceptor.Interceptor1 on AROUND_INVOKE
      7854: at org.jboss.weld.interceptor.builder.InterceptionModelImpl.validateDuplicateInterceptors(InterceptionModelImpl.java:147)
      7855: at org.jboss.weld.interceptor.builder.InterceptionModelImpl.appendInterceptorClassesToList(InterceptionModelImpl.java:139)
      7856: at org.jboss.weld.interceptor.builder.InterceptionModelImpl.appendInterceptors(InterceptionModelImpl.java:120)
      7857: at org.jboss.weld.interceptor.builder.InterceptionModelBuilder$MethodInterceptorDescriptor.with(InterceptionModelBuilder.java:114)
      7858: at org.jboss.weld.injection.producer.InterceptionModelInitializer.initClassDeclaredEjbInterceptors(InterceptionModelInitializer.java:251)
      7859: at org.jboss.weld.injection.producer.InterceptionModelInitializer.initEjbInterceptors(InterceptionModelInitializer.java:233)
      7860: at org.jboss.weld.injection.producer.InterceptionModelInitializer.init(InterceptionModelInitializer.java:113)
      7861: at org.jboss.weld.injection.producer.BeanInjectionTarget.initializeInterceptionModel(BeanInjectionTarget.java:91)
      7862: at org.jboss.weld.injection.producer.ejb.SessionBeanInjectionTarget.initializeAfterBeanDiscovery(SessionBeanInjectionTarget.java:81)
      7863: at org.jboss.weld.injection.producer.InjectionTargetInitializationContext.initialize(InjectionTargetInitializationContext.java:42)
      7864: at org.jboss.weld.injection.producer.InjectionTargetService.initialize(InjectionTargetService.java:58)
      7865: at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:521)
      7866: at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:211)
      7867: ... 18 more

        Activity

        tlcksnyder created issue -
        tlcksnyder made changes -
        Field Original Value New Value
        Component/s cdi [ 10637 ]
        arjavdesai made changes -
        Parent GLASSFISH-20312 [ 123849 ]
        Issue Type Sub-task [ 5 ] Bug [ 1 ]
        arjavdesai made changes -
        Assignee michael.y.chen [ michael.y.chen ] phil.zampino [ phil.zampino ]
        tlcksnyder made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            phil.zampino
            Reporter:
            tlcksnyder
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: