Ok, so I found my answer after a really lengthy and painful process of
researc/downloading/trying out jars.  I've included my results for anyone
that may benefit.  ActiveMQ team, _please_ include this in the Requirements
page or provide links on the website directly!!!

I was able to get Jencks working w/ Spring by using Jencks _2.1_ with two
Geronimo 2.0.2 jars.  I downloaded the following and included them in my
classpath:

http://repository.codehaus.org/org/jencks/jencks/2.1/jencks-2.1-all.jar
http://ibiblio.org/pub/packages/maven2/org/apache/geronimo/components/geronimo-transaction/2.0.2/geronimo-transaction-2.0.2.jar
http://ibiblio.org/pub/packages/maven2/org/apache/geronimo/components/geronimo-connector/2.0.2/geronimo-connector-2.0.2.jar

HTH someone else!


On 12/11/07, Les Hazlewood <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I'm using Jencks 2.0 w/ Spring and start off with the following bean
> definition:
>
> <bean id="transactionManager" class="
> org.jencks.factory.TransactionManagerFactoryBean"/>
>
> ... more beans here ...
>
> Then, at Spring startup, I get the following error message:
>
> 2007-12-11 10:46:34,510 ERROR [
> org.springframework.web.context.ContextLoader] - Context initialization
> failed
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'transactionManager' defined in ServletContext resource
> [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested
> exception is java.lang.NoClassDefFoundError:
> org/apache/geronimo/transaction/manager/XidFactory
>
> After finding this post: 
> http://www.nabble.com/jencks-2---where-to-get-geronimo-transaction.jar--to9562139.html
> , I realize it is because the geronimo-transaction jar file is not
> included in the jencks-2.0-all.jar, as might be implied by the name.
>
> Also, this page: http://jencks.org/Requirements does not list any geronimo
> dependencies.  The apache repository link on that same page (
> http://people.apache.org/repository/geronimo-spec/jars/) also does not
> have that jar (which is understood, since they're all spec jars).
>
> Could someone please update the Requirements page to specify the
> geronimo-transaction jar (and where one can download it) or include it
> automatically in jencks-2.0-all.jar?  I know it would save others the time
> I spent searching around...
>
> Thanks so much,
>
> Les Hazlewood
> http://www.leshazlewood.com
>

Reply via email to