« Coffee Break Guides | Main | Java Development in Flex Builder »
July 12, 2006
Installing Flex Data Services on JBoss
The aim with this coffee break guide is to get you up and running with Flex Data Services and Flex Builder / Eclipse using JBoss as your app server.
You will need to download and install Flex Builder, FDS and JBoss with Tomcat embedded (I am currently using 4.0.3 SP1). I assume you can figure out these installs on your own. Once you have these installed, you need to copy the following files:
[fds install]/resources/security/tomcat/flex-tomcat-common.jar
[fds install]/resources/security/tomcat/flex-tomcat-server.jar
into
[jboss root]/server/default/lib
Download the correct Xalan jars as described in "XPath Issues with JBoss 4.0.3 SP1", here http://www.adobe.com/support/documentation/en/flex/2/install.html#jboss
copy [fds install]/flex.war to a temporary directory and rename it fdsweb.war
insert into the WAR at fdsweb.war/WEB-INF/lib the Xalan jars. I have:
xalan.jar
xercesImpl.jar
xml-apis.jar
expand the war under the [jboss root]/server/default/deploy directory, calling the directory fdsweb.war
Start JBoss and go to: http://localhost:8080/fdsweb/
you should now see "Welcome to Adobe Flex Data Services 2! This is an empty .... "
In my next Coffee Break Guide, I will show you how to set up a very simple 'RPC' call between flex and java. Go drink your cold coffee !
JBoss Installation
JBoss XPath Issues
JBoss Download
Flex Data Services Download
Posted by dharfleet at July 12, 2006 08:23 AM
Comments
Hi Daniel,
It seems that the xalan problem is not related only to JOnAS. I tried to install and run one of the FDS2 betas in JOnAS 4.6.6 and run into a problem with those libraries (I suppose it was the same mentionen here).
So is someone is trying to install FDS on JOnAS app server and finds a problem with xalan, he(she) should replace that libraries for the lastest version.
Best,
C.
Posted by: Carlos Rovira at July 12, 2006 02:06 PM
Daniel
Thanks for this article. When I try this I get the following message from Jboss:
.
.
{ url-file:/C:/Program Files/jboss-4.0.4GA/server/default/deploy/fdsweb.war/ }
.
status: Deployment FAILED reason: java.lang.ClassNotFoundException: jrun.servlet.file.FileServlet
Could you please tell me how to resolve this error?
Thanks.
Posted by: Brian Henderson at November 12, 2006 06:03 PM
