<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">

<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>

                                <td>

                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>

                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Unable to access a deployed HelloWorld application in JBoss 7
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/frsc">freak scheme</a> in <i>Beginner's Corner</i> - <a href="http://community.jboss.org/message/628248#628248">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hello all,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am a production support engineer who works on Weblogic mostly. I wanted to try JBoss and went straight for JBoss AS 7.</p><p> I got the instructions for a simple HelloWorld application from an old <a class="jive-link-external-small" href="http://www.centerkey.com/jboss/">tutorial</a> based on v5 and am facing an issue.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>These are the steps I followed:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Created a simple <strong>hello.jsp</strong> file and put it in a <strong>HelloWorld</strong> folder. </p><p>Created a deployment descriptor and put in <strong>WEB-INF</strong> folder</p><p>Created a deploy script that copies the <strong>HelloWorld.war</strong> to the <strong>jboss7.0.1\standalone\deployments</strong> folder. </p><p>Started the <strong>jboss.cmd</strong> from the HelloWorld folder to start the application.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Once the application is started, If I try to access the application at <a class="jive-link-external-small" href="http://localhost:8080/HelloWorld/hello.jsp">http://localhost:8080/HelloWorld/hello.jsp</a>, I get the <strong>Internet Explorer cannot display the webpage</strong> error.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I am able to access the Admin console at <a class="jive-link-external-small" href="http://localhost:9990/console">http://localhost:9990/console</a> just fine, but I can't see why I am not able to access the application.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Here is the JBoss stdout:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><pre class="jive-pre"><code class="jive-code">&#160;&#160;&#160; ===============================================================================
&#160;&#160;&#160; 
&#160;&#160;&#160; 16:17:23,921 INFO&#160; [org.jboss.modules] (main) JBoss Modules version 1.0.1.GA
&#160;&#160;&#160; 16:17:24,218 INFO&#160; [org.jboss.as.process.Host Controller.status] (main) Starting process 'Host Controller'
&#160;&#160;&#160; [Host Controller] 16:17:24,671 INFO&#160; [org.jboss.modules] (main) JBoss Modules version 1.0.1.GA
&#160;&#160;&#160; [Host Controller] 16:17:25,031 INFO&#160; [org.jboss.msc] (main) JBoss MSC version 1.0.0.GA
&#160;&#160;&#160; [Host Controller] 16:17:25,421 INFO&#160; [org.jboss.remoting] (MSC service thread 1-7) JBoss Remoting version 3.2.
&#160;&#160;&#160; 0.Beta2
&#160;&#160;&#160; [Host Controller] 16:17:25,437 INFO&#160; [org.xnio] (MSC service thread 1-7) XNIO Version 3.0.0.Beta3
&#160;&#160;&#160; [Host Controller] 16:17:25,453 INFO&#160; [org.xnio.nio] (MSC service thread 1-7) XNIO NIO Implementation Version 3
&#160;&#160;&#160; .0.0.Beta3
&#160;&#160;&#160; [Host Controller] 16:17:26,593 WARN&#160; [org.jboss.as] (Controller Boot Thread) No security realm defined for nat
&#160;&#160;&#160; ive management service, all access will be unrestricted.
&#160;&#160;&#160; [Host Controller] 16:17:26,593 INFO&#160; [org.jboss.as] (Controller Boot Thread) creating http management service
&#160;&#160;&#160; using network interface (management) port (9990)
&#160;&#160;&#160; [Host Controller] 16:17:26,593 WARN&#160; [org.jboss.as] (Controller Boot Thread) No security realm defined for htt
&#160;&#160;&#160; p management service, all access will be unrestricted.
&#160;&#160;&#160; [Host Controller] 16:17:26,687 INFO&#160; [org.jboss.as.remoting] (MSC service thread 1-1) Listening on /127.0.0.1:
&#160;&#160;&#160; 9999
&#160;&#160;&#160; [Host Controller] 16:17:26,703 INFO&#160; [org.jboss.as.host.controller] (Controller Boot Thread) Starting server s
&#160;&#160;&#160; erver-one
&#160;&#160;&#160; 16:17:26,718 INFO&#160; [org.jboss.as.process.Server:server-one.status] (ProcessController-threads - 3) Starting pr
&#160;&#160;&#160; ocess 'Server:server-one'
&#160;&#160;&#160; [Host Controller] 16:17:26,796 INFO&#160; [org.jboss.as.host.controller] (Controller Boot Thread) Starting server s
&#160;&#160;&#160; erver-two
&#160;&#160;&#160; [Server:server-one] 16:17:27,093 INFO&#160; [org.jboss.modules] (main) JBoss Modules version 1.0.1.GA
&#160;&#160;&#160; 16:17:27,468 INFO&#160; [org.jboss.as.process.Server:server-two.status] (ProcessController-threads - 3) Starting pr
&#160;&#160;&#160; ocess 'Server:server-two'
&#160;&#160;&#160; [Server:server-one] 16:17:27,484 INFO&#160; [org.jboss.msc] (main) JBoss MSC version 1.0.0.GA
&#160;&#160;&#160; [Server:server-one] 16:17:27,562 INFO&#160; [org.jboss.as] (MSC service thread 1-3) JBoss AS 7.0.1.Final "Zap" star
&#160;&#160;&#160; ting
&#160;&#160;&#160; [Server:server-two] 16:17:27,828 INFO&#160; [org.jboss.modules] (main) JBoss Modules version 1.0.1.GA
&#160;&#160;&#160; [Server:server-two] 16:17:28,218 INFO&#160; [org.jboss.msc] (main) JBoss MSC version 1.0.0.GA
&#160;&#160;&#160; [Server:server-two] 16:17:28,296 INFO&#160; [org.jboss.as] (MSC service thread 1-4) JBoss AS 7.0.1.Final "Zap" star
&#160;&#160;&#160; ting
&#160;&#160;&#160; [Server:server-one] 16:17:28,328 INFO&#160; [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-8
&#160;&#160;&#160; ) The Apache Tomcat Native library which allows optimal performance in production environments was not found o
&#160;&#160;&#160; n the java.library.path: C:\Program Files\Java\jdk1.6.0_26\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\
&#160;&#160;&#160; 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;.
&#160;&#160;&#160; [Server:server-two] 16:17:29,109 INFO&#160; [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-2
&#160;&#160;&#160; ) The Apache Tomcat Native library which allows optimal performance in production environments was not found o
&#160;&#160;&#160; n the java.library.path: C:\Program Files\Java\jdk1.6.0_26\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\
&#160;&#160;&#160; 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;.
&#160;&#160;&#160; [Server:server-two] 16:17:29,156 INFO&#160; [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-8) Star
&#160;&#160;&#160; ting Coyote HTTP/1.1 on http--127.0.0.1-8230
</code></pre><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>When I check the console, I see that none of the servers are started; I am not sure if this is the problem.</p><p><a href="http://i.stack.imgur.com/jIbcJ.png"><span> http://i.stack.imgur.com/jIbcJ.png </span></a></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>What might I have missed?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Regards,</p><p>frsc</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/628248#628248">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in Beginner's Corner at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>