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

Wednesday, 24 August 2011

Deploy Sample webapp (war file) in Jboss 7 Application server

1. Go to administration console as shown below
Jboss Admin Console - Deployments

2. Click the button Add Content and browse the war file ( here it is hellojboss.war) and click Next


3. you can see the screen below in next step leave it as it is and click save

4. Now you can see the web application is getting deployed but it is not get enabled
   To get enable the webapp click the enable button



   
5. Now the enabled status goes green it means that ur webapp is running now


6. Now you can access the application as shown in the browser.


Jboss 7 Application Server (Web Profile) Installation in Windows

1. Download Jboss zip file from jboss.org
2. Extract zip file into location here it is C:\jboss7
3. Before you start make sure that JDK 1.6 or later and Environment Variable for java home is set
4. goto jboss home bin folder(C:\jboss7\bin) you can see standalone.bat file.
5. Click the standalone.bat file now the jboss server is getting startup and running.
   startup console is shown below:
   
Jboss 7 console
   
6. Open your browser and type http://localhost:8080 in address bar. you can see the jboss startup
   screen as shown below:
Jboss 7 Startup Page



7. You have successfully installed jboss and now Click the link Administration console.
   you can see the web console now and now you can start deploy the web applications.
Jboss 7 Admin Console