Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

FDS configuration on JBOSS

Avatar

Level 1
Hi,



I am trying to get FDS running on JBOSS but need help with
the configuration. I initially had flex 2 running on tomcat which
work perfectly fine for regular applications. For FDS applications,
I downloaded JBOSS and tried running the samples that FDS includes
(dashboard). The problem is it seems that when running any
application (FDS or a regular app), it doesn't seem to compile the
.mxml file into a .swf file and display it correctly. Instead, it
just displays the .mxml code when i access it.



Here's a break down of what I did. Keep in mind i'm new to
JBOSS.



1)Installed jboss-4.0.4

2) took the flex.war file and extracted everything into the
folder
C:\jboss-4.0.4.GA\server\default\deploy\jbossweb-tomcat55.sar\ROOT.war\flex

3)Followed steps as described in
http://www.adobe.com/support/documentation/en/flex/2/install.html#jboss


Put
install_root/resources/security/tomcat/flex-tomcat-common.jar and
install_root/resources/security/tomcat/flex-tomcat-server.jar in
the jboss_root/server/default/lib folder.

Copy install_root/resources/security/tomcat/context.xml to
your web application under the WEB-INF

Start JBoss.



Flex Data Services welcome screen displays fine when
accessing
http://localhost:8080/flex/



At this point, I'm just trying to get regular flex 2
applications to run correctly on JBoss. Are there any other
configurations that I must do in order to get JBOSS to compile the
mxml files into .swf files and display it correctly? I don't seem
to have this problem when using Tomcat or Resin.



Thanks,



Mike











1 Reply

Avatar

Level 2
> Instead, it just displays the .mxml code when i access
it.



Check the server log for errors on startup. If the code is
being displayed, it liking means that the FlexMxmlServlet that
handles *.mxml requests did not start up correctly.