[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjms-developer
Subject:    RE: [openjms-developer] Problems getting jmscts to run
From:       "Tim Anderson" <tma () netspace ! net ! au>
Date:       2004-09-24 1:04:04
Message-ID: AHEMLCHGJOKOCPPFEOIHIEOIJLAA.tma () netspace ! net ! au
[Download RAW message or body]

Run the JMS CTS with the default filter which skips XA tests i.e.
  jmscts.bat run -filter ../config/filter.xml

See http://jmscts.sourceforge.net/filter.html for more details.

-Tim

> -----Original Message-----
> From: openjms-developer-admin@lists.sourceforge.net
> [mailto:openjms-developer-admin@lists.sourceforge.net]On Behalf Of Will
> Pugh
> Sent: Friday, 24 September 2004 1:13 AM
> To: openjms-developer@lists.sourceforge.net
> Subject: Re: [openjms-developer] Problems getting jmscts to run
>
>
> Cool.  Thanks.  This seems to do the trick, but now when I run the
> tests, I get a huge number of errors. (like 23517)
>
> When I look in jmscts-report.log, I get a whole bunch of errors saying
> "java.lang.Exception: Provider returned null for factory of
> type=javax.jms.XAQueueConnectionFactory"
>
> Since I didn't think OpenJMS supported XA yet, I'm assuming there some
> other flag I need to put on the tests telling them not to use XA?
> Does anyonw know what else I need to do to get these running?
>
>     Thanks,
>     --Will
>
> On Thu, 23 Sep 2004 14:12:11 +1000, Tim Anderson
> <tma@netspace.net.au> wrote:
> > Specifying the "embedded" connector means that
> > the OpenJMS server will run in the same JVM as
> > the JMS CTS. You need to tell JMS CTS to start
> > OpenJMS before running the tests.
> > To do this, edit $JMSCTS_HOME/config/providers.xml and add
> > the start and stop elements as shown:
> >
> >   <provider>
> >     <name>OpenJMS</name>
> >     <class>org.exolab.jmscts.openjms.OpenJMSProvider</class>
> >     <start>true</start>
> >     <stop>true</stop>
> >     ...
> >
> > -Tim
> >
> >
> >
> > > -----Original Message-----
> > > From: openjms-developer-admin@lists.sourceforge.net
> > > [mailto:openjms-developer-admin@lists.sourceforge.net]On
> Behalf Of Will
> > > Pugh
> > > Sent: Thursday, 23 September 2004 11:00 AM
> > > To: openjms-developer@lists.sourceforge.net
> > > Subject: [openjms-developer] Problems getting jmscts to run
> > >
> > >
> > > Hi everyone,
> > >
> > > I'm playing around with jmscts and trying to get it running against
> > > Open JMS, but I'm running into problems.
> > >
> > > The problem seems to be getting the ConnectionFactory from JNDI.  I've
> > > poured over my openjms.xml trying to make sure everything is correct,
> > > but I may be missing something (because I'm new to the project).
> > >
> > > So currently, I'm trying to get it to use embeddedJNDI, but at the
> > > point that we get to trying to look up the ConnectionFactory, I get an
> > > NoInitialContext exception thrown claiming "Embedded JNDI server not
> > > initialised"
> > >
> > > If I go and run test.sh in the root directory, using the same
> > > config.xml file all the tests seem to pass.  Anyone have an idea what
> > > I'm dong wrong?
> > >
> > > Is there some other step I need to be doing?  Is there something wrong
> > > with my openjms.xml?
> > >
> > >     Thanks,
> > >     --Will
> > >
> > > openjms.xml
> > > --------------
> > > <?xml version="1.0"?>
> > >
> > > <Configuration>
> > >   <ServerConfiguration embeddedJNDI="true" />
> > >
> > > <!--
> > >   Other scheme I tried that didn't work
> > >   <RmiConfiguration embeddedRegistry="false"
> > >                     registryHost="localhost"
> > >                     registryPort="1099">
> > >   </RmiConfiguration>
> > > -->
> > >
> > >   <!-- Required when using an RMI connector -->
> > >   <Connectors>
> > >     <!--
> > >          Other scheme I tried that didn't work
> > >          <Connector scheme="rmi">
> > >      -->
> > >     <Connector scheme="embedded">
> > >       <ConnectionFactories>
> > >         <QueueConnectionFactory name="JmsQueueConnectionFactory" />
> > >         <TopicConnectionFactory name="JmsTopicConnectionFactory" />
> > >       </ConnectionFactories>
> > >     </Connector>
> > >   </Connectors>
> > >
> > >   <!-- Required  -->
> > >   <DatabaseConfiguration>
> > >     <JdbmDatabaseConfiguration name="openjms.db" />
> > >   </DatabaseConfiguration>
> > >
> > >   <!-- Required -->
> > >   <AdminConfiguration script="${openjms.home}/bin/startup.sh" />
> > >
> > >   <!-- Optional. If not specified, no destinations will be created -->
> > >   <AdministeredDestinations>
> > >     <AdministeredTopic name="topic1">
> > >       <Subscriber name="sub1" />
> > >       <Subscriber name="sub2" />
> > >     </AdministeredTopic>
> > >
> > >     <AdministeredQueue name="queue1" />
> > >     <AdministeredQueue name="queue2" />
> > >     <AdministeredQueue name="queue3" />
> > >   </AdministeredDestinations>
> > >
> > >   <Users>
> > >     <User name="admin" password="openjms" />
> > >   </Users>
> > >
> > > </Configuration>
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> > > Project Admins to receive an Apple iPod Mini FREE for your
> judgement on
> > > who ports your project to Linux PPC the best. Sponsored by IBM.
> > > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> > > _______________________________________________
> > > openjms-developer mailing list
> > > openjms-developer@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/openjms-developer
> > >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> > Project Admins to receive an Apple iPod Mini FREE for your judgement on
> > who ports your project to Linux PPC the best. Sponsored by IBM.
> > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> > _______________________________________________
> > openjms-developer mailing list
> > openjms-developer@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/openjms-developer
> >
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
> Project Admins to receive an Apple iPod Mini FREE for your judgement on
> who ports your project to Linux PPC the best. Sponsored by IBM.
> Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
> _______________________________________________
> openjms-developer mailing list
> openjms-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openjms-developer
>




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
openjms-developer mailing list
openjms-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openjms-developer
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic