2 Replies Latest reply on Jan 24, 2008 10:23 PM by marcus sim

    Portlet out of memory problem when calling axis2 stub

    marcus sim Newbie


      I have a existing jsf web application that use web service tool axis2 stub to call another service which is tested and working. Tested it in jboss 4.2.2.

      After I make the neccessary configuration to change it to portlet (added the portlet.xml and jsf-portlet.jar) and run on jboss portal, I encountered out of memory error as below. I am using jboss portal 2.6.3.

      08:10:38,226 FATAL [application] java.lang.OutOfMemoryError: PermGen space
      08:10:51,695 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_41] - Abort called illegaly on atomic action -53efadae:600:4795963f:2de

      If I don't call the stub everything works fine. I have already increased the memory size of jboss portal at run.bat file to 1024M but still it occurs. Has anyone face this error before? Could it be the axis2 stub eat out too much memory as a portlet?

      My application also use spring and hibernate but I don't think thats the problem. Appreciate your help.