I am running Tomcat 6 and JRE 1.5, with FDS. Running the
Dashboard sample is not a problem (except for a lack of heapspace
in the JRE sometimes). However, the CRM sample is not working. I
get the error "Channel disconnected" on the client side, and on the
server side I am seeing a JRE error ... specifically a
javax/transaction/SystemException throwable. The last entry in the
stack trace is: java.lang.NoClassDefFoundError:
javax/transaction/SystemException at
flex.data.DataService.serviceMessage(DataService.java:305). I have
installed JOTM JARs in the Tomcat common\lib directory, and created
a "samples.xml" file in the conf\Catalina\localhost directory.
I am new to Flex2 (and FDS), and I am also new to Tomcat. But
I am really not trying to get too sophisticated right now. I am
frustrated, and I appreciate any help that anyone can give me!
All I really want to do is to create a simple application
that communicates using RTMP to transport POJOs on the server side
to AS classes on the client side. I have run the
tutorialthat Christophe Coenraets provided, and it works just fine. But
when I try to build a test from scratch by installing Tomcat, FDS,
JOTM (do I really need that piece?), and then creating the mxml,
as, and class files I have problems. Which caused me to try the
samples that come with FDS.
As a side note ... there is a statement that memory for the
JRE should be increased, but no specific instructions for
increasing it. That's not my immediate problem with the CRM sample,
and so I'll figure it out later.