John,
Flex and cf should work fine with the cf-amf. The Cf-amf points
to the /flex2gateway instead of the /messagebroker/amf. I don’t know if
there is any difference between those two but since CF just for remoting uses
that end-point, let’s keep it that way.
João Fernandes
Dep.
Informática - Área de Desenvolvimento
Cofina media
Avenida
João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel
(+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of John
Sent: segunda-feira, 15 de Maio de 2006 13:09
To: [email protected]
Subject: RE: [flexcoders] cf flex intergration
Hi João,
Thanks do much for all your help`-`
I am wondering if I have to configue anything in the
flex-enterprise-services.xml file? There is the channel:
<channel-definition id="my-amf"
class="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}/{context.root}/messagebroker/amf"
class="flex.messaging.endpoints.AMFEndpoint"/>
Does this need to be changed?
I don't seem to be connecting;that is, flex and cf are not talking.
I am not getting error messages,and so I think that it must be the getway
connection?
I am now reading the using_cf_with_flex2.pdf from adobe.
Hopefully tomorrow I figure this out.
Thanks again for all your help,
John
Jo�o Fernandes <[EMAIL PROTECTED]>
wrote:
John,
I'm glad you made it. All the fun starts now ;)
Jo�o Fernandes
-----Original Message-----
From: [email protected] on behalf of John
Sent: Sun 14-May-06 3:28 AM
To: [email protected]
Subject: RE: [flexcoders] cf flex intergration
Hi Jo�o,
THANKS SO MUCH!
I finally got it working`-`
I installed everything, and it is working like it should.
I am now trying to get the messenger service working. I am reading the pdf file
from adobe about coldfusion and flex. Hopefully, I can get this to work
today,and then start playing with this.
Thanks again for all your help,
John
Jo�o Fernandes <[EMAIL PROTECTED]> wrote: John,
I sended a message just after that one saying that you should read instead
" 6) Replace the
/yourinstance/cfusion.ear/cfusion.war/WEB-INF/web.xml with mine".
7) yes, you should replace those by the ones I provided. Those have already
cf-dataservice-rmtp , cfeventgateway, cf-pooling-amf and cf-amf enabled.
The web.xml is important since it configures all mappings for the
messageBroker.
when you apply the cf-connectivity updater, it updates for the
"/flex2gateway/" but for for FDS you'll need other mappings.
HTH,
Jo�o Fernandes
-----Original Message-----
From: [email protected] on behalf of John
Sent: Sat 13-May-06 2:14 PM
To: [email protected]
Subject: RE: [flexcoders] cf flex intergration
Hi Jo�o,
Can I ask for your help please.
Below is what I think is the set up, but before I actually fo it, can you
please tell me if it is correct, as I don't want to have to re-install
coldfusion again if I mess this up again. The items in brown are items
that I am not sure about,and the items in blue are places where I plan to put
the files.
Thank you very much,
John
1) Create a new cf instance and stop it when done.
I am using the default coldfusion server
2) Expand the flex.war file to a temp folder.
By default I have flex.war Folder
3) Copy from the tempfolder/WEB-INF/flex folder to the
/yourinstance/cfusion.ear/cfusion.war/WEB-INF/flex folder.
I copied WEB-INF/flex from flex.war Folder into:
/Applications/JRun4/cfusion-ear/cfusion-war/WEB-INF/flex
4) Copy from the tempfolder/WEB-INF/lib this files: cfdataservicesadapter.jar,
cfgatewayadapter.jar, commons.httpclient.jar and concurrent.jar into
/yourinstance/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib folder
I copied:
flex.war Folder/Web-INF/lib/cfdataservicesadapter.jar into
/Applications/JRun4/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/cfdataservicesadapter.jar
flex.war Folder/Web-INF/lib/cfgatewayadapter.jar into
/Applications/JRun4/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/cfgatewayadapter.jar
flex.war Folder/Web-INF/lib/commons.httpclient.jar
/Applications/JRun4/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/commons.httpclient.jar
flex.war Folder/Web-INF/lib/concurrent.jar
/Applications/JRun4/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/concurrent.jar
5) Copy from the tempfolder/WEB-INF/lib flex-boostrap.jar into
/cfusion.war/WEB-INF/lib.
I copied flex.war Folder/Web-INF/lib/flex-boostrap.jar into
/Applications/JRun4/cfusion-ear/cfusion-war/WEB-INF/lib/flex-boostrap.jar
6) Replace the /yourinstance/cfusion.ear/cfusion.war/WEB-INF with mine
What do you mean by this?
7) Unzip flex.zip into /yourinstance/cfusion.ear/cfusion.war/WEB-INF/flex
You mean the files inside the flex.zip? and this files you be in:
/Applications/JRun4/cfusion/cfusion-ear/cfusion-war/WEB-INF/flex????
The web.xml is the merged file from cf + FDS.
The zip file contains cfdataservices, cfmessaging and cf-amf enabled already.
Jo�o Fernandes <[EMAIL PROTECTED]>
wrote: v\:*
{behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:*
{behavior:url(#default#VML);} .shape
{behavior:url(#default#VML);}
Well its a bit like CF + Flex 1.5.
Were is the way I used.
1) Create a new cf instance and stop
it when done.
2) Expand the flex.war file to a
temp folder.
3) Copy from the
tempfolder/WEB-INF/flex folder to the
/yourinstance/cfusion.ear/cfusion.war/WEB-INF/flex folder.
4) Copy from the
tempfolder/WEB-INF/lib this files: cfdataservicesadapter.jar,
cfgatewayadapter.jar, commons.httpclient.jar and concurrent.jar into
/yourinstance/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib folder
5) Copy from the
tempfolder/WEB-INF/lib flex-boostrap.jar into /cfusion.war/WEB-INF/lib.
6) Replace the
/yourinstance/cfusion.ear/cfusion.war/WEB-INF with mine
7) Unzip flex.zip into
/yourinstance/cfusion.ear/cfusion.war/WEB-INF/flex
The web.xml is the merged file from cf + FDS.
The zip file contains cfdataservices, cfmessaging and cf-amf
enabled already.
HTH,
Jo�o Fernandes
Dep. Inform�tica - �rea de Desenvolvimento
Cofina media
Avenida Jo�o Cris�stomo, N� 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]
---------------------------------
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Hastings
Sent: quarta-feira, 10 de Maio de 2006 10:52
To: [email protected]
Subject: Re: [flexcoders] cf flex intergration
Dirk Eismann wrote:
> Yes, it works.
>
> You can either run FDS under the same server instance CF is running
> under or create a new server and deploy the FDS application there.
ok, i'm game. how exactly? is that documented?
thanks guys.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web
site design development
Computer
software development
Software
design and development
Macromedia flex
Software
development best practice
---------------------------------
YAHOO! GROUPS LINKS
Visit your group
"flexcoders" on the web.
To unsubscribe from this
group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo!
Groups is subject to the Yahoo! 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
SPONSORED LINKS
Web site design
development
Computer software development
Software design and
development
Macromedia
flex
Software development best
practice
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "flexcoders" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo!
Terms of Service.
---------------------------------
Flex Data Services
Flex Data Services Application
flex.class.path
/WEB-INF/flex/hotfixes,/WEB-INF/flex/jars
FileServlet
This servlet may override a
corresponding FileServlet in SERVER-INF/default-web.xml.If removed, the servlet
in default-web.xml will be used.
jrun.servlet.file.FileServlet
browseDirs
true
MessageBrokerServlet
MessageBrokerServlet
flex.messaging.MessageBrokerServlet
services.configuration.file
/WEB-INF/flex/flex-enterprise-services.xml
1
FlexMxmlServlet
MXML Processor
Servlet wrapper for the Mxml
Compiler
flex.bootstrap.BootstrapServlet
servlet.class
flex2.server.j2ee.MxmlServlet
webtier.configuration.file
/WEB-INF/flex/flex-webtier-config.xml
1
FlexSwfServlet
SWF Retriever
flex.bootstrap.BootstrapServlet
servlet.class
flex2.server.j2ee.SwfServlet
2
FlexInternalServlet
flex.bootstrap.BootstrapServlet
servlet.class
flex.server.j2ee.filemanager.FileManagerServlet
10
MessageBrokerServlet
/messagebroker/*
FlexMxmlServlet
*.mxml
FlexSwfServlet
*.swf
FlexInternalServlet
/flex-internal/*
index.html
index.htm
Flex Messaging WorkManager
wm/MessagingWorkManager
com.ibm.websphere.asynchbeans.WorkManager
Container
Shareable
-->
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great
rates starting at 1¢/min.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design
development
Computer software
development
Software design and
development
Macromedia
flex
Software development best
practice
---------------------------------
YAHOO! GROUPS LINKS
Visit your group "flexcoders" on the web.
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.
---------------------------------
---------------------------------
Blab-away for as little as 1�/min. Make PC-to-Phone Calls using Yahoo!
Messenger with Voice.
Get amazing travel prices for
air and hotel in one click on Yahoo!
FareChase
--
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