13 Replies Latest reply on Aug 19, 2011 12:01 PM by Michael Brackx

    EJB deployment failed on jboss-6.0.0.20100721-M4: No original methods found

    Yong Zhang Newbie

      Hi,

       

      • jdk1.6.0_20
      • jboss-6.0.0.20100721-M4
      • jbossws-metro-3.3.1.GA

       

      I am trying to deploy a jbossws-metro webservices via EJB3, and got the following errors:

       

      Caused by: java.lang.Exception: Exception while processing container metadata for EJB: MemberImpl in unit: testWS.jar
              at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:568) [:1.5.0-alpha-4]
              at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:182) [:6.0.0.20100721-M4]
              ... 47 more
      Caused by: java.lang.IllegalStateException: No original methods found
              at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.searchForRealBridgeMethodSignature(AnnotatedElementMetaDataLoader.java:330) [jboss-mdr.jar:2.2.0.Alpha3]
              at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:189) [jboss-mdr.jar:2.2.0.Alpha3]
              at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:287) [jboss-mdr.jar:2.2.0.Alpha3]
              at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:298) [jboss-mdr.jar:2.2.0.Alpha3]
              at org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:168) [jboss-mdr.jar:2.2.0.Alpha3]
              at org.jboss.ejb3.metadata.annotation.AnnotationRepositoryToMetaData.resolveAnnotation(AnnotationRepositoryToMetaData.java:379) [:1.0.0]
              at org.jboss.ejb3.aop.annotation.CachingAnnotationRepository.resolveAnnotation(CachingAnnotationRepository.java:276) [:1.5.0-alpha-4]
      

       

      However, the same EJB works well on JBoss5.0.1 + JBossWS Metro 3.1.0.GA.

       

      Here is EJB annotations:

       

      @WebService(
           serviceName = "MemberWS", 
           endpointInterface = "com.mycom.membersvc.MemberWS", 
           targetNamespace = "http://mycom.com.au/membersvc/",
           portName="MemberPort",
           wsdlLocation = "META-INF/wsdl/Member.wsdl")
      @HandlerChain(file = "jaxws-handlers-server.xml")
      @Stateless
      @Interceptors({ServiceInterceptor.class, MemberStatsInterceptor.class})
      @WebContext(contextRoot = "/testWS", urlPattern = "/member", transportGuarantee = "NONE", secureWSDLAccess = false)
      @TransactionManagement(javax.ejb.TransactionManagementType.BEAN)
      public class MemberImpl {
      ...
      }
      

       

      Thanks in advance.

        • 1. Re: EJB deployment failed on jboss-6.0.0.20100721-M4: No original methods found
          jaikiran pai Master

          Do you have the entire exception stacktrace? And what methods does that bean contain?

          • 2. Re: EJB deployment failed on jboss-6.0.0.20100721-M4: No original methods found
            Yong Zhang Newbie

            Here is the full stacktrace:

             

            09:26:02,063 ERROR [AbstractKernelController] Error installing to Real: name=vfs:///C:/devwork/apps/jboss-6.0.0.20100721-M4/server/mytest/deploy/test-core-app.ear state=PreReal mode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException: Error de
            ploying mycomeWS.jar: Exception while processing container metadata for EJB: MemberImpl in unit: mytestWS.jar
                    at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:189) [:6.0.0.20100721-M4]
                    at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:59) [:6.0.0.20100721-M4]
                    at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56) [:2.2.0.
            Alpha6]
                    at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:
            2.2.0.Alpha6]
                    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.Alpha6]
                    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.Alpha6]
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.Alpha6]
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.Alpha6]
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.Alpha6]
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.Alpha6]
                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:
            2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10
            ]
                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.
            Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-depe
            ndency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0
            .Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0
            .Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.Alpha6]
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.Alpha6]
                    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.Alpha6]
                    at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.20100721
            -M4]
                    at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:130)
            [:0.1.0.Alpha1]
                    at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:148) [:0.1.0.Alpha1]
                    at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.1.0.Alpha1
            ]
                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.
            0.Alpha10]
                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.
            0.Alpha10]
                    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:
            62) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-d
            ependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-de
            pendency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:
            2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10
            ]
                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.
            Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-depe
            ndency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0
            .Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0
            .Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.profileservice.dependency.ProfileServiceController.activate(ProfileServiceController.java:188) [:0.1.0.Alpha1]
                    at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:170) [:0.1.0.Alpha1]
                    at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:117) [:0
            .1.0.Alpha1]
                    at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:89) [:0.1.0
            .Alpha1]
                    at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:97) [:0.1.0
            .Alpha1]
                    at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:130
            ) [:6.0.0.20100721-M4]
                    at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56)
             [:6.0.0.20100721-M4]
                    at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.j
            ar:2.1.0-alpha-5]
                    at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-ba
            se.jar:2.1.0-alpha-5]
                    at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
            Caused by: java.lang.Exception: Exception while processing container metadata for EJB: MemberImpl in unit: mycomeWS.jar
                    at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:568) [:1.5.0-alpha-4]
                    at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:182) [:6.0.0.20100721-M4]
                    ... 47 more
            Caused by: java.lang.IllegalStateException: No original methods found
                    at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.searchForRealBridgeMethodSignature(AnnotatedE
            lementMetaDataLoader.java:330) [jboss-mdr.jar:2.2.0.Alpha3]
                    at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElemen
            tMetaDataLoader.java:189) [jboss-mdr.jar:2.2.0.Alpha3]
                    at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:287
            ) [jboss-mdr.jar:2.2.0.Alpha3]
                    at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:298
            ) [jboss-mdr.jar:2.2.0.Alpha3]
                    at org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge
            .java:168) [jboss-mdr.jar:2.2.0.Alpha3]
                    at org.jboss.ejb3.metadata.annotation.AnnotationRepositoryToMetaData.resolveAnnotation(AnnotationRepositoryToMetaData.java:3
            79) [:1.0.0]
                    at org.jboss.ejb3.aop.annotation.CachingAnnotationRepository.resolveAnnotation(CachingAnnotationRepository.java:276) [:1.5.0
            -alpha-4]
                    at org.jboss.aop.Advisor.resolveTypedAnnotation(Advisor.java:751) [jboss-aop.jar:2.2.1.Alpha3]
                    at org.jboss.aop.Advisor.resolveAnnotation(Advisor.java:692) [jboss-aop.jar:2.2.1.Alpha3]
                    at org.jboss.ejb3.aop.BeanContainer.getAnnotation(BeanContainer.java:140) [:1.5.0-alpha-4]
                    at org.jboss.ejb3.EJBContainer.getAnnotation(EJBContainer.java:1566) [:1.5.0-alpha-4]
                    at org.jboss.injection.EJBRemoteHandler.handleMethodAnnotations(EJBRemoteHandler.java:342) [:1.5.0-alpha-4]
                    at org.jboss.injection.InjectionUtil.processMethodAnnotations(InjectionUtil.java:137) [:1.5.0-alpha-4]
                    at org.jboss.injection.InjectionUtil.processAnnotations(InjectionUtil.java:196) [:1.5.0-alpha-4]
                    at org.jboss.ejb3.EJBContainer.processMetadata(EJBContainer.java:675) [:1.5.0-alpha-4]
                    at org.jboss.ejb3.Ejb3Deployment.processEJBContainerMetadata(Ejb3Deployment.java:437) [:1.5.0-alpha-4]
                    at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:546) [:1.5.0-alpha-4]
                    ... 48 more
             
            09:26:02,369 INFO  [service] Removing bootstrap log handlers
            09:26:02,515 ERROR [org.jboss.profileservice.bootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeployment
            Exception: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
             
            DEPLOYMENTS IN ERROR:
              Deployment "vfs:///C:/devwork/apps/jboss-6.0.0.20100721-M4/server/mycome/deploy/test.ear" is in error due to the follow
            ing reason(s): java.lang.IllegalStateException: No original methods found
             
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.Alpha6]
                    at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.Alpha6]
                    at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.201
            00721-M4]
                    at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:118
            ) [:0.1.0.Alpha1]
                    at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:133
            ) [:6.0.0.20100721-M4]
                    at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56)
             [:6.0.0.20100721-M4]
                    at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.j
            ar:2.1.0-alpha-5]
                    at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-ba
            se.jar:2.1.0-alpha-5]
                    at java.lang.Thread.run(Thread.java:619) [:1.6.0_20]
            

             

            The bean just contains some normal methods:

             

            public class MemberImpl {
            
                 @PostConstruct
                 public void init() {
                      _logger.debug("init is called-----------------");
                 }
            
                 @PreDestroy
                 public void cleanup() {
                      _logger.debug("cleanup is called-----------------");
                 }
                 
                 //business methods ...
                 public Member fetchMember() {
                 }
            }
            

            • 3. Re: EJB deployment failed on jboss-6.0.0.20100721-M4: No original methods found
              aghigi Newbie

              Hello everybody,

              we're getting exactly the same exception here...we would like to move to JBoss 6 M4 but we can't for now.

              It seems that the problem only happens with stateless beans when generics are used and upon the invocation of the method "searchForRealBridgeMethodSignature".

               

              Can anybody out there help us?

               

              Thanks a lot!!

              • 4. Re: EJB deployment failed on jboss-6.0.0.20100721-M4: No original methods found
                jaikiran pai Master

                Can you post your bean code and the exception stacktrace? And which version of JBoss AS are you using. The code that the original poster, posted, doesn't have any generics, so your's might be a different case.

                • 5. Re: EJB deployment failed on jboss-6.0.0.20100721-M4: No original methods found
                  aghigi Newbie

                  Thanks a lot for your prompt reply.

                   

                  This is the full stacktrace I get when jboss-6.0.0.20100721-M4 starts up:

                   

                  14:31:54,741 ERROR [AbstractKernelController] Error installing to Real: name=vfs:///D:/opt/jboss-6.0.0.20100721-M4/server/default/deploy/audittrail.backend-1.0.1.ear state=PreReal mode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException: Error deploying audittrail.backend-controllers-1.0.1.jar: No original methods found
                          at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:189) [:6.0.0.20100721-M4]
                          at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:59) [:6.0.0.20100721-M4]
                          at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleVFSRealDeployer.java:56) [:2.2.0.Alpha6]
                          at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.Alpha6]
                          at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.Alpha6]
                          at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.Alpha6]
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.Alpha6]
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.Alpha6]
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1603) [:2.2.0.Alpha6]
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.Alpha6]
                          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.Alpha6]
                          at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.Alpha6]
                          at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.Alpha6]
                          at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106) [:6.0.0.20100721-M4]
                          at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(ProfileControllerContext.java:130) [:0.1.0.Alpha1]
                          at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:148) [:0.1.0.Alpha1]
                          at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDeployAction.java:94) [:0.1.0.Alpha1]
                          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.Alpha10]
                          at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]
                          at org.jboss.profileservice.dependency.ProfileServiceController.activate(ProfileServiceController.java:188) [:0.1.0.Alpha1]
                          at org.jboss.profileservice.AbstractProfileService.activateProfile(AbstractProfileService.java:170) [:0.1.0.Alpha1]
                          at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfileServiceBootstrap.java:117) [:0.1.0.Alpha1]
                          at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(BasicResolverFactory.java:89) [:0.1.0.Alpha1]
                          at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileServiceBootstrap.java:97) [:0.1.0.Alpha1]
                          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:130) [:6.0.0.20100721-M4]
                          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.20100721-M4]
                          at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
                          at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
                          at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]
                  Caused by: java.lang.IllegalStateException: No original methods found
                          at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.searchForRealBridgeMethodSignature(AnnotatedElementMetaDataLoader.java:330) [jboss-mdr.jar:2.2.0.Alpha3]
                          at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:189) [jboss-mdr.jar:2.2.0.Alpha3]
                          at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:287) [jboss-mdr.jar:2.2.0.Alpha3]
                          at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:298) [jboss-mdr.jar:2.2.0.Alpha3]
                          at org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:168) [jboss-mdr.jar:2.2.0.Alpha3]
                          at org.jboss.ejb3.metadata.annotation.AnnotationRepositoryToMetaData.resolveAnnotation(AnnotationRepositoryToMetaData.java:379) [:1.0.0]
                          at org.jboss.ejb3.aop.annotation.CachingAnnotationRepository.resolveAnnotation(CachingAnnotationRepository.java:276) [:1.5.0-alpha-4]
                          at org.jboss.aop.Advisor.resolveTypedAnnotation(Advisor.java:751) [jboss-aop.jar:2.2.1.Alpha3]
                          at org.jboss.aop.Advisor.resolveAnnotation(Advisor.java:692) [jboss-aop.jar:2.2.1.Alpha3]
                          at org.jboss.ejb3.aop.BeanContainer.getAnnotation(BeanContainer.java:140) [:1.5.0-alpha-4]
                          at org.jboss.ejb3.EJBContainer.getAnnotation(EJBContainer.java:1566) [:1.5.0-alpha-4]
                          at org.jboss.ejb3.EJBContainer.getTimeoutCallback(EJBContainer.java:1160) [:1.5.0-alpha-4]
                          at org.jboss.ejb3.stateless.StatelessContainer.initializeTimeout(StatelessContainer.java:188) [:1.5.0-alpha-4]
                          at org.jboss.ejb3.stateless.StatelessContainer.<init>(StatelessContainer.java:118) [:1.5.0-alpha-4]
                          at org.jboss.ejb3.Ejb3AnnotationHandler.getStatelessContainer(Ejb3AnnotationHandler.java:313) [:1.5.0-alpha-4]
                          at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:206) [:1.5.0-alpha-4]
                          at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:737) [:1.5.0-alpha-4]
                          at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:688) [:1.5.0-alpha-4]
                          at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:670) [:1.5.0-alpha-4]
                          at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:633) [:1.5.0-alpha-4]
                          at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:510) [:1.5.0-alpha-4]
                          at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:175) [:6.0.0.20100721-M4]
                          ... 47 more

                   

                  14:31:55,177 INFO  [service] Removing bootstrap log handlers
                  14:31:55,279 ERROR [org.jboss.profileservice.bootstrap] Failed to load profile:: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

                   

                  DEPLOYMENTS IN ERROR:
                    Deployment "vfs:///D:/opt/jboss-6.0.0.20100721-M4/server/default/deploy/audittrail.backend-1.0.1.ear" is in error due to the following reason(s): java.lang.IllegalStateException: No original methods found

                   

                          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1228) [:2.2.0.Alpha6]
                          at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:905) [:2.2.0.Alpha6]
                          at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.checkComplete(MainDeployerPlugin.java:87) [:6.0.0.20100721-M4]
                          at org.jboss.profileservice.deployment.ProfileDeployerPluginRegistry.checkAllComplete(ProfileDeployerPluginRegistry.java:118) [:0.1.0.Alpha1]
                          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:133) [:6.0.0.20100721-M4]
                          at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(BasicProfileServiceBootstrap.java:56) [:6.0.0.20100721-M4]
                          at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:827) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
                          at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-5]
                          at java.lang.Thread.run(Thread.java:619) [:1.6.0_21]

                   

                  This is an example of DAO Stateless bean that I have inside the audittrail.backend-controllers-1.0.1.jar file, that generates the error:

                  @Local
                  public interface ProfileDAO {

                       Profile find(Object primaryKey) throws PersistenceException;
                      
                       ...

                  }

                  @Stateless
                  public class ProfileDAOBean extends AbstractDAO<Profile> implements ProfileDAO {

                       // Custom methods here

                  }

                  public abstract class AbstractDAO<E> {

                       private Class<E> entityClass;

                       public E find(Object primaryKey) throws IllegalArgumentException, PersistenceException, EncryptionException {
                          ...
                      }

                  }

                   

                  Everything perfectly works on JBoss 6 M2, while with the M3 I used to get another kind of error (which I actually don't remember now), but it was mostly related to Web Services deployment when a hierarchy of classes exists. It seems that with M4 the error I used to get on M3 is gone.

                   

                  Thanks again!

                  • 6. Re: EJB deployment failed on jboss-6.0.0.20100721-M4: No original methods found
                    jaikiran pai Master

                    This looks like a bug, with bridged method handling, to me. Can  you try this workaround? Add the following:

                     

                    @Stateless
                    public class ProfileDAOBean extends AbstractDAO<Profile> implements ProfileDAO {
                    
                        // Workaround for a bridged method scanning bug
                        public Profile find(Object primaryKey) throws PersistenceException
                        {
                            return super.find(primaryKey);
                        }
                    
                         // Custom methods here
                    
                    }

                     

                    Just add a method which just delegates to the super class method. Give it a try.

                    • 7. Re: EJB deployment failed on jboss-6.0.0.20100721-M4: No original methods found
                      aghigi Newbie

                      Unfortunately it doesn't work...I also just tried the new M5 release...still not working...

                      • 8. Re: EJB deployment failed on jboss-6.0.0.20100721-M4: No original methods found
                        jaikiran pai Master

                        Alessandro Ghigi wrote:

                         

                        Unfortunately it doesn't work...

                        Can you post your new changed code and the entire exception stacktrace?

                         

                        Alessandro Ghigi wrote:

                         

                        I also just tried the new M5 release...still not working...

                        No surprise there since nothing was changed in M5 related to this specific issue.

                        • 9. Re: EJB deployment failed on jboss-6.0.0.20100721-M4: No original methods found
                          aghigi Newbie

                          Well, your workaround actually works...I was applying it to an additional level of inheritance (that is to a subclass of the ProfileDAOBean) and it wasn't working. But if I put override methods directly within the ProfileDAOBean it works. Thanks for now, hope that will be fixed in M6! :-)

                          • 10. Re: EJB deployment failed on jboss-6.0.0.20100721-M4: No original methods found
                            Richard Kennard Novice

                            Hi guys,

                             

                            I am seeing this same error in JBoss AS 6 Final, with an app that deployed fine on JBoss 5.1.0.GA.

                             

                            What is the logic of this new error message? The proposed workaround seems to extend to every subclassed method, which seems impractical if you have a base class with lots of functionality (create, load, lock, save, delete etc.)

                             

                            Does you guys have the same problem in JBoss AS 6 Final? Is there a JIRA tracking this?

                             

                            Regards,

                             

                            Richard.

                             

                            Note: this message also seems to extend to requiring you to override methods that have been marked final in the base class? Which of course you cannot do...

                            • 11. Re: EJB deployment failed on jboss-6.0.0.20100721-M4: No original methods found
                              jaikiran pai Master

                              Richard Kennard wrote:

                               


                               

                              Does you guys have the same problem in JBoss AS 6 Final? Is there a JIRA tracking this?

                               

                              Hmm, looks like this never made it to the JIRA. Can you give it a try against AS 6 Final. If the issue is still there (i think so, since there was no bug fix in this area), please create a JIRA.