Hi all, I am still using beta 2, and I wanted to give the managers a stab.. I have a class Kinase/KinaseManager/KinasePeer that I successfully generated using project-om. I downloaded the jcs-dev jar, and so when I do: Kinase k = KinaseManager.getInstance(myKey) everything works. However, it goes back to the database on every attempt for the same key.
I created a cache.ccf in my web-inf/conf directory: # DEFAULT CACHE REGION # sets the default aux value for any non configured caches jcs.default= jcs.default.cacheattributes=org.apache.jcs.engine.CompositeCacheAttributes jcs.default.cacheattributes.MaxObjects=1000 jcs.default.cacheattributes.MemoryCacheName=org.apache.jcs.engine.memory.lru .LRUMemoryCache # this is copied from example, not sure of its utility # SYSTEM CACHE # should be defined for the storage of group attribute list jcs.system.groupIdCache= jcs.system.groupIdCache.cacheattributes=org.apache.jcs.engine.CompositeCache Attributes jcs.system.groupIdCache.cacheattributes.MaxObjects=1000 jcs.system.groupIdCache.cacheattributes.MemoryCacheName=org.apache.jcs.engin e.memory.lru.LRUMemoryCache # CACHE REGIONS AVAILABLE # Regions preconfigured for caching jcs.region.com_upstate_kinaseprofiler_torque_db_om_Kinase= jcs.region.com_upstate_kinaseprofiler_torque_db_om_Kinase.cacheattributes=or g.apache.stratum.jcs.engine.CompositeCacheAttributes jcs.region.com_upstate_kinaseprofiler_torque_db_om_Kinase.cacheattributes.Ma xObjects=200 jcs.region.com_upstate_kinaseprofiler_torque_db_om_Kinase.cacheattributes.Me moryCacheName=org.apache.stratum.jcs.engine.memory.lru.LRUMemoryCache I also added to my Torque properties file: torque.managers.KinaseManager.classname = com.upstate.kinaseprofiler.torque.db.om.KinaseManager What am I missing? I am using beta 2 because I didn't have luck going to beta 3 with the whole changes to pooling of connections. Eric -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 12:55 PM To: Turbine Torque Users List Subject: Re: MappedPropertyDescriptor error Torque 3.0 b3 is missing about 3 or 4 jar files. You can get all the jars from http://jakarta.apache.org/turbine/torque/dependencies.html The error you're getting is because you don't have the commons-beanutils jar. The logging and jdbc2pool jars were also missing for me. I downloaded them and stuck them in my Torque\lib directory, and that fixed it. Tobin Juday Software Engineer proud graduate of The Ohio State University [EMAIL PROTECTED] Phone: 614.564.4192 Pager: 877.546.0103 The #1 Way to Pay Online http://www.checkfree.com/paybillsonline "Christian Szczensny" <christian.szczensny@vo To: <[EMAIL PROTECTED]> ltimum.com> cc: Subject: MappedPropertyDescriptor error 08/01/2002 12:47 PM Please respond to "Turbine Torque Users List" Hi, I set up Torque successfully and was even able to compile a sample class. When trying to start it, I receive the following message: C:\torque>java org.apache.TorqueTest Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/be anutils/MappedPropertyDescriptor at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:130) at org.apache.torque.Torque.initDataSourceFactories(Torque.java:302) at org.apache.torque.Torque.initialize(Torque.java:229) at org.apache.torque.Torque.init(Torque.java:388) at org.apache.torque.Torque.init(Torque.java:368) at org.apache.TorqueTest.main(TorqueTest.java:15) I only inited ("Torque.init("Torque.properties");") Torque. What can I do? Thanks for your help- Christian -- 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]>
