I'm not running UNIX, however the server is running CF7 and CF 6.5.

CF7 is running on a different port 8300 and has the following path

                                                                  
 C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\test.cfm        
                                                                  
                                                                  
 Root Dir                                                         
                                                                  
                                                                  
                                                                  
                                                                  
                                                                  
  C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusio 
  n                                                               
                                                                  
                                                                  
 I think I'll just change it to any for the moment.  Not worth    
 the time I'm spending figuring it out.                           
                                                                  
 Jason Cronk                                                      
 Verizon                                                          
                                                                  








                                                                                
                                                       
                      "Cody Caughlan"                                           
                                                       
                      <[EMAIL PROTECTED]        To:       [email protected]    
                                                        
                      >                        cc:                              
                                                       
                      Sent by:                 Subject:  RE: [CFCDev] Paths     
                                                       
                      [EMAIL PROTECTED]                                         
                                                       
                      one.org                                                   
                                                       
                                                                                
                                                       
                                                                                
                                                       
                      09/16/2005 01:45                                          
                                                       
                      PM                                                        
                                                       
                      Please respond to                                         
                                                       
                      CFCDev                                                    
                                                       
                                                                                
                                                       
                                                                                
                                                       




Are you on UNIX/Linux? If so, be aware of case-sensitivity issues (you are
referring to "AuthenticationGateway" and "authenicationGateway.cfc"). I
think you said as much, but you did try supplying the full path to the CFC,
e.g. "CFC.com.verizon.service.AuthenticationGateway", again, make your case
matches that on the file system. To make my code as portable as possible I
always camel-case my directory/file names and strictly adhere to this in my
CF code. Either choose a case standard or and religious in using this on
both ends (filesystem and in your code) or go all lowercase and you should
be OK on all platforms and Oses, (CFMX on Windows <-> BlueDragon on Linux
for example).

/Cody

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Friday, September 16, 2005 10:36 AM
To: [email protected]
Subject: [CFCDev] Paths

Before I start banging my head, Im sure one of you guys can answer this. I
have a simple component, AuthenticationGateway.cfc, which has one method

<cffunction name = "init"  returntype="AuthenticationGateway">
      <cfreturn this>
</cffunction>

I have a test file, test.cfm, which calls

<cfset test = createObject("component","AuthenticationGateway").init()>

test.cfm and authenicationGateway.cfc are in the same directory.  I'm
getting the error:
"value returned by function init() is not of type AuthenticationGateway"

I've tried every combinantion of dot notated path to the file that I can
think of in the return type.  Any suggestions?


Jason Cronk
Verizon





----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of
the
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]





----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[email protected] with the words 'unsubscribe cfcdev' as the subject of
the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting
(www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]









----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to 
[email protected] with the words 'unsubscribe cfcdev' as the subject of the 
email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting 
(www.cfxhosting.com).

CFCDev is supported by New Atlanta, makers of BlueDragon
http://www.newatlanta.com/products/bluedragon/index.cfm

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]


Reply via email to