Chapter 9. Test your Installation
After you have installed the JBoss Enterprise Application Platform, it is wise to perform a simple startup test to validate that there are no major problems with your Java VM/operating system combination. Make sure you have set the
JBOSS_HOME
envirnoment variables as explained in
Post_Installation_Configuration. To test your installation, move to
JBOSS_DIST/jboss-as/bin
directory and execute the
run.bat
(for Windows) or
run.sh
(for Linux) script, as appropriate for your operating system. Your output should look like the following (accounting for installation directory differences) and contain no error or exception messages:
[vrenish@vinux bin]$ ./run.sh
=====================================================
JBoss Bootstrap Environment
JBOSS_HOME: /home/vrenish/jboss-eap-4.3/jboss-as
JAVA: /usr/java/jdk1.5.0_11/bin/java
JAVA_OPTS: -Dprogram.name=run.sh -server -Xms1503m -Xmx1503m -Dsun.rmi.dgc.cli ent.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.prefer IPv4Stack=true
CLASSPATH: /home/vrenish/jboss-eap-4.3/jboss-as/bin/run.jar:/u sr/java/jdk1.5.0_11/lib/tools.jar
=====================================================
18:45:49,550 INFO [Server] Starting JBoss (MX MicroKernel)...
.
.
.
.
18:45:50,449 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
18:45:50,449 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_11-b03 ,Sun Microsystems Inc.
18:45:50,449 INFO [ServerInfo] OS-System: Linux 2.6.9-42.0.3.EL,i386
18:45:51,824 INFO [Server] Core system initialized
18:45:59,622 INFO [WebService] Using RMI server codebase: https://127.0.0.1:8083 /
18:45:59,659 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour ce:jboss-log4j.xml
Note
Note that there is no "Server Started" message shown at the console when the server is started using the production
profile, which is the default profile used when no other is specified. This message may be observed in the server.log
file located in the server/production/log
subdirectory.
Now open
https://localhost:8080
in your web browser. (Make sure you dont have anything else already on your machine using that port).
[2] The contents of your page should look similar to this:
Figure 9.1, “Test your Installation”.
You are now ready to use the JBoss Enterprise Application Platform. Refer to the Getting Started Guide for more information about the platform layout and example applications showcasing JBoss in action.