The way that I do it? I install CF 6.1 /
or 7 Enterprise
as a self contained server. I either point it at IIS or at Apache (depending
upon which machine I installed it on). That installs (assuming Windows) JRun as
the server with CF integrated to x:\cfusionmx. That actually sets up your
machine to now accept everything on port 80 through IIS – your extensions
are routed through jrun.dll. Now – install Flex J2EE style (without the
testing server) and find flex.war in the install directory. Extract flex.war
to c:\temp and you should see 2 directories; web-inf and meta-inf. Disregard
meta-inf and delve into the web-inf directory. Copy the Flex directory to
c:\cfusionmx\wwwroot\web-inf and do the same with the libs directory contents
(to the same wwwroot\web-inf\libs\*. Now comes the fun part. Merge web.xml
following the directions that you can find in multiple locations on the web –
including locations earlier in this chain of emails. After doing so –
restart the ColdFusion service and head into IIS Configuration Manager. Under
properties of your website, find the configuration button and add the file
extensions .mxml and .swf to point at the same jrun.dll that .cfm is pointing
to. At this point I restart the website and viola – should serve up your
mxml pages right away.
The above makes it so that you can drop
every file into the same directory and call them like a normal file (without
regard to port number)
Jeff
Founder
Flex Authority
http://www.flexauthority.com
We are actively seeking contributors for
the site. Have a sample that you want to share with the world? Send
it to us!
Thanks Jeff,
I guess I should step my question back a bit as
well. What is the
best scenario to follow when wanting a single
server with Flex & CF
without having to develop and deploy using ports.
That is the
ultimate goal I suppose for the location we are
trying to help.
d.
--- In [email protected],
"Jeff Steiner" <[EMAIL PROTECTED]> wrote:
> David,
>
>
>
> Correct on having Flex installed on your CF
Server (If you are
running the
> integrated version of CF - otherwise this
would be considered Flex
on JRun).
> Your JAVA stuff will work on any instance of
JRun installed. For
example -
> after merging an install of CF / Flex and
JRun you should be able
to run
> .jsp, servlets, cfm, cfc all from the same
directory.
>
>
>
> Jeff
>
> Founder
>
> Flex Authority
>
> <http://www.flexauthority.com> http://www.flexauthority.com
>
>
>
> We are actively seeking contributors for the
site. Have a sample
that you
> want to share with the world? Send it
to us!
>
> _____
>
> From: [email protected]
[mailto:[email protected]]
On
> Behalf Of DavidLand
> Sent: Thursday, June 23, 2005 8:37 PM
> To: [email protected]
> Subject: [flexcoders] Re: Installing Flex
& CF. Issues with
RemoteObject
>
>
>
> Sorry not making sense all of the way. If you
followed the
> instructions for the link below then you
would have Flex installed
> under your coldfusion server right? Does that
mean you just have a
> totally sepparate JRUN installed for java
perposes and no MM
servers
> under it? or when u say u have JRUN are you
referring to the
> integrated JRUN with CF? Or did you install
CF on JRUN then Flex
> within the CF? Sorry if I just didnt catch on
- been a long week
> hehe. Thanks for all your info by the
way.
>
> d,
>
> --- In [email protected],
Tarik Ahmed <[EMAIL PROTECTED]> wrote:
> > Yup. I'm using CF6.1 + Flex + IIS5 +
JRUN + Win2KServer, works
> great. I
> > followed the Flex+CF instructions on
MM's site:
> >
> >
>
http://www.macromedia.com/support/documentation/en/flex/1_5/flexforcf
> .html
> >
> > We've got licenses for CF7, but haven't
had a chance to upgrade
> our
> > machines. But I tested on my PC if our
stuff works based on CF7,
> and
> > used the web.xml file attached at the
> > http://www.cflex.net/showfiledetails.cfm?ObjectID=177
article
(thx
> to
> > Ben and Peter), and everything worked
swell as well.
> >
> > If you have any questions about our
config, feel free to hit me
> up. Jeff
> > & Jack from Flex Authority and a
bunch of other folk on the list
> are
> > CF+Flex'ers.
> >
> >
> > DavidLand wrote:
> >
> > >Re: Installing JRun > Flex &
CF. Issues with CF
> > >
> > >Thanks for the link. I know about
the flexauthority one and
> checking
> > >into the other, but it doesnt seem
as if thats the issue. Is
> there a
> > >lot of you all out there using Flex
& CF? if so whats your
> standard
> > >web config like?
> > >
> > >david.
> > >
> > >--- In [email protected],
Tarik Ahmed <[EMAIL PROTECTED]>
wrote:
> > >
> > >
> > >>You might wanna check out:
> > >>
> > >>http://www.flexauthority.com/articlesArchive/FlexCF7Merge.cfm
> > >>
> > >>as well as:
> > >>
> > >>http://www.cflex.net/showfiledetails.cfm?ObjectID=177
> > >>
> > >>
> > >>
> > >>DavidLand wrote:
> > >>
> > >>
> > >>
> > >>>We are installing JRUN and
then CF and Flex under the JRUN
> server
> >
>>>
> > >>>
> > >as
> > >
> > >
> > >>>a cluster through IIS. They
have both Windows 2000 Server
> (IIS5)
> >
>>>
> > >>>
> > >&
> > >
> > >
> > >>>2003 (IIS6). Everything
works fine independently but when
they
> >
>>>
> > >>>
> > >try
> > >
> > >
> > >>>to access a CFC from Flex it
throws a can not find CFC. It
will
> >
>>>
> > >>>
> > >not
> > >
> > >
> > >>>let them render a wsdl of
the CFC either through port 80 over
> IIS
> > >>>(Gives an AXIS error), but
does if they do it on the CF port
> > >>>assigned through JRUN. We
tried accessing directly on the
JRUN
> CF
> > >>>port and editing the
gateway-config.xml in CF by uncommenting
> the
> >
>>>
> > >>>
> > ><!-
> > >
> > >
> >
>>>-<adapter>coldfusion.flash.adapter.CFWSAdapter</adapter>-->.
> Any
> > >>>ideas? Thanks!
> > >>>
> > >>>
> > >>>
> > >>>David Hassoun |
[EMAIL PROTECTED]
> > >>>
> > >>>Macromedia Certified Master
Instructor
> > >>>
> > >>>Roundpeg, Inc.
> > >>>
> > >>>www.roundpeg.com
> > >>>
> > >>>c:303.359.7466
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>--
> > >>>Flexcoders Mailing List
> > >>>FAQ:
> >
>>>
> > >>>
> > >http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > >
> > >
> > >>>Search Archives: http://www.mail-archive.com/flexcoders%
> <http://www.mail-archive.com/flexcoders%25>
> >
>>>
> > >>>
> > >40yahoogroups.com
> > >
> > >
> > >>>Yahoo! Groups Links
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> > >>>
> >
>>>
> > >>>
> > >
> > >
> > >
> > >
> > >--
> > >Flexcoders Mailing List
> > >FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > >Search Archives: http://www.mail-archive.com/flexcoders%
> <http://www.mail-archive.com/flexcoders%25>
> 40yahoogroups.com
> > >Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
>
>
>
>
>
> --
> 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
>
> * To visit your
group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
>
> * To
unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
<mailto:[EMAIL PROTECTED]
subject=Unsubscribe>
>
> * Your use of
Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/>
Terms of Service.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
--
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