Yes, it works. At the run.bat where is the comment: rem Setup JBoss specific properties, this is the place where su should add the additional options:
Original: set JAVA_OPTS=-Dprogram.name=%PROGNAME% -Dlogging.configuration=file:%DIRNAME%logging.properties %JAVA_OPTS% Modified (where IPServer is the server's local network IP where is running JBoss, in my case is 10.20.1.1): set JAVA_OPTS=-Dprogram.name=%PROGNAME% -Dlogging.configuration=file:%DIRNAME%logging.properties -Djava.rmi.server.hostname=IPServer -Dremoting.bind_by_host=false %JAVA_OPTS%
|