DI/1 Issue with outside CFC location

43 views
Skip to first unread message

David Schaller

unread,
May 17, 2013, 1:40:48 PM5/17/13
to framew...@googlegroups.com
Hello.

This issue apparently has something to so with CFC location on my test server but have been unable to determine how to resolve the issue.

I have existing cfc services in a directory 'above' my FW/1 application. Within service objects within my FW/1 I have property 'another'Service which refers to objects in the 'outside' location. I do not have any issues when running this app on my local machine. The webroot is my existing app and root/mobile is my FW/1 app that uses DI/1

The specific error message is: 

unable to deduce dot-relative paths outside webroot: C:/websites/testSUG/mobile/controllers/main.cfc

DI/1 ( ioc.cfc ) is throwing the error:

It is thrown by DI/1: RAW_TRACE at cfioc2ecfc1392987108$funcDEDUCEDOTTEDPATH.runFunction(C:\websites\testSUG\mobile\model\ioc.cfc:287)

I am not sure where to begin troubleshooting. When I searched for this error, I see that it was posted to the group but with no specific resolution steps.

My Application.cfc for FW/1 uses DI/1 to point to model/cfc directory like this:

this.mappings["/cfc"] = this.baseDir & "..\model\cfc"; // access the main site cfcs

var bf = new model.ioc( 
            folders=".,/cfc", 
            config={ 
                constants={ dsn=global.dsn,global=global }, 
                exclude=['stripeService'],
                singletonPattern='Service'
            } 
        );

Any help would be appreciated.

Thanks,

David

Richard Tugwell

unread,
May 17, 2013, 1:43:04 PM5/17/13
to framew...@googlegroups.com
Is that really a comma here?

folders=".,/cfc"


--
--
FW/1 on RIAForge: http://fw1.riaforge.org/
 
FW/1 on github: http://github.com/seancorfield/fw1
 
FW/1 on Google Groups: http://groups.google.com/group/framework-one
 
---
You received this message because you are subscribed to the Google Groups "framework-one" group.
To unsubscribe from this group and stop receiving emails from it, send an email to framework-on...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
=================================
Richard Tugwell
http://blog.richardtugwell.com
r.tu...@forthmedia.com

Richard Tugwell

unread,
May 17, 2013, 1:46:39 PM5/17/13
to framew...@googlegroups.com
.. I'm not trying to be sarcastic btw, it's just that I'm looking at this on a mobile phone, and my eyesight isn't too good

David Schaller

unread,
May 17, 2013, 2:02:40 PM5/17/13
to framew...@googlegroups.com
Yes. That is a comma. This is a comma delimited list of cfc locations.

Richard Tugwell

unread,
May 17, 2013, 2:09:33 PM5/17/13
to framew...@googlegroups.com
Ok - 
Reply all
Reply to author
Forward
0 new messages