Monday, July 26, 2010

JBoss Installation and Configuration


JBoss Installation and Configuration in Windows system
-----------------------------------------------------------
1. Download JBOSS distribution files from the JBOSS site.
http://sourceforge.net/projects/jboss/files/JBoss/JBoss-6.0.0.M3

2. Set an Environment variable from MyComputer. Click Properties option.
Click Environment Variables button.
Click New button.
Add a Variable JAVA_HOME in the Environment wizard. Set the Java instllation folder.

Add a JBOSS_HOME variable and set the JBOSS installation folder.
3. StartUp

To Start JBOSS

Windows: Open an MS-DOS Prompt or Command Prompt window. cd %JBOSS_HOME%\bin run [-c default|minimal|all]

Note : minimal - This configuration includes only logging, the JNDI service, and the URL deployment scanner. You would want to use this configuration for starting services that don't require J2EE or as the base for a custom configuration. default - This configuration is the default. It includes all of the J2EE services exception RMI/IIOP and clustering all - This configuration includes all JBoss services.

If JBoss starts successfully, you should see something like this:
4. Open a JBOSS, to confirm the server is running.



5. If you are going to create a WAR file, you make sure the file structure. Folder
-HTML/JSP Files -WEB-INF

-
-lib -classes -web.xml

6. Create a WAR file and deploy into JBOSS application server. It is just copy a war file to deploy fodler.
7. Confirm wheather our application is deployed or not.
8. Open a browser and type the Application URL. http://localhost:8080/ClimbTest/CSVToJPEG.html

9. If we enter System.out.println line in the Program, it will be displaying in the server console.
10. To shutdown JBOSS server

Regards,
Veera,
ClimbInc,
Product Support Engineer,
http://www.climb.co.jp

No comments:

Post a Comment