JBoss: Difference between revisions
(→State) |
|||
| Line 21: | Line 21: | ||
===Stop the server=== | ===Stop the server=== | ||
/bin/shutdown.bat | <JBOSS_HOME>/bin/shutdown.bat | ||
===Database configuration=== | |||
* copy <dbname>-ds.xml to <JBOSS_DEPLOY_DIR> | |||
==Logging== | ==Logging== | ||
Revision as of 18:58, 26 August 2008
Installation
- exctract jboss-4.2.3.GA.zip to C:/Uwes/jboss/
- 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
- in JBOSS_HOME\server\default\conf\jboss-service.xml line 253 RmiPort from 1098 to 1498 because of exception at startup
- in JBOSS_HOME\server\default\conf\jboss-service.xml line 247 Port from 1098 to 1498 because of exception at startup
- mysql-connector-java-5.1.5-bin.jar nach JBOSS_HOME\server\default\lib kopiert
Operation
Start the server
/bin/run.bat
Start the server for debugging
/bin/run_debug.bat
Stop the server
<JBOSS_HOME>/bin/shutdown.bat
Database configuration
- copy <dbname>-ds.xml to <JBOSS_DEPLOY_DIR>
Logging
| javax.servlet.GenericServlet.log(String) | <JBOSS_HOME>/server/default/log/server.log |
JBoss applications
EJB Trail Tutorial
- download EJB3Trail.ear from http://www.jboss.com/docs/trailblazer and copied to deploy directory
TestWebApplication
- jsf
TestEJBApplication
- EJBs
ticket2rock
- download from http://www.ejb3buch.de/
- ant
- copy /build/ticket2rock.ear to <JBOSS_HOME_DEPLOY_DIR>
- läuft nicht unter 4.2.3
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, TestEJBApplication, uweheuer work, ticket2rock does not