Weblogic托管服务器正在运行,但出现错误404——未找到部署在其上的SOA演示应用程序



我的机器上运行着一个Admin服务器和Managed服务器的实例。尽管我已经从命令提示符启动了托管服务器。现在,当我在托管服务器上部署SOA示例应用程序"Fusion Order Demo"时,它成功地部署在了托管服务器上。我使用Jdeveloper 11.1.1.7.0在Weblogic服务器实例上部署StoreFront模块。但是,当我对目标托管服务器运行测试url(http://<hostname>:<port>/StoreFrontServiceHooks/StoreFrontService)时,我会得到错误404——找不到。

以下是托管服务器日志中的文本摘要,供您参考。

服务部署日志:

####<20/04/2014 4:51:28 PM NZST> <Info> <EJB> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000KLxU8gm3z0WjLxyGOA1JKp8B000002> <1397969488233> <BEA-014021> <The EJB 'oracle.fodemo.storefront.store.service.common.StoreFrontServiceBean(Application: StoreFrontService_SDOServices, EJBComponent: StoreFrontServiceHooks.jar)' has been successfully deployed. The following remote interfaces have been bound into JNDI with the specified JNDI names:> 
####<20/04/2014 4:51:28 PM NZST> <Info> <EJB> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000KLxU8gm3z0WjLxyGOA1JKp8B000002> <1397969488233> <BEA-014022> <******** oracle.fodemo.storefront.store.service.common.serviceinterface.StoreFrontService is bound with JNDI name:StoreFrontServiceBean#oracle.fodemo.storefront.store.service.common.serviceinterface.StoreFrontService ********> 
####<20/04/2014 4:51:28 PM NZST> <Info> <EJB> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000KLxU8gm3z0WjLxyGOA1JKp8B000002> <1397969488233> <BEA-010009> <EJB Deployed EJB with JNDI name StoreFrontService_SDOServicesStoreFrontServiceHooks_jaroracle_fodemo_storefront_store_service_common_StoreFrontServiceBean_Home.> 
####<20/04/2014 4:51:28 PM NZST> <Info> <Deployer> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000KLxU8gm3z0WjLxyGOA1JKp8B000002> <1397969488234> <BEA-149060> <Module StoreFrontServiceHooks.jar of application StoreFrontService_SDOServices successfully transitioned from STATE_PREPARED to STATE_ADMIN on server bam_server1.> 
####<20/04/2014 4:51:28 PM NZST> <Info> <Deployer> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000KLxU8gm3z0WjLxyGOA1JKp8B000002> <1397969488234> <BEA-149059> <Module StoreFrontServiceHooks of application StoreFrontService_SDOServices is transitioning from STATE_PREPARED to STATE_ADMIN on server bam_server1.> 

URL访问失败日志:

####<20/04/2014 5:21:21 PM NZST> <Error> <HTTP> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <1b7e5955c26b51de:648ed59c:1457d787ec8:-8000-00000000000001aa> <1397971281003> <BEA-101305> <[ServletContext@482182690[app:StoreFrontModule module:StoreFrontModule path:/StoreFrontModule spec-version:2.5]] Error-page location: "/faces/unexpectedErrorHandler.jspx" for the error-code: "404" causes an infinite loop condition as it throws the same code for which it has been mapped.> 
####<20/04/2014 5:21:37 PM NZST> <Info> <Health> <Sri-HP4530s-010> <bam_server1> <weblogic.GCMonitor> <<anonymous>> <> <1b7e5955c26b51de:648ed59c:1457d787ec8:-8000-000000000000001d> <1397971297574> <BEA-310002> <62% of the total memory in the server is free> 
####<20/04/2014 5:21:42 PM NZST> <Warning> <oracle.adf.share.ADFContext> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <1b7e5955c26b51de:648ed59c:1457d787ec8:-8000-00000000000001ac> <1397971302885> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.
Caller should ensure that a DefaultContext is proper for this use.
Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
This message may be avoided by performing initADFContext before using getCurrent().
For more information please enable logging for oracle.adf.share.ADFContext at FINEST level.> 
####<20/04/2014 5:21:42 PM NZST> <Info> <ServletContext-/StoreFrontModule> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <1b7e5955c26b51de:648ed59c:1457d787ec8:-8000-00000000000001ac> <1397971302887> <BEA-000000> <JspServlet error: Servlet unable to dispatch to the following requested page: The following exception occurred:java.io.FileNotFoundException: /index.jsp> 
####<20/04/2014 5:21:42 PM NZST> <Info> <oracle.j2ee.jsp> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <1b7e5955c26b51de:648ed59c:1457d787ec8:-8000-00000000000001ac> <1397971302887> <BEA-000000> <unable to dispatch JSP page: The following exception occurred:.
java.io.FileNotFoundException: /index.jsp
    at oracle.adf.library.webapp.ADFJspResourceProvider.internalFromStream(ADFJspResourceProvider.java:602)
    at oracle.adf.library.webapp.ADFJspResourceProvider.fromStream(ADFJspResourceProvider.java:346)
    at oracle.jsp.parse.XMLUtil.getFromStream(XMLUtil.java:311)
    at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:480)
    at oracle.jsp.runtimev2.JspPageCompiler.parseAndGetTreeNode(JspPageCompiler.java:457)
    at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:624)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:645)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:387)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:842)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:766)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
> 
####<20/04/2014 5:21:42 PM NZST> <Warning> <oracle.adf.share.ADFContext> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <1b7e5955c26b51de:648ed59c:1457d787ec8:-8000-00000000000001ae> <1397971302894> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.
Caller should ensure that a DefaultContext is proper for this use.
Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
This message may be avoided by performing initADFContext before using getCurrent().
For more information please enable logging for oracle.adf.share.ADFContext at FINEST level.> 
####<20/04/2014 5:21:42 PM NZST> <Info> <ServletContext-/StoreFrontModule> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <1b7e5955c26b51de:648ed59c:1457d787ec8:-8000-00000000000001ae> <1397971302895> <BEA-000000> <JspServlet error: Servlet unable to dispatch to the following requested page: The following exception occurred:java.io.FileNotFoundException: /index.jsp> 
####<20/04/2014 5:21:42 PM NZST> <Info> <oracle.j2ee.jsp> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <1b7e5955c26b51de:648ed59c:1457d787ec8:-8000-00000000000001ae> <1397971302896> <BEA-000000> <unable to dispatch JSP page: The following exception occurred:.
java.io.FileNotFoundException: /index.jsp
    at oracle.adf.library.webapp.ADFJspResourceProvider.internalFromStream(ADFJspResourceProvider.java:602)
    at oracle.adf.library.webapp.ADFJspResourceProvider.fromStream(ADFJspResourceProvider.java:346)
    at oracle.jsp.parse.XMLUtil.getFromStream(XMLUtil.java:311)
    at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:480)
    at oracle.jsp.runtimev2.JspPageCompiler.parseAndGetTreeNode(JspPageCompiler.java:457)
    at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:624)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:645)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:387)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:842)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:766)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:180)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:324)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:460)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:163)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
> 
####<20/04/2014 5:21:42 PM NZST> <Warning> <org.apache.myfaces.trinidadinternal.skin.SkinFactoryImpl> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <1b7e5955c26b51de:648ed59c:1457d787ec8:-8000-00000000000001ae> <1397971302901> <BEA-000000> <Cannot find an unversioned skin for family skyros. We will use the versioned skin skyros-v1.desktop.> 
####<20/04/2014 5:21:42 PM NZST> <Info> <ServletContext-/StoreFrontModule> <Sri-HP4530s-010> <bam_server1> <[ACTIVE] ExecuteThread: '10' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <1b7e5955c26b51de:648ed59c:1457d787ec8:-8000-00000000000001ae> <1397971302904> <BEA-000000> <JspServlet error: Servlet unable to dispatch to the following requested page: The following exception occurred:java.io.FileNotFoundException: /index.jsp> 

我将非常感谢你在这方面的帮助。

谢谢和问候,Neelesh jain

如果您从服务器上获得404错误,则表示您的服务器已启动并正在运行。然而,它在错误的地方寻找应用程序的起点。我假设您的应用程序有一个入口点,比如像main.JSP或main.jspx.这样的JSP文件

确保它在正确的文件夹下。例如,在OracleADF应用程序中,像这样的文件应该在根ViewController项目下。如果您将它与WEB.xml和weblogic.xml一起放在WEB-INF文件夹中,它还会给您404 NOT FOUND错误。

我刚才正面临这个问题。所以我在谷歌上搜索并登陆了你的问题页面。不管怎样,我就这样解决了我的问题。也许你也可以。

相关内容

  • 没有找到相关文章

最新更新