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

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

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

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

type Status report

message /ks-with-rice-bundled/kew/ActionList.do

description The requested resource is not available.

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

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

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

您所有成功的 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.