James reported that it's working on ACF now but he's getting the following 
error on Railo 4.2.1.  I don't have a Railo install handy to debug; can 
anyone find a patch and I'll merge it in?  Or you can send me a pull 
request on Github?


Error while attempting to autowire object of type 
transfer.com.cache.CacheManager:<br/>[Line: 30 :: 
/transfer/com/exception/Exception.cfc :: Error while attempting to autowire 
object of type transfer.com.cache.provider.ProviderManager :: <br/>[Line: 
88 :: /transfer/com/cache/provider/EHCacheProvider.cfc :: 
coldfusion/runtime/NeoPageContext :: ]]


This is line 88 in EHCacheProvider.cfc:

            proxy = 
getJavaLoader().create("com.compoundtheory.coldfusion.cfc.CFCDynamicProxy").createInstance(this,
 
interfaces);
 

It's not the first use of JavaLoader, so that's not the problem.   However, 
Mark seems to say that EHCacheProvider won't work on Railo in this 2010 
thread: 

https://groups.google.com/d/msg/transfer-dev/9x3i6aaBGlI/DDihZGuSMxkJ

Is that still true?  I thought we had people here running the 
pluggable_cache variant on Railo? 


Brian


On Wednesday, July 23, 2014 10:17:49 AM UTC-7, James Allen wrote:
>
> Hi guys,
>
>  
>
> I’m trying a site which is built using Transfer on the latest version of 
> Railo so grabbed Brian’s Github latest as I read that’s compatible.
>
>  
>
> The problem is, I’m getting the following error when I try to start the 
> site – it occurs in the init of TransferFactory.
>
>  
>
> Railo reports the error as:
>
>  
>
> Syntax Error, Invalid Construct:
>
>  
>
> CF8:
>
>  
>
> Missing argument name.:When using named parameters to a function, every 
> parameter must have a name.<p>The CFML compiler was processing:<ul><li>An 
> expression beginning with super.init, on line 35, column 17.This message is 
> usually caused by a problem in the expressions structure.<li>A script 
> statement beginning with super.init on line 35, column 17.<li>A cfscript 
> tag beginning on line 34, column 10.<li>A cfscript tag beginning on line 
> 34, column 10.</ul>
>
>  
>
> So it’s not a Railo issue.
>
>  
>
> I’ve tracked this down I think and it’s occurring in 
> com/factory/AbstractBaseFactory.cfc in the getSingleton() method.
>
>  
>
> If I use cftry to trap the error it occurs when getSingleton() is sent a 
> class name of:
>
>  
>
> transfer.com.util.JavaLoader
>
>  
>
> Any ideas on what might be causing this on the latest version of Transfer? 
> The site works fine on an older version.
>
>  
>
> Many thanks,
>
> James.
>
>  
>
> ---
>
> *James  Allen*
>
> *E:* [email protected] <javascript:>
>
> *Blog:* http://jamesallen.name
>
> *Twitter:* @CFJamesAllen
>
> *Twitter: *@JamesAllenVoice (Voiceover)
>
> *Twitter: *@80sRewindShow (My weekly 80s radio show)
>
>  
>
> Tune in to the best in community radio – Codebass Radio: 
> http://codebassradio.net
>
>  
>

-- 
-- 
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to