Search code examples
tomcatibm-mobilefirstmobilefirst-adaptersmobilefirst-server

Not able to deploy .adapter on MobileFirst Platform Operations Console


I have installed the IBM Mobile First Platform server 7.0 on Windows 2012R2.
I am using tomcat 7 as application server and Oracle 11g as DB.
I am able to deploy .wlapp files on the console but when I deploy any adapter on console it stuck saying "Deploying adapter-name.adapter..." but nothing happens.

screenshot: enter image description here


Solution

  • From the Tomcat FAQ on 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)

    • Edit the CATALINA_OPTS file
    • Use an appropriate amount of memory for -XX:MaxPermSize=128m
    • Also refer this question (and many others, google): See this answer: https://stackoverflow.com/a/3003986/1530814
    • Don't forget to restart the application server