JBoss: Difference between revisions

From Wiki RB4
Line 11: Line 11:
==Start the server==
==Start the server==
/bin/run.bat
/bin/run.bat
==Stop the server==
/bin/shutdown.bat

Revision as of 00:09, 2 February 2008

Installation

  1. exctract jboss-4.2.2.GA.zip to C:/Uwes/jboss/
  2. set JBOSS_HOME to C:\Uwes\jboss\jboss-4.2.2.GA
  3. extend path to C:\Uwes\jboss\jboss-4.2.2.GA\bin

Configuration

The JBoss Enterprise Application Platform ships with four different server configurations. Within the jboss-4.2.2.GA/server directory, you will find four subdirectories: minimal, default, production and all - one for each server configuration. Each of these configurations provide a different set of services. The default configuration is the one used if you don’t specify another one when starting up the server. If you want to know which services are configured in each of these instances, look at the jboss-service.xml file in the jboss-4.2.2.GA/server/<instance-name>/conf/ directory and also the configuration files in the jboss-4.2.2.GA/server/<instance-name>/deploy directory. The directory server configuration you’re using, is effectively the server root while JBoss is running. It contains all the code and configuration information for the services provided by the particular server configuration. It’s where the log output goes, and it’s where you deploy your applications.

Start the server

/bin/run.bat

Stop the server

/bin/shutdown.bat