Pages

Showing posts with label JBoss. Show all posts
Showing posts with label JBoss. Show all posts

Saturday, 17 August 2013

Installing JBoss Application server as a windows service



This post provides you all the basic steps that are involved in setting up a JBoss server as a windows service.

First we need to download the binary distribution of JBoss 5.1.0 from the JBoss site i.e. http://www.jboss.org/jbossas/downloads/

You will be redirected to the below page, download jboss-5.0.1.GA.zip

Once downloaded extract the contents of the zip file to any location. Check for the service.bat file under jboss-5.1.0.GA\bin in the extracted folder.

Now open the command prompt and navigate to the above location where service.bat file is located (In my case D:\jboss-5.1.0.GA\bin) and enter the “service install” command to install JBoss 5.1 service on the windows as shown below.

Go to the services console and you would be able to see a new JBoss Application Server 5.1 service installed there.

Right click on the JBoss Application Server 5.1 service and click start. Now your service will get started and you would be able to use the JBoss Server at localhost.
    

Type in http://localhost:8080/ in the browser and if you see the JBoss home page (shown below) it means the server started successfully.


Click on the Administration console and enter the default username and password as admin.




Now your installation is complete and you are ready to use the JBoss 5.1.0 Application Server.