部署步骤和以前一样的,以前都没问题的,现在输入地址进去就提示这个了,路径都对着呢呀。 |
|
启动服务报错如下
####<2014-8-29 上午09时29分27秒 CST> <Error> <Deployer> <USER-20140429JI> <cwzf> <main> <<WLS Kernel>> <> <BEA-149205> <Failed to initialize the application systemframe due to error weblogic.management.ApplicationException: Prepare failed. Task Id = null { Module Name: systemframe, Error: [HTTP:101179][HTTP] Error occurred while parsing descriptor in Web application “C:\bea\user_projects\domains\cwzf7004\applications\systemframe” [Path=”C:\bea\user_projects\domains\cwzf7004\applications”, URI=”systemframe” org.xml.sax.SAXParseException: The markup declarations contained or pointed to by the document type declaration must be well-formed. at weblogic.apache.xerces.parsers.DOMParser.parse(DOMParser.java:271) at weblogic.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201) at weblogic.servlet.internal.dd.DescriptorLoader.parse(DescriptorLoader.java:700) at weblogic.servlet.internal.dd.DescriptorLoader.initializeWebXml(DescriptorLoader.java:716) at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:418) at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:327) at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:558) at weblogic.j2ee.J2EEApplicationContainer.loadDescriptors(J2EEApplicationContainer.java:1414) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1239) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1076) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:829) at weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDeployer.java:3058) at weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(SlaveDeployer.java:985) at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:342) at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229) at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136) at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360) at weblogic.Server.main(Server.java:32) ————— nested within: —————— Received SAXParseException from Sun Parser at line 1, column 3: org.xml.sax.SAXParseException: The markup declarations contained or pointed to by the document type declaration must be well-formed. at weblogic.servlet.internal.dd.DescriptorLoader.parse(DescriptorLoader.java:705) at weblogic.servlet.internal.dd.DescriptorLoader.initializeWebXml(DescriptorLoader.java:716) at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:418) at weblogic.servlet.internal.dd.DescriptorLoader.<init>(DescriptorLoader.java:327) at weblogic.servlet.internal.WebAppModule.loadDescriptor(WebAppModule.java:558) at weblogic.j2ee.J2EEApplicationContainer.loadDescriptors(J2EEApplicationContainer.java:1414) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1239) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1076) at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:829) at weblogic.management.deploy.slave.SlaveDeployer$Application.prepare(SlaveDeployer.java:3058) at weblogic.management.deploy.slave.SlaveDeployer.prepareAllApplications(SlaveDeployer.java:985) at weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:342) at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229) at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136) at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360) at weblogic.Server.main(Server.java:32) |
|
20分 |
什么问题呢?
404 看看你的部署包的webRoot下面有没有index.html或index.jsp页面? |
各位大侠帮看看,这是什么原因,是与JDK版本有关吗?
|
|
没有index这个 |
|
在部署包下有index.html和index.jsp,不过不是在web-inf下 |
|
20分 |
重新建个weblogic域再重新部署,或者把缓存清理了再部署。如果以前没问题,说明就是缓存的问题或者是你删了weblogic的文件。重新建个域吧,2分钟就可以建好。
|
试过重新建域,还是不行 |
|
xml文件格式不友好,或者有简写的情况出现。
|
|
重新建域,启服务时不出现上述的错误了,在IE中打开还是提示 Error 404–Not Found If the server does not wish to make this information available to the client, the status code 403 (Forbidden) can be used instead. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. |
|
那应该怎么解决? |
|
确定web应用起来了吗?健康状态是OK的吗?
|
|
|