2. Select “Download the MapViewer Quickstart kit” under “Oracle Application Server MapViewer, Map Builder & Quickstart 10.1.3.1″
3. Once you accept terms and conditions, select “Download the Quickstart kit”
4. Unzip MapViewer files under c:\ (this will create a new directory called mv10131_qs)
5. Change directories to c:\mv10131_qs\, and edit “start.bat”:
Adjust the location of jdk1.5.0xx, and save changes.
6. Run Start.bat. This will install and unzip all the oc4j components.
7. During the execution of Start.bat, choose a password for your oc4jadmin user
password: oc4jadmin
NOTE: Do not close the window when installation is complete. The OC4J server will stay running.
8. Download from OTN the “MapViewer demo dataset” (mvdemo data sample) located under “Oracle Application Server MapViewer, Map Builder & Quickstart 10.1.3.1″
9. Unzip mvdemo files under c:\ (this will create a new directory called mvdemo)
10. In the database, login as sysdba, or system, and create the mvdemo user:
grant connect, resource, create view to mvdemo identified by mvdemo;
17. Save the above entry. So, the data source will not be deleted when you shut down the server.
18. Close your Map Viewer Home Page (the browser), shutdown (Control-C), and restart start.bat the oc4j server again.
19. Launch again your browser, enter into MapViewer Home Page, and ensure that your data source is available. Login to the admin page, and select DataSources
NOTE: If under datasources, you don’t see your data source, manually, enter the datasource information above, and select “Submit”.
20. Then, select “Manage Map Caches”, select “Create” a new one:
a. Select type of map source: Internal
b. Name: demo_map
c. Data Source: mvdemo
d. Base Map: DEMO_MAP
21. Select “Submit”.
22. Go back to “Manage MapViewer”, and select “Geometry Cache”:
Data Source: "mvdemo"
23. Go back to “Home”, and test the demos:
Oracle Maps Tutorial–>Running the demos
24. Download from OTN the “new Map Builder desktop application”
“Download the Map Builder kit” the new Map Builder desktop application
25. Unzip Map Builder files under c:\mapbuilder (this will create a new directory called Mapbuilder)
26. To install and launch Map Builder, run the command from the c:\mapbuilder directory:
java -jar mapbuilder.jar
NOTE: You can create a bat file with the above command to launch Map Builder
27. Create a new Map Builder connection using the mvdemo data database connection, previously defined in your database.
smallwei 10:36 pm on October 21, 2009
1. Enter the following link to access MapViewer downloads in OTN:
http://www.oracle.com/technology/software/products/mapviewer/index.html
2. Select “Download the MapViewer Quickstart kit” under “Oracle Application Server MapViewer, Map Builder & Quickstart 10.1.3.1″
3. Once you accept terms and conditions, select “Download the Quickstart kit”
4. Unzip MapViewer files under c:\ (this will create a new directory called mv10131_qs)
5. Change directories to c:\mv10131_qs\, and edit “start.bat”:
Adjust the location of jdk1.5.0xx, and save changes.
6. Run Start.bat. This will install and unzip all the oc4j components.
7. During the execution of Start.bat, choose a password for your oc4jadmin user
password: oc4jadmin
NOTE: Do not close the window when installation is complete. The OC4J server will stay running.
8. Download from OTN the “MapViewer demo dataset” (mvdemo data sample) located under “Oracle Application Server MapViewer, Map Builder & Quickstart 10.1.3.1″
9. Unzip mvdemo files under c:\ (this will create a new directory called mvdemo)
10. In the database, login as sysdba, or system, and create the mvdemo user:
grant connect, resource, create view to mvdemo identified by mvdemo;11. Import the mvdemo data as follow:
imp mvdemo/mvdemo@bperezg file=mvdemo.dmp full=y ignore=y log=mvdemo.log12. Login as mvdemo and execute the script as follow:
13. Login as system and execute the following script:
SQL>@c:\mv10131_qs\oc4j\j2ee\home\applications\mapviewer\web\WEB-INF\admin\mcsdefinition.sql14. Launch OC4J start.bat file, located in c:\mv10131_qs. This will start the oc4j server.
15. Launch your browser, and login to the MapViewer Home Page:
http://localhost:8888/mapviewer16. Select the “Admin” option, login as oc4jadmin/oc4jadmin.
17. Select Configuration, and under “Predefined Data Sources”, enter the following:
17. Save the above entry. So, the data source will not be deleted when you shut down the server.
18. Close your Map Viewer Home Page (the browser), shutdown (Control-C), and restart start.bat the oc4j server again.
19. Launch again your browser, enter into MapViewer Home Page, and ensure that your data source is available. Login to the admin page, and select DataSources
NOTE: If under datasources, you don’t see your data source, manually, enter the datasource information above, and select “Submit”.
20. Then, select “Manage Map Caches”, select “Create” a new one:
21. Select “Submit”.
22. Go back to “Manage MapViewer”, and select “Geometry Cache”:
Data Source: "mvdemo"23. Go back to “Home”, and test the demos:
Oracle Maps Tutorial–>Running the demos
24. Download from OTN the “new Map Builder desktop application”
“Download the Map Builder kit” the new Map Builder desktop application
25. Unzip Map Builder files under c:\mapbuilder (this will create a new directory called Mapbuilder)
26. To install and launch Map Builder, run the command from the c:\mapbuilder directory:
java -jar mapbuilder.jar
NOTE: You can create a bat file with the above command to launch Map Builder
27. Create a new Map Builder connection using the mvdemo data database connection, previously defined in your database.
28. Test Connection, and if connection is valid, select OK, OK, and you are all set!
(extra – redeploy patch p6453515_10203_GENERIC.zip)