If the server isn't configured before doing a file import of a csv files issues will occur.
In this case, sever was not configured upon start up. During the steps to import of the CSV file, it had the option to automatically create the data source enabled (but visually disabled). The JNDI name was filled. Finished importing and the source and view models were created.
Started server and then tried previewing. This errors because the data source hasn't been created yet.
I then created the data source.
Then tried to do a data preview. But that failed. I then realized, if you do menu option "Set JNDI Name" it is blank. After retesting different scenarios, the JNDI name is set to blank if you use the Create Datasource option. So that how the JNDI got wiped clean. Once the JNDI name was reset, could then do a data preview.