<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Custom DataSource Not Working in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/1826#M428</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the longest time I had a custom datasource created that would read entries from a CSV file on the WFA server and copy it to a dictionary object that I could query. &lt;/P&gt;&lt;P&gt;I used Goodrum's tutorial in order to do this. Now, for the last several weeks, pulling in this csv file has been failing. &lt;/P&gt;&lt;P&gt;The file still exists in the same place, yet it throws "The file named dfs_region.csv required to populate tabledfs.dfs_region was not found"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried moving the file to the WFA installation directory and updating the script to point to the new location and it still doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas would be really helpful.&amp;nbsp; Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Nov 2013 21:24:13 GMT</pubDate>
    <dc:creator>TABER_BRANDEN</dc:creator>
    <dc:date>2013-11-20T21:24:13Z</dc:date>
    <item>
      <title>Custom DataSource Not Working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/1826#M428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the longest time I had a custom datasource created that would read entries from a CSV file on the WFA server and copy it to a dictionary object that I could query. &lt;/P&gt;&lt;P&gt;I used Goodrum's tutorial in order to do this. Now, for the last several weeks, pulling in this csv file has been failing. &lt;/P&gt;&lt;P&gt;The file still exists in the same place, yet it throws "The file named dfs_region.csv required to populate tabledfs.dfs_region was not found"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried moving the file to the WFA installation directory and updating the script to point to the new location and it still doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas would be really helpful.&amp;nbsp; Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 21:24:13 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/1826#M428</guid>
      <dc:creator>TABER_BRANDEN</dc:creator>
      <dc:date>2013-11-20T21:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DataSource Not Working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/1831#M430</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, I know that it sees the csv file. Because if I rename the csv file to something else while the script is still looking for the original name, I get this instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"Cannot find path 'C:\wfa\dfs_region.csv' because it does not exist."&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally I found that I cannot delete the dictionary entry related to the custom datasource. When I attempt to I receive this cryptic error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;org.hibernate.exception.ConstraintViolationException: Cannot delete or update a parent row: a foreign key constraint fails (`wfa`.`workflow_command_mapped_object`, CONSTRAINT `fk_workflow_command_mapped_object_dictionary_entry_id` FOREIGN KEY (`dictionary_entry_id`) REFERENCES `dictionary_entry` (`id`))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 21:47:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/1831#M430</guid>
      <dc:creator>TABER_BRANDEN</dc:creator>
      <dc:date>2013-11-20T21:47:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DataSource Not Working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/1833#M431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had a weird issue that popped a couple of times.&amp;nbsp; Ultimately, I ended up deleting all of the files in the tmp location and then the import worked with no issues.&amp;nbsp; It was a weird issue.&amp;nbsp; I also saw that the copy was working (if I deleted the file manually, a copy would show up even though there was a failure).&amp;nbsp; After I dumped everything and got the import to work... I had no more issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy Goodrum, NetApp&lt;/P&gt;&lt;P&gt;The Pirate&lt;/P&gt;&lt;P&gt;Twitter: @virtpirate&lt;/P&gt;&lt;P&gt;Blog: &lt;A href="http://www.virtpirate.com" target="_blank"&gt;www.virtpirate.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 21:56:07 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/1833#M431</guid>
      <dc:creator>goodrum</dc:creator>
      <dc:date>2013-11-20T21:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DataSource Not Working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/1838#M432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you just delete the files in the mysql\data\tmp directory?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I stop the WFA services these files are removed automatically. I then restarted the service. Tried to run the data acquistion, and it still fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This all started happening after I imported a custom workflow that was provided to us by Yaron. This workflow was for testing Cluster-Mode failover and added it's own dictionary entries. Unfortunately I didn't realize there were issues until after the 2 days of backups that WFA keeps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not being able to delete that dictionary object makes me think something happened to the custom tables within the database. I tried to open a NetApp case on this but because it is custom, they told me to resolve it through here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 22:07:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/1838#M432</guid>
      <dc:creator>TABER_BRANDEN</dc:creator>
      <dc:date>2013-11-20T22:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DataSource Not Working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/1843#M433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So the files that are imported would be found here - C:\Program Files\NetApp\WFA\jboss\standalone\tmp\wfa&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue with the foreign key is likely because you have a command using a reference variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jeremy Goodrum, NetApp&lt;/P&gt;&lt;P&gt;The Pirate&lt;/P&gt;&lt;P&gt;Twitter: @virtpirate&lt;/P&gt;&lt;P&gt;Blog: &lt;A href="http://www.virtpirate.com" target="_blank"&gt;www.virtpirate.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 22:15:08 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/1843#M433</guid>
      <dc:creator>goodrum</dc:creator>
      <dc:date>2013-11-20T22:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DataSource Not Working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/1852#M434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah thank you Jeremy! You saved the day once again &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.netapp.com/5.0.1/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; I still can't delete the dictionary object so I just renamed it to Junk and created a new one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Nov 2013 22:45:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/1852#M434</guid>
      <dc:creator>TABER_BRANDEN</dc:creator>
      <dc:date>2013-11-20T22:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DataSource Not Working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/110478#M19493</link>
      <description>&lt;P&gt;I know this thread is pretty old but I've been having the same problems with WFA 3.0P1 on Windows Server 2012.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there were any of the temporary .dump files in the temp directory my custom datasource aquisition would fail. &amp;nbsp;I added this code to the beginning of the data source script to remove the .dump files before trying to acquire my datasource and things have been working well since:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Get-WFALogger -message ("Removing all .dump files from temporary directory")

$tempDir = "C:\Program Files\NetApp\WFA\jboss\standalone\tmp\wfa”

Get-ChildItem $tempDir *.dump | remove-item&lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Oct 2015 18:15:46 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/110478#M19493</guid>
      <dc:creator>JoelEdstrom</dc:creator>
      <dc:date>2015-10-01T18:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DataSource Not Working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/126651#M22750</link>
      <description>&lt;P&gt;Kudos for the suggestion on removing .dump files from the WFA temp&amp;nbsp;directory before importing the datasource file - this worked&amp;nbsp;perfectly! &amp;nbsp;WFA v4.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Previously my symptoms were; I'd create the&amp;nbsp;datastource and initlal import would be&amp;nbsp;successfull, so I'd think I was all set. &amp;nbsp;But subsequent imports would fail with exactly the error described at the top of the thread.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, all!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2017 18:15:36 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/126651#M22750</guid>
      <dc:creator>BenCoughtry</dc:creator>
      <dc:date>2017-01-03T18:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Custom DataSource Not Working</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/131224#M23764</link>
      <description>&lt;P&gt;I would like to add that if you're creating a cusom data source in WFA running on a Linux server, the path for the tmp directory is this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /opt/netapp/wfa/jboss/standalone/tmp/wfa&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I experienced the same error message as described in this thread, but the cause was different.&amp;nbsp; The cause in my case was that the source filename contained upper-case letters.&amp;nbsp; When I changed the source and destination filenames to be all lower-case letters, the data acquisition succeeded.&amp;nbsp; Go figure!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 12:33:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Custom-DataSource-Not-Working/m-p/131224#M23764</guid>
      <dc:creator>Girton</dc:creator>
      <dc:date>2019-10-28T12:33:41Z</dc:date>
    </item>
  </channel>
</rss>

