This content has been marked as final.
Show 3 replies
-
1. Re: JBoss 5.1 clustering improvements - update the Wiki plea
jaikiran Jun 19, 2009 3:57 AM (in response to kennardconsulting)"kennardconsulting" wrote:
...but this doesn't seem to quite work because the VM arg isn't passed through run.conf.bat (if you manually put it in the run.conf.bat it does). So close!
That seems to be a bug then. The run.bat.conf was a recent addition, let's see what issue it might have (although i don't have a Windows system right now). -
2. Re: JBoss 5.1 clustering improvements - update the Wiki plea
kennardconsulting Jun 20, 2009 7:30 PM (in response to kennardconsulting)jaikiran,
My apologies: it does work after all. It is a little confusing because the opening trace makes it look like it has forgotten the arg:C:\out-of-the-box\jboss-5.1.0.GA>bin\run -Djboss.service.binding.set=ports-01 Calling C:\out-of-the-box\jboss-5.1.0.GA\bin\run.conf.bat =============================================================================== JBoss Bootstrap Environment JBOSS_HOME: C:\out-of-the-box\jboss-5.1.0.GA JAVA: N:\Program Files\Java\jdk6\bin\java JAVA_OPTS: -Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -server CLASSPATH: C:\out-of-the-box\jboss-5.1.0.GA\bin\run.jar
...but it works anyway.
The Wiki definitely needs updating, though. -
3. Re: JBoss 5.1 clustering improvements - update the Wiki plea
jaikiran Jun 22, 2009 3:25 AM (in response to kennardconsulting)That's because the -D option passed from the command prompt does not get set in the JAVA_OPTS. Instead it gets passed directly to the Main class which triggers the AS startup.