Friday, October 26, 2007
Installing and Configuring Flex Live Cycle Data Services, Tomcat 6.x, and ColdFusion 8 : Background
There were a number of reasons I began to explore configuring LCDS/FDS2 with other J2EE servers.
One reason was that I could not get a stand-alone version of JRun with Updater 6 to run on Windows Vista. To note, I could install JRun 4.x with the SP1 update onto Vista, but I could not install the SP6 updater. The installation of Updater 6 would halt mid-way through, and updater 6 is required to run LCDS/FDS2.
I suppose I could have tried to install LCDS/FDS2 with the integrated JRun option on Windows Vista, but this leads me to my second reason to try and configure LCDS/FDS2; not all business clients run integrated JRun services. The clientele I work with (and the students I teach Flex to) may be using an in-house J2EE server such as Tomcat, JBoss, WebSphere, or Sun Microsystem's new GlassFish Server (In particular, I will be writing about GlassFish Server in a later blog entry). I am not knocking JRun, its a good J2EE Server, but you need to keep your clients happy!
A third reason is that clients, consultants, and developers using LCDS/FDS2 with their applications may need not only to know how to get LCDS/FDS2 configured with their J2EE servers, they may need to tweak settings appropriately. I know that on the Adobe Web site there is a "Flex Test-Drive Server" available, and it is a pre-configured Tomcat Server running FDS2, but the information provided focuses more on developing applications with Flex and Java then the actual configuration itself. I do recommend that you do explore the article itself anyway as it will give some details on the requirements to set up LCDS/FDS2 with Tomcat - see http://www.adobe.com/devnet/flex/articles/java_testdrive.html, and credits should go to Christophe Coenraets, whose blog entries I also used as a point of reference (visit his site - http://coenraets.org/) .
Therefore in my upcoming blog entries I am going to attempt to do the following:
Install and configure Tomcat for LCDS/FDS2
Install LCDS (or FDS2, it will be the same process) on Tomcat.
Set up web services and messaging services on Tomcat (this was required for my courses , and good for local development for testing Flex code that access web services, uses messaging or data synchronization)
Set up ColdFusion 8 on Tomcat (also required for my courses that I teach as a potential back-end).
Alright, I am done for now. BRB with the next entry.
Tuesday, August 14, 2007
Flex Builder 2.0.1 does not install on Eclipse Europa (J2EE, 3.3.x edition)
Well, I downloaded and installed Eclipse Europa edition (J2EE, 3.3.x edition) and proceeded to install Adobe Flex Builder 2.0.1 plug-in/SDK edition. Turns out that the Flex Builder install does not recognize Europa. The message is seen here.
So, I guess I am downloading Eclipse classic, and hopefully the install of Flex 2.x will run smoothly.
All of this is being installed on top of Windows Vista, running the J2SDK 1.6.2.
update
I also tried Eclipse "Classic" 3.3 edition (still looks like Europa, so I am supposing, not reading all the version names, that the J2EE version and the classic version are based on the same build) and again, installation of Flex did now work.
So now, I retrieved the 3.1.2 archived version of Eclipse. Let's see how that goes.
another update
Well, it appears that Flex Builder 2.0.1 works only with Eclipse 3.1.x. That's unfortunate. Now I have three installs of Eclipse. lol.
(yet) another update
I am just responding to Ryan Stewart's (from Adobe) comment about the fact he has Flex Builder installed on Eclipse Europa! I am not surprised, as I am sure that there must be a way to get it installed. But the installer does not seem to get me any farther (I tried the installation again on Europa, and got the same result).
Final Update
I got a response again from Ryan - he mentioned that in fact, he was using Flex 3 beta on Eclipse Europa (smile). So, in fact, Flex Builder 2.0.1 does not install on Eclipse Europa (at least until someone says otherwise again). So I will install Flex 3 Beta on my Europa build of Eclipse and confirm that it works - and I will also try Ryan's suggestion of implementing multiple SDKs (i.e. Flex 2.0.x and Flex 3) into the beta - that should streamline my system a little bit!

