0

我在Windows 2012R2上安裝了IBM Mobile First Platform服務器7.0。
我使用tomcat 7作爲應用程序服務器,Oracle 11g作爲數據庫。
我能夠在控制檯上部署.wlapp文件,但是當我在控制檯上部署任何適配器時,它說:「部署適配器名稱。適配器...」但沒有任何反應。無法在MobileFirst Platform Operations Console上部署.adapter

截圖: enter image description here

+0

而在你看到服務器日誌...? –

+0

是的,每次都有錯誤記錄說明FAILURE => UndeclaredThrowableException FAILURE => PermGen空間 –

+0

太棒了。增加分配給tomcat實例的permgen內存。 –

回答

0

從Tomcat FAQ上How to deal with OutOfMemory errors

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
  • 不要忘了重新啓動應用程序服務器
相關問題