Deploying MapViewer in an Oracle Fusion Middleware 10gR3 Environment

1-12 Oracle Fusion Middleware Users Guide for Oracle MapViewer weblogic.xml file, located in MAPVIEWER_ HOMEmapviewer.earweb.warWEB-INF. To change the weblogic.xml file, open it is a text editor and replace the two occurrences of weblogic with the actual administration account name. The following except shows the lines with the name to be replaced: security-role-assignment role-namemap_admin_rolerole-name principal-nameweblogicprincipal-name security-role-assignment security-role-assignment role-namesecure_maps_rolerole-name principal-nameweblogicprincipal-name security-role-assignment

1.4.2 Deploying MapViewer in an Oracle Fusion Middleware 10gR3 Environment

If you have already successfully installed Oracle Fusion Middleware 10gR3, you can deploy the MapViewer using the Oracle Enterprise Manager Server Control web interface. The main steps are the following: 1. Select an OC4J instance as the target for deploying MapViewer. You can select an existing OC4J instance, or create a new instance specifically for MapViewer. It is suggested that you create a new instance for MapViewer, but it is not required. 2. Locate the mapviewer.ear file. This file is either shipped with the Oracle Fusion Middleware 10gR3 software or can be downloaded from OTN. 3. Deploy the mapviewer.ear file to the selected OC4J instance using the Server Control web interface, or use Oracle Fusion Middleware 10gR3 command-line admin tool to deploy MapViewer or any other J2EE application. For information about using the admin tool, see the Oracle Fusion Middleware Administration Guide. To start deploying MapViewer, navigate to the Oracle Fusion Middleware 10gR3 Server Control page and select the desired OC4J instance, as shown in Figure 1–7 , where the default home OC4J instance is selected. Introduction to MapViewer 1-13 Figure 1–7 Starting MapViewer Deployment Click Deploy to display a page shown in Figure 1–8 in which you enter the location of the mapviewer.ear file a directory named tmp in this figure. 1-14 Oracle Fusion Middleware Users Guide for Oracle MapViewer Figure 1–8 Specifying the mapviewer.ear Location Click Next to display a page shown in Figure 1–9 in which you specify the name of the application. Figure 1–9 Specifying the Application Name For Application Name, specify mapviewer. The Context Root will be set to mapviewer by default. Do not use any other value for Context Root. Using any other value will prevent MapViewer from operating. Click Next to display the Deployment Setting page. You usually do not need to change any of the settings on this page. Introduction to MapViewer 1-15 Click Deploy on the Deployment Setting page to start the deployment of MapViewer. If the deployment is successful, the Confirmation page is displayed indicating that deployment of the application was successful. After you complete the deployment, see Section 1.4.4 .

1.4.3 Installing MapViewer with a Standalone Installation of OC4J