Hi,
i got the following error message in my commandline after submitting an mapviewer request via mvadmin tool:
## Server URL: http://localhost:5001/mapviewer/mcsadmin
## Establishing initial contact...
## Sending xml request from file: prefetchTiles.xml
## Authenticating with the server...
## Server response:
MAPVIEWER-06037: You must log in as admin user in order to perform this task.
Commandline statement:
"C:\Program Files\Java\jdk1.8.0_91\bin\java" -jar mv_admin_cli.jar -u {USER} -p {PW} -xml prefetchTiles.xml -server "http://localhost:5001/mapviewer/mcsadmin"
XML file:
<?xml version="1.0" standalone="yes"?>
<map_cache_admin_request>
<tile_admin_task
operation="fetch_tiles"
map_tile_layer="DS.MY_TILELAYER"
zoom_levels="11,12,13,14,15,16,17,18"
bounding_box="784200,6740000,794000,6750000">
</tile_admin_task>
</map_cache_admin_request>
MapViewer log (LogLevel: finest)
May 08, 2020 2:09:42 PM oracle.lbs.mapcache.AdminServlet doPost
FINER: [mcs admin] recevied a request.
May 08, 2020 2:09:42 PM oracle.lbs.mapcache.AdminServlet doPost
FINEST: request.getRemoteUser = admin
May 08, 2020 2:09:42 PM oracle.lbs.mapcache.AdminServlet doPost
FINEST: Context path is: /mapviewer
May 08, 2020 2:09:42 PM oracle.lbs.mapcache.MapCacheRequest initializeNonXMLRequest
WARNING: Not enough parameters for the REST request. URI is: /mapviewer/mcsadmin
May 08, 2020 2:09:42 PM oracle.lbs.mapcache.MCSServlet reportException
WARNING: <?xml version="1.0" encoding="UTF-8"?><mcs_error>MCSServlet%3ANot+enough+parameters+for+the+REST+request%3A%2Fmapviewer%2Fmcsadmin</mcs_error>
May 08, 2020 2:09:42 PM oracle.lbs.mapcache.MCSServlet reportException
WARNING: MCSServlet:Not enough parameters for the REST request:/mapviewer/mcsadmin
Installed mapviewer: 19.3
mv_admin_cli.jar was downloaded from https://www.oracle.com/database/technologies/spatial-studio/spatial-graph-map-vis-downloads.html
Same request works with MapViewer version 12.2
Which parameter is missing?
Is there any documentation for mapviewer 19.3 / mvadmin tool?
Regards,
Carsten