我已经在 Windows 2012R2 上安装了 IBM Mobile First Platform 服务器 7.0。
我使用 tomcat 7 作为应用服务器,使用 Oracle 11g 作为数据库。
我能够在控制台上部署 .wlapp 文件,但是当我在控制台上部署任何适配器时,它一直显示“正在部署适配器名称.适配器...”,但没有任何反应。
截图:
最佳答案
来自 How to deal with OutOfMemory errors 上的 Tomcat 常见问题解答:
A webapp that uses lots of libraries with many dependencies, or a server maintaining lots of webapps could exhauste the JVM PermGen space. This space is where the VM stores the classes and methods data. In those cases, the fix is to increase this size. The Sun VM has the flag -XX:MaxPermSize that allows to set its size (the default value is 64M)
- 编辑 CATALINA_OPTS 文件
- 为
-XX:MaxPermSize=128m
使用适当的内存量 - 另请参阅此问题(以及许多其他问题,谷歌):查看此答案:https://stackoverflow.com/a/3003986/1530814
- 不要忘记重启应用服务器
关于tomcat - 无法在 MobileFirst Platform Operations Console 上部署 .adapter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29702029/