Howdy,

I've installed the values from the various test cases for the Fulcrum security stuff into my Turbine.properties using the Basic service samples and created the two role and component config files. After some work, Turbine and Avalon seem to get along reasonably well (enough for Turbine to finish initializing).

However, when I send a request into Turbine, I get a response back like:

Horrible Exception: java.lang.NoClassDefFoundError: org/apache/torque/om/BaseObject
at java.lang.ClassLoader.defineClass0(Native Method)


It was my understanding from reading the test case code that you were using the in-memory security model. I kept those values as is, so I'm not sure why Turbine is trying to load a "BaseObject" from Torque (I have no remaining Torque references that I've put in).

If I put torque.jar into my lib/ directory, things work, but I thought that using the Fulcrum stuff removed the direct need for Torque. Is there some part that needs to be configured to remove the references or is this just "something in 2.3" that won't be cleaned out until 2.4 is done?

I'm really just trying to make sure I'm not creating accidental dependencies on Torque.

Thanks!

Gerry


Eric Pugh wrote:
It depends (of course!)...

Turbine 2.3 was based around decoupling Torque and adding the
AvalonComponentService.  As part of this, many "services" where spun off
into Fulcrum.  The criteria was that is a "service" was generally useful
outside of Turbine, then put it in Fulcrum.  If a service (like RunData) was
Turbine specific, then keep it in Turbine.  However, part of the rules of
deprecatation are that until Turbine 2.4 is released, the code moved from
Turbine to Fulcrum can not be deleted from the Turbine 2.3 repo.  Indeed,
Turbine 2.3 uses the old versions.

However, if you look at the code in CVS head that will be released as 2.4.
And in 2.4 we are using various components from Fulcrum.   Look at the
project.xml[1] to see the fulcrum jars.

Now, if you are using Turbine 2.3 and want to roll in the Fulcrum Security
stuff, then in that case you want to look at the config files in the unit
test for the 2.3 Turbine -> Security Adapter [2].  This shows how you
include the components in Turbine 2.3 [3] as well as all the config data you
can delete from a default 2.3 TurbineResources.properties file.

Eric Pugh



[1] http://cvs.apache.org/viewcvs.cgi/jakarta-turbine-2/project.xml
[2]
http://cvs.apache.org/viewcvs.cgi/jakarta-turbine-fulcrum/security/adapters/
turbine/src/test/AdapterTestTurbineResources.properties
[3]
http://cvs.apache.org/viewcvs.cgi/jakarta-turbine-fulcrum/security/adapters/
turbine/src/test/


-----Original Message-----
From: Gerry Duprey [mailto:[EMAIL PROTECTED]
Sent: Monday, January 19, 2004 6:21 PM
To: [EMAIL PROTECTED]
Subject: Which modules work with Turbine 2.3


Howdy,


Now that building furlcrumis working well, a few questions
about the services
Fulcrum provides and Turbine 2.3

In particular, which services can I use with Turbine 2.3 in a
"replacement of
Turbine functionality" means (i.e. override a supplied service)?

Also, there are a lot of Fulcrum jars - can I just pick the
ones I want to use
with Turbine or are there some "mandatories" in there?

Thanks!

Gerry
--
Gerry Duprey
________________________________________
SchoolsOPEN, LLC
123 North Ashley, Suite 120
Ann Arbor, MI 48104
Phone (877) 483-1944 Ext. 401
Fax (734) 661-0819

Visit us Online at www.Schools-OPEN.com


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



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

-- Gerry Duprey ________________________________________ SchoolsOPEN, LLC 123 North Ashley, Suite 120 Ann Arbor, MI 48104 Phone (877) 483-1944 Ext. 401 Fax (734) 661-0819

Visit us Online at www.Schools-OPEN.com


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



Reply via email to