I saw something once for wrappers used to do this but it asked for a licensing fee. Is there an open source way to do this?
+1
A:
"JBoss AS comes with Windows service executable as part of JBossNative that can run JBoss Application Server as service. The service executable jbosssvc.exe transforms the run.bat and shutdown.bat batch scripts to services. This means that any change made to those scripts will be used both in service and command line mode."
John Ellinwood
2009-10-30 18:06:47
A:
A Problem I had was the remote Access to JBoss. In JBoss 4.2.3 you must start it with the Parameter run.bat -b 0.0.0.0
to have access from other hosts.
I think since JBoss 4.2 remote access is turned off by default.
My solution was to adjust the :RESTART Section in the file run.bat like this:
:RESTART
"%JAVA%" %JAVA_OPTS% ^
-Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" ^
-classpath "%JBOSS_CLASSPATH%" ^
org.jboss.Main -b "0.0.0.0" %*
haschibaschi
2010-09-02 11:26:17