Monday, March 21, 2011

JBOSS

                                                    Downloading JBOSS Application Server
Step 1: - Download jboss-5.1.0.GA.zip and extract the zip file to jboss-5.1.0.GA folder
You can get this from http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA-jdk6.zip/download

Step 2: one dialogue box will pop up on the screen.click OK button to save the jboss5.1.0.GA-jdk6.zip
Step3: Unzip this file that you just downloaded. On most Windows machines Right-click the file. Move to the Win Zip command. Click Extract to here It creates a folder named jboss-5.1.0.GA. You can leave this folder here or move it elsewhere on your disk drive
Step 4: Prerequisites Before installing and running the server, check your system to make sure you have a working JDK 1.6 installation. The simplest way to do this is to execute the Java -version command to ensure that the Java executable is in your path.
Step 5 : - Open jboss-5.1.0.GA\bin Folder and click run.bat file for starting server.
Path: jboss-5.1.0.GA\bin\run.bat
Step 6: - The server runs default on the port number 8080
NOTE:If Any Exceptions are occurred in starting of the server you have to change the port number.
To change the Port number,open server.xml file in Jboss-5.1.0.GA. Path:(Jbosshome directory)jboss-5.1.0.GA\server\default\deploy\jbossweb.sar\server.xml Open server.xml and change the port number at the first <connector>tag. And restart the server.

                                                       Configuring JBOSS in Eclipse
Step1: Open Eclipse Ganymede ,Right click on the server tab --->New----> Server.
step2 Select Jboss Folder and click on jboss v5.0 and click Next button.
Step3: Click Browse button and select the JBoss Home Directory and then click Next--->Next--->Finish.

No comments:

Post a Comment