伤感的restart ear nullpointexception in weblogic
最近发现部署在weblogic上面的应用restart的时候报NullPointException错误,由于系统ejb构建比较复杂,在stateless ejb之上还有个stateless ejb来实现cache的功能,一直以为是多层bean导致weblogic restart ear出错,左调整右调整都不行,网上google也没有进展,最后跑去oracle support网站,一search,才发现有人报了类似的问题,oracle为weblogic10.3.3出了patch。。。好伤感,折腾了这么久,不能太相信第三方的软件......
“The stateless session EJB home associated to the bean with the remote interface oracle.j2ee.tests.ejb.impl.DoclitWrapperWTJPortType, is not being unexported from OIDManager during the stop (deactivate) phase of the application lifecycle. This is causing the previous uninitialized object to be returned. The NullPointerException seen is a result of creating the message associated to the AssertionError that was going to be thrown since the object is in an uninitialized state. This issue is addressed by unpublished defect 9504078.”
####<May 8, 2014 4:11:53 PM CST> <Error> <Deployer> <sc-1> <oam-1> <[ACTIVE] ExecuteThread: ‘46‘ for queue: ‘weblogic.kernel.Default (self-tuning)‘> <<WLS Kernel>> <> <> <1399536713348> <BEA-149265> <Failure occurred in the execution of deployment request with ID ‘1399536712948‘ for task ‘111‘. Error is: ‘weblogic.application.Modu leException: Exception activating module: EJBModule(****-SNAPSHOT.jar) 27049 27050 27051 Unable to deploy EJB: ****RepoEJB from ****-SNAPSHOT.jar: 27052 27053 null 27054 27055 ‘ 27056 weblogic.application.ModuleException: Exception activating module: EJBModule(****-SNAPSHOT.jar) 27057 27058 27059 Unable to deploy EJB: ***RepoEJB from ****-SNAPSHOT.jar: 27060 27061 null 27062 27063 27064 at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:514) 27065 at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227) 27066 at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:532) 27067 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) 27068 at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:165) 27069 at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:158) 27070 at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1269) 27071 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) 27072 at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409) 27073 at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58) 27074 at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) 27075 at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) 27076 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) 27077 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) 27078 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) 27079 at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:143) 27080 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) 27081 at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) 27082 at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) 27083 at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) 27084 at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:164) 27085 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) 27086 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) 27087 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:69) 27088 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) 27089 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) 27090 at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) 27091 27092 Caused By: java.lang.NullPointerException 27093 at weblogic.rmi.cluster.ClusterableRemoteRef.toString(ClusterableRemoteRef.java:397) 27094 at java.lang.String.valueOf(String.java:2826) 27095 at java.lang.StringBuilder.append(StringBuilder.java:115) 27096 at weblogic.rmi.internal.StubInfo.checkRef(StubInfo.java:157) 27097 at weblogic.rmi.internal.StubInfo.<init>(StubInfo.java:61) 27098 at weblogic.rmi.cluster.ClusterableServerRef.getStubReference(ClusterableServerRef.java:201) 27099 at weblogic.rmi.internal.OIDManager.getReplacement(OIDManager.java:172) 27100 at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceRemote(RemoteObjectReplacer.java:120) 27101 at weblogic.rmi.utils.io.RemoteObjectReplacer.replaceObject(RemoteObjectReplacer.java:103) 27102 at weblogic.rmi.extensions.server.ServerHelper.replaceAndResolveRemoteObject(ServerHelper.java:403) 27103 at weblogic.jndi.internal.WLEventContextImpl.copyObject(WLEventContextImpl.java:381) 27104 at weblogic.jndi.internal.WLEventContextImpl.bind(WLEventContextImpl.java:276) 27105 at weblogic.ejb.container.deployer.EjbJndiService.bind(EjbJndiService.java:47) 27106 at weblogic.ejb.container.deployer.EjbJndiService.replicatedBind(EjbJndiService.java:29) 27107 at weblogic.ejb.container.deployer.Ejb3SessionBinder.bindInternalHome(Ejb3SessionBinder.java:39) 27108 at weblogic.ejb.container.deployer.Ejb3SessionBinder.bindToJNDI(Ejb3SessionBinder.java:127) 27109 at weblogic.ejb.container.deployer.ClientDrivenBeanInfoImpl.activate(ClientDrivenBeanInfoImpl.java:1228) 27110 at weblogic.ejb.container.deployer.Ejb3SessionBeanInfoImpl.activate(Ejb3SessionBeanInfoImpl.java:513) 27111 at weblogic.ejb.container.deployer.EJBDeployer.activate(EJBDeployer.java:1320) 27112 at weblogic.ejb.container.deployer.EJBModule.activate(EJBModule.java:493) 27113 at weblogic.application.internal.flow.ModuleListenerInvoker.activate(ModuleListenerInvoker.java:227) 27114 at weblogic.application.internal.flow.DeploymentCallbackFlow$2.next(DeploymentCallbackFlow.java:531) 27115 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) 27116 at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:165) 27117 at weblogic.application.internal.flow.DeploymentCallbackFlow.activate(DeploymentCallbackFlow.java:157) 27118 at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267) 27119 at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41) 27120 at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409) 27121 at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58) 27122 at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161) 27123 at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) 27124 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) 27125 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150) 27126 at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116) 27127 at weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:143) 27128 at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) 27129 at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844) 27130 at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253) 27131 at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440) 27132 at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) 27133 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195) 27134 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13) 27135 at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68) 27136 at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528) 27137 at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) 27138 at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) 27139 >
伤感的restart ear nullpointexception in weblogic,布布扣,bubuko.com