I have been chasing my tail all day trying to setup Torque with Postgresql
(outside of TDK)
-I started off downloading the latest official release.
-Following the web site documentation, I was trying to set my
idMethod=native.
running ant kept giving the error that I had to use one of the
"deprecated" values
-I figured I needed the latest CVS.
-I followed the excellent instructions at
http://www.mail-archive.com/[email protected]/msg03639.html
-Additionally, I had to obtain a newer version of Xerces, Log4J, and
velocity
- Finally, I was able to get cvs's Torque to build
- Now, however, when I try to create any sql's/om's, I get an error message:
java.lang.NoClassDefFoundError: org/apache/log4j/Logger at
org.apache.torque.engine.database.model.Database.setName(Database.java:138)
at
org.apache.torque.engine.database.model.Database.loadFromXML(Database.java:1
38) at
...
For yuks, I tried using the latest Log4J alpha, and that gives an error
trying to find Category.getInstance(String)...
What version do I need to be able to use the online instructions? Where do I
find this version (and whatever lib files it requires)
TIA,
Steve B.
----- Original Message -----
From: "Robert D. Morse" <[EMAIL PROTECTED]>
To: "Turbine Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 26, 2001 4:31 PM
Subject: RE: NoClassDefFoundError: org/apache/turbine/om/BaseClass
> I had some JBuilder settings wrong, so it actually wasn't finding the
> torque.jar. So that problem is resolved. However, I'm now facing a
> probably simple configuration issue. I'm getting:
>
> org.apache.turbine.services.InstantiationException: ServiceBroker:
unknown
> service LoggingService requested
>
> during a BasePeer.getMapBuilder() call. Looks like it's not resolving the
> location of the TurbineResources.properties file, which is located in
> WEB-INF/conf (per the documentation). Before I get the source and track
> this down, any ideas or suggestions?
>
> Thanks.
>
> -----Original Message-----
> From: Patrick Saunders [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 26, 2001 4:16 PM
> To: Turbine Users List
> Subject: Re: NoClassDefFoundError: org/apache/turbine/om/BaseClass
>
>
> Robert,
> Are you sure this is a Torque error? I am unable to lookup the API
> at the moment, but off the top of head, it looks like that class may
> come from the turbine jar - tdk2-1b.jar .
>
> A simple way to test what classes are availabe is to edit
> an existing class (or create a new one), then type in
> "org.apache.turbine." and JBuilder will show you available classes.
>
> I am doing all my development under Jbuilder4 on linux, quite
> successfully as I know a few others are, so if this doesn't fix
> it I'm sure someone else will have some input.
>
> pat.
>
> > I'm trying to get a simple JSP/Struts app running using Torque under
> > JBuilder 6 Enterprise. The torque.jar is included in the project,
> but I get
> > the above exception when trying to instantiate an object generated by
> > Torque. Couldn't find anything in the archives on this. Any
> suggestions?
> >
> >
> > -------------------------------------------
> > Robert D. Morse
> > [EMAIL PROTECTED]
> > PGP Key: D9C4AA6A
> > PGP Finger Print: ED56 DEEA 95CF AC99 C2B0 77D4 7D92 ACCA D9C4 AA6A
> >
> >
> > --
> > To unsubscribe, e-mail: <mailto:turbine-user-
> [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:turbine-user-
> [EMAIL PROTECTED]>
> >
> >
> >
>
> --
> NeoMail - Webmail that doesn't suck... as much.
> http://neomail.sourceforge.net
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>