What is a right instructions to run JBoss 7 as a windows service?
Configuration:
Windows Server 2008 64 bit,
Java version "1.6.0_26" 64 bit,
JBoss 7.1.1.Final.
I cannot find any official manual of how to perform this.
Thank you.
PS: A similar question has been closed here on stackoverflow - How to configure Jboss 7 (v7.1.0) to run as a windows service
Okay, I've found out that the most relevant sources would be these two links:
- Jboss 7.1.1 as Windows service,
- Running JBoss AS 7 as a
Windows service
The most strange for me is that there's not any specific native connectors at http://www.jboss.org/jbossweb/downloads/jboss-native-2-0-10.html for JBoss 7.
So we need to modify JBoss 5 connector (service.bat file specifically) to reflect structural changes of the JBoss version 7.
An updated service.bat is taken from here (all changes are in bold there).
The changes are as follows:
PS Consider reading this article as another way to go. However I've not tried it yet.
This looks like a comprehensive guide.
First of all, grab the appropriate native connectors from http://www.jboss.org/jbossweb/downloads/jboss-native-2-0-10 (x86 for 32bit host, x64 for 64bit). If you are not sure, use the 32bit version since they will work on 64bit systems also but the reverse is not true. Unzip the archive in the JBoss main folder. Then make some modifications to the service.bat file
(several modifications then listed)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With