Learn EJB for JBoss 3.2 Notes (1) New Start

zhaozj2021-02-16  52

First, get JBoss from the official website http://www.jboss.org to download JBoss 3.2.3

Second, install jboss1.jboss 3.2.3 support J2SE 1.4SDK. So get J2SE1.4SDK from the official website of Sun http://java.sun.com/, and install it.

2. Decompose the compression package of JBoss to the specified directory.

Third, JBoss directory structure 1.bin: where to start and stop JBoss. Two main batch files: run.bat and shutdown.bat. To start JBOSS, just execute the run.bat file; stop JBOSS must perform shutdown.bat. Note that the shutdown.bat file does not automatically stop JBoss, it must enter the parameters, the parameters are as follows: h Display Help information; D Set system properties; - Stop processing options; S stop the remote service specified by JNDI URL; N to stop the service by developing JMX name; A adapted to remote service of the specified JNDI name; u Specify user name; P Specify user password; S stop server; E from virtual machine; h pause. Typically, we use the S option to stop the server. Even if Shutdown.Bat -s is executed.

2.DOCS: Place an example of JBoss, test the DTD of the script and various script configuration files.

3.LIB: Place the part of the JAR package file required for JBoss.

4.Client: Place the JAR package required for EJB client running.

5. Server: Place the server-side EJB configuration required for each start-up type.

Fourth, start and verify 1. Execute run.bat to start JBoss. When seeing [Server] JBoss (MX Microkernel) [3.2.3 (build: cvstag = jboss_3_2_3 date = 200311301445)] Started in xx: XX: The server is already launched on behalf of the server.

2. Check if JBoss successfully started, entered http: // localhost: 8080 / jmx-console in the browser's address bar. If you can see a picture, you have already started successfully.

转载请注明原文地址:https://www.9cbs.com/read-22272.html

New Post(0)