Saturday, 8 December 2007

JBoss tricks

Apply to JBoss 4.2.0.

Enabling remote access :
./jboss/bin/run.sh -b 0.0.0.0
source

Avoid java.lang.OutOfMemoryError: PermGen space ERROR (due to hibernate??), add the following jvm options in /bin/run.conf " ( -> JAVA_OPTS) :

-XX:PermSize=64m -XX:MaxPermSize=128m

source

0 comments: