2 Replies Latest reply on Feb 1, 2007 9:32 PM by ciwee_ufrj

    FDS and Tomcat

    ciwee_ufrj Level 1
      Hi all,

      I'd like to know if there's some restriction regarding FDS working over Tomcat.
      Can persistent connections been stablished?
      Is there some other problem?
      thanks
        • 1. Re: FDS and Tomcat
          johannki
          Hi--

          The only issue I've found is that, in order to use the data management features of Flex you need to install JavaTransaction support in Tomcat. This article has more info: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=6b82874f

          An abbreviated version:

          Download the latest JOTM jars (Note: you may have to add ".gz" to the downloaded file for it to open properly in winzip, i.e. rename jotm-2.0.10.tar to jotm-2.0.10.tar.gz)
          Place the following jars from the JOTM dowload in your $TOMCAT_HOME/common/lib/ directory so that both Tomcat and your web application will see them:
          * commons-cli-1.0.jar
          * connector-1_5.jar
          * howl.jar
          * jotm.jar
          * jotm_jrmp_stubs.jar
          * jta-spec1_0_1.jar
          * jts1_0.jar
          * objectweb-datasource.jar
          * ow_carol.jar
          * xapool.jar

          Edit your context.xml file in $TOMCAT_HOME\conf and add the following text:

          <Transaction factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>

          That's it. Just restart your Tomcat and you should be able to run the samples with the FDS download.
          • 2. Re: FDS and Tomcat
            ciwee_ufrj Level 1
            Hi.. thanks for answering!
            I got to install it :)
            I was afraid protocols like RTMP wouldn't work on Tomcat