|
I can't answer to your situation directly. But addressing only
the use of CFC's here, i can say that i develop on an Windows box and
use CFC's extensively and have deployed to a Linux server and it just
works. The only issue i've run across is casing. That said, it can be a little difficult in the beginning to work out how paths work when using CFC's. If you're not using mappings, then you want to place your CFC's or the directory containing them in your web root. So on a Linux box, i believe that would be in your htdocs directory. So if for instance your cfc's are in a directory called mycfcs, then mycfcs would go under the webroot and you'd instantiate it with CreateObject('component','mycfcs.myService') and you'd need that path in the Extends attribute as well (if the 2 objects are not in the same directory) so CreateObject('component','mycfcs.myService') myService.cfc: <cfcomponent extends="Service"> <cffunction name="helloworld" access="remote" returntype="string"> <cfreturn "hello from Windows"> </cffunction> </cfcomponent>
would work if Service.cfc were in the same directory as myService.cfc. Otherwise you'd need the path in the extends attribute, like so:
CreateObject('component','mycfcs.myService')
myService.cfc:
<cfcomponent extends="someOtherCfcs.Service">
<cffunction name="helloworld" access="remote" returntype="string">
<cfreturn "hello from Windows">
</cffunction>
</cfcomponent>
Don't know if that helps, but i tried.ciao, Nando Jim Cassata wrote: checked that, but thanks Doug. But I can't make a remoting project directly on the Linux server, as flex builder wants to map to the root folder directly. So, I am making it on he win box and copying the files (everything in bin). Just seems weird that the cfc is not visible in the services browser --- Doug Sims <[EMAIL PROTECTED]> wrote:Linux is case sensitive....does everything match case( ex, service.cfc vs Service.cfc) just an initial thought Doug Sims On 2/1/07, Jim Cassata <[EMAIL PROTECTED]> wrote: You are subscribed to cfcdev. To unsubscribe, please follow the instructions at http://www.cfczone.org/listserv.cfm CFCDev is supported by: Katapult Media, Inc. We are cool code geeks looking for fun projects to rock! www.katapultmedia.com An archive of the CFCDev list is available at www.mail-archive.com/[email protected] |
- [CFCDEV] potential dumb noob question Jim Cassata
- Re: [CFCDEV] potential dumb noob question Doug Sims
- Re: [CFCDEV] potential dumb noob question Jim Cassata
- Re: [CFCDEV] potential dumb noob question Tom Chiverton
- Re: [CFCDEV] potential dumb noob question Nando
- RE: [CFCDEV] potential dumb noob question Charlie Arehart
- RE: [CFCDEV] potential dumb noob question Jim Cassata
- RE: [CFCDEV] potential dumb noob question Charlie Arehart
- RE: [CFCDEV] potential dumb noob question Jim Cassata
- RE: [CFCDEV] potential dumb noob question Charlie Arehart

