6 Replies Latest reply on Oct 13, 2006 9:24 PM by pwp69

    Unable to find the ColdFusion Data Management Service

    pwp69 Level 1

      Hi, I am trying to get my frirs FDS app to work with TOMCAT. The app is the Contact Manager sample app 're-engineered' to work in it's own folder under TOMCAT's server folder.

      Anyway, I seem to be having some problems getting FLEX to Communication with CF using TOMCAT. Below is a log extract.

      Can some one tell me why I am getting: "Unable to find the ColdFusion Data Management Service in RMI registry on 'localhost'. Flex Data Management support may not be enabled."

      The swf appears able to make a netconnection but then faults.

      I am running CFMX 7.0.2 with 'Enable Flex Data Management support' checked.

      ------------------ Log Starts Here -----------------------------
      10/06 18:46:43 INFO Loading configuration file C:\apache\Tomcat\server\webapps\contactmgr\WEB-INF\flex\flex-webtier-config.xml
      10/06 18:46:43 INFO Loading configuration file C:\apache\Tomcat\server\webapps\contactmgr\WEB-INF\flex\flex-config.xml
      [Flex] Starting Adobe Flex Data Services 2 Express
      [Flex] Adobe Flex Data Services Build: 143451
      [Flex] Endpoint my-amf created with security: None
      at URI: http://{server.name}:{server.port}/{context.root}/messagebroker/amf
      [Flex] Endpoint my-polling-amf created with security: None
      at URI: http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling
      [Flex] Endpoint my-http created with security: None
      at URI: http://{server.name}:{server.port}/{context.root}/messagebroker/http
      [Flex] Endpoint my-secure-amf created with security: None
      at URI: https://{server.name}:9100/{context.root}/messagebroker/amfsecure
      [Flex] Endpoint cf-polling-amf created with security: None
      at URI: http://{server.name}:{server.port}/{context.root}/messagebroker/cfamfpolling
      [Flex] Endpoint cf-dataservice-rtmp created with security: None
      at URI: rtmp://{server.name}:2048
      [Flex] Endpoint my-secure-http created with security: None
      at URI: https://{server.name}:9100/{context.root}/messagebroker/httpsecure
      [Flex] [CFDataServicesAdapter] Configuring CFC adapter for destination cfemployee
      [Flex] [CFDataServicesAdapter] Configuring CFC adapter for destination cfcontact
      [Flex] [CFDataServicesAdapter] Configuring CFC adapter for destination cfcompany
      [Flex] RTMP-Server listening on port:2048
      [Flex] Created worker thread: RTMP-Worker-0
      [Flex] Created worker thread: RTMP-Worker-1
      [Flex] Created worker thread: RTMP-Worker-2
      [Flex] Created worker thread: RTMP-Worker-3
      [Flex] Created worker thread: RTMP-Worker-4
      [Flex] Created worker thread: RTMP-Worker-5
      [Flex] Deserializing AMF/RTMP request
      Version: 0
      (Command method=connect (2) trxId=1.0)
      (Object #0)
      app = ""
      flashVer = "WIN 9,0,16,0"
      swfUrl = " http://localhost:8080/contactmgr/bin/contactmgr.swf"
      tcUrl = "rtmp://localhost:2048"
      fpad = false
      audioCodecs = 615.0
      videoCodecs = 76.0
      pageUrl = " http://localhost:8080/contactmgr/bin/contactmgr.html"
      objectEncoding = 3.0

      [Flex] Serializing AMF/RTMP response
      Version: 0
      (Command method=_result (0) trxId=1)
      (Object #0)
      code = "NetConnection.Connect.Success"
      level = "status"
      details = null
      description = "Connection succeeded."
      objectEncoding = 3.0

      [Flex] Deserializing AMF/RTMP request
      Version: 3
      (Command method=null (0) trxId=2.0)
      null
      (Typed Object #0 'flex.messaging.messages.CommandMessage')
      operation = 0
      messageRefType = "flex.data.messages.DataMessage"
      correlationId = ""
      headers = (Object #1)
      DSEndpoint = "cf-dataservice-rtmp"
      timestamp = 0
      messageId = "C3E51C75-4638-09D3-C743-200DD1D93250"
      destination = "cfcontact"
      body = (Object #2)
      clientId = "A9A972E3-7365-BAC5-3C11-200DD1D922DF"
      timeToLive = 0

      [Flex] Serializing AMF/RTMP response
      Version: 3
      (Command method=_result (0) trxId=2)
      (Typed Object #0 'flex.messaging.messages.AcknowledgeMessage')
      destination = null
      headers = (Object #1)
      correlationId = "C3E51C75-4638-09D3-C743-200DD1D93250"
      messageId = "7C41BEA8-9519-4554-3663-975E6127412F"
      timestamp = 1.160178946661E12
      clientId = "A9A972E3-7365-BAC5-3C11-200DD1D922DF"
      timeToLive = 0.0
      body = null

      [Flex] Deserializing AMF/RTMP request
      Version: 3
      (Command method=null (0) trxId=3.0)
      null
      (Typed Object #0 'flex.data.messages.DataMessage')
      identity = null
      body = (Array #1)
      operation = 1
      correlationId = ""
      headers = (Object #2)
      DSEndpoint = "cf-dataservice-rtmp"
      timestamp = 0
      messageId = "510B518A-5744-B463-6D89-200DD1E85359"
      destination = "cfcontact"
      body = (Ref #1)
      clientId = "A9A972E3-7365-BAC5-3C11-200DD1D922DF"
      timeToLive = 0

      [Flex] [CFDataServicesAdapter] destination: cfcontact invoking Fill method...
      [Flex] Serializing AMF/RTMP response
      Version: 3
      (Command method=_error (0) trxId=3)
      (Typed Object #0 'flex.messaging.messages.ErrorMessage')
      rootCause = null
      destination = "cfcontact"
      headers = (Object #1)
      correlationId = "510B518A-5744-B463-6D89-200DD1E85359"
      faultString = "Unable to find the ColdFusion Data Management Service in RMI registry on 'localhost'. Flex Data Management support may not be enabled."
      messageId = "7C41BECF-A50F-1783-0421-E6715C00A685"
      faultCode = "Server.Processing"
      timeToLive = 0.0
      extendedData = null
      faultDetail = null
      clientId = null
      timestamp = 1.160178946677E12
      body = null