When you run "ant setup-tomcat" in AppFuse 1.x, this JAR (and others)
are copied into Tomcat's classpath.

Matt


On 10/6/07, Rob Hills <[EMAIL PROTECTED]> wrote:
> Hi Again,
>
> On 6 Oct 2007 at 16:49, Rob Hills wrote:
>
> > I have an appfuse 1.8 app that I'm trying to get running on a Tomcat
> server against a Postgres
> > database, and I'm trying to find a simple way to get rid of the dreaded
> > "NoClassDefFoundError: javax/transaction/TransactionManager" exception.
> >
> > I understand this is caused by the absence of a JTA implementation in my
> Tomcat server.
> >
> > My problem is that I have no need for JTA here.  This is a legacy app that
> I'm rebuilding in
> > AppFuse 2.0.  All I need to do is run this app on this server so I can
> look at it and recreate the
> > interface in the new version on my dev machine.
> >
> > I've googled the problem, but everything I've found talks about proper
> implementations of
> > distributed transactions etc.  I just want to fool the app so it starts up
> and runs without this
> > exception.
> >
> > Finally, the ideal solution would be one I could set up in my Tomcat
> Server configuration (eg
> > server.xml, default web.xml etc) without modifying my AppFuse app at all -
> I'm trying to keep
> > that as original as possible.
>
> It occurred to me (after hitting the send button as always!) that I have two
> windoze machines running tomcat that will run this app without a problem -
> the problem machine is running Fedora Core 5.  A bit more hunting shows a
> jta.jar file in the tomcat5 common/lib directory on the two windoze
> machines,
> but not in the FC5 linux box.
>
> Installing TC5 on the linux box was complicated (I used the jpackage.org
> packages and yum), but I thought I'd done it correctly - perhaps TC5 in FC5
> doesn't come with jta.jar by default?
>
> For now, I'll try copying the jar file from one of my windoze boxes, but
> it'd be
> nice to know why it wasn't there in the first place.
>
> Cheers,
> Rob Hills
> Waikiki, Western Australia
> Mobile +61 (412) 904-357
> Fax: +61 (8) 9529-2137
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to