Skip to Main Content

General Development Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to refresh vector tiles using cli in Spatial Map Visualization Component

Gerald Dildine - ITISMar 27 2023 — edited Apr 4 2023

I'm struggling to find out how to refresh vector tiles within the Spatial Map Visualization Component using mv_admin_cli-19.1.0.jar.

I have created the following xml file

<?xml version="1.0" standalone="yes"?>
<non_map_request>
<clear_theme_cache data_source="spod" theme="GUARDRAILS"/>
</non_map_request>

and excuted the following command:

java -jar mv_admin_cli-19.1.0.jar -u xxxx -p xxxx -xml refresh_guardrails.xml -server http://dev.xxxxx.com:9500/mapviewer/mcsadmin

I get the following result:

## Establishing initial contact...
## Sending xml request from file: refresh_guardrails.xml
=====> Did not find the CSRF cookie 'X-CSRF-MVS'.
Http status code for Home Page Request: 200
================================================================
Http status code for Authentication Request: 200
================================================================
Http status code for Authenticated Form Post: 200
(http://dev.itis-map.com:9500/mapviewer/mcsadmin)
================================================================
<?xml version="1.0" encoding="UTF-8"?><mcs_error>MCSServlet%3AMAPVIEWER-06052%3A+Error+in+parsing+xml+request.</mcs_error>

Please note that the predefined layer exists, can be displayed, and shows up in the metadata.

Please assist.

This post has been answered by Honglei Zhu-Oracle on Apr 5 2023
Jump to Answer
Comments
Post Details
Added on Mar 27 2023
4 comments
301 views