Mapviewer error

HI!
I have imported the Mapviewer demo(mvdemo.dmp)in my schema, But I keep getting this error
Message
ORA-00942: table or view does not exist
Message
RME-02124: Failed to execute SQL statement: select o.object_name, o.object_type from user_objects o where o.status='INVALID' and exists (select 1 from sdd_reserved_names r where r.rn_res_name=o.object_name and r.rn_type=decode(o.object_type,'PACKAGE BODY','PACKAGE', 'TYPE BODY', 'TYPE', o.object_type)) order by decode(o.object_type,'VIEW',1,'PACKAGE','2','PACKAGE BODY',3,'FUNCTION',4,5)
Cause
An error occurred while executing a SQL statement.
so can any one help me.....!

Hi, can you check the version of the sdovis.jar that should be in your unpacked mapviewer directory $OC4J_HOME/j2ee/home/applications/mapviewer/web/WEB-INF/lib ?
The method is to simply do a command-line:
jar tvf sdovis.jar
and you should see a class with the name Ver904***.class. That should be the version of the jar.
lj

Similar Messages

  • MapViewer error -05523

    I have added a JDBC theme to my map with the following query:
    var baseQuery="select /*+ index(a, LIST_CENTRELINE_I) */ innera.name1, innera.name2, geom " +
    "FROM (SELECT a.PRI_NAME as name1, b.PRI_NAME as name2, sdo_geom.sdo_intersection( a.shape, b.shape, 0.1) geom " +
    "FROM list_centreline a, list_centreline b " +
    "where UPPER(a.pri_name) like UPPER(TRIM(REPLACE('"+ street1+"','%','')) ||' %') " +
    "and UPPER(b.pri_name) like UPPER(TRIM(REPLACE('"+ street2+"','%','')) ||' %') " +
    "and SDO_FILTER(a.shape, b.shape, 'mask=ANYINTERACT querytype = WINDOW') = 'TRUE' " +
    "and a.retired_on is null) innera" ;
    I am getting the values for street1 & street2 from prompt dialogs. This query determines the intersection of two streets.
    When I try to run this in my map I get the mapviewer error-05223 there is some other info as well:
    Root cause:FOIServlet:ORA-13226: interface not supported without a spatial index
    Does anyone know how to overcome this problem?
    Here is the Theme definition:
    var theme = '<themes><theme name="JDBC_THEME_INTERS" >' +
    '<jdbc_query ' +
    'datasource="wms" '+
    'jdbc_srid="28355" ' +
    'spatial_column="geom" '+
    'render_style="'+markerStyle+'">' + baseQuery +
    '</jdbc_query></theme></themes>' ;

    Try defining your dynamic theme to not have the spatial filter appended to the query. Use the parameter "asis" equal to true.
    var theme = '<themes><theme name="JDBC_THEME_INTERS" >' +
    '<jdbc_query ' +
    'datasource="wms" '+
    'jdbc_srid="28355" ' +
    'spatial_column="geom" '+
    'asis="true" ' +
    'render_style="">' + baseQuery +
    '</jdbc_query></theme></themes>' ;
    Joao

  • Mapviewer errors

    hello,
    I want to see geometrics objects stored in an oracle 10g database with mapviewer.
    When I put this query ( in the sample map request ):
    <?xml version="1.0" encoding="UTF-8" ?>
    <map_request datasource="mvdemo" width="640" height="480" format="PNG_STREAM">
    <themes>
    <theme name="t1">
    <jdbc_query spatial_column = "GEOMETRIE" datasource = "mvdemo">
    select geometrie from geo_table;
    </jdbc_query>
    </theme>
    </themes>
    </map_request>
    I have the following errors:
    <?xml version="1.0" encoding="UTF-8" ?>
    <oms_error>Message:null Fri Jun 17 15:19:24 CEST 2005 Severity: 0 Description: Message:null Fri Jun 17 15:19:24 CEST 2005 Severity: 0 Description: Message:[SDOVIS] No spatial data to render! Description: at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1304) at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1399) at oracle.lbs.mapserver.core.RealWorker.generateMapImage(RealWorker.java:568) at oracle.lbs.mapserver.core.RealWorker.process(RealWorker.java:232) at oracle.lbs.mapserver.MapServerImpl.renderMap(MapServerImpl.java:189) at oracle.lbs.mapserver.oms.doPost(oms.java:325) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) 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(Unknown Source)</oms_error>
    Why this error occurs?
    if you know some links which explain the using of mapviewer please send me them.
    Thanks for your helps.
    xjufi

    Omit the semi-colon.
    http://www.oracle.com/technology/products/mapviewer/index.html
    User guide secion 2.3.2
    Demos that are part of the kit

  • Deployment of Custom Mapviewer errors out

    As a post installation step for OUASA Dashboard Package Installation , i am trying to delpoy mapviewer but it errors out with the following message:
    Current Status of your Deployment:
    Deployment command type: undeploy
    Deployment State : failed
    Deployment Message : weblogic.management.ManagementException: [Deployer:149001]No application named 'mapviewer' exists for operation undeploy
    Starting an edit session ...
    Started edit session, please be sure to save and activate your
    changes once you are done.
    deployig mapviewer_ear:::/u03/apptest/Middleware/Oracle_BI1/bifoundation/jee
    No stack trace available.
    This Exception occurred at Tue Feb 12 14:35:47 EST 2013.
    weblogic.management.scripting.ScriptException: Error occured while performing deploy : Could not find Targets that match bi_server1 in null.
    at weblogic.management.scripting.ExceptionHandler.handleException(ExceptionHandler.java:48)
    at weblogic.management.scripting.WLSTUtils.throwWLSTException(WLSTUtils.java:188)
    at weblogic.management.scripting.JSR88DeployHandler.getTMIDs(JSR88DeployHandler.java:319)
    at weblogic.management.scripting.JSR88DeployHandler.deploy(JSR88DeployHandler.java:510)
    This Exception occurred at Tue Feb 12 14:35:47 EST 2013.
    weblogic.management.scripting.ScriptException: Error occured while performing deploy : Unexpected Error: Error occured while performing deploy : Could not find Targets that match bi_server1 in null. : Error occured while performing deploy : Could not find Targets that match bi_server1 in null.

    This issue is possibly specific to the OUASA deployment scripts.

  • Custom Messages for Mapviewer Errors

    Hello,
    I want customize any error message of mapviewer, i.e. Mapviewer-05523: ....
    Mapviewer Version 11p5
    Is it possible?
    Thanks

    It might be possible to edit theses messages (MVMessages) in the oraclemaps.js script file. But I would advise against doing that since you might lose warranty.

  • OBI EE MapViewer Error

    Hi,
    I want to design a map report via Google map on OBI 11.1.1.6.
    When I wanted to import map layer, I had an error about Available Layer. Firstly "loading" message wa appeared but the process finished unsuccessfully. "Bad XML Request." message was appeared.
    Anybody can help me?

    Hi
    the Complete steps for google MAp configuration for obiee 11g is give here
    http://obieelive.blogspot.com/2012/06/map-viewer-configuration-in-obiee.html?utm_source=BP_recent
    Thanks

  • MVMapView.transformGeom and big geometries result in error 05511

    Hello,
    i have a problem with using MVMapView.transformGeom with geometries with many ordinates. When i try to transform such a geometry object i get a Mapviewer error 05511.
    Using Firefox with firebug i could examine the response from the server. It tells me that the Request-URI is too large (414)
    I can also see that the parameters are transfered to the server using GET, so it is no wonder that i get that error.
    Wouldn't it be better to use POST instead of GET to send the geometry to the server?
    I had a deeper look at the oraclemaps.js and found out that for example getLenght or getArea seem to use POST, so i tried to modify transformGeom in the same way, but that didn't work. It still builds a long URI instead of posting a parameter array ( If you look at the request in firebug, you will notice that the POST-TAB is empty. Normally the parameters should appear there, like for example in a getfoi request)
    Now i wonder if there is another way to transform a big geometry.
    Or maybe the transformGeom function can be altered to use POST instead of GET in the next version of mapviewer.
    Regards,
    DIrk

    Yeah, we should have put the request parameters in the request body, not the URL.
    Based on your post, I believe you're capable of fixing it by yourself. What you need to do is to take the request parameters out of the URL, change the method from "GET" to "POST" and send the parameters separately in the request.send call. The line that defines the request URL has "request=cstransform&dstsrid=" in it.
    This is a temporary solution. We'll fix it in our code. Don't do it if you're not sure about what I am talking about.

  • Which OC4J instance to install Mapviewer?

    Is there a specific instance of the OC4J on my 9iAS server that I should install Mapviewer? The way my development environment is setup we already have numerous OC4J instances.
    HTTP Server
    OC4J_BI_Forms
    OC4J_Demos
    OC4J_home
    OC4J_Portal
    OC4J_Wireless
    etc...
    Should I install Mapviewer under one of these instance or create a new OC4J instance? Is there a standard place?
    Thanks!
    -Scott

    There is no 'standard' OC4J instance for MapViewer. So yes you can deploy mapviewer into any of the existing OC4J instances, however the following points may make creating a separate OC4J instance for MapViewer reasonable:
    1. individually config memory usage by MapViewer. if mapviewer will be serving lots of big maps that require fetching a ton of data from DB, then you will need to bump up the memory allocation to the oc4j instance.
    2. the mapviewer error/log messages will not be mixed with logs from other applications.
    3. you can just restart the mapviewer oc4j instance w/o affecting other applications; conversely, if you deploy mapviewer to existing OC4J instances, and when that instance is restarted the mapviewer server will also be restarted.
    LJ

  • Data source cannot be created : MAPVIEWER-00011: Error creating a map data

    Hi everyone,
    i am getting an error meaasge while creating datasource
    " Data source cannot be created : MAPVIEWER-00011: Error creating a map data source."
    pls help

    You should assign only one value to jdbc_sid. Try with this
    <map_data_source name="mvdemo"
    jdbc_host="localhost"
    jdbc_sid="orcl"
    jdbc_port="1521"
    jdbc_user="mvdemo"
    jdbc_password="!mvdemo"
    jdbc_mode="thin"
    number_of_mappers="3"
    allow_jdbc_theme_based_foi="false"
    />
    Make sure that oracle sid is 'ORCL'
    Sujnan

  • ORA 00600 Error when using Mapviewer addJDBCTheme

    Hello
    I am receiveing the 600 error via my OC4J window when using mapviewers addJDBCTheme with the passTthrough boolean set to false (the query is rewitten by mapviewer to limit it to the results to the map view). If I perfrom the same query with passThrough set to true, no problems. I have a feeling this may relate to the index on my table. OC4J output for error below.
    Any ideas appriciated.
    Chris
    Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.lbs.mapserver.oms] request.getRemoteUser = null
    Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.lbs.mapserver.oms] request= <?xml version="1.0" standalone="yes"?>
    <map_request
    datasource="atrium2"
    srid="81989"
    width="500"
    height="500"
    bgcolor="#ffffff"
    antialiase="true"
    format="PNG_URL">
    <center size="800.0">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates>278872.6,187144.0</coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    <themes>
    <theme name="BUIDLING" user_clickable="false" />
    <theme name="BLOCKS" user_clickable="false">
    <jdbc_query
    label_column="mbl_title"
    spatial_column="spat_data"
    label_style="TEXTBLACK"
    render_style="TEST3"
    jdbc_srid="81989"
    datasource="atrium2"
    asis="false">select spat_data, mbl_bka_id, mbl_title from WPE_SPATIAL_BLOCKS_VIEW_10G c
    </jdbc_query>
    </theme>
    </themes>
    </map_request>
    Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.JSDOGeometry] exception while getting srid from a geometry node: For input string: ""
    Tue Aug 09 10:58:38 BST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] getMapper(atrium2) begins...
    Tue Aug 09 10:58:38 BST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] getMapper() succeeded.
    Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.SRS] got srs object for :81989
    Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.lbs.mapserver.core.RealWorker] adding additional themes...
    Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.lbs.mapserver.core.RealWorker] adding a predefined theme BUIDLING
    Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.DBMapMaker] adding predefined theme [name=BUIDLING]
    Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.lbs.mapserver.core.RealWorker] adding a JDBC Theme:
    ThemeDescriptor=
    name=BLOCKS
    type=2
    minScale=Infinity
    maxScale=-Infinity
    srid=81989
    host=null
    sid=null
    port=null
    user=null
    mode=null
    query=select spat_data, mbl_bka_id, mbl_title from WPE_SPATIAL_BLOCKS_VIEW_10G c
    spatialColumn=spat_data
    renderStyleName=TEST3
    labelColumn=mbl_title
    labelStyleName=TEXTBLACK
    renderStyleDef=null
    labelStyleDef=null
    localThem=null
    Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.SRS] *** isGeodetic=false, unit=METER
    Tue Aug 09 10:58:38 BST 2005 DEBUG [oracle.sdovis.DBMapMaker] LoadThemeData running thread: Thread-67
    Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.theme.pgtp] [ BUIDLING ]: 278472.6,186744.0,279272.6,187544.0
    Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.theme.pgtp] [ BUIDLING ]: SELECT ROWID, GEOLOC, 'PRISM_ADM:BROWN_LINE', null, 'null', -1 FROM SPAT_BUILDING WHERE MDSYS.SDO_FILTER(GEOLOC, MDSYS.SDO_GEOMETRY(2003, 81989, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(?, ?, ?, ?)), 'querytype=WINDOW') = 'TRUE'
    Tue Aug 09 10:58:38 BST 2005 DEBUG [oracle.sdovis.DBMapMaker] LoadThemeData running thread: Thread-68
    Tue Aug 09 10:58:38 BST 2005 DEBUG [oracle.sdovis.theme.DGTP] [Master scale] 153.60000000000002 [Theme scale factor] 1.0
    Tue Aug 09 10:58:38 BST 2005 FINEST [oracle.sdovis.theme.DGTP] [DynGeomTheme] rewritten query: SELECT * FROM ( select spat_data, mbl_bka_id, mbl_title from WPE_SPATIAL_BLOCKS_VIEW_10G c ) WHERE MDSYS.SDO_FILTER(spat_data, MDSYS.SDO_GEOMETRY(2003, 81989, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(278472.6,186744.0,279272.6,187544.0)), 'querytype=WINDOW') = 'TRUE'
    Tue Aug 09 10:58:38 BST 2005 DEBUG [oracle.sdovis.theme.pgtp] [ BUIDLING ] sql exec time: 15ms, total time loading 209 features: 125ms.
    Tue Aug 09 10:58:53 BST 2005 WARN [oracle.sdovis.theme.DGTP] java.sql.SQLException: ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [], []
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:242)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:554)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1478)
         at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:969)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2387)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2660)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:777)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:241)
         at oracle.sdovis.Theme.prepareData(Theme.java:174)
         at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1740)
    Tue Aug 09 10:58:53 BST 2005 ERROR [oracle.sdovis.DBMapMaker] Message:null
    Description: Nested exception is:
    java.sql.SQLException: ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [], []
    java.sql.SQLException: ORA-00600: internal error code, arguments: [kdsgrp1], [], [], [], [], [], [], []
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:189)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:242)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:554)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1478)
         at oracle.jdbc.ttc7.TTC7Protocol.fetch(TTC7Protocol.java:969)
         at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2387)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2660)
         at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:777)
         at oracle.sdovis.theme.DynGeomThemeProducer.prepareData(DynGeomThemeProducer.java:241)
         at oracle.sdovis.Theme.prepareData(Theme.java:174)
         at oracle.sdovis.DBMapMaker$LoadThemeData.run(DBMapMaker.java:1740)
    Tue Aug 09 10:58:53 BST 2005 INFO [oracle.sdovis.DBMapMaker] **** time spent on loading features: 15250ms.
    Tue Aug 09 10:58:53 BST 2005 FINEST [oracle.sdovis.RE] xfm: 0.625 0.0 0.0 -0.625 -174045.375 117215.0
    Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.sdovis.VectorRenderer] time to render theme BUIDLING with 209 styled features: 15ms
    Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.sdovis.VectorRenderer] time to render theme BLOCKS with 0 styled features: 0ms
    Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.sdovis.VectorRenderer] time to label theme BLOCKS with 0 styled features: 0ms
    Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.sdovis.VectorRenderer] time to label theme BUIDLING with 209 styled features: 0ms
    Tue Aug 09 10:58:53 BST 2005 INFO [oracle.sdovis.DBMapMaker] **** time spent on rendering: 15ms
    Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] freeMapper() begins...
    Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] preparation time: 16ms
    Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] querying/rendering time: 15265ms
    Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] packing time: 31ms
    Tue Aug 09 10:58:53 BST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] --------------- total time: 15312ms

    Chris,
    Can you run this rewritten query
    SELECT * FROM ( select spat_data, mbl_bka_id, mbl_title from WPE_SPATIAL_BLOCKS_VIEW_10G c ) WHERE MDSYS.SDO_FILTER(spat_data, MDSYS.SDO_GEOMETRY(2003, 81989, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(278472.6,186744.0,279272.6,187544.0)), 'querytype=WINDOW') = 'TRUE'
    in sql*plus without any errors?
    The asumptions is there is a spatial index on spat_data and all the geometries are valid.
    Also there will be a trace file on the db server. That'll give more details on what the likely cause is.
    Jayant

  • 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 πμ

  • MapViewer Html5 API. Error with Variable Pie Chart Style Model

    Hello,
    I have a serious problem related to Variable Pie Chart Style. MapViewer - Mapbuilder version: 11.1.1.7.3.
    [ALERT]  MAPVIEWER_9023:Cannot load style.
        Source: OM.style.StyleStore.parseXMLStyle
    OMS: oracle.mapviewer.share.stylex.VariablePieChartStyleModel cannot be cast to oracle.mapviewer.share.stylex.BucketStyleModel
    In Mapbuilder, I have a geometry theme with rendering style, an advanced variable pie with variable range, style. This is the XML of advanced style:
    <?xml version="1.0" ?>
    <AdvancedStyle>
        <VariablePieChartStyle startradius="5" increment="4">
               <PieSlice name="T004_2009" color="#0033FF"/>
               <PieSlice name="T004_2010" color="#FF0033"/>
               <PieSlice name="T004_2011" color="#33FF00"/>
            <Buckets>
                <RangedBucket seq="0" label="0 - 20%" low="0" high="100000"/>
                <RangedBucket seq="1" label="20 - 40%" low="100001" high="370000"/>
                <RangedBucket seq="2" label="40 - 60%" low="370001" high="1000000"/>
                <RangedBucket seq="3" label="60 - 80%" low="1000001" high="2500000"/>
                <RangedBucket seq="4" label="80 - 100%" low="2500001" high="2.0E7"/>
        </Buckets>
       </VariablePieChartStyle>
    </AdvancedStyle>
    and this is the XML of the theme:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules key_column="ID" caching="NONE">
        <hidden_info>
            <field column="INSTITUTION1" name="Port Name"/>
            <field column="T004_2009_CHAR" name="2009"/>
            <field column="T004_2010_CHAR" name="2010"/>
            <field column="T004_2011_CHAR" name="2011"/>
            <field column="T004_2012_CHAR" name="2012"/>
            <field column="T004_2013_CHAR" name="2013"/>
            <field column="T004_2014_CHAR" name="2014"/>
      </hidden_info>
        <rule column="PASSENGERS_2009,PASSENGERS_2010,PASSENGERS_2011">
            <features style="V.T004_PASSENGERS_VPIE"> (NVL(PASSENGERS_2009, 0) !=0 AND NVL(PASSENGERS_2010,0) != 0 AND NVL(PASSENGERS_2011, 0) != 0) </features>
            <label column="INSTITUTION1" style="T.CITY_NAME_H"> 1 </label>
      </rule>
    </styling_rules>
    When I preview the theme in mapbuilder everything seems fine.
    The problem arises, when I try to add a layer with this theme and style in my map in my APEX (version:4.2.6) application.
    This is the javascript:
    layer = new OM.layer.VectorLayer("layer1",
                def:{
                    type:OM.layer.VectorLayer.TYPE_PREDEFINED,
                    dataSource:ds, theme:themename,
                    url: baseURL
            map.addLayer(layer) ;
    and this is the error I get:
    [ALERT]  MAPVIEWER_9023:Cannot load style.
        Source: OM.style.StyleStore.parseXMLStyle
    OMS: oracle.mapviewer.share.stylex.VariablePieChartStyleModel cannot be cast to oracle.mapviewer.share.stylex.BucketStyleModel
    I' d appreciate any help.
    Thanks in advance,
    Vasso

    Hi,
    You're setting XML data in a JSON model, that's why the binding is incorrect.
    Depending on what your MII transaction is returning, you need to either retrieve the JSON part in the XML, or use a XML Model.
    Regards,
    Tanguy

  • MapViewer tile layer preview error in OBIEE 11.1.1.7

    Some folks have run into an issue when previewing tile layers in the manage tile layers page of MapViewer in obiee 11.1.1.7 (i.e. in the mapviewer deployed on wls in obiee).
    If you get a 500 - internal server error when trying to view map/manage tiles from the Manage Tile Layers page then you have to apply the workaround/fix described in the mapviewer 11.1.1.7 readme
    Known issues =============================================
    - On certain WLS domains (mostly when ADF run-time library is deployed), you
      may see errors when trying to preview tile layers. To fix this issue, modify
    the weblogic.xml descriptor file found in mapviewer.ear's WEB-INF/ folder, and
    uncomment the entry for the jstl 1.2 library as shown below (note the jsf
    section should remain commented-out):
    <library-ref>
      <library-name>jstl</library-name>
      <specification-version>1.2</specification-version>
      </library-ref>
    <!--
    <library-ref>
      <library-name>jsf</library-name>
      <specification-version>2.0</specification-version>
      <exact-match>false</exact-match>
    </library-ref>
    -->

    Hi Cristian,
    You must use '' at script when call some column value. (use '@1' instead of @1)
    Tip.. note you can use your "WebMessage Name" (from your script, like "filling", "machine_filing") into your analisys.
    Hope this help
    Felipe Idalgo

  • Error rendering raster image in OracleAS MapViewer Version: Ver1033p5_B0810

    We have installed Oracle 10g and are in the process of testing it. I've loaded a raster image into MapBuilder and created a table, theme, and base map. The theme and base map display fine in MapBuilder 10.1.3.3 patch 5, but when I try to display it in MapViewer I get the error show in ftp://ftp.mdt.mt.gov/download/raster_error.png.
    I've created a datasource to the 10g database, and a map tile layer for the raster base map. MapTileLayer1.png and
    MapTileLayer2.png on the ftp site identified above show basic settings and coordinate system definition for the tile layer.
    Can anyone suggest why this error is occurring and what I can do to correct the problem. Thanks.

    I have solved this problem. When I created the theme in MapBuilder I set the srid to 262148, but in MapViewer I set it to 41079. Once I fixed this the raster image display fine :(

  • MAPVIEWER RECEIVING ORA-00942 Table or View does not exist ERROR

    I've created a new 10g instance that will store spatial data almost exclusively. SDO Version 10.1.0.2.0. Using an ESRI product (shp2sde), I have inserted a shape file into the database so that it will accessible through ArcSDE or Oracle Spatial, then created the spatial index. The information appears correct in the USER_SDO_GEOM_METADATA table. The spatial layers are accessible via all ESRI products but when I use our Mapviewer JSP application, it encounters an ORA-00942 Table or View Not Found error. The same procedures to insert data were used in a 9i database and a previous 10g database (built from the same CDs as this instance) without a problem. It looks like there is a permissions problem but cannot put my finger on it. The table is owned by a user AREAOFINTEREST and the Mapviewer datasource is connecting as AREAOFINTEREST.

    What are the datasource and theme definitions in your jsp?
    Could you also post the full error stack that should be in the mapviewer log file.
    Jayant

Maybe you are looking for