Installing JBoss Application Server with Tomcat

Follow these steps to complete the download and installation of JBoss Application Server with Tomcat.

Download

1. Using Internet Explorer, go to http://www.jboss.org.

 

2. Click Download.

 

3. Locate JBoss Application Server and click Download to the right.

 

4. Locate the 3.2.6 version and click Download to the right.

 

5. Click Download jboss-3.2.6.zip near the bottom of the list.

 

6. Select a mirror site to use as the source of the download.

 

7. Click Save and direct the file to C:\Eclipse2200Temp.

 

8. Unzip (extract) the jboss-3.2.6.zip file using the C:\ drive as the location. Be sure to check All files and Use folder names. This extraction creates the main folder C:\jboss-3.2.6 and several subfolders.

Verify

1. From a Command Prompt window, navigate to the newly created folder, C:\jboss-3.2.6\bin, and enter run (run.bat). Text similar to the following will be displayed following some console output. Note that control does not return to you, and the server is running. To stop the server, see step 3 under Test JBoss 3.2.6.

 

. . .12:11:52,119 INFO  [Server] JBoss (MX MicroKernel) [3.2.6 (build: CVSTag=JBoss_3_2_6 date=200406251954)] Started in 1m:24s:21ms12:11:52,129 INFO  [Tomcat5] Saw org.jboss.system.server.started notification, starting connectors12:11:52,459 INFO  [Http11Protocol] Starting Coyote HTTP/1.1 on http-0.0.0.0-808012:11:52,910 INFO  [ChannelSocket] JK2: ajp13 listening on /0.0.0.0:800912:11:52,960 INFO  [JkMain] Jk running ID=0 time=0/230  config=null

 

Do not close the Command window yet or JBoss Application Server will terminate.

 

2. Check the console or log file, C:\jboss-3.2.6\server\default\log\server.log. Look for occurrences of ERROR; there should be none.

 

Note: It is normal to see INFO, WARN, or DEBUG entries.

 

3. To test, in Internet Explorer go to http://localhost:8080/jmx-console. The JBoss document is displayed.

 

The JBoss JMX Management Console provides a raw view of the JMX MBeans that make up the server. JMX MBeans provide information about the running server and allow you to modify its configuration, start and stop components, and so on.

Test JBoss 3.2.6

1. With the JBoss JMX Management Console on display, locate the service=JNDIView link and click it. This MBean provides a service that allows you to view the structure of the JNDI namespaces within the server.

 

2. Locate the list operation near the bottom of the MBean view page and click invoke. A view of the current names bound into the JNDI tree is returned. This is very useful when you start deploying your own applications and want to know why you cannot resolve a particular EJB name.

 

3. To stop the server, return to the Command Prompt window and either close the window or type Ctrl-C.