Re: [transfer-dev] Re: Is Transfer Still Alive

2010-09-14 Thread Dorioo
:* @jamesallenuk (General) *Twitter: *...@jamesallenvoice (Voiceover) *From:* transfer-dev@googlegroups.com [mailto: transfer-...@googlegroups.com] *On Behalf Of *Dorioo *Sent:* 14 September 2010 01:29 *To:* transfer-dev@googlegroups.com *Subject:* Re: [transfer-dev] Re: Is Transfer Still

Re: [transfer-dev] Object cached even when not committed?

2010-09-14 Thread Dorioo
Cloning is very useful when you want to make changes to an object, but you don't want those changes reflected in the cache until you save the object back to the database. http://docs.transfer-orm.com/wiki/Using_Clone.cfm - Gabriel On Tue, Sep 14, 2010 at 9:53 AM, Rawlins rob...@supporttime.com

Re: [transfer-dev] Re: Is Transfer Still Alive

2010-09-13 Thread Dorioo
while the fine tuning is completed. In the meantime, I'm still developing new things with Transfer. Jason Durham On Mon, Sep 13, 2010 at 4:18 PM, Dorioo dor...@gmail.com wrote: If you have a choice, consider using Hibernate ORM for the project. If nothing else, it's more

Re: [transfer-dev] Having CF9 use transfer 1.1SVN's CF8 modifications?

2010-02-24 Thread Dorioo
Unfortunately, pluggable cache is not playing nice with me with ehCache or CF9 cache. I've reverted to 1.1SVN which is playing nice and manually enabled the CF8 modifications by including the getVersion() changes from pluggable cache. Just wanted to ensure I wasn't shooting myself in the foot but

Re: [transfer-dev] Having CF9 use transfer 1.1SVN's CF8 modifications?

2010-02-24 Thread Dorioo
25, 2010 at 10:26 AM, Dorioo dor...@gmail.com wrote: Unfortunately, pluggable cache is not playing nice with me with ehCache or CF9 cache. I've reverted to 1.1SVN which is playing nice and manually enabled the CF8 modifications by including the getVersion() changes from pluggable cache

Re: [transfer-dev] Re: Having CF9 use transfer 1.1SVN's CF8 modifications?

2010-02-24 Thread Dorioo
Elliot, That's exactly why I was experimenting with the CF9 cache. If I ever get either cache working, the CF9 cache provider could be what you need. Well, unless you're not on CF9. :) - Gabriel On Wed, Feb 24, 2010 at 7:05 PM, Elliott Sprehn espr...@gmail.com wrote: On Feb 24, 6:30 pm, Mark

Re: [transfer-dev] Re: Pluggable cache - minimum methods needed?

2010-02-16 Thread Dorioo
Having already experienced strange behavior with Transfer and CF9 local, I just wanted to rule that out. Although, as I look at the leak suspects report in the eclipse memory analyzer, I see references to instanceFacade.cfc,eventManager.cfc, and transfer.cfc so I might be focusing too low level.

Re: [transfer-dev] Railo Transfer AutoWire Problem

2010-02-12 Thread Dorioo
I've seen a reference to cboxCache somewhere. Don't know if that will be the final name but I assumed it was referenced as that because cacheBox was already taken. - Gabriel On Fri, Feb 12, 2010 at 12:35 PM, Dennis Clark boomf...@gmail.com wrote: Just wondering, is Luis's standalone caching

Re: [transfer-dev] Pluggable cache - minimum methods needed?

2010-02-11 Thread Dorioo
On Tue, Feb 9, 2010 at 7:09 AM, Dorioo dor...@gmail.com wrote: I set maxelementsinmemory to 2000 for both the object and template cache. No other changes beside setting those values. Although, the thought dawned on me today whether that value was being used overall or per class. Still, too many

Re: [transfer-dev] Re: CF9 performance boost?

2010-02-09 Thread Dorioo
Thank you for sharing and for being so detailed. - Gabriel On Tue, Feb 9, 2010 at 10:44 PM, Dave davidame...@gmail.com wrote: Hi Dorioo, Here are the results of our performance comparisons. Firstly the disclaimer, I am not trying to bag out MM here, he has done a great job on Transfer

Re: [transfer-dev] Pluggable cache - minimum methods needed?

2010-02-08 Thread Dorioo
: coldfusion.bootstrap.BootstrapClassLoader (92.04% retained heap) - Gabriel On Fri, Jan 22, 2010 at 11:07 AM, Dorioo dor...@gmail.com wrote: Found the cause. The appender was defining getScope() and returning none. This makes sense in the NoCache appender but makes no sense in a real appender. It's

Re: [transfer-dev] Pluggable cache - minimum methods needed?

2010-02-08 Thread Dorioo
, Feb 9, 2010 at 1:50 AM, Dorioo dor...@gmail.com wrote: I'm ending this experiment for now and using the default ehCache provider. Over time, the experimental CF9 cache provider led to out of memory issues. Biggest Top-Level Dominator Classes: coldfusion.runtime.TemplateProxy (77.62% retained

Re: [transfer-dev] Re: CF9 performance boost?

2010-02-06 Thread Dorioo
please post results. Thank you - Gabriel On Sat, Feb 6, 2010 at 7:49 PM, Dave davidame...@gmail.com wrote: I did some profiling of Transfer on CF9 vs CF8, and transfer was a lot slower on CF9 in tests caused a lot of new objects to be loaded from the DB (ie, cache exhaustion). I suspect

Re: [transfer-dev] Transfer EmptyQueryException

2010-01-29 Thread Dorioo
Are you using the SVN version? It includes compatibility updates for CF9. Just want to rule it out. - Gabriel On Fri, Jan 29, 2010 at 7:44 PM, Tom McNeer tmcn...@gmail.com wrote: I'm well aware of Mark's requests for configuration information when reporting problems. And if folks decide it

Re: [transfer-dev] Re: Ehcache provider intermittent error - Element OBJECT is undefined in LOCAL.

2010-01-28 Thread Dorioo
will have to check that out. Mark On Tue, Jan 26, 2010 at 11:15 PM, Dorioo dor...@gmail.com wrote: 1. I've received the third entry, different place. Element ELEMENT is undefined in LOCAL. on \transfer\com\cache\provider\EHCacheProvider.cfc:156) 2. I'll be changing all references of local

[transfer-dev] Re: Ehcache provider intermittent error - Element OBJECT is undefined in LOCAL.

2010-01-26 Thread Dorioo
it happening at least once per day right now. Will report back. - Gabriel On Mon, Jan 25, 2010 at 8:11 PM, Dorioo dor...@gmail.com wrote: Hmm. Just got another one but different place this time. Element ELEMENT is undefined in a Java object of type class [Ljava.lang.String;. \transfer\com\cache

[transfer-dev] Re: Ehcache provider intermittent error - Element OBJECT is undefined in LOCAL.

2010-01-25 Thread Dorioo
Hmm. Just got another one but different place this time. Element ELEMENT is undefined in a Java object of type class [Ljava.lang.String;. \transfer\com\cache\provider\EHCacheProvider.cfc:180 Code again has to do with local if(structKeyExists(local, element)) { return

Re: [transfer-dev] Pluggable cache - minimum methods needed?

2010-01-22 Thread Dorioo
. - Gabriel On Fri, Jan 22, 2010 at 10:26 AM, Dorioo dor...@gmail.com wrote: hmm. Cache not updating on many to one updates unless parent explicitly discarded. :( Back to testing. - Gabriel On Wed, Jan 20, 2010 at 5:15 PM, Dorioo dor...@gmail.com wrote: A. Yup, that's what I'm referring

Re: [transfer-dev] Pluggable cache - minimum methods needed?

2010-01-20 Thread Dorioo
mark.man...@gmail.com wrote: On Thu, Jan 21, 2010 at 2:34 AM, Dorioo dor...@gmail.com wrote: Main benefit I was looking for is not having to manage the ehCache instance myself. You know the eHCache provider in Transfer manages this for you? You just call .shutdown() on transfer

Re: [transfer-dev] Pluggable cache - minimum methods needed?

2010-01-19 Thread Dorioo
Just testing what it's like to make one that uses CF9's built in object cache (cachePut, cacheGet, etc). If transfer is just creating instances of ehCache, I'm curious to see what happens if I just use CF9's ehcache instance (object cache). So I'm starting with the nocacheprovider and trying to

Re: [transfer-dev] Relationship slowing page down / Transfer cache

2009-11-25 Thread Dorioo
I've never had to do this myself but some ideas... 1. Project to sync transfer caches across a cluster and says it now supports multiple instances on the same server. http://transfersync.riaforge.org/ 2. Create a webservice on the front end app that manages discarding of objects from the cache.

Re: [transfer-dev] Concept Question: Do net.sf.ehcache.CacheManager instances go away or is there a way to manually get rid of them?

2009-11-23 Thread Dorioo
basis through the CacheMonitor. Mark On Mon, Nov 23, 2009 at 4:15 AM, Dorioo dor...@gmail.com wrote: Some additional info. Looking at the threads in visualvm and there are many net.sf.ehcache.CacheManager threads all in waiting status for hours now as I kept the hanging version running

Re: [transfer-dev] Concept Question: Do net.sf.ehcache.CacheManager instances go away or is there a way to manually get rid of them?

2009-11-23 Thread Dorioo
be used. STATUS_SHUTDOWN - The cache is shudown. It cannot be used. - Gabriel On Mon, Nov 23, 2009 at 8:40 PM, Dorioo dor...@gmail.com wrote: Thank you Mark. TransferFactory.shutdown() is working great. - Gabriel On Sun, Nov 22, 2009 at 2:25 PM, Mark Mandel mark.man...@gmail.com wrote: Now

Re: [transfer-dev] Concept Question: Do net.sf.ehcache.CacheManager instances go away or is there a way to manually get rid of them?

2009-11-23 Thread Dorioo
Specifically during my testing, the error was caused in file: transfer\com\cache\provider\EHCacheProvider.cfc Line 89: cfif NOT getEHCacheManager().cacheExists(arguments.class) Line 121: if(NOT getEHCacheManager().cacheExists(arguments.class)) - Gabriel On Mon, Nov 23, 2009 at 9:44 PM, Dorioo

Re: [transfer-dev] Concept Question: Do net.sf.ehcache.CacheManager instances go away or is there a way to manually get rid of them?

2009-11-23 Thread Dorioo
-initialising Transfer mid thread? Is this in a production environment? Mark On Tue, Nov 24, 2009 at 1:44 PM, Dorioo dor...@gmail.com wrote: Hi Mark, A. Now that the cache can be shutdown, I've been able to create an error where a page loads several transfer objects and in the middle

Re: [transfer-dev] Concept Question: Do net.sf.ehcache.CacheManager instances go away or is there a way to manually get rid of them?

2009-11-22 Thread Dorioo
wrote: So if you look at a EHCacheManager with respect to it's GC roots - what is holding it in place? Mark On Sun, Nov 22, 2009 at 4:57 PM, Dorioo dor...@gmail.com wrote: Yeah. Basically I reinit the app, load a page that has transfer objects (12-36 of them) and repeat for about 30 minutes

Re: [transfer-dev] Concept Question: Do net.sf.ehcache.CacheManager instances go away or is there a way to manually get rid of them?

2009-11-22 Thread Dorioo
) at java.util.TimerThread.run(Timer.java:462) Locked ownable synchronizers: - None - Gabriel On Sun, Nov 22, 2009 at 7:54 AM, Dorioo dor...@gmail.com wrote: I'm sort of winging this so I hope this is correct. I clicked on one of the instances of the cachemanager path to GC Roots with all references

Re: [transfer-dev] Concept Question: Do net.sf.ehcache.CacheManager instances go away or is there a way to manually get rid of them?

2009-11-21 Thread Dorioo
Yeah. Basically I reinit the app, load a page that has transfer objects (12-36 of them) and repeat for about 30 minutes. 1. With Pluggable Cache: -XX:+HeapDumpOnOutOfMemoryError dumped out a heap file and below are some values from MAT dominator Class: net.sf.ehcache.CacheManager Retained Heap:

Re: [transfer-dev] Transfer and Google Checkout Order Numbers

2009-11-18 Thread Dorioo
I just referenced the memento but calling getOrderNumber() gives me the same funky value. For example, the value is coming in from the URL, passed to a 'get(URL.orderNumber)' function, and the desired trasnfer object is returned. But TO.getOrderNumber() or TO.getMemento() returns the funky value.

Re: [transfer-dev] Transfer and Google Checkout Order Numbers

2009-11-18 Thread Dorioo
how ColdFusion handles large numbers. Any reason why you can't use numberFormat() to display it nicely? Mark On Thu, Nov 19, 2009 at 1:12 PM, Dorioo dor...@gmail.com wrote: I just referenced the memento but calling getOrderNumber() gives me the same funky value. For example, the value

[transfer-dev] Re: Problem with INSERT in a text field (SQLSERVER)

2009-11-16 Thread Dorioo
I still think there's value in taking that query, replacing the question marks with their respective values, and running it directly against the database. If it fails, you keep removing parts of the input data until it works. Once it works, you can add parts back until you zero in on the data that

[transfer-dev] Re: Problem with INSERT in a text field (SQLSERVER)

2009-11-09 Thread Dorioo
Another thought. Are you using the jTDS driver? I recall problems with text fields when using that driver. - Gabriel On Mon, Nov 9, 2009 at 7:01 AM, Scott Brady dsbr...@gmail.com wrote: How is the DSN configured in ColdFusion? Do you have it configured to allow CLOBs? If not, then CF will

[transfer-dev] Re: How to create a new record with 12m relationship?

2009-11-03 Thread Dorioo
I vaguely recall reading something about turning off Transfer's transactions so that you can use cftransaction so it might be possible. I say that just to say that yes, it's within the realm of options to use cftransaction but you'll likely be better off going with one of the mainstream ways that

[transfer-dev] Re: How to create a new record with 12m relationship?

2009-11-03 Thread Dorioo
You wouldn't try to inject the transfer object to handle transactions. Transactions are handled by the transferTransaction object. If you're using coldbox, you could wire the transferTransaction object like below and then use it to advise your functions. Sample below is using regular expressions

[transfer-dev] Re: How to create a new record with 12m relationship?

2009-11-02 Thread Dorioo
The error makes sense as it seems that you're trying to save the children graphicText before the parent graphic is saved. I'd save the parent before the children and wrap the whole thing up in a transaction if you need it to be atomic. - Gabriel On Mon, Nov 2, 2009 at 10:34 AM, marc

[transfer-dev] Re: Match my $800 donation for Transfer caching improvements

2009-09-29 Thread Dorioo
Hmm. I think you meant: http://www.paris-exception.com/ Without the www, it shows up as under construction. - Gabriel 2009/9/29 Aurélien DELEUSIÈRE adeleusi...@gmail.com: Hello all - Because I think transfer is a great framework and I believe that Mark does a very good job, I've just

[transfer-dev] Re: transfer.get(class,key) weird behavior

2009-09-28 Thread Dorioo
Can you shed some light on what was causing the problem? Glad it's fixed but curious as to the cause. Thank you. - Gabriel On Mon, Sep 28, 2009 at 4:29 PM, Aaron Roberson aaronarober...@gmail.com wrote: Wow, my db admin had all kinds of stuff messed up in the database. It's like he ignored my

[transfer-dev] Re: options for recordset paging

2009-08-11 Thread Dorioo
for the listByPropertyMap() and then again for every subsequent transfer.get() that i performed. if transfer is pulling these objects from cache, not a big deal... but if it's going back to the database to get them... ugh. -jim On Jul 31, 1:12 pm, Dorioo dor...@gmail.com wrote: I haven't seen any

[transfer-dev] Re: options for recordset paging

2009-07-31 Thread Dorioo
I haven't seen any paging type support. When doing paging, my current method is 1. Use a query to get primary keys of the items I'm paging through. Additionally, I use the query to determine paging aspects such as the number of pages, etc. 2. For the given page I'm looking at, I use the primary