weblogic.ejb.container.compliance.ComplianceException: Business method [ wait / getClass / notify / notifyAll] in class java.lang.Object must not be declared as final

Oracle Community | 3031150 | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Business method [ ] in class java.lang.Object must not be declared as final

    Oracle Community | 1 year ago | 3031150
    weblogic.ejb.container.compliance.ComplianceException: Business method [ wait / getClass / notify / notifyAll] in class java.lang.Object must not be declared as final
  2. 0

    EJB 3.0 and jndi lookup (simple question)

    Oracle Community | 10 years ago | 666705
    weblogic.ejb.container.compliance.ComplianceException: Business method wait in class java.lang.Object must not be declared as final at weblogic.ejb.container.compliance.Ejb30SessionBeanClassChecker.validateBusinessMethod Ejb30SessionBeanClassChecker.java:172)

    Root Cause Analysis

    1. weblogic.ejb.container.compliance.ComplianceException

      Business method [ wait / getClass / notify / notifyAll] in class java.lang.Object must not be declared as final

      at weblogic.ejb.container.compliance.Ejb30SessionBeanClassChecker.validateBusinessMethod()
    2. weblogic.ejb.container
      Ejb30SessionBeanClassChecker.checkBusinessMethods
      1. weblogic.ejb.container.compliance.Ejb30SessionBeanClassChecker.validateBusinessMethod(Ejb30SessionBeanClassChecker.java:274)
      2. weblogic.ejb.container.compliance.Ejb30SessionBeanClassChecker.checkBusinessMethods(Ejb30SessionBeanClassChecker.java:229)
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor232.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:497)
      3 frames
    4. weblogic.ejb.container
      EjbModuleExtension.postPrepare
      1. weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:100)
      2. weblogic.ejb.container.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:90)
      3. weblogic.ejb.container.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:81)
      4. weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:172)
      5. weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:346)
      6. weblogic.ejb.container.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:314)
      7. weblogic.ejb.container.deployer.EJBDeployer.compileJar(EJBDeployer.java:429)
      8. weblogic.ejb.container.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:355)
      9. weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:723)
      10. weblogic.ejb.container.deployer.EjbModuleExtension.postPrepare(EjbModuleExtension.java:98)
      10 frames
    5. weblogic.application.internal
      ExtensibleModuleWrapper$PrepareStateChange.next
      1. weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:297)
      2. weblogic.application.internal.ExtensibleModuleWrapper$PrepareStateChange.next(ExtensibleModuleWrapper.java:285)
      2 frames
    6. weblogic.application.utils
      StateMachineDriver.nextState
      1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)
      1 frame
    7. weblogic.application.internal
      ModuleStateDriver$1.next
      1. weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:109)
      2. weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
      3. weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:175)
      4. weblogic.application.internal.flow.ModuleStateDriver$1.next(ModuleStateDriver.java:170)
      4 frames
    8. weblogic.application.utils
      StateMachineDriver$ParallelChange.run
      1. weblogic.application.utils.StateMachineDriver$ParallelChange.run(StateMachineDriver.java:80)
      1 frame
    9. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ContextWrap.run(ContextWrap.java:40)
      2. weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:548)
      3. weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
      4. weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
      4 frames