I'm getting this error on a couple of projects:

"The services configuration includes a channel-definition 'my-cfamf' that has 
an endpoint with a context.root token but a context root has not been defined. 
Please specify a context-root compiler argument."

When I open Project->properties -> Flex Server it says since this project does 
not use a server, these settings do not apply and the fields are disabled so I 
can't enter a context root (not that I know where that is).

Also, the 'my-cfamf' channel definition in services-config has this line:

<endpoint uri="http://{server.name}:{server.port}{context.root}/flex2gateway/"; 
class="flex.messaging.endpoints.AMFEndpoint"/>

Is 'flex2gateway' supposed to be a directory? If so, why can't I find it?

I have been able to run other projects without this problem. In those cases the 
Project->properties -> Flex Server fields are enabled but context root: is 
empty. 

I'm using a local CF server to compile.

Any thoughts on what I'm doing wrong?

Bob

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: http://www.houseoffusion.com/groups/Flex/message.cfm/messageid:4281
Subscription: http://www.houseoffusion.com/groups/Flex/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37

Reply via email to