weblogic 11g R1

时间:2011-09-19 10:15:23

标签: deployment weblogic

我已经使用weblogic.appc准备了我的ejb jar和war weblogic 11g R1,所有编辑都很好,我已经准备好了并部署在weblogi服务器上。我得到了下面的错误。部署和耳朵状态进入失败状态。

我不是所有人都使用这个oracle.help.OHW文件。不知道它是指的

可以建议如何解决这个问题。

[HTTP:101216] Servlet:“OHW”无法在Web应用程序启动时预加载:“cbcm”。 javax.servlet.ServletException:[HTTP:101249] [ServletContext @ 13514259 [app:cbcm module:cbcm path:/ cbcm sp​​ec-version:null]]:无法加载用于servlet OHW的Servlet类oracle.help.OHW,因为在类路径中找不到请求的类。 java.lang.ClassNotFoundException:oracle.help.OHW。 at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:551)at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1985)at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1959 )at weblogic.servial.Web上的Weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1878)中的weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3153)。(WebAppModule.java: 1508)weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:482)at weblogic.application.internal.flow.ModuleStateDriver $ 3.next(ModuleStateDriver.java:425)at weblogic.application.utils.StateMachineDriver.nextState( StateMachineDriver.java:52)at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)at weblogic.app lication.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)at weblogic.application.internal.flow.ModuleStateDriver $ 3.next(ModuleStateDriver.java:425)at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java) :52)at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)at weblogic.application.internal.BaseDeployment $ 2 .next(BaseDeployment.java:636)at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)at weblogic.application.internal。位于weblogic.deploy的weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)的weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)中的EarDeployment.activate(EarDeployment.java:58) .internal.target server.operations.AbstractOperation.activate(AbstractOperation.java:569)at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit( ActivlogOperation.java:116)weblogic.deploy.internal.targetserver.operations.StartOperation.doCommit(StartOperation.java:140)at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)at weblogic位于weblogic.deploy.internal.target上的weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)中的.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)。(DeploymentManager) .java:440)位于weblogic.deploy.inploy.inget.deploy.service.ineploy.deploy服务器上的weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) eiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access $ 100(DeploymentReceiverCallbackDeliverer.java:13)at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer $ 2.run(DeploymentReceiverCallbackDeliverer。 java:68)at weblogic.work.SelfTuningWorkManagerImpl $ WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)at weblogic.work.ExecuteThread.run(ExecuteThread.java:178 )

2 个答案:

答案 0 :(得分:0)

检查WAR中的web.xml,对于Oracle帮助文件和此servlet最有可能servletservlet-mapping

评论那些。

答案 1 :(得分:0)

I received the same error as "failed to preload on startup in Web application:".

Below is how I am able to resolve the error.

in your web.xml, check if following property is present

<load-on-startup>0</load-on-startup>

this property is to load your bundled artifacts during the server restart itself. This was the cause of the issue because there were some jar file which weblogic server required to load before the loading of our bundled artifacts. Now since server is not yet started completely and all the libraries required to our application is not yet loaded, hence server is throwing "failed to preload on startup in Web application:".

The solution to this is remove load-on-startup from web.xml and That's it!!