I am trying out JBoss AS 7 with a simple HelloWorld application.
- The HelloWorld application folder has a simple
hello.jspfile. - The deploy copies the
HelloWorld.warto thejboss7.0.1\standalone\deploymentsfolder. - After this I start the
jboss.cmdfrom the HelloWorld folder to start the application - If I access the URL http://localhost:8080/HelloWorld/hello.jsp, I get the Internet Explorer cannot display the webpage error
I am able to access the Admin console at http://localhost:9990/console normally, but I can’t see why I am not able to access the above URL.
Here is the JBoss stdout:
===============================================================================
16:17:23,921 INFO [org.jboss.modules] (main) JBoss Modules version 1.0.1.GA
16:17:24,218 INFO [org.jboss.as.process.Host Controller.status] (main) Starting process 'Host Controller'
[Host Controller] 16:17:24,671 INFO [org.jboss.modules] (main) JBoss Modules version 1.0.1.GA
[Host Controller] 16:17:25,031 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.0.GA
[Host Controller] 16:17:25,421 INFO [org.jboss.remoting] (MSC service thread 1-7) JBoss Remoting version 3.2.
0.Beta2
[Host Controller] 16:17:25,437 INFO [org.xnio] (MSC service thread 1-7) XNIO Version 3.0.0.Beta3
[Host Controller] 16:17:25,453 INFO [org.xnio.nio] (MSC service thread 1-7) XNIO NIO Implementation Version 3
.0.0.Beta3
[Host Controller] 16:17:26,593 WARN [org.jboss.as] (Controller Boot Thread) No security realm defined for nat
ive management service, all access will be unrestricted.
[Host Controller] 16:17:26,593 INFO [org.jboss.as] (Controller Boot Thread) creating http management service
using network interface (management) port (9990)
[Host Controller] 16:17:26,593 WARN [org.jboss.as] (Controller Boot Thread) No security realm defined for htt
p management service, all access will be unrestricted.
[Host Controller] 16:17:26,687 INFO [org.jboss.as.remoting] (MSC service thread 1-1) Listening on /127.0.0.1:
9999
[Host Controller] 16:17:26,703 INFO [org.jboss.as.host.controller] (Controller Boot Thread) Starting server s
erver-one
16:17:26,718 INFO [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 3) Starting pr
ocess 'Server:server-one'
[Host Controller] 16:17:26,796 INFO [org.jboss.as.host.controller] (Controller Boot Thread) Starting server s
erver-two
[Server:server-one] 16:17:27,093 INFO [org.jboss.modules] (main) JBoss Modules version 1.0.1.GA
16:17:27,468 INFO [org.jboss.as.process.Server:server-two.status] (ProcessController-threads - 3) Starting pr
ocess 'Server:server-two'
[Server:server-one] 16:17:27,484 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.0.GA
[Server:server-one] 16:17:27,562 INFO [org.jboss.as] (MSC service thread 1-3) JBoss AS 7.0.1.Final "Zap" star
ting
[Server:server-two] 16:17:27,828 INFO [org.jboss.modules] (main) JBoss Modules version 1.0.1.GA
[Server:server-two] 16:17:28,218 INFO [org.jboss.msc] (main) JBoss MSC version 1.0.0.GA
[Server:server-two] 16:17:28,296 INFO [org.jboss.as] (MSC service thread 1-4) JBoss AS 7.0.1.Final "Zap" star
ting
[Server:server-one] 16:17:28,328 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-8
) The Apache Tomcat Native library which allows optimal performance in production environments was not found o
n the java.library.path: C:\Program Files\Java\jdk1.6.0_26\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\
WINDOWS;C:\Program Files\Java\jdk1.6.0_26\bin;C:\Program Files\Java\jdk1.6.0_26\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools;\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Python27;.
[Server:server-two] 16:17:29,109 INFO [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-2
) The Apache Tomcat Native library which allows optimal performance in production environments was not found o
n the java.library.path: C:\Program Files\Java\jdk1.6.0_26\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\
WINDOWS;C:\Program Files\Java\jdk1.6.0_26\bin;C:\Program Files\Java\jdk1.6.0_26\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools;\;C:\WINDOWS\system32\WindowsPowerShell\v1.0;C:\Python27;.
[Server:server-two] 16:17:29,156 INFO [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-8) Star
ting Coyote HTTP/1.1 on http--127.0.0.1-8230
When I check the console, I see that none of the servers are started; I am not sure if this is the problem.

This was my previous start-server script that was calling the
domain.bat.After some research, I understood that the script needs to call the
standalone.bat.After this change, the war file was deployed automatically upon start.