1 Reply Latest reply: Jan 15, 2013 2:04 PM by user730216 RSS

    Failed to generate class for EJB Stub in Weblogic 10.3

    984979
      I am getting the following exception while deploying ear file into weblogic 10.3
      Can anyone please address this issue?

      Stack trace :

      weblogic.application.ModuleException: Exception activating module: EJBModule(mtaejbmod.jar)

      Unable to deploy EJB: Msg214Manager from mtaejbmod.jar:

      Failed to generate class for com.upds.app.mta.bpt.ejb.session.Msg214Manager_89645s_EOImpl_1030_WLStub


           at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:493)
           at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:66)
           at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
           at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16)
           at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820)
           at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436)
           at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
           at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
      java.lang.ArrayIndexOutOfBoundsException: 11
           at com.upds.app.mta.bpt.ejb.session.Msg214Manager_89645s_EOImpl_1030_WLStub.ensureInitialized(Unknown Source)
           at com.upds.app.mta.bpt.ejb.session.Msg214Manager_89645s_EOImpl_1030_WLStub.<init>(Unknown Source)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
           at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:788)
           at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:779)
           at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
           at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:227)
           at weblogic.rmi.cluster.ReplicaAwareRemoteObject.initialize(ReplicaAwareRemoteObject.java:72)
           at weblogic.rmi.cluster.ReplicaAwareRemoteObject.<init>(ReplicaAwareRemoteObject.java:54)
           at weblogic.rmi.cluster.ClusterableRemoteObject.<init>(ClusterableRemoteObject.java:100)
           at weblogic.rmi.cluster.ClusterableRemoteBinderFactory.getStateToBind(ClusterableRemoteBinderFactory.java:48)
           at weblogic.jndi.internal.WLNamingManager.getReplacement(WLNamingManager.java:186)
           at weblogic.jndi.internal.WLNamingManager.getStateToBind(WLNamingManager.java:160)
           at weblogic.jndi.internal.ServerNamingNode.rebindHere(ServerNamingNode.java:212)
           at weblogic.jndi.internal.BasicNamingNode.rebind(BasicNamingNode.java:409)
           at weblogic.jndi.internal.WLEventContextImpl.rebind(WLEventContextImpl.java:115)
           at weblogic.ejb.container.internal.StatelessEJBHome.bindClusterableObject(StatelessEJBHome.java:138)
           at weblogic.ejb.container.internal.StatelessEJBHome.activate(StatelessEJBHome.java:102)
           at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1219)
           at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1237)
           at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:476)
           at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:107)
           at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:411)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:74)
           at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:66)
           at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)
           at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
           at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
           at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16)
           at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162)
           at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140)
           at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106)
           at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820)
           at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227)
           at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436)
           at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)
           at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)
           at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
           at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
           at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)