Updating the mapviewer in the quickstart kit

More than two (:-)) folks asked this question recently so it might worth a short note. The question is how does one deploy a new mapviewer version (e.g. 11.1.1.7.1) into the quickstart kit (which has 11.1.1.7.0)? A manual process is the simplest.

Shutdown the glassfish server if it's running.

Make a copy of the existing mapviewer.war directory and rename it (e.g. mapviewer.war.111170).

Delete the contents of the mapviewer.war directory (or create one named mapviewer.war if you just renamed, without copying, the old one).

Extract the contents of web.war in the new mapviewer.ear into the mapviewer.war directory.

Modify the mapviewerconfig.xml file so that it has the same map_data_source and other entries as the original one had.

If you're replacing 11.1.1.7.0 with 11.1.1.7.1 then you also have to edit the mds.xml (same location as mapviewerconfig.xml) to allow for the streaming of predefined and dynamic themes to the html5 client by the map data serevr. This change (data server streaming disabled by default) is new in 11.1.1.7.1.

Restart glassfish.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Official blog for Oracle FMW MapViewer and related products.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today