I was reading the Confluence documentation and it mentioned GlassFish is not compatible with Confluence so I decided to try it on GlassFish v3 Prelude release. I followed the instructions downloading & building the Confluence WAR file. I am surprised at how big is the WAR file (around 75M). The application deployed fine onto GlassFish but I soon got an OutOfMemoryException.

I made the following adjustment in the GlassFish configuration file domain.xml in the <java-config> element

        <jvm-options>-server</jvm-options>
        <jvm-options>-Xmx1024m</jvm-options>
        <jvm-options>-XX:MaxPermSize=512m</jvm-options>

After that I am able to start up Confluence wiki and it seems to work just fine!


Comments:

Post a Comment:
  • HTML Syntax: NOT allowed

This blog copyright 2009 by tonyng