Calendar
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Recent Entries
Come On In, Rails-The Water's Warm
Shan's Simple Examples: File uploads with Flex and ColdFusion
Recent Comments
Google Calendar API - Creating a new Calendar with ColdFusion
Steve Julian said: When and where are you going to post the finished CFC's ? Thanks
[more]
Three Phases of Programmer Development
Pat Branley said: I normally think of those phase 2 people as 'programmers' and the phase 3 people as 'developers'.
I...
[more]
New Job Title: Front End Engineer
Sean Corfield said: Well, there's always the excellent Fusion Authority Quarterly Journal...
[more]
Down To The Wire: HTTP Sniffers
Brian M said: I second the mention of the Charles Web Debugging Proxy that Tariq mentioned. It is fantastic. It s...
[more]
New Job Title: Front End Engineer
Patrick said: Heya Sean. Good point. I never understood how they did things over there at SysCon, and I understand...
[more]
Archives By Subject
Business of Software (4) [RSS]
ColdFusion (318) [RSS]
Conferences (6) [RSS]
Databases (87) [RSS]
Flex & Flash (109) [RSS]
Fusebox (87) [RSS]
General Development (29) [RSS]
Google (9) [RSS]
Hardware (5) [RSS]
JVM & Java (132) [RSS]
Linux (20) [RSS]
Miscellaneous (254) [RSS]
Performance (8) [RSS]
SeeFusion (36) [RSS]
Shan's Simple Examples (7) [RSS]
User Interface (3) [RSS]
Windows (5) [RSS]
Archives By Poster
Daryl Banttari (10)
Nat Papovich (29)
Patrick Quinn (36)
Shannon Hicks (22)
Steve Nelson (21)
Tyson Vanek (3)
Installing Flex Data Services 2 Express on Tomcat for Dummies
Or, "Installing Flex Data Services 2 Express as a Windows Service"
This guide is for those who know nothing of Tomcat, yet are sick of having a command prompt in the background when you are trying to work with FDS. I'll assume that you're running Windows, and that you're doing this on your local machine, so you don't have to worry about firewall settings.
Step 1: Download and install Tomcat
Go to http://tomcat.apache.org/download-55.cgi and download the latest Binary Distribution for Windows.
Run the installer, and choose all the default options (unless you really want to change them, and understand the implications)
Step 2: Download and install FDS2
Go to http://www.adobe.com/cfusion/tdrc/index.cfm?product=flex and download Flex Data Services 2 Express for Windows.
Run the installer, except when you get to the "JRUN or J2EE" option, pick J2EE
Step 3: Download and install JOTM
Go to http://forge.objectweb.org/projects/jotm/ and download the latest version of JOTM (I downloaded jotm-2.0.10.tgz).
Decompress that file, and there'll be a new directory called "jotm-2.0.10"
Inside that directory, there's a lib directory.
Copy everything that's inside jotm-2.0.10\lib to C:\Program Files\Apache Software Foundation\Tomcat 5.5\common\lib
Step 4: Copy FDS files to Tomcat
Copy flex.war, flex-admin.war, and samples.war from C:\fds2\ to C:\Program Files\Apache Software Foundation\Tomcat 5.5\webapps\
Step 5: Restart the Apache Tomcat service
I hope you remember where the services console is :)
Step 6: Test it out
If you did the default options, you should be able to go to http://localhost:8080/samples/ and run the sample applications.


Thanks.
Don't s'pose you know how to get it running on Geronimo, do you?
The problem is I get "channel problems" on every application I try when I complete your tests.
In the other hand, when I use a FDS-ready Tomcat version I downloaded from other site, the same applications work fine, I mean, it's not a channel misconfiguration.
Am I doing something wrong or it really need another configuration?
I am ample to get the samples to come up, but I am unable to get my custom flex app to come up. I either get jave error or 404 resource not found. How can I get my custom flex app to appear?
Thanks
I'd check tomcat's error logs. I know that often 404 errors aren't really that the file isn't found, but that there's some other problem lurking underneath.