wood burning stoves 2.0*
The moose likes JBoss/WildFly and the fly likes Jboss start on system bootup Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Jboss start on system bootup" Watch "Jboss start on system bootup" New topic
Author

Jboss start on system bootup

sarvan kumar
Ranch Hand

Joined: Jul 28, 2010
Posts: 66
Hi all,
Give the steps to start jboss server on system bootup in windows
give me step by step explanation

Thanks and Regards,
K.Saravanan
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

You mean you want to run JBoss AS as a service on Windows OS? Which version of JBoss AS? See this as a starting point http://community.jboss.org/wiki/RunJBossAsAServiceOnWindows


[My Blog] [JavaRanch Journal]
sarvan kumar
Ranch Hand

Joined: Jul 28, 2010
Posts: 66
Hi,
I want to run jboss 4.2.0.GA which i want to run on system startup

Thanks,
K.Saravanan
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

Please follow Option 1 in that wiki that I posted earlier.
sarvan kumar
Ranch Hand

Joined: Jul 28, 2010
Posts: 66
Hi,
Without installing jboss 4.2.0 as a service in windows there is any other way to start jboss 4.2.0.GA when i start my system jboss server should be started is there is any solution

Thanks,
K.Saravanan
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10266
    
168

sarvan kumar wrote:Hi,
Without installing jboss 4.2.0 as a service in windows there is any other way to start jboss 4.2.0.GA when i start my system jboss server should be started is there is any solution



I don't know of any other way to do it. Why did you give up on the service installation?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Yes, there are other ways of starting apps on Windows at boot time other than via a service. But why do you want to use a mechanism whereby you need to first understand the Windows boot process, make manually changes to registry entries, and fix all of the issues yourself instead of using a simple BAT file that is already provided that can set up a service for you?

By the way, if your answer is that you don't have admin privileges on the system, then THERE IS NO MECHANISM whereby you can start the app server on boot as they all require admin privileges to set up. (You could place a shortcut into the "Startup" folder such that JBoss AS runs when you sign in, but note that this happens during login and not during system boot.)

If your hesitation is regarding running the app service with the SYSTEM account, then you can easily create a limited user account to run JBoss AS. In fact, you should do that anyway.


JBoss In Action
sarvan kumar
Ranch Hand

Joined: Jul 28, 2010
Posts: 66
Hi,
Thanks i have installed jboss as a service and it is started automatically at system startup

I want to set JBOSS_HOME variable in environment path in linux permanently can any one give the steps for that

Thanks and Regards,
K.Saravanan
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

sarvan kumar wrote:Hi,
Thanks i have installed jboss as a service and it is started automatically at system startup

I want to set JBOSS_HOME variable in environment path in linux permanently can any one give the steps for that

Thanks and Regards,
K.Saravanan


http://tinyurl.com/2dmla6c


Regards, Rene Larsen
Dropbox Invite
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

Why do you want to set JBOSS_HOME? It is not needed - the run scripts set it automatically.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jboss start on system bootup