This discussion is archived
0 Replies Latest reply: Aug 14, 2012 11:37 AM by 955759 RSS

Error ejb weblogic 11g - method remove

955759 Newbie
Currently Being Moderated
Hi,

When trying to deploy an ejb in weblogic 11g me the following error.

Unable to deploy EJB: ConceptType from ejb-admin.jar:

[EJB:010101]A mismatch exists between the bean code and generated code.Clase(Application: ejb-jar, EJBComponent: ejb-jar) . Please rerun appc on the bean code. The error was java.lang.NoSuchFieldException: md_ejbRemoveClaseTipo_L
     at java.lang.Class.getField(Class.java:1520)
     at weblogic.ejb.container.deployer.BeanInfoImpl.setHomeMDField(BeanInfoImpl.java:896)
     at weblogic.ejb.container.deployer.BeanInfoImpl.setMDField(BeanInfoImpl.java:861)
     at weblogic.ejb.container.deployer.BeanInfoImpl.setMethodDescriptor(BeanInfoImpl.java:794)
     at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptor(ClientDrivenBeanInfoImpl.java:784)
     at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptors(ClientDrivenBeanInfoImpl.java:758)
     at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.setMethodDescriptors(ClientDrivenBeanInfoImpl.java:657)
     at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:1072)
     at weblogic.ejb.container.deployer.EntityBeanInfoImpl.prepare(EntityBeanInfoImpl.java:67)
     at weblogic.ejb.container.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:1031)
     at weblogic.ejb.container.deployer.EJBDeployer.prepare(EJBDeployer.java:1288)
     at weblogic.ejb.container.deployer.EJBModule.prepare(EJBModule.java:442)
     at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:199)
     at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:518)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:159)
     at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:47)
     at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:649)
     at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
     at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
     at weblogic.application.internal.SingleModuleDeployment.prepare(SingleModuleDeployment.java:44)
     at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
     at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
     at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:209)
     at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:98)
     at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
     at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:749)
     at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
     at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
     at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:160)
     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:171)
     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:13)
     at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:47)
     at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
. NestedException Message is :md_ejbRemoveClaseTipo_L

Anyone know why?

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points