【问题标题】:HTTP Status 404 - /ks-with-rice-bundled/kew/ActionList.doHTTP 状态 404 - /ks-with-rice-bundled/kew/ActionList.do
【发布时间】:2016-01-21 10:09:51
【问题描述】:

当我们使用 admin/admin 帐户进入 kuali Student 登录 UI 时,会在前端出现以下屏幕。

HTTP 状态 404 - /ks-with-rice-bundled/kew/ActionList.do

输入状态报告

消息/ks-with-rice-bundled/kew/ActionList.do

说明请求的资源不可用。

这是我在日志文件中得到的错误:

192.168.0.134 - - [21/Jan/2016:15:33:00 +0530] "POST /ks-with-rice-bundled-2.0.3-cm/org.kuali.student.lum.lu.ui.main.LUMMain/rpcservices/ServerPropertiesRpcService HTTP/1.1" 200 46
192.168.0.134 - - [21/Jan/2016:15:33:00 +0530] "POST /ks-with-rice-bundled-2.0.3-cm/org.kuali.student.lum.lu.ui.main.LUMMain/rpcservices/SecurityRpcService HTTP/1.1" 200 21
192.168.0.134 - - [21/Jan/2016:15:33:00 +0530] "POST /ks-with-rice-bundled-2.0.3-cm/org.kuali.student.lum.lu.ui.main.LUMMain/rpcservices/MetadataRpcService HTTP/1.1" 200 4745
192.168.0.134 - - [21/Jan/2016:15:33:00 +0530] "POST /ks-with-rice-bundled-2.0.3-cm/org.kuali.student.lum.lu.ui.main.LUMMain/rpcservices/ServerPropertiesRpcService HTTP/1.1" 200 355
192.168.0.134 - - [21/Jan/2016:15:33:00 +0530] "POST /ks-with-rice-bundled-2.0.3-cm/org.kuali.student.lum.lu.ui.main.LUMMain/rpcservices/ServerPropertiesRpcService HTTP/1.1" 200 179
192.168.0.134 - - [21/Jan/2016:15:33:00 +0530] "POST /ks-with-rice-bundled-2.0.3-cm/org.kuali.student.lum.lu.ui.main.LUMMain/rpcservices/SecurityRpcService HTTP/1.1" 200 204
192.168.0.134 - - [21/Jan/2016:15:33:00 +0530] "GET /ks-with-rice-bundled/kew/ActionList.do HTTP/1.1" 404 1027
192.168.0.134 - - [21/Jan/2016:15:33:01 +0530] "POST /ks-with-rice-bundled-2.0.3-cm/org.kuali.student.lum.lu.ui.main.LUMMain/rpcservices/SecurityRpcService HTTP/1.1" 200 287

Cataline.out 日志给出以下一个:

2016-01-21 15:33:00,760 [http-bio-8080-exec-2] u:/d: INFO  org.kuali.student.common.ui.server.gwt.ServerPropertiesRpcGwtServlet - Property not found, looking in Context: ks.rice.actionList.serviceAddress with value: http://kuali.localdomain:8080/ks-with-rice-bundled/kew/ActionList.do
2016-01-21 15:33:00,804 [http-bio-8080-exec-5] u:/d: INFO  org.kuali.student.common.ws.ServletWrappingController - handleRequestInternal : SecurityGwtServlet
2016-01-21 15:33:00,818 [http-bio-8080-exec-7] u:/d: INFO  org.kuali.student.common.ws.ServletWrappingController - handleRequestInternal : SecurityGwtServlet

我可以在错误中看到,它是什么,但是我不知道如何解决它。

【问题讨论】:

  • 有人可以帮我解决这个问题吗?
  • 404 错误表示“未找到”。检查 ks-with-rice-bundled/kew/ActionList.do 文件是否存在或是否具有适当的访问权限
  • 感谢 Joao 指出,但问题是我从 Ken 那里得到的其他问题。

标签: apache tomcat6 kuali


【解决方案1】:

您所有成功的 POST 都发往 /ks-with-rice-bundled-2.0.3-cm/... 但 404 位于 /ks-with-rice-bundled。 Rice 配置导致重定向到错误的位置。

我会将应用程序部署到 /ks-with-rice-bundled 或添加

<param name="app.code">ks-with-rice-bundled-2.0.3-cm</param>

到您的本地 ks-config.xml。

【讨论】:

  • 谢谢肯。上面的代码对我来说没有多大帮助,但是我所做的是更改 - ks-with-rice-bundled-2.0.3-cm。但是,您的指导帮助了我。
猜你喜欢
  • 2018-03-05
  • 1970-01-01
  • 1970-01-01
  • 2015-11-26
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多