-
1. Re: Starting JBoss as a service on Windows (using options)
jaikiran Dec 8, 2008 7:06 AM (in response to marcos_aps)You will have to edit the service.bat file. See here for an example:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=145181 -
2. Re: Starting JBoss as a service on Windows (using options)
marcos_aps Dec 8, 2008 7:13 AM (in response to marcos_aps)Thank you for the answer.
Just another doubt related to that. I've just downloaded the JBoss Native package contained in the file:
jboss-native-2.0.6-windows-x86-ssl.zip
Looking in the README-service.txt, I see mentions like this:C:\> cd c:\jboss-5.0.0\bin C:\> service.bat install
andC:\> net start JBAS50SVC The JBoss Application Server 5.0 service is starting. The JBoss Application Server 5.0 service was started successfully.
I'm using JBoss 4.2.3.GA. Will this version of the JBoss Native work with it? It seems that it is made for JBoss 5.
Marcos -
3. Re: Starting JBoss as a service on Windows (using options)
marcos_aps Dec 8, 2008 7:41 AM (in response to marcos_aps)Can you please point me to the right JBoss Native package to download for JBoss 4.2.3.GA?
Thank you.
Marcos -
4. Re: Starting JBoss as a service on Windows (using options)
jaikiran Dec 8, 2008 7:54 AM (in response to marcos_aps)The version that you downloaded works for JBoss-4.2.3 GA version too. You can ignore the "JBoss Application Server 5.0 is starting" message or you can even edit to anything of your choice in the service.bat:
set SVCDISP=JBoss Application Server 5.0 set SVCDESC=JBoss Application Server 5.0.0 GA/Platform: Windows x86
You can change these. -
5. Re: Starting JBoss as a service on Windows (using options)
marcos_aps Dec 8, 2008 7:56 AM (in response to marcos_aps)"jaikiran" wrote:
The version that you downloaded works for JBoss-4.2.3 GA version too. You can ignore the "JBoss Application Server 5.0 is starting" message or you can even edit to anything of your choice in the service.bat:set SVCDISP=JBoss Application Server 5.0 set SVCDESC=JBoss Application Server 5.0.0 GA/Platform: Windows x86
You can change these.
Thank you very much, jaikiran.
Marcos -
6. Re: Starting JBoss as a service on Windows (using options)
marcos_aps Dec 8, 2008 10:53 AM (in response to marcos_aps)Hello, jaikiran!
I've just installed JBoss as a service on Windows. It's working ok. But I got a little scared the first time I restarted the server machine and noticed that the JBoss service was not initiated. Then I went to Control Panel | Services and noticed that the JBoss service was configured to start manually. So I changed it to start automatically, restarted the server again and it worked. So, why when we install JBoss as a service this isn't the default, I mean, to start the service automatically? I think it's difficult to figure out that.
Marcos