Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 62912 invoked from network); 13 Feb 2002 14:01:10 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Feb 2002 14:01:10 -0000 Received: (qmail 29245 invoked by uid 97); 13 Feb 2002 14:01:02 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 29203 invoked by uid 97); 13 Feb 2002 14:01:01 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 29135 invoked from network); 13 Feb 2002 14:01:01 -0000 Message-ID: <141801c1b496$4c1a9870$9865fea9@spiritsoft.com> From: "James Strachan" To: "Jakarta Commons Developers List" References: <02021122412100.00930@linux> Subject: Re: newbie Messenger help Date: Wed, 13 Feb 2002 13:56:53 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi Saimon ----- Original Message ----- From: "Saimon Moore" > Thanks a lot for creating the Messenger project. It's going to be great help > once I get it working. (Hence the email ;) :) > I'm trying to get Messenger working with the JBossMQ provider. I've set up my > Messenger.xml file as follows: > > > > > > #name bound in JBossNS > > com.sun.jms.internal.java.naming.factory.initial > org.jnp.interfaces.NamingContextFactory#JBoss NS > > > > > > #name bound in JBossNS > > com.sun.jms.internal.java.naming.factory.initial > org.jnp.interfaces.NamingContextFactory#JBoss NS > > > > > That looks fine to me. Though I've never actually tried Messenger with JBossMQ, it should work fine though. I've been thinking we should start committing to the project various config files for different JMS configurations. > I'm trying to run the Caller class from the messenger.tool package but i'm > getting the following exception trace. > > >java org.apache.commons.messenger.tool.Caller "queue" "testQueue" > Caught: javax.jms.JMSException: Could not load the Messenger XML config file > from: > file:/home/saimon/temp/jakarta-commons-sandbox/messenger/dist/Messenger.xml > javax.jms.JMSException: Could not load the Messenger XML config file from: > file:/home/saimon/temp/jakarta-commons-sandbox/messenger/dist/Messenger.xml Mmm there's not much to go on here. Actually this is the wrapped exception that is being reported - the underlying exception is inside the JMSException.getLinkedException() method which isn't being displayed by the program. I've patched the code in the 3 sample programs, Caller, Producer, Consumer to display the underlying exception, not the wrapped exception - which should help. Also I've added the undelying exception discription to the JMSException that gets thrown. These changes are now in CVS so if you take another snapshot - or download the next daily build and try run it again we should at least see the reason for your problem! Then we can try fix it :) > I would appreciate if someone could point me in the right direction as I'm > trying to get my head around JMS and use Messenger and MDO's. Great! James _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: