What do you give as the root folder and the root
url?
It should be the root of your coldfusion
instance.
Ex. : C:\CFusionMX7\wwwroot and http://localhost:8500 (if you're using the
integrated http server)
FB2 will then create a folder "flex" in WEB-INF and create
the appropriate flex-enteprise-services.xml.
Are you using the integrated jrun http
server?
I found that when using Apache as the http server instead
of the integrated jrun http server, there is issue (compiled files are not
created under the Apache wwwroot but the JRun root
folder...).
So you have to create a Flex project without Flex server
technology and configure the CF Adapter manually :
- by creating and configuring the
flex-enterprise-services.xml,
- by adding the compiler arg
"--services=D:\CFusionMX7\wwwroot\WEB-INF\flex\flex-enterprise-services.xml"
(put the correct path to
flex-enterprise-services.xml).
Benoit Hediard
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Doug Hughes Envoyé : lundi 27 mars 2006 05:11 À : flexcoders@yahoogroups.com Objet : [Norton AntiSpam] [flexcoders] Beta 2 CF connectivity problems Hello, Im just getting started with flex 2
and Ive run into a problem I cant get past. Im trying to create a
project that will let me use AMF3. I dont want to use web services and
Im not doing anything related to the enterprise
services. Ive installed the mystic update
over CF 7.0.1 running under JRun. Theres another instance of CF under
JRun but its not running. Im trying to create project using
FlexBuilder 2. (I have the standalone version of beta 2 installed.)
To create the project I click File > New > Flex Project. It
then asks me what Flex server technology the project will use. I select
ColdFusion Flash Remoting Service (this means AMF3, right?) and click
next. The next page asks me for two
things: Root folder and Root URL. Ive provided the path to the flex
folder under the ColdFusion instance in JRun and the path to the flex folder via
the URL. (The JRun http server port is 8300.)
No matter what I provide the finish
button is always grayed out. I suspect that if I click Validate Location
that it should validate this information and allow me to finish but every time I
click that I get this error: Server root is invalid. Could not
locate flex-config.xml or
flex-enterprise-services.xml. For the life of me Ive got no
freakin clue how to get past this. Can anyone help me figure out how to
get past this? Do I need to? Can I create a standard flex project
and still use AMF3? Can I use this AMF stuff outside of
the JRun urls? IE via http://www.mysite.com/ instead of http://localhost:8700/flex/? Thanks for your
help! Doug
Hughes -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO! GROUPS LINKS
|
- [flexcoders] Beta 2 CF connectivity problems Doug Hughes
- RE: [flexcoders] Beta 2 CF connectivity problems Benoit Hediard