JBoss.orgCommunity Documentation

Chapter 8. Test your Installation

After you have installed the JBoss Application Server, it is wise to perform a simple startup test to validate that there are no major problems with your Java VM/operating system combination. To test your installation, open the JBOSS_DIST/jboss-<release>/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 similar to the following (accounting for installation directory differences) and contain no error or exception messages:

        [samson@dhcp-1-150 bin]$ sh run.sh 
        JBoss Bootstrap Environment
        JBOSS_HOME: /home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA
        JAVA: /Library/Java/Home/bin/java
        JAVA_OPTS: -Dprogram.name=run.sh -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
        CLASSPATH: /home/svn/JBossHead/jboss-head/build/output/jboss-5.0.0.GA/bin/run.jar
        21:47:23,874 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
        21:47:23,875 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812011226)
        ...output truncated
        21:47:46,090 INFO  [AjpProtocol] Starting Coyote AJP/1.3 on ajp-
        21:47:46,112 INFO  [ServerImpl] JBoss (Microcontainer) [5.0.0.GA (build: SVNTag=JBoss_5_0_0_GA date=200812011226)] Started in 22s:227ms

Now open http://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 the following: Figure 8.1, “Test your Installation”.

Test your Installation

Figure 8.1. Test your Installation

You are now ready to use the JBoss Application Server.

[2] Note that on some machines, the name localhost may not resolve properly and you may need to use the local loopback address instead.