使用weblogic部署web应用时,报如下错误:
<myserver> <ExecuteThread: '3' for queue: 'weblogic.kernel.System'> <<WLS Kernel>> <> <BEA-101216> <Servlet: "TO-init" failed to preload on startup in Web application: "receive".
java.lang.Throwable
at weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:985)
at weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:949)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:888)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3430)
at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3375)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3356)
at weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6208)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864)
at weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2134)
at weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2175)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2520)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2438)
at weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2155)
at weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2254)
at weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2149)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2401)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:883)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:591)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:500)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
>
原因可能是发布包为war的压缩包,将应用解压出来从新部署,部署成功。
分享到:
相关推荐
<servlet-name>test</servlet-name> <servlet-class>com.demo.servlets.TestServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>test</servlet-name> <url-pattern>/TestServlet</url-...
<show-archived-real-path-enabled>true</show-archived-real-path-enabled> </container-descriptor> </weblogic-web-app> ``` - **`index-directory-enabled`**:指定是否启用索引文件的支持。 - **`prefer-web...
<servlet-class>ConfigServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>ConfigServlet</servlet-name> <url-pattern>/servlet/ConfigServlet</url-pattern> </servlet-mapping> </web-...
<resource-name>META-INF/services/javax.servlet.ServletContainerInitializer</resource-name> </prefer-application-resources> </container-descriptor> </weblogic-web-app> ``` - 这些配置指定了 ...
1. Add the QName JAR file (qname.jar) into the WEB-INF/lib folder in your WAR file ... <prefer-web-inf-classes>true</prefer-web-inf-classes> </container-descriptor> </weblogic-web-app>
<extension>doc</extension> <mime-type>application/msword</mime-type> </mime-mapping> <mime-mapping> <extension>xls</extension> <mime-type>application/msexcel</mime-type> </mime-mapping> <mime-...
--------- <br>如果要把mysite设置成缺省的服务器名,需要在应用程序/WEB-INF/下的weblogic.xml文件中配置:<br><weblogic-web-app><br><container-descriptor><br><index-directory-enabled>true</index-directory-...
WebLogic 启动失败解决方案 WebLogic 是一款功能强大且广泛应用的 Java EE 服务器,但是在实际操作中,可能会遇到启动失败的问题。那么,如何解决 WebLogic 启动失败问题呢?下面我们将详细介绍。...
<servlet-class>weblogic.servlet.proxy.HttpClusterServlet</servlet-class> <init-param> <param-name>WebLogicCluster</param-name> <param-value>192.168.9.233:7001</param-value> </init-param> </...
<bea-installer> <input-fields> <!-- 配置参数 --> </input-fields> </bea-installer> ``` 在 input-fields 节点中,可以配置多个参数,每个参数使用 data-value 节点表示。例如: ```xml <data-value name=...
27010571: <BEA-000503> <INCOMING MESSAGE HEADER OR ABBREVIATION PROCESSING FAILED 26075541: .APPMERGEGEN_$DIGIT DIR REMAIN EVERY TIME BY DEPLOYING A EAR ON WLS 12.2.1 27823500: REGRESSION BUG WHICH...
<servlet-name>InvocateEjb</servlet-name> <servlet-class>InvEjb</servlet-class> </servlet> <servlet-mapping> <servlet-name>InvocateEjb</servlet-name> <url-pattern>/InvEjb/*</url-pattern> </...
`<exact-match>false</exact-match>`表示允许使用任意版本的JSF 1.2实现。 #### 三、验证配置 完成以上所有步骤后,可以通过WebLogic Server的管理控制台验证配置是否成功。打开浏览器,访问以下URL: ``` ...
* 格式化文字:<b>、<strong>、<big>、<em>、<i>、<small>、<sub>、<sup> * 其它常用标签:<font>、<center>、<ul>、<ol> 2.4 HTML特殊字符: * 空格: * 链接元素:<a> * 图片元素:<img> 2.5 HTML表格...
<Application Name="_appsdir_项目名_dir" Path="Your_bea_Home\user_projects\domains\domain名\applications" StagingMode="nostage" TwoPhase="true"> <WebAppComponent Name="项目名" Targets="myserver" URI=...