Tried to install the MongoDB plugin (geoserver-2.16.0-mongodb-plugin) using the instruction in the GeoServer 2.16.0 User Manual but it breaks GeoServer i.e. unable to access the GeoServer Admin UI due to being presented with the error message displayed in attachment Figure1.jpg. For the installation of the MongoDB Plugin, I pasted all of the extracted files (gt-mongodb-22.0.jar, gs-mongodb-2.16.0.jar and mongo-java-driver-3.3.0.jar) into …\geoserver\WEB-INF\lib directory then restarted GeoServer. If I only paste gs-mongodb-2.16.0..jar into …\geoserver\WEB-INF\lib directory then restart GeoServer, I can access the GeoServer Admin UI and can access the MongoDB vector data source web page. However, not sure what to do with gs-mongodb-2.16.0.jar and mongo-java-driver-3.3.0.jar. Any suggestions? Checked the geoserver log file in the GeoServer Data Directory and found an error, see attachment ErrorLogged.txt. This was confirmed as a bug by a member of the GeoServer Users list, see the response below. Looks like there is a bug with the MongoDB rest controller plugin and its optional integration with AppSchema module trying to load some classes without need. I would recommend to add the AppSchema plugin as workaround while this bug gets a fix. Applied the workaround and it worked. |