问题描述
<May31,20083:34:15PMCST><Warning><ApplicationPoller><BEA-149417><Anotherprocessisusingthisfile'G:beauser_projectsdomainsbase_domainautodeployWebPer'.Theserverwillattempttodeploytheapplicationonceitisunlockedbytheotherprocess.><May31,20083:34:31PMCST><Error><HTTP><BEA-101216><Servlet:"weblogic.wsee.async.AsyncResponseBean"failedtopreloadonstartupinWebapplication:"WebPer".class:weblogic.wsee.async.jaxws.OnAsyncDeliverycouldnotbefoundatcom.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)atcom.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)atcom.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)atcom.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)atcom.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)Truncated.seelogfileforcompletestacktrace><May31,20083:34:31PMCST><Warning><Deployer><BEA-149251><OperationUnpreparefailedforapplication'_appsdir_WebPer_dir'.Error-java.lang.NoClassDefFoundError:oracle/toplink/essentials/tools/sessionmanagement/SessionManagerjava.lang.NoClassDefFoundError:oracle/toplink/essentials/tools/sessionmanagement/SessionManageratoracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.removeSessionFromGlobalSessionManager(EntityManagerSetupImpl.java:135)atoracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.undeploy(EntityManagerSetupImpl.java:1107)atoracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.close(EntityManagerFactoryImpl.java:92)atweblogic.deployment.PersistenceUnitInfoImpl.close(PersistenceUnitInfoImpl.java:397)atweblogic.deployment.AbstractPersistenceUnitRegistry.close(AbstractPersistenceUnitRegistry.java:351)Truncated.seelogfileforcompletestacktracejava.lang.NoClassDefFoundError:oracle/toplink/essentials/tools/sessionmanagement/SessionManageratoracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.removeSessionFromGlobalSessionManager(EntityManagerSetupImpl.java:135)atoracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.undeploy(EntityManagerSetupImpl.java:1107)atoracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.close(EntityManagerFactoryImpl.java:92)atweblogic.deployment.PersistenceUnitInfoImpl.close(PersistenceUnitInfoImpl.java:397)atweblogic.deployment.AbstractPersistenceUnitRegistry.close(AbstractPersistenceUnitRegistry.java:351)Truncated.seelogfileforcompletestacktrace><May31,20083:34:31PMCST><Error><Deployer><BEA-149265><FailureoccurredintheexecutionofdeploymentrequestwithID'1212219258421'fortask'0'.Erroris:'weblogic.application.ModuleException:[HTTP:101216]Servlet:"weblogic.wsee.async.AsyncResponseBean"failedtopreloadonstartupinWebapplication:"WebPer".class:weblogic.wsee.async.jaxws.OnAsyncDeliverycouldnotbefoundatcom.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:272)atcom.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:566)atcom.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:513)atcom.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:358)atcom.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:245)atcom.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:229)atcom.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:161)atcom.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:291)atcom.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:315)atweblogic.wsee.jaxws.JAXWSServlet.registerEndpoint(JAXWSServlet.java:125)atweblogic.wsee.jaxws.JAXWSServlet.init(JAXWSServlet.java:64)atjavax.servlet.GenericServlet.init(GenericServlet.java:241)atweblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:282)atweblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)atweblogic.security.service.SecurityManager.runAs(UnknownSource)atweblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:63)atweblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)atweblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)atweblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:504)atweblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1830)atweblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1807)atweblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1727)atweblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2890)atweblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:948)atweblogic.servlet.internal.WebAppModule.start(WebAppModule.java:353)atweblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)atweblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)atweblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)atweblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)atweblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117)atweblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204)atweblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)atweblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60)atweblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:26)atweblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635)atweblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)atweblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)atweblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:154)atweblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)atweblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:566)atweblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:136)atweblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:104)atweblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:320)atweblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:816)atweblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1223)atweblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:434)atweblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:161)atweblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181)atweblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12)atweblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67)atweblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run...真不知道哪里来得另一个进程
解决方案
解决方案二:
<Anotherprocessisusingthisfile'G:beauser_projectsdomainsbase_domainautodeployWebPer'.Theserverwillattempttodeploytheapplicationonceitisunlockedbytheotherprocess.>这个错误你需要重启一下机器<OperationUnpreparefailedforapplication'_appsdir_WebPer_dir'.Error-java.lang.NoClassDefFoundError:oracle/toplink/essentials/tools/sessionmanagement/SessionManager查查类在不在?<FailureoccurredintheexecutionofdeploymentrequestwithID'1212219258421'fortask'0'.Erroris:'weblogic.application.ModuleException:[HTTP:101216]Servlet:"weblogic.wsee.async.AsyncResponseBean"failedtopreloadonstartupinWebapplication:"WebPer".class:weblogic.wsee.async.jaxws.OnAsyncDeliverycouldnotbefound
解决方案三:
我也遇到这个问题了,参考http://forums.oracle.com/forums/message.jspa?messageID=2719170的最后一个回复搞定了,就是把lib下面的weblogic.jar删掉,程序正常运行。