-
1. Re: How to add Java system properties to JBoss startup script?
Peter Johnson May 1, 2012 11:14 AM (in response to Shoe Fiend)You must have modified run.sh because the run.sh and run.conf files shipped with JBoss AS 4.2.0 do not use that environment variable.
Usually, to add system properties, you edit run.conf and add another line to set JAVA_OPTS, or add them to and existing JAVA_OPTS line.
-
2. Re: How to add Java system properties to JBoss startup script?
Shoe Fiend May 1, 2012 11:38 AM (in response to Peter Johnson)The Kerberos set up documemnt states that these 2 Java System properties lines need to be added to the Application Server's start up script.
But you say I must modify run.conf and not the startup.sh file?
I found 4 run.conf files:
../jboss4.2.0/bin/run.conf
../jboss4.2.0/server/DctmServer_MethodServer/run.conf
../jboss4.2.0/server/clustertemplate/run.conf../jboss4.2.0/server/template/run.conf
Which of these should I add the JAVA_OPTS line to?
Thanks!
-
3. Re: How to add Java system properties to JBoss startup script?
Peter Johnson May 1, 2012 11:42 AM (in response to Shoe Fiend)You are going to have to ask the person that you got this setup from. In the offical JBoss AS 4.2.0 release there is only one run.conf file - in the bin directory. The three directories you mentioned under jboss4.2.0/server do not exist in Jboss AS 4.2.0 as released.