JDeveloper & MapViewer

Hello everybody,
I want to create a jsp page that will send a request in MapViewer and it fails in the next line of code :
<%@ page import="oracle.lbs.mapclient.MapViewer" %>
I know that because every tag library which is related with MapViewer fails.
Where is the MapViewer LBS library located?
Thanks in advance.

When you copied the MapViewer extension into JDev (mvpalette.jar) it sould have also created a library with the classpath set to mapclient.jar. If it did not, you can do it easily yourself:
1) Create a new library and call it something like "Oracle MapViewer"
2) Add the path to mvclient.jar (from your MapViewer deployment) to the classpath
3) Under Tools>Manage Libraries edit the MapViewer JSP Tag Library and add your new library to it (under "Libraries")
That should fix this issue.
-Justin

Similar Messages

  • JDeveloper - MapViewer - Svg

    Hi,
    I'm using mapviewer and svg samples. But I can't work any svg with Embedded OC4J Server. When I work svgmap.jsp in my project, I get a empty map. But if I deploy this project to Standalone OC4J then svg is working. How can I solve this prolem? İs there any idea?
    Sorry for my english.
    Thanks
    Oğuzhan

    Hi,
    I'm using mapviewer and svg samples. But I can't work any svg with Embedded OC4J Server. When I work svgmap.jsp in my project, I get a empty map. But if I deploy this project to Standalone OC4J then svg is working. How can I solve this prolem? İs there any idea?
    Sorry for my english.
    Thanks
    Oğuzhan

  • How to use mapviewer extension for jdevelop?

    I am working on the mapviewer. But my problem is that I can not connect mapviewer, or I can not start mapviewer using the embedded oc4j by jdeveloper. In mapviewer faq I read that:
    "How do I view the mapping metadata through JDeveloper's Connections Navigator?
    We have developed an Oracle JDeveloper extension that lets you browse the available list of styles, themes and basemaps defined in a datasource through JDeveloper's Connections Navigator. To do this, you will first need to download the mvconnection.jar file from OTN's MapViewer site. This jar contains the code that defines a MapViewer connection type for JDeveloper. To install, simply drop this jar file to the JDeveloper extension directory, normally $JDEV_HOME/jdev/lib/ext. Then restart JDeveloper, and you are all set.
    But when I restart jdeveloper, I got the message:
    "H:\Programme\jdev\jdev\lib\ext\mvpalette.jar!\META-INF\jdev-ext.xml
    Error: jar:file:/H:/Programme/jdev/jdev/lib/ext/mvpalette.jar!/META-INF/jdev-ext.xml<Line 105, Column 18>: XSD-2021: (Error) Element not completed: 'jsplibrary'
    H:\Programme\jdev\jdev\lib\ext\mvconnection.jar!\META-INF\jdev-ext.xml
    Error: jar:file:/H:/Programme/jdev/jdev/lib/ext/mvconnection.jar!/META-INF/jdev-ext.xml<Line 25, Column 20>: XSD-2034: (Error) Element 'description' not expected.
    Error: jar:file:/H:/Programme/jdev/jdev/lib/ext/mvconnection.jar!/META-INF/jdev-ext.xml<Line 26, Column 13>: XSD-2034: (Error) Element 'help' not expected.
    I use Jdeveloper 10g. Have you ever met the same problem?
    Thanks in advance

    The Map Viewer extension is still not available for JDeveloper 10g. It works with JDeveloper 9.
    The Mapping group is currently working on an upgrade.

  • Error in Running map from Jdeveloper Weblogic -MAPVIEWER-05523--06036

    Hi,
    I have deployed Mapviewer.ear on an integrated weblogic server and loaded mvdemo sample dataset into my db, and made required changes in map_data_source in mapViewerConfig.xml.
    Now, I am able to run all the demo apps and tutorial. However, when I run the map code(basic map) in a jspx from Jdeveloper, I am getting the below error in a pop-up in the browser.
    "[MVGlobalVariables.getMapCacheConfig]*MAPVIEWER-05523*:Cannot process response from MapViewer server.(MVDEMO.DEMO_MAP:MAPVIEWER-06036: MapTileServer is not read. Please try again later.)"
    In the log, error is "<CacheInstanceConfig> <loadCacheStorageDef> Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory."
    I am using Jdeveloper version 11.1.1.4.
    What could be the issue, esp when demos are running successfully on the same server.

    Ok, so the error comes cause the application is trying to get the tile layer from the server while the Mapviewer server is not ready.
    So make sure you run your application once mapviewer server is up and running.
    Now, for the problem that you get a blank page it is propably a javascript error as mapviewer gives no errors.
    I have made a mistake in the previous post in the HTML section of my code. Give it a try now.
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <title>testMap1</title>
    <script language="Javascript" type="text/javascript" src="/mapviewer/fsmc/jslib/oraclemaps.js"> </script>
    <script type="text/javascript">
    var basemap1 = new MVMapTileLayer("mvdemo.demo_map");
    function showMap()
    //maybe formating is taking away the plus symbols. just make sure the base url is formatted correctly
    var baseURL = "http://" + document.location.host + "/mapviewer";
    var mapCenterLon = -122.45;
    var mapCenterLat = 37.6706;
    var mpoint = MVSdoGeometry.createPoint(mapCenterLon,mapCenterLat,8307);
    var mapZoom = 5;
    var mapview = new MVMapView(document.getElementById("map"), baseURL);
    mapview.addMapTileLayer(basemap1);
    mapview.setCenter(mpoint);
    mapview.setZoomLevel(mapZoom);
    mapview.addNavigationPanel("EAST");
    mapview.display();
    </script>
    </head>
    <body onload="showMap()">
    <div id="map"
    </div>
    </body>
    </html>
    if you still get a blank page. Try using firefox with firebug and see what errors rise up in firebug. You should be able to find out what goes wrong with javascript.
    Edited by: P.T on 17 Μαϊ 2011 5:11 πμ
    Edited by: P.T on 17 Μαϊ 2011 5:15 πμ
    Edited by: P.T on 17 Μαϊ 2011 5:15 πμ

  • How to use a standalone mapviewer in JDeveloper

    Hello everybody,
    I want to use a standalone MapViewer (deployed in a standalone OC4J from MapViewer Quick Start) in JDeveloper.
    How can i do it?

    First of all thanks a lot for your interest !
    What i want to do is to create a jsp page which will use the JSP tag library of Mapviewer.
    The problem appears when i try to run a jsp page in JDeveloper which contain (for example) the init tag.
    To be speceific i try to do what is described in the following link with the difference that i use a standalone mapviewer
    http://www.oracle.com/technology/products/jdev/howtos/10g/map/mv_jdev_howto.htm
    Thanks in advance!

  • Mapviewer in JDeveloper

    Good day!
    I have successfully deployed the mapviewer in my pc using extended oc4j. My next task is to develop a program using JDeveloper with mapviewer. I followed the step-by-step instruction in this tutorial : http://www.oracle.com/technology/products/jdev/howtos/10g/map/mv_jdev_howto.htm.
    My problem is when I ran my program I got these error messages.
    Project: C:\JDev9051\jdev\mywork\WebMap\ViewController\ViewController.jpr
    C:\JDev9051\jdev\mywork\WebMap\ViewController\public_html\webmap.jsp
    Error(10,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(10,190): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(10,102): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(10,28): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(10,40): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(11,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(11,198): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(11,106): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(12,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(12,188): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(12,101): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(13,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(13,200): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(13,107): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    -- what am I missing? any ideas?
    Thanks.

    Hi,
    It is ok, that you can see it in JSP Tag Libraries window. MapViewer.class is in the jdev_home.
    To succesfully build your project with MapViewer Tag Lib do the following:
    A). Check libraries
    1. Tools -> Manage Libraries -> Libraries Window
    2. In User Libraries section you should see MapViewer library entry (for example, Oracle MapViewer) which points to the mvclient.jar
    3. If there is no MapViewer library, then create it
    B). Check tag lib
    4. Switch to the JSP Tag Libraries window
    5. Double click on mapviewer entry
    6. If tag is not associated with MapViewer library (from section A), then associate it. You should see in the 'Libraries (separated by sime-columns)' MapViewer library name (from section A)
    7. Close Manage Libraries window with OK
    C). Final step - check your project
    8. Click on your project in Applications Navigator
    9. With right click choose Project Properties
    10. Then, go to Libraries section
    11. If there is no MapViewer library name from section A in Selected Libraries section, add it
    D). Finally, rebuild must be succesfull
    Regards,
    Andrejus

  • Mapviewer demo mapinit.jsp with svg doesn't work with jdeveloper

    hi ng,
    i tried the source code for the svg-sample in jdeveloper and first of all jdeveloper dislikes the line "<embed id="map" src="<%= mv.getGeneratedMapImageURL() %>...". after "embed" a green line is to be seen.
    When i start the sample the map looks okay, but when i want to hide a theme (or zoom), i get the internet_explorer-message "error on the page".
    "themeVisibleArray[idx]='false';" goes right but the next line occurs the error: "map.window.hideTheme(theme) ;"
    map is not known at this place, it seems to me.
    who can help (please)?
    greetings
    thomas

    hi,
    i still have a problem. i can work on an existing svg-map but not on a just generated svg-map. zoomin2 works.
    here's the code:
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/spatial/mvtaglib.tld" prefix="mapviewer"%>
    <%@ page contentType="text/html;charset=UTF-8"%>
    <%@ page import="java.io.*"%>
    <%@ page import="java.net.*"%>
    <%@ page import="java.util.*"%>
    <%@ page import="oracle.lbs.mapclient.*"%>
    <%@ page import="oracle.lbs.mapcommon.MapResponse"%>
    <%@ page import="java.awt.Dimension"%>
    <%
    String sizeStr = request.getParameter("initsize") ;
    String scaleStr = request.getParameter("scale") ;
    String cxStr = request.getParameter("centerX") ;
    String cyStr = request.getParameter("centerY") ;
    String baseMap = request.getParameter("basemap");
    String _width = request.getParameter("width") ;
    String _height = request.getParameter("height") ;
    String _infoon = request.getParameter("infoon") ;
    String action = request.getParameter("action");
    boolean infoon = false;
    boolean recenter = false ;
    boolean zoomin = false ;
    boolean zoomin2 = false ;
    int width = 600 ;
    int height = 400 ;
    if(_width!=null && _height!=null)
    try
    width = Integer.parseInt(_width) ;
    catch(Exception e){}
    try
    height = Integer.parseInt(_height) ;
    catch(Exception e){}
    if(baseMap==null) baseMap = "demo_map";
    double size = 0.2 ;
    try
    size = Double.parseDouble(sizeStr) ;
    catch(Exception e){}
    double scale = 2 ;
    try
    scale = Double.parseDouble(scaleStr) ;
    catch(Exception e){}
    double cx = -122.2615 ;
    try
    cx = Double.parseDouble(cxStr) ;
    catch(Exception e){}
    double cy = 37.5266 ;
    try
    cy = Double.parseDouble(cyStr) ;
    catch(Exception e){}
    String dataSrc = request.getParameter("datasrc");
    boolean newSession = false;
    // retrieve mapviewer client handle from session
    MapViewer mv = (MapViewer) session.getAttribute("mvhandle");
    boolean sessionExpired = false ;
    if(mv==null || request.getParameter("initflag")!=null)
    if(request.getParameter("initflag")==null)
    sessionExpired = true ;
    else
    //initializes MapViewer bean instance
    newSession = true;
    String mvURL = request.getParameter("mvurl");
    // create a new mapviewer client handle
    mv = new MapViewer(mvURL);
    mv.setDataSourceName(dataSrc);
    mv.setImageFormat(MapResponse.FORMAT_SVGZ_URL);
    /* the javascript function svgClicked will be called when the svg map
    is clicked. svgClicked is defined in this page, it recenters or zoomins
    the map. */
    mv.setSVGOnClick("svgClicked") ;
    /* initial themes (from an existing base map) */
    mv.addThemesFromBaseMap(baseMap);
    mv.setSVGZoomLevels(3);
    /* disable the builtin navigation bar */
    mv.setShowSVGNavBar(false) ;
    mv.setMapTitle(" MAP TITLE ");
    mv.setMapLegend(
    "<legend bgstyle=\"fill:#ffffff;stroke:#ff0000\" profile=\"MEDIUM\" position=\"SOUTH_EAST\">"+
    " <column>"+
    " <entry text=\"Map Legend\" is_title=\"true\" />"+
    " <entry style=\"M.CITY HALL 3\" text=\"cities\" />"+
    " <entry style=\"M.CITY HALL 4\" text=\"big cities\" />"+
    " <entry style=\"L.PH\" text=\"interstate highway\" />"+
    " </column></legend>");
    mv.setDeviceSize(new Dimension(width, height));
    session.setAttribute("mvhandle", mv); // keep client handle in the session
    String themes[] = new String[0] ;
    if(!sessionExpired)
    themes = mv.getThemeNames() ;
    mv.setCenter(cx, cy);
    mv.setSize(size);
    mv.setSVGZoomRatio(scale) ;
    mv.setSVGShowInfo(infoon);
    String[] checkedThemes = request.getParameterValues("_mthemev_");
    if(checkedThemes!=null && checkedThemes.length>0)
    Hashtable checked = new Hashtable(30) ;
    for(int i=0; i<checkedThemes.length; i++)
    checked.put(checkedThemes, checkedThemes[i]) ;
    for(int i=0; i<themes.length; i++)
    if(checked.get(themes[i])!=null)
    mv.setThemeVisibleInSVG(themes[i], true);
    else
    mv.setThemeVisibleInSVG(themes[i], false) ;
    mv.run() ;
    %>
    <html>
    <head>
    <title>untitled</title>
    <%-- <embed id="map" name="map" src="<%= mv.getGeneratedMapImageURL() %>" width="<%= width %>" height="<%= height %>"></embed> --%>
    <%-- src="images/omsmap3_56.svgz" --%>
    <%-- src="<%= mv.getGeneratedMapImageURL() %>" --%>
    <%-- <object name="map" data="images/test_svg.svgz" type="image/svg+xml" width="800" height="600" standby="Warte noch ein Weilchen..."> --%>
    <%-- </object> --%>
    <script type="text/javascript">
    var mapSize = <%= size %> ;
    var scale = <%= scale %> ;
    var width=<%= width%> ;
    var height=<%= height%> ;
    var rcx = <%= cx %> ;
    var rcy = <%= cy %> ;
    var cx = <%= width/2%> ;
    var cy = <%= height/2%> ;
    var disabled = true ;
    // var themeVisibleArray = ...
    var info = <%= infoon %> ;
    var legend = false ;
    var clickZoomin = <%= zoomin %> ;
    var clickRecenter = <%= recenter %> ;
    function zoomin()
    map.window.setZoomRatio(1.1);
    function zoomin2()
    map2.window.setZoomRatio(1.1);
    </script>
    </head>
    <body>
    <P>
    <form method="GET" action="test2.jsp">
    <P>Name:
    <input type="text" size="60" name="name" value="<%= mv.getGeneratedMapImageURL() %>"/>
    <input type="text" size="60" name="datasrc" value="<%= request.getParameter("datasrc") %>"/>
    <input type="text" size="60" name="basemap" value="<%= request.getParameter("basemap") %>"/>
    <input type="text" size="60" name="centerX" value="<%= request.getParameter("centerX") %>"/>
    <input type="text" size="60" name="centerY" value="<%= request.getParameter("centerY") %>"/>
    <input type="text" size="60" name="initsize" value="<%= request.getParameter("initsize") %>"/>
    <input type="text" size="60" name="width" value="<%= request.getParameter("width") %>"/>
    <input type="text" size="60" name="height" value="<%= request.getParameter("height") %>"/>
    <input type="text" size="60" name="type" value="<%= request.getParameter("type") %>"/>
    </P>
    <P>
    <input type="SUBMIT" value="Submit"/>
    </P>
    </form>
    </P>
    <table>
    <tr>
    <td colspan="2">
    <I>URL</I>[<B><%=mv.getGeneratedMapImageURL()%></B>]
    </td>
    </tr>
    </table>
    <%-- images/test_svg.svgz --%>
    <embed src="<%= mv.getGeneratedMapImageURL() %>" name="map" id="map" width="500" height="500" type="image/svg+xml" />
    <embed src="images/test_svg.svgz" name="map2" id="map2" width="500" height="500" type="image/svg+xml" />
    <%-- <embed id="map" src="<%= mv.getGeneratedMapImageURL() %>" width="<%= width %>" height="<%= height %>"></embed> --%>
    <FORM name="form" action="test2.jsp" method="GET" >
    <input type="radio" name="action" value="zoomin" <%= zoomin?"checked":"" %> onclick="zoomin()" ><B>Zoom In</B>
    <input type="radio" name="action2" value="zoomin2" <%= zoomin2?"checked":"" %> onclick="zoomin2()" ><B>Zoom In2</B>
    <input type="hidden" name="width" value="<%=width%>"/>
    <input type="hidden" name="height" value="<%=height%>"/>
    <input type="hidden" id="cx" name="centerX" value=""/>
    <input type="hidden" id="cy" name="centerY" value=""/>
    <input type="hidden" id="size" name="initsize" value=""/>
    <input type="hidden" id="scale" name="scale" value=""/>
    <input type="hidden" id="infoon" name="infoon" value="<%=(infoon?"yes":"no")%>" />
    </FORM>
    <br>
    <P> 
    </P>
    </body>
    </html>

  • Calling Mapviewer from Jdeveloper

    Hello,
    I am trying to call MapViewer from Jdeveloper. I have already used map builder to access my map, but when I try to call MapViewer I got an error message.
    My Code is as follows:
    MapViewer mv = new MapViewer("http://******:8888");
    mv.setDataSourceName("MVDEMO");
    mv.setBaseMapName("CUSTOMER_MAP");
    mv.setMapTitle(" ");
    mv.setImageFormat(MapViewer.FORMAT_PNG_URL);
    mv.setDeviceSize(
    new Dimension(256, 256)
    mv.setCenterAndScale( 0, 0, 25000000);
    mv.setMapRequestSRID(new Integer(8307));
    mv.run();
    The error message i get is:
    cannot find error code
    Server response is:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html lang="en,us">
    <HEAD>
    <TITLE>Welcome to Oracle Containers for J2EE 10g (10.1.3.1.0)</TITLE>
    <META content="text/html; charset=windows-1252" http-equiv=Content-Type>
    <link rel="stylesheet" href="ohs_images/portals.css">
    </HEAD>
    <body bgcolor="#FFFFFF" link="#663300" vlink="#996633" alink="#FF6600" text="#000000">
    <span style="font-size: 1pt;"><img src="ohs_images/space.gif" alt="Skip tabs" height=1 width=1 align="right" border=0></span>
    <!-- tabs -->
    <a name="tabs"></a>
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td rowspan="2" valign="bottom" class="OraLightHeaderSub"><img alt="Oracle Application Server logo" src="ohs_images/9iAShome_banner_2.gif" width="338" height="90"></td>
    <td align="right">
    <table summary="" align=right border=0 cellpadding=0 cellspacing=0>
    <tr>
    <td width=60 align="center" valign="bottom"> </td>
    <td valign=bottom width=60 align="center"> </td>
    </tr>
    <tr align=center valign="top">
    <td width=60 align="center"> </td>
    <td width=60 align="center"> </td>
    </tr>
    </table>
    </td>
    </tr>
    <tr>
    <td align="right" valign="bottom">
    <table summary="" border=0 cellpadding=0 cellspacing=0 height=22>
    <tbody>
    <tr>
    <td align=right noWrap width=16><img alt="selected tab:" height=22 src="tab_files/asytlse.gif" width=14></td>
    <td background="tab_files/blue-content.gif" class=OraNav1Selected width="75">Welcome</td>
    <td align=right noWrap width=12><img alt="" src="tab_files/blue-end.gif"></td>
    <!--<td background="tab_files/green-content.gif" noWrap width="97"> </td>-->
              <td align=right noWrap width=12> </td>
    <td align=right noWrap width=12> </td>
                   <td noWrap width=15> </td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    </table>
    <!-- blue banner -->
    <table summary="" border=0 cellpadding=0 cellspacing=0 width="100%">
    <tbody>
    <tr valign="top">
    <td height=24>
    <table summary="" border=0 cellpadding=0 cellspacing=0 width="100%">
    <tbody>
    <tr>
    <td bgcolor="#336699" noWrap valign=bottom align="left" width="50">  </td>
    <td background="tab_files/asysrtb.gif" height=30 noWrap valign="top"><img alt="" border=0 height=30 src="tab_files/asysrt.gif" width=40></td>
    <td background="ohs_images/rhshadow.gif" height=30 noWrap valign="top" width=10 align="left">
    <img alt="" border=0 height=30 src="tab_files/asylrhs.gif" width=8></td>
    </tr>
    <tr>
    <td background="tab_files/asylttb.gif" noWrap
    valign="top" align="left" width="50" height="16">  </td>
    <td noWrap valign="top" width="600" height="16"><img alt="" border=0 height=16 src="tab_files/asysrb.gif" width=40></td>
    <td align=left valign="top" width=10 height="16"><img alt="" height=1 src="ohs_images/space.gif" width=1></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    </tbody>
    </table>
    <a name="portlets"></a>
    <span style="font-size: 1pt;">
    <img src="ohs_images/space.gif" alt="This page contains the following topics:" border=0>
    <img src="ohs_images/space.gif" alt="Overview" height=1 width=1 border=0>
    <img src="ohs_images/space.gif" alt="Documentation" height=1 width=1 border=0>
    <img src="ohs_images/space.gif" alt="Quick Tour" height=1 width=1 border=0>
    <img src="ohs_images/space.gif" alt="Release Notes" height=1 width=1 border=0>
    <img src="ohs_images/space.gif" alt="Oracle Enterprise Manager" height=1 width=1 border=0>
    <img src="ohs_images/space.gif" alt="New Features" height=1 width=1 border=0>
    </span>
    <!-- main layout table -->
    <div align="left">
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="4" height="426">
    <tr valign="top">
    <!-- left column -->
    <td>
    <div align="left"><img alt="Welcome to Oracle Containers for J2EE" src="ohs_images/welcome_CJ2EE_1.gif" width="347" height="60"><br>
    <br>
    <br>
    </div>
    <a name="grid"></a>
    <table summary="" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="OraHeader" height="25" width="25%">Overview</td>
    <td class="OraGlobalButtonText" height="25" width="75%">
    <div align="right"></div></td>
    <td class="OraGlobalButtonText" colspan="6" width="0%">
    <div align="right"></div>
    </td>
    </tr>
    <tr>
    <td height="1" bgcolor="#CCCC99" colspan="2"><img alt="" src="ohs_images/bisspace.gif" width="1" height="1"></td>
    </tr>
    <tr>
    <td height="142" class="OraInstructionText" width="30%">
    <p align="center"><img alt="" src="ohs_images/art3.gif" width="150" height="200"></p>
    </td>
    <td height="142" class="OraInstructionText" width="70%">
    <p>
    Oracle Containers for J2EE 10g (10.1.3.1.0) is the core
    J2EE runtime component of Oracle Application Server.</p>
    <p>The key values of this release are: </p>
    <ul>
    <li> J2EE 1.4 compatible with additional support for the final EJB 3.0 specification, including JPA 1.0 API</li>
    <li>Extensive Web Services capabilties with support for JAX-RPC,
    WS-I, WS-Security, WS-Reliability</li>
    <li>Industry leading Object-Relational persistence solution with
    Oracle TopLink</li>
    <li>Standards based management and deployment support with Enterprise
    Manager Application Server Control </li>
    <li>Enterprise performance and scalability</li>
    </ul>
    </td>
    </tr>
    </table>
    <a name="doc"></a>
    <table summary="doc" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td class="OraHeader" height="25" width="69%">Documentation</td>
    <td class="OraGlobalButtonText" height="25" width="31%">
    <div align="right"></div></td>
    <td class="OraGlobalButtonText" colspan="6" width="0%">
    <div align="right"></div>
    </td>
    </tr>
    <tr>
    <td height="1" bgcolor="#CCCC99" colspan="2"><img alt="" src="ohs_images/bisspace.gif" width="1" height="1"></td>
    </tr>
    <tr>
    <td height="142" class="OraInstructionText" >
    <p> </p>
    <p>The Configuration and Administration Guide is included within this distribution. <br>It can be be accessed from here (requires Adobe Acrobat reader).</p>
    <p>The full documentation set is available from Oracle Technology Network at http://www.oracle.com/technology/documentation and contains:</p>
    <ul>
    <li>Configuration and Administration guide to help with management of the server</li>
    <li>Deployment guide to help with deployment operations</li>
    <li>Development guides to support the development of J2EE applications
    using JSP, Servlet, and EJB technologies</li>
    <li>Development guides to support the development and deployment of Web Services</li>
    <li>Security and Services guides which describe the standard
    services available such as JNDI and JMS and the comprehensive
    security infrastructure</li>
    </ul>
    </td>
    </tr>
    </table>
    <br>
    <a name="tour"></a>
    </td>
    <!-- column spacer -->
    <td class="OraInstructionText" rowspan="2" width="12">   </td>
    <!-- right column -->
    <td valign="top" width="228" align="left">
    <table summary="" bgcolor="#f7f7e7" border=0 cellpadding=0 cellspacing=0 width=218>
    <tbody>
    <tr>
    <td colspan=3 valign="top"><img alt="" border=0 height=14 src="tab_files/upperbox.gif" width=218></td>
    </tr>
    <tr>
    <td bgcolor="#cccc99"><img alt="" border=0 src="tab_files/asybase.gif" width=1></td>
    <td valign="top"> <a name="new"></a>
    <table summary="" border=0 cellpadding=0 cellspacing=0 width=216>
    <tbody>
    <tr>
    <td valign="middle" colspan="3"><span class=tab3heading>   <img alt="" src="ohs_images/logon_cctitle.gif" width="18" height="18"> <span class="OraHeaderSubSub">
    OC4J Management</span></span><br>
    <table summary="" align=center border=0 cellpadding=0 cellspacing=0
    width="90%">
    <tbody>
    <tr>
    <td bgcolor="#cccc99"><img alt="" height=1 src="tab_files/asybase.gif"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    <td class=OraPortletBodyText>
    <p>OC4J is managed from a browser using Application Server Control.</p>
    <p>Launch Application Server Control</p>
    </td>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    <td align=left bgcolor="#cccc99" width=1><img alt="" border=0 src="tab_files/asybase.gif" width=1> </td>
    </tr>
    <tr>
    <td colspan=3 valign="top" height="2"><img alt="" border=0 height=13 src="tab_files/lowerbox.gif" width=218></td>
    </tr>
    </tbody>
    </table>
    <br>
    <table summary="" bgcolor="#f7f7e7" border=0 cellpadding=0 cellspacing=0 width=218>
    <tbody>
    <tr>
    <td colspan=3 valign="top"><img alt="" border=0 height=14 src="tab_files/upperbox.gif" width=218></td>
    </tr>
    <tr>
    <td bgcolor="#cccc99"><img alt="" border=0 src="tab_files/asybase.gif" width=1></td>
    <td valign="top">
    <a name="relnotes"></a>
    <table summary="" border=0 cellpadding=0 cellspacing=0 width=216>
    <tbody>
    <tr>
    <td colspan="3"><span class=tab3heading>   <img alt="" src="ohs_images/tree_document.gif" width="16" height="16"> <span class="OraHeaderSubSub"><b>OTN
    and Release Notes</b><span class="OraPortletBodyText"></span></span></span><br>
    <table summary="" align=center border=0 cellpadding=0 cellspacing=0
    width="90%">
    <tbody>
    <tr>
    <td bgcolor="#cccc99"><img alt="" height=1 src="tab_files/asybase.gif"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    <td class=OraPortletBodyText><p><span class="OraPortletBodyText">Check the OC4J
    page on OTN for the latest information,
    technical notes and how-to examples.</span></p>
    <p><span class="OraPortletBodyText">Read
    the latest Release Notes on Oracle Technology
    Network for important information about Oracle Containers for J2EE 10g (10.1.3.1.0)</span><br>
    </p></td>
    <td class=OraPortletBodyText width="10">
    <p> </p></td>
    </tr>
    </tbody>
    </table>
    </td>
    <!--width of the bottom - 2 pixel for border - width of the arrow -->
    <td align=left bgcolor="#cccc99" width=1><img alt="" border=0 src="tab_files/asybase.gif" width=1>
    </td>
    </tr>
    <tr>
    <td colspan=3 valign="top" height="2"><img alt="" border=0 height=13 src="tab_files/lowerbox.gif" width=218></td>
    </tr>
    </tbody>
    </table>
    <br>
    <table summary="" bgcolor="#f7f7e7" border=0 cellpadding=0 cellspacing=0 width=218>
    <tbody>
    <tr>
    <td colspan=3 valign="top"><img alt="" border=0 height=14 src="tab_files/upperbox.gif" width=218></td>
    </tr>
    <tr>
    <td bgcolor="#cccc99"><img alt="" border=0 src="tab_files/asybase.gif" width=1></td>
    <td valign="top"> <a name="new"></a>
    <table summary="" border=0 cellpadding=0 cellspacing=0 width=216>
    <tbody>
    <tr>
    <td valign="middle" colspan="3"><span class=tab3heading>   <img alt="" src="ohs_images/relatedapps_cctitle.gif" width="18" height="18"> <span class="OraHeaderSubSub">Quick
    Check</span></span><br>
    <table summary="" align=center border=0 cellpadding=0 cellspacing=0
    width="90%">
    <tbody>
    <tr>
    <td bgcolor="#cccc99"><img alt="" height=1 src="tab_files/asybase.gif"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    <td class=OraPortletBodyText>
    <p>Click on the links below to perform a quick check
    of your installation:</p>
    <ul>
    <li>JSP Test Page</li>
    <li>Servlet Test Page<br>
    </li>
    </ul> </td>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    <td align=left bgcolor="#cccc99" width=1><img alt="" border=0 src="tab_files/asybase.gif" width=1> </td>
    </tr>
    <tr>
    <td colspan=3 valign="top" height="2"><img alt="" border=0 height=13 src="tab_files/lowerbox.gif" width=218></td>
    </tr>
    </tbody>
    </table>
    <br>
    <table summary="" bgcolor="#f7f7e7" border=0 cellpadding=0 cellspacing=0 width=218>
    <tbody>
    <tr>
    <td colspan=3 valign="top"><img alt="" border=0 height=14 src="tab_files/upperbox.gif" width=218></td>
    </tr>
    <tr>
    <td bgcolor="#cccc99"><img alt="" border=0 src="tab_files/asybase.gif" width=1></td>
    <td valign="top"> <a name="new"></a>
    <table summary="" border=0 cellpadding=0 cellspacing=0 width=216>
    <tbody>
    <tr>
    <td valign="middle" colspan="3"><span class=tab3heading>   <img alt="" src="ohs_images/relatedapps_cctitle.gif" width="18" height="18"> <span class="OraHeaderSubSub">Community
    Forums</span></span><br>
    <table summary="" align=center border=0 cellpadding=0 cellspacing=0
    width="90%">
    <tbody>
    <tr>
    <td bgcolor="#cccc99"><img alt="" height=1 src="tab_files/asybase.gif"></td>
    </tr>
    </tbody>
    </table>
    </td>
    </tr>
    <tr>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    <td class=OraPortletBodyText>
    <p>Collaborate with other users of Oracle Containers
    for J2EE by visiting theOC4J on OTN.<br>
    </p>
    </td>
    <td class=OraPortletBodyText width="10">
    <p> </p>
    </td>
    </tr>
    </tbody>
    </table>
    </td>
    <td align=left bgcolor="#cccc99" width=1><img alt="" border=0 src="tab_files/asybase.gif" width=1> </td>
    </tr>
    <tr>
    <td colspan=3 valign="top" height="2"><img alt="" border=0 height=13 src="tab_files/lowerbox.gif" width=218></td>
    </tr>
    </tbody>
    </table> <br>
    </td>
    </tr>
    </table>
    </div>
    <div align="left"> </div>
    <div align="left">
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td width="604"> </td>
    <td rowspan="2" valign="bottom" width="12"><img alt="" src="ohs_images/slieghright.gif" width="12" height="15"></td>
    </tr>
    <tr>
    <td bgcolor="#CCCC99" height="1"><img alt="" src="ohs_images/bisspace.gif" width="1" height="1"></td>
    </tr>
    <tr>
    <td height="5"><img alt="" src="ohs_images/bisspace.gif" width="1" height="1"></td>
    </tr>
    <tr>
    <td align="left" class="OraInstructionText"> </td>
    </tr>
    </table>
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="10">
    <tr>
    <td>
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td align=center colspan=2 class="OraInstructionText"> </td>
    </tr>
    <tr>
    <td class="OraCopyright">Copyright &copy; 2005 Oracle.
    All Rights Reserved.</td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </div>
    </BODY></HTML>
    Exception in thread "main" java.lang.Exception: MapViewer cannot process your map request. Check MapViewer log for details.
         at oracle.lbs.mapclient.MapViewer.processImgURL(MapViewer.java:6962)
         at oracle.lbs.mapclient.MapViewer.run(MapViewer.java:6391)
         at project1.JDBCVersion.main(JDBCVersion.java:80)
    Thanks,
    M

    Thanks,
    I think so, Could you please let me know how I can check if the deployment is done correctly?
    Also is MapViewer mv = new MapViewer("http://localhost:8888") a correct declaration?
    Thanks,
    M
    Edited by: 834943 on Feb 18, 2011 9:16 AM

  • MapViewer / Jdeveloper 10g / Installation

    Hi,
    Just beginning to explore MapViewer and I'm wondering if the embedded OC4J container in Jdeveloper will support exploring MapViewer capabilities, or do I have to install a separate OC4J container to begin.
    Thanks,
    Marie

    It'll work in the embedded OC4J. There are some specific setup steps you have to do. I don't recall them. They were discussed in an earlier post on this discussion forum.

  • Mapviewer Configuration on Jdeveloper

    Hi,
    I have downloaded Mapviewer kit (mapviewer_11ea1.zip) from OTN site. I am trying to develop new web application to render map data stored on oracle spatial using JDeveloper. For now question is where i have to add this mapviewe.ear file into Jdevelpor to get MapViewer bean that is to import oracle.lbs.mapclient.MapViewer. I ma using JDeveloper version 10.1.3
    Thanks,
    Sujnan

    Hi,
    I have followed the following steps to develop new mapviewer application.
    1) First I downloaded mapviewer_11ea1.zip from otn site.
    2) Extracted above file to get mapviewer.ear.
    3) Then again i extracted mapviewer.ear file. Now i got the following jar files
    adf-faces-api.jar
    adf-faces-impl.jar
    adfshare.jar
    chartbuilder.jar
    classgen.jar
    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar
    commons-logging.jar
    jsf-api.jar
    jsf-impl.jar
    jstl.jar
    lbs.jar
    mapcache.jar
    mapviewer.jar
    mvclient.jar
    mvconsole.jar
    mvmbeans.jar
    sdoapi.jar
    sdogr.jar
    sdonm.jar
    sdoutl.jar
    sdovis.jar
    standard.jar
    wmsfilter.jar
    4) Then I added these files into my application library.[By right clicking ViewController->Project properties->Library]
    5) Copied mapViewerConfig.xml into WEB_INF\conf directory
    6) In mapViewerConfig.xml file i have changed the "save_images_at" and "map_data_source" tag
    Now my application is working fine
    But if I remove this mapViewerConfig.xml then my application would not works. It will throw the excption for mapViewer.addThemesFromBaseMap(strBaseMap); saying that Theme list is not found.
    Is these steps are right to develop real time application on oracle spatial and mapviewer?
    Thanks,
    Sujnan

  • MapViewer JDeveloper embedded OC4J installation error

    Hi,
    I downloaded all latest mapviewer.ear and latest OC4J.
    Followed MapviewerUG installation instructions
    After starting OC4J
    using the url http://localhost:8888/mapviewer/
    works well and the demos like jview also works well
    using the url http://localhost:8888/mapviewer/omserver
    however, generates the following error
    &lt;?xml version="1.0" encoding="UTF-8" ?&gt;
    &lt;oms_error&gt;Message:[oms] empty or null xml map request string. Sat Apr 02 14:40:14 IST 2005 Severity: 0 Description: at oracle.lbs.mapserver.oms.getXMLDocument(oms.java:852) at oracle.lbs.mapserver.oms.doPost(oms.java:302) at oracle.lbs.mapserver.oms.doGet(oms.java:234) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:765) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)&lt;/oms_error&gt;
    I also downloaded the latest JDeveloper 10G and JDeveloper extensions and follwed the instructions in the How To Document
    How To Build Dynamic Maps Using JDeveloper 10g and Oracle Application Server MapViewer
    An Oracle JDeveloper How To Document
    Justin Lokitz
    October 2004
    I have no compilation errors but I am not able to view the density map. I am getting the Internal Server Error 500 instead.
    Can anyone please guide me through this.
    Thomas Joseph

    Hi Joao
    Thanks for tip on the log file.
    I have the data loaded.
    Evrything works fine when I use Mapviewer with OC4J and try the jview demo.
    I am however not able to get the example 'How to build Dynamic Maps' running using JDeveloper using the embeded OC4J server.
    The jsp source is as follows
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/spatial/mvtaglib.tld" prefix="mapviewer"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <DIV align="center">
    <P>MapViewer WebMap</P>
    <P>
    <mapviewer:init url="http://localhost:8888/mapviewer/omserver" datasource="mvdemo" id="mvHandle"/>
    </P>
    </DIV>
    <DIV align="center">
    <mapviewer:setParam antialiasing="true" basemap="density_map" centerX="-122.4" centerY="37.8" height="450" size="10" title="MyWebMap" width="600"/>
    <mapviewer:run/>
    </DIV>
    <img src="<mapviewer:getMapURL />"/>
    </body>
    </html>
    There are no comilation errors
    When I run the code I get 500 Internal Server Error.
    The Application2-oc4j-app.log generated is as follows
    05/04/05 20:04:11 Started
    05/04/05 20:05:14 Application2-ViewController-webapp: JDevOJSP: init
    05/04/05 20:05:14 Application2-ViewController-webapp: action: init
    05/04/05 20:05:16 Application2-ViewController-webapp: 9.0.4.0.0 Started
    05/04/05 20:05:28 Application2-ViewController-webapp: Servlet error
    javax.servlet.jsp.JspException: Connection refused: connect
         at oracle.lbs.mapclient.taglib.MapViewerRunTag.doStartTag(MapViewerRunTag.java:123)
         at webmap.jspService(webmap.jsp:17)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:349)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    Please put me on the track. I am not able to figure out what is going wrong.
    Regards
    Thomas Joseph

  • About how to build dynamic maps using jdeveloper 10g and mapviewer

    i follow the guidance (about how to build dynamic maps using jdeveloper 10g and oracle application server mapviewer) to write a jsp file,but error take palce ,i get information "Project: D:\jdev1012\jdev\mywork\WebMap\ViewController\ViewController.jpr
    D:\jdev1012\jdev\mywork\WebMap\ViewController\public_html\WebMap.jsp
    Error(12,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,190): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,102): cannot access class oracle.lbs.mapclient.taglib.MapViewerInitTag; file oracle\lbs\mapclient\taglib\MapViewerInitTag.class not found
    Error(12,28): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(12,40): cannot access class oracle.lbs.mapclient.MapViewer; file oracle\lbs\mapclient\MapViewer.class not found
    Error(13,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,198): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(13,106): cannot access class oracle.lbs.mapclient.taglib.MapViewerSetParamTag; file oracle\lbs\mapclient\taglib\MapViewerSetParamTag.class not found
    Error(14,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,188): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(14,101): cannot access class oracle.lbs.mapclient.taglib.MapViewerRunTag; file oracle\lbs\mapclient\taglib\MapViewerRunTag.class not found
    Error(15,37): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,200): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found
    Error(15,107): cannot access class oracle.lbs.mapclient.taglib.MapViewerGetMapURLTag; file oracle\lbs\mapclient\taglib\MapViewerGetMapURLTag.class not found"
    can you help?
    greetings

    I found a lot of information in document 133682.1 on metalink.
    step by step example how to deploy a JSP business component application.

  • Ann: New MapViewer Extensions for JDeveloper 10g

    We are pleased to annouce the availability of a new MapViewer extension kit for JDeveloper 10g (9.0.5.1 or later versions).
    Please download the kit from the following MapViewer page:
    http://otn.oracle.com/software/products/mapviewer/index.html
    Thanks
    LJ

    Yes currently the extension is strictly a top-level browsing tool with no mapping metadata drill down/editing capabilities.
    Those features are being planned for the next major release of this extension kit, as part of our major effort to rewrite the map definition tool. there is however no ETA yet.

  • WEB BASED MAPPING APPLICATION TO DEVELOP QUERY UTILITY USING MAPVIEWER

    Dear Sir,
    please any one can answer me as soon as possible its very urgent
    WEB BASED MAPPING APPLICATION TO DEVELOP QUERY UTILITY USING MAPVIEWER
    I     As oracle mapviewer Chapter 8 (Oracle Maps) says generating our own Web based mapping application we are trying to generate our own maps for our own data contains in our layers like example boundary lines and roads and etc. and we are following complete example as described in Oracle Mapviewer Document Chapter 8.
    Before this step we tried with demo data downloaded from OTN mvdemo. And we downloaded latest demo today itself from the OTN and imported into our database schema called mvdemo. And we copied all three jar files mvclient and mvconnection and mvpalette into our jdeveloper .
    II.     We created a jsp to execute the following code from oracle mapviewer chapter 8 documents
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/customizable" prefix="cust"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/jwcache.tld"
    prefix="jwcache"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/fileaccess.tld"
    prefix="fileaccess"%>
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/ojsp/jesitaglib.tld"
    prefix="JESI"%>
    <f:view>
    <html>
    <head>
    <META http-equiv="Content-Type" content="text/html" charset=UTF-8>
    <TITLE>A sample Oracle Maps Application</TITLE>
    <script language="Javascript" src="jslib/loadscript.js"></script>
    <script language=javascript>
    var themebasedfoi=null
    function on_load_mapview()
    var baseURL = " http://localhost:8888/mapviewer/omserver";
    // Create an MVMapView instance to display the map
    var mapview = new MVMapView(document.getElementById("map"), baseURL);
    // Add a base map layer as background
    mapview.addBaseMapLayer(new MVBaseMap("mvdemo.demo_map"));
    // Add a theme-based FOI layer to display customers on the map
    themebasedfoi = new MVThemeBasedFOI('themebasedfoi1','mvdemo.customers');
    themebasedfoi.setBringToTopOnMouseOver(true);
    mapview.addThemeBasedFOI(themebasedfoi);
    // Set the initial map center and zoom level
    mapview.setCenter(MVSdoGeometry.createPoint(-122.45,37.7706,8307));
    mapview.setZoomLevel(4);
    // Add a navigation panel on the right side of the map
    mapview.addNavigationPanel('east');
    // Add a scale bar
    mapview.addScaleBar();
    // Display the map.
    mapview.display();
    function setLayerVisible(checkBox){
    // Show the theme-based FOI layer if the check box is checked and
    // hide the theme-based FOI layer otherwise.
    if(checkBox.checked)
    themebasedfoi.setVisible(true) ;
    else
    themebasedfoi.setVisible(false);
    </script>
    </head>
    <body onload= javascript:on_load_mapview() >
    <h2> A sample Oracle Maps Application</h2>
    <INPUT TYPE="checkbox" onclick="setLayerVisible(this)" checked/>Show customers
    <div id="map" style="width: 600px; height: 500px"></div>
    </body>
    </html>
    </f:view>
    <!--
    <html>
    <head>
    <meta http-equiv="Content-Type"
    content="text/html; charset=windows-1252"/>
    <title>mapPage</title>
    </head>
    <body><h:form binding="#{backing_mapPage.form1}" id="form1"></h:form></body>
    </html>
    -->
    <%-- oracle-jdev-comment:auto-binding-backing-bean-name:backing_mapPage--%>
    III.     When we run this jsp it’s giving us following Two errors
    1     Error:     ‘MVMapView’ is undefined
         Code:     0
         URL:     http://192.168.100.149:8988/MapViewerApp-WebProj-context-root/faces/mapPage.jsp
    2     Error:     ‘themebasedfoi’ is null or not an object
         Code:     0
         URL:     http://192.168.100.149:8988/MapViewerApp-WebProj-context-root/faces/mapPage.jsp
    Please let us know what could be problem as soon as possible. Very urgent
    Please let us know where we can find Mapviewer AJAX API’s for Jdeveloper Extention
    Thanks
    Kabeer

    I currently use parameters, and they are passed from the form to the report. Report is then generated based on a function returning ‘strongly typed’ cursor. The ‘strongly typed’ cursor in my case returns a record consisting of an orderly collection of fields.
    This collection of fields is returned by another function that relies on the IF … THEN logic.
    However, the number of IF ... THEN statements is quite large (currently 64 covering all possible combinations of 6 parameters available in the form).
    I would like to avoid the large number of IF … THEN statements, and hope that there is a way of passing a string to a query, where the Dynamic SQL would in Select close and Where close reflect parameters passed by the form.
    In addition to this I would like to avoid creating and populating a table or a view dedicated to the report, because this may lead to a conflict in case of multiple users concurrently generating reports with different choice of parameters.
    Edited by: user6883574 on May 28, 2009 9:16 PM

  • My first map in mapviewer

    Hello everybody,
    I´m very new to mapviewer and to the oracle environment.
    I would like to ask you how can i solve some problems detected on the log file of map viewer in order to write and run my first js code for oracle maps api.
    I correcely installed Oracle 11g R2 on windows 7 ultimate 64bit using the 64bit version, togheter with weblogic server (the most updated jar version), created a single domain called gis-domain and deployed mapviewer1112 version.
    I also create a new mvdemo/mvdemo@orcl and imported the schema for mvdemo files.
    In fact I can connect to my localhost:7001 and see the tutorials and teh demo.
    The problem arrives when I tried to write some code and test it in the web.
    this is the commun error I got in a windows.
    [MVGlobalVariables.getMapCacheConfig] MAPVIEWER-05511: Error occurred when sending request to MapViewer server. ([Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:7001/mapviewer/fsmc/jslib/oraclemaps.js :: anonymous :: line 1514" data: no])
    and the following log:
    31.01.2011 16:38:01 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfig
    AM FEINSTEN:
    Allowed IPs:
    Excluded IPs:
    31.01.2011 16:38:04 oracle.lbs.mapserver.core.MapperConfig registerNSDataProviders
    AM FEINSTEN: Non-Spatial Data Provider registered: defaultNSDP
    31.01.2011 16:38:04 oracle.sdovis.SDataProviderMgr registerProvider
    INFO: Spatial Provider shapefileSDP has been registered.
    31.01.2011 16:38:04 oracle.lbs.mapserver.core.MapperConfig registerSDataProviders
    AM FEINSTEN: Spatial Data Provider registered: shapefileSDP
    31.01.2011 16:38:04 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfig
    AM FEINSTEN: Data source mvdemo will get web user name from: J2EE_USER
    31.01.2011 16:38:08 oracle.sdovis.ds.NativeOracleDataSource <init>
    WARNUNG: I/O-Fehler: The Network Adapter could not establish the connection
    java.sql.SQLRecoverableException: I/O-Fehler: The Network Adapter could not establish the connection
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
         at java.sql.DriverManager.getConnection(DriverManager.java:582)
         at java.sql.DriverManager.getConnection(DriverManager.java:185)
         at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSource.java:152)
         at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:122)
         at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.java:797)
         at oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperConfig.java:1572)
         at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig.java:609)
         at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:363)
         at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:131)
         at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:115)
         at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:300)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
         at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:375)
         at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422)
         at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:686)
         at oracle.net.ns.NSProtocol.connect(NSProtocol.java:246)
         at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1056)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
         ... 16 more
    Caused by: java.net.UnknownHostException: elocation.us.oracle.com
         at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
         at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:850)
         at java.net.InetAddress.getAddressFromNameService(InetAddress.java:1201)
         at java.net.InetAddress.getAllByName0(InetAddress.java:1154)
         at java.net.InetAddress.getAllByName(InetAddress.java:1084)
         at java.net.InetAddress.getAllByName(InetAddress.java:1020)
         at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:117)
         at oracle.net.nt.ConnOption.connect(ConnOption.java:130)
         at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:353)
         ... 21 more
    31.01.2011 16:38:08 oracle.sdovis.ds.NativeOracleDataSource <init>
    WARNUNG: connecting to database using jdbc thin driver...
    31.01.2011 16:38:08 oracle.sdovis.ds.NativeOracleDataSource <init>
    SCHWERWIEGEND: I/O-Fehler: The Network Adapter could not establish the connection
    java.sql.SQLRecoverableException: I/O-Fehler: The Network Adapter could not establish the connection
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
         at java.sql.DriverManager.getConnection(DriverManager.java:582)
         at java.sql.DriverManager.getConnection(DriverManager.java:185)
         at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSource.java:169)
         at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:122)
         at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.java:797)
         at oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperConfig.java:1572)
         at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig.java:609)
         at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:363)
         at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:131)
         at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:115)
         at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:300)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
         at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:375)
         at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422)
         at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:686)
         at oracle.net.ns.NSProtocol.connect(NSProtocol.java:246)
         at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1056)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
         ... 16 more
    Caused by: java.net.UnknownHostException: elocation.us.oracle.com
         at java.net.InetAddress.getAllByName0(InetAddress.java:1158)
         at java.net.InetAddress.getAllByName(InetAddress.java:1084)
         at java.net.InetAddress.getAllByName(InetAddress.java:1020)
         at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:117)
         at oracle.net.nt.ConnOption.connect(ConnOption.java:130)
         at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:353)
         ... 21 more
    31.01.2011 16:38:08 oracle.sdovis.ds.NativeOracleDataSource <init>
    SCHWERWIEGEND: I/O-Fehler: The Network Adapter could not establish the connection
    java.sql.SQLRecoverableException: I/O-Fehler: The Network Adapter could not establish the connection
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:419)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
         at java.sql.DriverManager.getConnection(DriverManager.java:582)
         at java.sql.DriverManager.getConnection(DriverManager.java:185)
         at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSource.java:169)
         at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:122)
         at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.java:797)
         at oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperConfig.java:1572)
         at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig.java:609)
         at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:363)
         at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:131)
         at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:115)
         at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:300)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
         at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:375)
         at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:422)
         at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:686)
         at oracle.net.ns.NSProtocol.connect(NSProtocol.java:246)
         at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1056)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
         ... 16 more
    Caused by: java.net.UnknownHostException: elocation.us.oracle.com
         at java.net.InetAddress.getAllByName0(InetAddress.java:1158)
         at java.net.InetAddress.getAllByName(InetAddress.java:1084)
         at java.net.InetAddress.getAllByName(InetAddress.java:1020)
         at oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:117)
         at oracle.net.nt.ConnOption.connect(ConnOption.java:130)
         at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:353)
         ... 21 more
    31.01.2011 16:38:08 oracle.lbs.mapserver.core.MapperConfig createMappers
    SCHWERWIEGEND: Error creating NativeOracleDataSource.
    31.01.2011 16:38:08 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfig
    WARNUNG: MAPVIEWER-00011: Fehler beim Erstellen einer Map-Datenquelle.(mvdemo)
    31.01.2011 16:38:08 oracle.lbs.mapserver.core.MapperConfig loadConfigFile
    INFO: Map Recycling thread started.
    31.01.2011 16:38:08 oracle.lbs.mapserver.oms$ColdStart run
    INFO: *** Oracle MapViewer started. ***
    31.01.2011 16:38:09 oracle.lbs.foi.FOIServer init
    INFO: *** Oracle Feature of Interest (FOI) Server started. ***
    31.01.2011 16:38:09 oracle.lbs.mapcache.MCSServlet$ColdStart run
    INFO: *** Oracle MapTileServer started. ***
    I tried already many adjustements but I cannot understand what the log tell me.
    Can anyone help me please.
    buendia
    *second round*
    Hello buendia again here,
    after having browsed few discussions and read few article finally my last log looks promising....
    much besser.
    In fact yet I made sure that there is a listener opened and I edited the config file as the blogspot mapviewer suggested, but still I got the same error massage on the screen when I try my simple html file:
    [MVGlobalVariables.getMapCacheConfig] MAPVIEWER-05511: Error occurred when sending request to MapViewer server. ([Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://localhost:7001/mapviewer/fsmc/jslib/oraclemaps.js :: anonymous :: line 1514" data: no])
    and now after having tested my simple USA map and also in JDeveloper the "Geotags" tutorial I got a little bit stacked.
    Can anyone suggest which kind of errors I´m making?
    I´ll attached my log:
    31.01.2011 23:31:22 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfig
    AM FEINSTEN:
    Allowed IPs:
    Excluded IPs:
    31.01.2011 23:31:23 oracle.lbs.mapserver.core.MapperConfig registerNSDataProviders
    AM FEINSTEN: Non-Spatial Data Provider registered: defaultNSDP
    31.01.2011 23:31:23 oracle.sdovis.SDataProviderMgr registerProvider
    INFO: Spatial Provider shapefileSDP has been registered.
    31.01.2011 23:31:23 oracle.lbs.mapserver.core.MapperConfig registerSDataProviders
    AM FEINSTEN: Spatial Data Provider registered: shapefileSDP
    31.01.2011 23:31:23 oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfig
    AM FEINSTEN: Data source mvdemo will get web user name from: J2EE_USER
    31.01.2011 23:31:27 oracle.sdovis.DBSRSStore loadGeodeticSrids
    AM FEINSTEN: Number of geodetic srids loaded: 924.
    31.01.2011 23:31:27 oracle.sdovis.CacheMgr2 init
    INFO: Spatial Data Cache opened. Region=SDOVIS_DATA.
    31.01.2011 23:31:27 oracle.sdovis.CacheMgr2 init
    INFO:      max_cache_size=32 MB.
    31.01.2011 23:31:27 oracle.sdovis.CacheMgr2 createSubRegion
    INFO: sub region sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl created in cache.
    31.01.2011 23:31:27 oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=mvdemo]
    31.01.2011 23:31:27 oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=mvdemo]
    31.01.2011 23:31:27 oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=mvdemo]
    31.01.2011 23:31:27 oracle.lbs.mapserver.core.MapperConfig loadMapCacheServerSettings
    SCHWERWIEGEND: Cannot create default cache root directory: C:\mapviewer\mapviewer.ear\web.war\WEB-INF\conf\mapviewer.ear\web.war\tilecache\
    31.01.2011 23:31:27 oracle.lbs.mapserver.core.MapperConfig loadConfigFile
    INFO: Map Recycling thread started.
    31.01.2011 23:31:27 oracle.lbs.mapserver.oms$ColdStart run
    INFO: *** Oracle MapViewer started. ***
    31.01.2011 23:31:29 oracle.lbs.foi.FOIServer init
    INFO: *** Oracle Feature of Interest (FOI) Server started. ***
    31.01.2011 23:31:29 oracle.sdovis.SRSCache parseAndAdd
    FEINER: Registering srs 32632, isGeodetic=false, unit=METER
    31.01.2011 23:31:29 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
    31.01.2011 23:31:29 oracle.sdovis.SRSCache parseAndAdd
    FEINER: Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
    31.01.2011 23:31:29 oracle.sdovis.SRSCache parseAndAdd
    FEINER: Registering srs 3785, isGeodetic=false, unit=METER
    31.01.2011 23:31:29 oracle.sdovis.SRSCache parseAndAdd
    FEINER: Registering srs 54004, isGeodetic=false, unit=METER
    31.01.2011 23:31:29 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.CUSTOMER_MAP
    31.01.2011 23:31:29 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
    31.01.2011 23:31:29 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.BOZEN
    31.01.2011 23:31:29 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.DEMO_MAP
    31.01.2011 23:31:30 oracle.lbs.mapcache.MCSServlet$ColdStart run
    INFO: *** Oracle MapTileServer started. ***
    31.01.2011 23:31:49 oracle.lbs.mapcache.MCSServlet doPost
    FEINER: [mcs] recevied request: <request type=" ...
    31.01.2011 23:31:49 oracle.lbs.mapcache.MCSServlet doPost
    FEINER: <request type="unknown request type"/>
    31.01.2011 23:31:49 oracle.lbs.mapcache.MCSServlet doPost
    FEINER: [mcs] recevied request: <request type=" ...
    31.01.2011 23:31:49 oracle.lbs.mapcache.MCSServlet doPost
    FEINER: <request type="unknown request type" data_source="MVDEMO"/>
    01.02.2011 00:13:07 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
    01.02.2011 00:13:07 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.BOZEN
    01.02.2011 00:13:07 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.CUSTOMER_MAP
    01.02.2011 00:13:07 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
    01.02.2011 00:13:07 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.DEMO_MAP
    01.02.2011 00:13:08 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
    01.02.2011 00:13:08 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.BOZEN
    01.02.2011 00:13:08 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.CUSTOMER_MAP
    01.02.2011 00:13:08 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
    01.02.2011 00:13:08 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.DEMO_MAP
    01.02.2011 00:14:20 oracle.sdovis.ds.DSUtil createArrayTypes
    INFO: SQL array type created by MapViewer: MV_STRINGLIST
    01.02.2011 00:14:20 oracle.sdovis.ds.DSUtil createArrayTypes
    INFO: SQL array type created by MapViewer: MV_NUMBERLIST
    01.02.2011 00:14:20 oracle.sdovis.ds.DSUtil createArrayTypes
    INFO: SQL array type created by MapViewer: MV_DATELIST
    01.02.2011 00:14:21 oracle.sdovis.DBSRSStore loadGeodeticSrids
    AM FEINSTEN: Number of geodetic srids loaded: 924.
    01.02.2011 00:14:21 oracle.sdovis.CacheMgr2 createSubRegion
    INFO: sub region sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl created in cache.
    01.02.2011 00:14:21 oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=geotags]
    01.02.2011 00:14:21 oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=geotags]
    01.02.2011 00:14:21 oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=geotags]
    01.02.2011 00:14:21 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
    01.02.2011 00:14:21 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.BOZEN
    01.02.2011 00:14:21 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.CUSTOMER_MAP
    01.02.2011 00:14:21 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
    01.02.2011 00:14:21 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.DEMO_MAP
    01.02.2011 00:14:21 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
    01.02.2011 00:14:21 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.BOZEN
    01.02.2011 00:14:21 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.CUSTOMER_MAP
    01.02.2011 00:14:21 oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNUNG: Invalid cache root directory:/scrtach/mvdemomaps\. Cache root directory will be set to default root directory.
    01.02.2011 00:14:21 oracle.lbs.mapcache.cache.MapCache <init>
    INFO: Initialize tile layer MVDEMO.DEMO_MAP
    01.02.2011 01:16:43 oracle.lbs.foi.FOIServlet destroy
    SCHWERWIEGEND: !!! Oracle FOI server destroyed. !!!
    01.02.2011 01:16:43 oracle.lbs.foi.FOIImageRecycleThread run
    FEIN: FOI image recycle thread interrupted.
    01.02.2011 01:16:43 oracle.lbs.foi.FOIImageRecycleThread run
    FEIN: FOI image recyle thread terminated.
    01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperConfig destroy
    FEINER: destroying MapperConfig: connection manager, mapper pool and janitor thread.
    01.02.2011 01:16:43 oracle.lbs.foi.FOIImageRecycleThread run
    FEIN: FOI image recycle thread interrupted.
    01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
    WARNUNG: destroying ALL mapmaker instances.
    01.02.2011 01:16:43 oracle.lbs.foi.FOIImageRecycleThread run
    FEIN: FOI image recyle thread terminated.
    01.02.2011 01:16:43 oracle.sdovis.DBMapMaker clear
    INFO: Clearing in-memory geometry and metadata caches.
    01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
    INFO: Invalidated subregion sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl
    01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
    INFO: Invalidated subregion sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl
    01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
    FEINER: Oracle connection cache for datasource mvdemo is closed
    01.02.2011 01:16:43 oracle.sdovis.ds.NativeOracleDataSource close
    INFO: Closing connection cache:mvdemo_conncache
    01.02.2011 01:16:43 oracle.sdovis.DBMapMaker clear
    INFO: Clearing in-memory geometry and metadata caches.
    01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
    INFO: Invalidated subregion sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl
    01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
    INFO: Invalidated subregion sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl
    01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
    FEINER: Oracle connection cache for datasource mvdemo is closed
    01.02.2011 01:16:43 oracle.sdovis.DBMapMaker clear
    INFO: Clearing in-memory geometry and metadata caches.
    01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
    INFO: Invalidated subregion sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl
    01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
    INFO: Invalidated subregion sdovis_subreg_mvdemo_jdbc:oracle:thin:@localhost:1521:orcl
    01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
    FEINER: Oracle connection cache for datasource mvdemo is closed
    01.02.2011 01:16:43 oracle.sdovis.DBMapMaker clear
    INFO: Clearing in-memory geometry and metadata caches.
    01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
    INFO: Invalidated subregion sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl
    01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
    INFO: Invalidated subregion sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl
    01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
    FEINER: Oracle connection cache for datasource geotags is closed
    01.02.2011 01:16:43 oracle.sdovis.ds.NativeOracleDataSource close
    INFO: Closing connection cache:geotags_conncache
    01.02.2011 01:16:43 oracle.sdovis.DBMapMaker clear
    INFO: Clearing in-memory geometry and metadata caches.
    01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
    INFO: Invalidated subregion sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl
    01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
    INFO: Invalidated subregion sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl
    01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
    FEINER: Oracle connection cache for datasource geotags is closed
    01.02.2011 01:16:43 oracle.sdovis.DBMapMaker clear
    INFO: Clearing in-memory geometry and metadata caches.
    01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
    INFO: Invalidated subregion sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl
    01.02.2011 01:16:43 oracle.sdovis.CacheMgr2 invalidate
    INFO: Invalidated subregion sdovis_subreg_geotags_jdbc:oracle:thin:@localhost:1521:orcl
    01.02.2011 01:16:43 oracle.lbs.mapserver.core.MapperPool destroyAll
    FEINER: Oracle connection cache for datasource geotags is closed
    01.02.2011 01:16:43 oracle.lbs.mapserver.oms destroyMV
    WARNUNG: Oracle MapViewer shut down.
    01.02.2011 01:16:43 oracle.lbs.mapcache.MCSServlet destroy
    SCHWERWIEGEND: !!! Oracle MapTileServer destroyed. !!!
    01.02.2011 01:16:43 oracle.lbs.webmapserver.WMSServletFilter destroy
    SCHWERWIEGEND: !!! Oracle Web Map Server destroyed. !!!
    Thanks again
    Buendia
    Edited by: user8677521 on Feb 1, 2011 3:46 PM

    Hello,
    actually now I can show mvdemo maps and my own mapbuilder generated maps.
    But i´m not so sure if my script is correct now in fact instead to use
    var baseURL = 'http://'+document.location.host+'/mapviewer/';
    I go with
    var baseURL = 'http://localhost:7001/mapviewer/';
    with it set up all is working fine.
    What do you think about it?
    The only thing at the moment that concern me is the rendering of my generated maps.
    In fact I wanted to use a unique shape file from where i created sub classes to show as a series of FOI. But when I want to see those subset on top of my base tyle mapviewer does not work at all get stacked with the clock running.
    I tried to separate previously my file in 8 chunks (8 sub classes...8 FOI) and all works well.
    Do you know a way to fix this endless waiting time!
    Thanks a lot for your help
    Buendia

Maybe you are looking for

  • PC to Mac upgrade of Acrobat X

    When installing Acrobat X Pro (Mac) upgrade, the installation lists only Mac versions to upgrade from and will not accept Windows Acrobat 8 or 9 Pro serial numbers for upgrading from.  The Adobe website does not state this limitation in the upgrade r

  • Simple Port Forwarding Question

    Sorry if this has been asked and answered many times before but I I've been at this for hours and I'm getting nowhere. We have a Cisco 861 router.  I've taken over the IT responsibilities from someone else and I'm just trying to forward TCP/UDP ports

  • Java.io.File

    Hello i created a class that extends java.io.File public Class MyClass extends File After i created instances of MyClass to populate a tree, i want to put a label ans icons for it and i proceed this way: public String getText(Object element) {       

  • N80 - c:\data\installs

    Just been browsing the c:\data\installs folder on my N80 using Y!Browser and seems that this folder holds copies of all the .sis files for every program i have installed on my phone I didnt put them there, the phone must automatically keep a copy whe

  • Web cam freezes after few min in yahoo messenger

    i am having apple macbook in yahoo messneger when i connect with the other party, my picture freezes (with the last image in the window), but I can see and hear the other person im talking with. They can also still hear me, but with a frozen picture.