IBM MobileFirst Platform 6.3操作分析Tomcat的安装失败 [英] IBM MobileFirst Platform 6.3 Operational Analytics Failed installation for Tomcat

查看:334
本文介绍了IBM MobileFirst Platform 6.3操作分析Tomcat的安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功安装了MobileFirst 6.3 appcenter控制台,worklight控制台,它们在Tomcat / 7.0.57上运行良好。但是,当我尝试安装Operational Analytics时,文档包含以下内容

I have installed MobileFirst 6.3 appcenter console, worklight console successfully, they are operating fine on Tomcat/7.0.57. However when I try to install Operational Analytics, the documentation has the following

http://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm。 worklight.installconfig.doc / monitor / c_op_analytics_installation_tomcat.html

我正在使用tomcat manager http:// localhost:8080 / html 来部署war文件。以manager-gui角色登录为manager。

I am using tomcat manager http://localhost:8080/html to deploy the war files. logging in as manager, with the manager-gui role.

worklight-analytics.war - 当我选择worklight-analytics-service.war文件并在GUI中部署时,部署时没有问题
,它会抛出一个首先是空白页,表示连接错误,当我刷新页面时,在Tomcat管理器GUI的状态栏上,我收到此消息 - FAIL - 试图通过GET请求使用命令/上传,但需要POST;

worklight-analytics.war - deployed with no issues when I select the worklight-analytics-service.war file and deploy in the GUI, it throws a blank page first, indicating "connection error", and when I refresh the page, on the status bar in Tomcat manager GUI, I get this message - "FAIL - Tried to use command /upload via a GET request but POST is required";

请提供一些指示,告诉我需要做些什么来解决这个问题。我不确定如果我已经提供了所有必需的信息 - 请耐心等待我询问,如果有任何相关信息(显然我无法弄清楚相关的内容)需要调试。

Please provide some direction on what I need to do get this fixed. I am not sure If I have provided all required information - please bear with me and ask, if anything relevant (obviously I can't figure out what is relevant yet) is required to debug.

推荐答案

所以我能够重现你的错误,我在日志中看到了这个:

So I was able to reproduce your error and I saw this in the logs:


java.lang.IllegalStateException:
org.apache.tomcat.util.http.fileupload.FileUploadBase $ SizeLimitExceededException:
请求被拒绝,因为它的大小(57353297)超过了配置的
最大值(52428800)

java.lang.IllegalStateException: org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException: the request was rejected because its size (57353297) exceeds the configured maximum (52428800)

默认情况下,Web UI只会上传大小为50MB或更小的WAR。分析服务WAR文件大于此,因此这就是失败的原因。我可以通过修改以下行来增加限制

It looks like by default, the web UI will only upload WARs of size 50MB or smaller. The analytics service WAR file is larger than this, so that is why this is failing. I was able to increase the limit by modifying the following lines in


/webapps/manager/WEB-INF/web.xml

/webapps/manager/WEB-INF/web.xml



<max-file-size>100000000</max-file-size>
<max-request-size>100000000</max-request-size>

这会将限制增加到100MB。在我这样做之后,我能够成功部署服务WAR。

This will increase the limit to 100MB. After I did this, I was able to successfully deploy the service WAR.

就像一个单挑,一旦你部署了WAR,你就会看到登录页面。你需要一个具有'worklightadmin'角色的tomcat用户才能通过登录界面。

Just as a heads up, once you get the WAR deployed, you'll be presented with the login page. You'll need a tomcat user with the 'worklightadmin' role in order to get past the login screen.

这篇关于IBM MobileFirst Platform 6.3操作分析Tomcat的安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆