<!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;">
    HELP! Jboss and JBoss messaging problem
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="http://community.jboss.org/people/mwhite808">mike white</a> in <i>JBoss Messaging</i> - <a href="http://community.jboss.org/message/573869#573869">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Hi All,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>I'm a newbie and it will show, but please help me! I am trying to setup Jboss messaging and Jboss and run the queue example. here is my environment:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>-Windows XP</p><p>-JBoss 4.2.3.GA (jdk6 version)</p><p>-JBoss messaging 1.4.5.GA</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Here is how i setup things</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><ol><li>Unzip jboss-4.2.3.GA-jdk6.zip to C:\</li><li>Unzip jboss-messaging-1.4.5.GA.zip to C:\</li><li>Set JBOSS_HOME environment variable to C:\jboss-4.2.3.GA</li><li>using the command line, changed directory to C:\jboss-messaging-1.4.5.GA\util</li><li>executed: ant -f release-admin.xml</li><li><span>per the documentation (</span><a class="jive-link-external-small" href="http://docs.jboss.org/jbossmessaging/docs/guide-1.0.1.SP5/html/installation.html" target="_blank">http://docs.jboss.org/jbossmessaging/docs/guide-1.0.1.SP5/html/installation.html</a><span>) it should have setup my messaging for me and indeed it did as i now see a messaging directory in C:\jboss-4.2.3.GA\server</span></li><li>from command line, change directory to C:\jboss-4.2.3.GA\bin</li><li>started the server using: run.bat -c messaging</li><li>server started up fine</li><li>opened new command window and changed directory to C:\jboss-messaging-1.4.5.GA\examples\queue</li><li>exectued command: ant</li><li>Queue example failed with the following error. I do not know why and how to fix it so i can write my own code to use JMS. Can anyone <strong>please</strong> help me?!?!</li></ol><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Buildfile: build.xml</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>identify:<br/>&#160;&#160;&#160;&#160; [echo] ###########################################################################<br/>&#160;&#160;&#160;&#160; [echo] #&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; Running the QUEUE example&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; #<br/>&#160;&#160;&#160;&#160; [echo] ###########################################################################<br/>&#160;&#160;&#160;&#160; [echo] The queue:&#160;&#160;&#160;&#160;&#160; testQueue<br/>&#160;&#160;&#160;&#160; [echo] The client jar: ../..//jboss-messaging-client.jar</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>sanity-check:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>init:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>compile:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>run:<br/>&#160;&#160;&#160;&#160; [java] Queue /queue/testQueue exists<br/>&#160;&#160;&#160;&#160; [java] Queue /queue/testQueue exists<br/>&#160;&#160;&#160;&#160; [java] org.jboss.jms.exception.MessagingJMSException: Failed to invoke<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:271)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:198)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:80)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.example.jms.queue.QueueExample.example(QueueExample.java:73)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.example.jms.common.ExampleSupport.run(ExampleSupport.java:148)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.example.jms.queue.QueueExample.main(QueueExample.java:135)<br/>&#160;&#160;&#160;&#160; [java] Caused by: java.lang.NoSuchMethodError: org.jboss.remoting.Client.connect(Lorg/jboss/remoting/ConnectionListener;Ljava/util/Map;)V<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.jms.client.remoting.JMSRemotingConnection$1.run(JMSRemotingConnection.java:374)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at java.security.AccessController.doPrivileged(Native Method)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:368)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:165)<br/>&#160;&#160;&#160;&#160; [java]&#160;&#160;&#160;&#160; ... 11 more<br/>&#160;&#160;&#160;&#160; [java] <br/>&#160;&#160;&#160;&#160; [java] #####################<br/>&#160;&#160;&#160;&#160; [java] ###&#160;&#160;&#160; FAILURE!&#160;&#160; ###<br/>&#160;&#160;&#160;&#160; [java] #####################</p><p>&#160;&#160;&#160;&#160; [java] <br/>&#160;&#160;&#160;&#160; [java] Please verify if you have access to the server. If you are using JBossEAP maybe you don't have security access</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>BUILD FAILED<br/>c:\jboss-messaging-1.4.5.GA\examples\queue\build.xml:79: Java returned: 1</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Total time: 1 second</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/573869#573869">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Messaging at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2042">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


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

</div>

</body>
</html>