<!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="https://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;">
    Hello World AS JMS - URGENT!
</h3>
<span style="margin-bottom: 10px;">
    modified by <a href="https://community.jboss.org/people/nirajpatel">Niraj Patel</a> in <i>Beginner's Corner</i> - <a href="https://community.jboss.org/docs/DOC-48891">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p><span style="font-size: 12pt;">Hi,</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="font-size: 12pt;">I am very new to jBoss and I have a client deadline of tomorrow to show a working example of our product using jBoss.I cannot for the life of me figure out how to run the Hello World AS JMS example provided by jboss on my computer. I want to deploy it and obtain the messages as well. How do I do that? Or must I have 2 seperate computers? Below is the error I receive when running the program.</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p class="p1">RROR: JBREM000200: Remote connection failed: <span class="s1">javax.security.sasl.SaslException</span>: Authentication failed: all available authentication mechanisms failed</p><p class="p1">Jun 17, 2013 2:28:48 AM org.jboss.as.quickstarts.jms.HelloWorldJMSClient main</p><p class="p1">SEVERE: Failed to create remoting connection</p><p class="p1">Exception in thread "main" <span class="s1">javax.naming.NamingException</span>: Failed to create remoting connection [Root exception is <span class="s1">java.lang.RuntimeException</span>: <span class="s1">javax.security.sasl.SaslException</span>: Authentication failed: all available authentication mechanisms failed]</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.naming.remote.client.ClientUtil.namingException(<span class="s1">ClientUtil.java:36</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(<span class="s1">InitialContextFactory.java:121</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at javax.naming.spi.NamingManager.getInitialContext(<span class="s1">NamingManager.java:667</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at javax.naming.InitialContext.getDefaultInitCtx(<span class="s1">InitialContext.java:288</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at javax.naming.InitialContext.init(<span class="s1">InitialContext.java:223</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at javax.naming.InitialContext.&lt;init&gt;(<span class="s1">InitialContext.java:197</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.as.quickstarts.jms.HelloWorldJMSClient.main(<span class="s1">HelloWorldJMSClient.java:63</span>)</p><p class="p1">Caused by: <span class="s1">java.lang.RuntimeException</span>: <span class="s1">javax.security.sasl.SaslException</span>: Authentication failed: all available authentication mechanisms failed</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.naming.remote.protocol.IoFutureHelper.get(<span class="s1">IoFutureHelper.java:87</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.naming.remote.client.NamingStoreCache.getRemoteNamingStore(<span class="s1">NamingStoreCache.java:56</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.naming.remote.client.InitialContextFactory.getOrCreateCachedNamingStore(<span class="s1">InitialContextFactory.java:166</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.naming.remote.client.InitialContextFactory.getOrCreateNamingStore(<span class="s1">InitialContextFactory.java:139</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.naming.remote.client.InitialContextFactory.getInitialContext(<span class="s1">InitialContextFactory.java:104</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 5 more</p><p class="p1">Caused by: <span class="s1">javax.security.sasl.SaslException</span>: Authentication failed: all available authentication mechanisms failed</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(<span class="s1">ClientConnectionOpenListener.java:365</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.remoting3.remote.ClientConnectionOpenListener$Capabilities.handleEvent(<span class="s1">ClientConnectionOpenListener.java:214</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.xnio.ChannelListeners.invokeChannelListener(<span class="s1">ChannelListeners.java:72</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.xnio.channels.TranslatingSuspendableChannel.handleReadable(<span class="s1">TranslatingSuspendableChannel.java:189</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.xnio.channels.TranslatingSuspendableChannel$1.handleEvent(<span class="s1">TranslatingSuspendableChannel.java:103</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.xnio.ChannelListeners.invokeChannelListener(<span class="s1">ChannelListeners.java:72</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.xnio.nio.NioHandle.run(<span class="s1">NioHandle.java:90</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.xnio.nio.WorkerThread.run(<span class="s1">WorkerThread.java:184</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at ...asynchronous invocation...(Unknown Source)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.remoting3.EndpointImpl.doConnect(<span class="s1">EndpointImpl.java:270</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.remoting3.EndpointImpl.doConnect(<span class="s1">EndpointImpl.java:251</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.remoting3.EndpointImpl.connect(<span class="s1">EndpointImpl.java:349</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.remoting3.EndpointImpl.connect(<span class="s1">EndpointImpl.java:333</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.naming.remote.client.EndpointCache$EndpointWrapper.connect(<span class="s1">EndpointCache.java:105</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.naming.remote.client.NamingStoreCache.getRemoteNamingStore(<span class="s1">NamingStoreCache.java:55</span>)</p><p class="p1">&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 8 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Why is this?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>THANK YOU!</p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Comment by <a href="https://community.jboss.org/docs/DOC-48891">going to Community</a></p>

        <p style="margin: 0;">Create a new document in Beginner's Corner at <a href="https://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2075">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>