0 Replies Latest reply on Oct 1, 2007 6:30 PM by Kan_Ogawa

    FDS Integration to Apache Geronimo and IBM WASCE.

    Kan_Ogawa
      Now I'm evaluating Flex Data Services 2 on both Apache Geronimo and IBM WASCE servers.
      So I have tested it using "samples" web application. The additional configuration is none in this application.
      (Of course, I understand that these products are not the official supported platform in it.)

      Tested server environments:
      - Apache Geronimo with Tomcat v1.1.1 and Sun JDK 1.5.0_11.
      - Apache Geronimo with Tomcat v2.0.1 and Sun JDK 1.5.0_11.
      - IBM WASCE v1.1.0.2 and IBM JDK 5.0 SR4 bundled in it.
      - IBM WASCE v2.0.0.0 and IBM JDK 5.0 SR5 bundled in it.

      Tested results:
      - If Geronimo v2.0 and WASCE v2.0, FDS works fine.
      - If Geronimo v1.1 and WASCE v1.1, the following exception has been thrown while invoking data service.
      [Flex] [ERROR] Exception when invoking service: data-service
      with message: Flex Message (flex.data.messages.DataMessage)
      operation = transacted
      id = null
      clientId = 2AC0BA1E-764D-E1C6-5016-E7347488236F
      correlationId =
      destination = crm.company
      messageId = 2605C35C-BC16-148D-C20F-5E1B54D68EA1
      timestamp = 1191284790486
      timeToLive = 0
      body =
      [
      Flex Message (flex.data.messages.DataMessage)
      operation = create_and_sequence
      id = ASObject(31179941){companyId=0}
      clientId = 846C8F28-3AC5-4566-7058-5E1AED30744E
      correlationId = 2605C35C-BC16-148D-C20F-5E1B54D68EA1
      destination = crm.company
      messageId = C642A3F6-9816-DD67-66C2-5E1B54D6E9C2
      timestamp = 0
      timeToLive = 0
      body = Company(companyId=0, name=ABC Computer, address=, state, zip= industry=Computers)
      ]
      hdr(DSEndpoint) = my-rtmp
      exception: flex.data.DataServiceException: Unable to access UserTransaction in DataService.

      Geronimo web deployment plan added in samples application:
      <?xml version="1.0" encoding="UTF-8"?>
      <web-app xmlns=" http://geronimo.apache.org/xml/ns/j2ee/web-1.1"
      xmlns:nam=" http://geronimo.apache.org/xml/ns/naming-1.1"
      xmlns:sec=" http://geronimo.apache.org/xml/ns/security-1.1"
      xmlns:sys=" http://geronimo.apache.org/xml/ns/deployment-1.1">
      <sys:environment>
      <sys:moduleId>
      <sys:groupId>flex</sys:groupId>
      <sys:artifactId>samples</sys:artifactId>
      <sys:version>1.0</sys:version>
      <sys:type>war</sys:type>
      </sys:moduleId>
      <sys:inverse-classloading/>
      </sys:environment>
      <context-root>/samples</context-root>
      </web-app>

      It is very difficult for me to specify the cause that FDS cannot lookup UserTransaction on v1.1 server.
      Is the additional configuration required to samples application? or v1.1 server bug?
      Does anyone know something about this?


      Finally, I strongly hope that both Geronimo and WASCE will be added as FDS supported platform.

      Thanks,
      Kan Ogawa