Can I define a permanent data source for MapViewer?
Yes. Simply add your data source definition in the mapViewerConfig.xml. Make sure you prefix your database user’s password with “!”, so that MapViewer will obfuscate the cleartext password when it reads in the data source definition for the first time. Here is an example datasource definition placed in mapViewerConfig.xml.