JBoss Community

How to add Java system properties to JBoss startup script?

created by Shoe Fiend in Beginner's Corner - View the full discussion

Hi,

 

I am using JBoss 4.2.0 on AIX 6.1.

 

My startup script is as follows:

 

#!/bin/sh

USER_MEM_ARGS="-Xms256m -Xmx256m -XX:PermSize=64m -XX:MaxPermSize=256m -Xss256k

-XX:+DisableExplicitGC"

export USER_MEM_ARGS

/u01/documentum/shared/jboss4.2.0/bin/run.sh -c DctmServer_MethodServer -b 0.0.0

.0 $JAVA_OPTIONS

 

As part of implementing Kerberos authentication I need to add the following system properties to my JBoss start up script.

 

-Djava.security.krb5.conf=/disk01/kerb/krb5.conf

-Djavax.security.auth.useSubjectCredsOnly=false

 

How do I add these 2 system properties to the startup script?

 

Thanks!

Reply to this message by going to Community

Start a new discussion in Beginner's Corner at Community