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.10lib to C:Program FilesApache Software FoundationTomcat 5.5commonlib
Step 4: Copy FDS files to Tomcat
Copy flex.war, flex-admin.war, and samples.war from C:fds2 to C:Program FilesApache Software FoundationTomcat 5.5webapps
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.

And wollah!
Thanks.
Don’t s’pose you know how to get it running on Geronimo, do you?
Comment by Marcus — October 31, 2006 @ 12:00 am
Thanks for your helpful post
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?
Comment by andre — February 17, 2007 @ 12:00 am
Hi Guys,
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
Comment by Diana — August 22, 2007 @ 12:00 am
Diana,
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.
Comment by Shannon — August 22, 2007 @ 12:00 am
where is the FDS2 files? the link http://www.adobe.com/cfusion/tdrc/index.cfm?product=flex download the flex builder and not FDS2 … why?
Comment by oscar — May 20, 2009 @ 10:11 am