Running Confluence on GlassFish v3 Prelude

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
About

tonyng

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today