title: LiveCycle 2.6.1 Data Management with The ColdFusion 8.0 DataManagement Event Gateway Issue
body: <p>I've recently been developing a project that involves sending out events from ColdFusion to LiveCycle 2.6.1 using the Data Management event gateway to Flex 4.0 clients (LiveCycle and ColdFusion are on different Instances, but the same server).  </p>
  
  <p>To begin with, I used ColdFusion assemblers, DAO's, and models and everything worked fine locally.  After deploying this setup to a beta site, I decided that this setup would be very troublesome in terms of configuring clustered instances across multiple servers.  I then decided to convert my assemblers, DAO's, and models to Java.  The conversion went well and the Flex clients see the exact same data as they did with the ColdFusion adapter.</p>
  
  <p>Once I tried to send an update through from my ColdFusion application to a Flex client, I get an error stating that:</p>
  
  <blockquote>
    <p>"Unable to find the Flex adapter for destination My_Dest in the RMI registry on localhost:1099.The Flex adapter may not be running or the destination may be incorrect."</p>
  </blockquote>
  
  <p>After seeing this error, I downloaded a Java-based RMI inspector to see what was going on.  To get a good idea of what was happening when the ColdFusion adapter was being used, I switched my data-management-config file back to the CF adapter.  I noticed that the RMI entry was as follows:</p>
  
  <pre><code>localhost:1099/cfdataserviceadapter/My_Dest   
  localhost:1099/cfassembler/my_cf_instance
  </code></pre>
  
  <p>Once I gathered this data as the base, I converted back to the Java adapter in my data-management-config file, restarted the servers, and ran the RMI inspector again.  Only the "<code>localhost:1099/cfassembler/my_cf_instance</code>" was showing.  (This one shows because I have <em>"Enable Remote Adobe LiveCycle Data Management Access"</em> checked in my CF instance's CF Admin -> Flex Integration).  Since I don't need this checked anymore, I unchecked it and re-ran the RMI inspector.  As it should, the "l<code>ocalhost:1099/cfdataserviceadapter/My_Dest</code>" went away.  Since no destination shows up, it means that the Flex adapter isn't registering my "my_Dest" destination with RMI.  Since it isn't registered, I can't see it when I try to send a message through the CF Data Management event gateway.</p>
  
  <p>Can anyone help me out here?  I certainly may be missing something when it comes to RMI (I don't work with Java very often).  Any advice would be greatly appreciated!</p>