In 184.108.40.206.1 the data server which sends vector layers (theme-based FOI) to the client is restricted by default. The config file mds.xml (located in the same directory as mapviewerConfig.xml) has to be updated to allow the data server to access and serve up layers from desired data sources.
The relevant readme.txt entry is
- Map Data Server (MDS), the vector theme streaming server of MapViewer, is now in
lock-down mode by default and will not allow themes to be streamed to a client unless
explicitly configured otherwise. You will need to manually edit the
WEB-INF/conf/mds.xml file to control which data sources and which themes can be
streamed to a HTML5 application client.
A MapViewer restart is required for the changes to take effect.