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:
    
Hi all,

I have a simple cfc that works on my wondows desktop running cfmx
      
7.0.2
    
myService.cfc:
<cfcomponent extends="Service">
<cffunction name="helloworld" access="remote" returntype="string">
<cfreturn "hello from Windows">
</cffunction>
</cfcomponent>

In Windows the cf server recognizes the cfc in my cfeclipse
      
services
    
browser. I move the cfc to my Linux server (also cfmx 7.0.2) and I
      
get
    
an error in the servics browser: Unable to get meta data. And is
      
works
    
on my Windows flex app and not when I move it to Linux. Is there
anything different that has to be done to move a file from Windows
      
to
    
Linux? Both cfmx servers are set up the same (default)

Thanks!

Jim


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]


      
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]



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]


  


--


Aria Media Sagl
CP 234
6934 Bioggio
Switzerland
www.aria-media.com



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]

Reply via email to