JBoss: Difference between revisions

From Wiki RB4
Line 12: Line 12:
#mysql-connector-java-5.1.5-bin.jar nach JBOSS_HOME\server\default\lib kopiert
#mysql-connector-java-5.1.5-bin.jar nach JBOSS_HOME\server\default\lib kopiert


==Start the server==
==Operation
===Start the server===
/bin/run.bat
/bin/run.bat



Revision as of 12:14, 19 August 2008

Installation

  1. exctract jboss-4.2.3.GA.zip to C:/Uwes/jboss/
  2. set JBOSS_HOME to C:\Uwes\jboss\jboss-4.2.3.GA

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.

My own adjustments

  1. in JBOSS_HOME\server\default\conf\jboss-service.xml line 253 RmiPort from 1098 to 1498 because of exception at startup
  2. in JBOSS_HOME\server\default\conf\jboss-service.xml line 247 Port from 1098 to 1498 because of exception at startup
  3. mysql-connector-java-5.1.5-bin.jar nach JBOSS_HOME\server\default\lib kopiert

==Operation

Start the server

/bin/run.bat

Stop the server

/bin/shutdown.bat

JBoss applications

EJB Trail Tutorial

  1. download EJB3Trail.ear from http://www.jboss.com/docs/trailblazer and copied to deploy directory

State

  • Version 5 installed but uweheuer doesn't work
  • Version 4.2.2 installed but WebTestApplication doesn't work
  • Version 4.2.3 and WebTestApplication and uweheuer work