Oracle Maps FOI server performance

Hi,
We have a production application based on Oracle Mapviewer 10.1.3.1 and Oracle Maps accessible on Internet for our customers.
Sometimes our app shows several 100s of markers and it is like a lazy compared to some internet map applications I reviewed on Internet.
For example: if you click to this Google based solution: http://www.dsl.sk/map/index.php you will get several 100s of markers in just a moment.
Also go to http://www.mapy.cz and zoom in to Prague (PRAHA) to see a lot of markers (bus stops, theaters...) - its amazingly fast.
Our Oracle Maps application shows tiles quite fast but markers very slow.
Is there some other technique ? or Mapviewer performance is so poor?
thanks,
Branislav

Per our recent exchanges on this issue, there is clearly an architectural difference in how things are done typically in google vs oracle maps when dealing with FOIs (well mostly POIs for google maps). In this case with google maps, all the points (their location and associated attributes) are readily available and probably stored as flat files on the web server. The application gets these point data via a simple http GET and then creates/adds all the markers on the map via a client side JavaScript loop. Now if your application has similarly readily available data it can simply use oracle maps to display them as Individual FOIs which are client side generated markers (similar to the google maps approach). This should give you comparable performance.
However typically with oracle maps, our customers run complex SQL queries in the database which then generate result data sets that contain location information plus all the associated attributes. So here the data sets are highly dynamic and not readily available. Often the most time consuming part is the loading/fetching of the result data set from the database to the mid-tier via JDBC, as is the case with your application.
Now there are definitely workarounds like the one I suggested which is to pre-cache all the location-only data in the MapViewer's memory, run the query to get only the business side of data (which has a much smaller footprint compared to spatial result sets). Then use the concept of Non-Spatial Data Provider to join the two data sets in the mid-tier (which is very fast) and display all the FOI images. Sure there are also improvements that can be made in other areas such as better client side handling of large number of FOI/POIs and other optimizations, which we are doing in 11g and I have been testing maps where we are able to display 3000+ POIs on the map within a few seconds.
thanks
LJ

Similar Messages

  • Oracle Web App Server performance problems

    I am evaluating Oracle Web Application Server 3.0 and while
    everything seems to work ok, the performance is noticeably
    slower than Oracle Web Server 1.0 or 2.0. I have narrowed the
    problem down to the access/execution time to a database
    package. In other words, the PL/SQL code I have built does not
    contain any Oracle SQL statements. The package simply builds a
    small web page. If I had to guess, I would say it appears to be
    related to either a log-in to Oracle (which does not take that
    long in a ProC program) or excessive child process creation
    overhead (other programs like Apache handle this just fine). I
    created the package in the www_user account, set a virtual path
    of /test/owa/ to access it and while the page displays
    correctly, it takes about 12 to 13 seconds to do so.
    I'm running Linux on a Dell 400 MHz Pentium II with 1 Gb of
    ram. I have tried changing the cartridge configuration so that
    it starts with 2 processes instead of the default 0. This
    helped some after the first execution of the package (response
    time went from 12 seconds down to about 7). I am running it
    without security on the virtual path (I thought maybe that was
    slowing things down). I tried setting the user sessions to true
    (default was false) and setting a timeout of 1200. None of
    these things helped (nor did they make it any worse).
    On an old HP system (much slower SQLPlus response time than this
    Dell system), web pages fly at a pretty good speed using PL/SQL
    and version 2 of the web server. Except for the actual database
    query time to perform SQL queries, pages display in subsecond
    time frames; not 12 seconds.
    Please give me some idea how to improve the performance.
    Obviously, something is different with 3.0 than the older wrb
    and server.
    Thanks,
    Bob
    [email protected]
    null

    I am evaluating Oracle Web Application Server 3.0 and while
    everything seems to work ok, the performance is noticeably
    slower than Oracle Web Server 1.0 or 2.0. I have narrowed the
    problem down to the access/execution time to a database
    package. In other words, the PL/SQL code I have built does not
    contain any Oracle SQL statements. The package simply builds a
    small web page. If I had to guess, I would say it appears to be
    related to either a log-in to Oracle (which does not take that
    long in a ProC program) or excessive child process creation
    overhead (other programs like Apache handle this just fine). I
    created the package in the www_user account, set a virtual path
    of /test/owa/ to access it and while the page displays
    correctly, it takes about 12 to 13 seconds to do so.
    I'm running Linux on a Dell 400 MHz Pentium II with 1 Gb of
    ram. I have tried changing the cartridge configuration so that
    it starts with 2 processes instead of the default 0. This
    helped some after the first execution of the package (response
    time went from 12 seconds down to about 7). I am running it
    without security on the virtual path (I thought maybe that was
    slowing things down). I tried setting the user sessions to true
    (default was false) and setting a timeout of 1200. None of
    these things helped (nor did they make it any worse).
    On an old HP system (much slower SQLPlus response time than this
    Dell system), web pages fly at a pretty good speed using PL/SQL
    and version 2 of the web server. Except for the actual database
    query time to perform SQL queries, pages display in subsecond
    time frames; not 12 seconds.
    Please give me some idea how to improve the performance.
    Obviously, something is different with 3.0 than the older wrb
    and server.
    Thanks,
    Bob
    [email protected]
    null

  • MV Oracle Maps 10.1.3.1 - Pie Chart BUG

    Hi,
    When using the pie chart in a basemap Oracle Maps Cache server produces multiple same charts within one polygon.
    thanks,
    Branislav

    Hi,
    here please see the flash video of that problem:
    http://www.freewebalbum.com/demo/piechart_bug/piechart_bug.html
    thanks,
    Branislav

  • Oracle Maps - Power of the FOI server

    Hi,
    I have made an example from one of Oracle Maps Demos - I multiplied one of the rows of CUSTOMERS table so I got around 1500 rows = points in the table and I ran Demo.
    I had to wait a bit longer then with generic table (around 200 rows). So my question is:
    If I have 1000 points with the same [x,y] is the FOI server rendering them 1000 times as if they had different coordinates?
    thanks,
    Branislav

    Thank you for quick answering. I thing, Madrid's solution would be the best. When I mentioned Ubuntu, I thought of trying out my "out of the box"-System on that distribution. Generally it should run on every linux. So, usage of an rpm-Package would be limiting.
    Finally, I need that local Oracle database for storage for an demonstrative version of an collaboration system. And it would be handy to have just one directory, that can be removed after the "demonstration" ends. With other words: The installation process should be as uncomplicated as possible.
    Thanks & Greetings
    lemon

  • FOI theme (Oracle Maps) rendering very slow

    I sniffed the network traffic when a FOI theme is rendered on a map. I determined that for each feature of the theme a network request is sent to the server fetching the corresponding marker. Fetching markers has a big impact on the performance.
    I think that fetching the same marker for each feature is not nessary.
    Is there a way (undocumented feature or patch) to avoid this from happening?
    Thanks in advance,
    Jeroen

    Hi,
    Experienced the same issue. I would like to hear from Oracle Maps development team if they are going to do something with it because our Map with active theme is very slow (rendering of markers and also panning the map). Without active markers it's fast.
    thanks,
    Branislav

  • Oracle Maps - How to get selected FOI details?

    When a FOI is added to the map and a user selects the FOI, I would like to retreive the selected details for that FOI.
    Is there anyway to access the FOI details when it is selected? I cant seem to find anything in the object model to help.
    Cheers
    Jansen

    If you are talking about theme based FOI layer, then you should read section 8.4.3.9 of the user's guide. You can add a click event listener and an FOI entry data object that contains detailed FOI attributes will be passed to this event listener.
    If you are talking about user defined FOI, there is no way to retrieve detailed FOI information from the MapView object through the current Oracle Maps API. I guess your goal is to performance some operation using some FOI specific attributes when the user clicks it. You can achieve this goal by using the foi click listener. We have a method to support it, but it's not documented and its name might be changed in future releases.
    The method is FOI.prototype.setFOIClickListener(listenerFunction). The parameter listenerFunction is the listener function that will be called when the user clicks the FOI. Since you can define a FOI specific listener function for each FOI, you can do whatever you want inside it, including performing some FOI specific operations.

  • Font mapping in Oracle 6i Report Server

    Dear All,
    I am creating a report which is required to display the Palatino Linotype font in the PDF format by using the Report Builder in MS Windows XP.
    After deploy to Oracle 6i report server which is running in Solaris, I was facing a problem to generate a PDF report in Palatino font. After a few tries to configure the uifont.ali I'm still failed to get the PDF report to display the font correctly.
    Below is the setting that I had been done, that is under the PDF section I had added in the mapping.
    [ PDF ]
    "Palatino Linotype" = palatino
    #"Times New Roman" = Times
    #"Courier New" = Courier
    #"Times Roman" = Times
    Could anyone help on this. Thanks in Advanced.

    The servlet runs on the server and only call the Reports 6i CGI. It isn't a true servlet in Reports 6i. I configured my servers to run reports 6i as a servlet and it was terrible. It crashed several times. After opening a tar with Oracle, I found that running Reports 6i as a servlet is a waste of time because it still uses the CGI to run the Report.
    Do a search on for a topic of "Configuring Apache Web Server".
    "The recommended way to use a web client in Reports 6i is cgi since 6i Report servlet essentially calls the c-code only inside and does not offer a true servlet based architectural benefit. 9iAS Rel-2 offers a true Servlet based architecture and offers much more performance and scalability gains for the user plus with all the new Reports 9i features."

  • The operation could not be performed because OLE DB provider "OraOLEDB.Oracle" for linked server ...

    Our setup is that we have two databases; a SQL Server 2008 database and an Oracle database (11g). I've got the oracle MTS stuff installed and the Oracle MTS Recovery Service is running. I have DTC configured to allow distributed transactions. All access to the Oracle tables takes place via views in the SQL Server database that go against Oracle tables in the linked server.
    (With regard to DTC config: Checked-> Network DTC Access, Allow Remote Clients, Allow Inbound, Allow Outbound, Mutual Authentication (tried all 3 options), Enable XA Transactions and Enable SNA LU 6.2 Transactions. DTC logs in as NT AUTHORITY\NetworkService)
    Our app is an ASP.NET MVC 4.0 app that calls into a number of WCF services to perform database work. Currently the web app and the WCF service share the same app pool (not sure if it's relevant, but just in case...)
    Some of our services are transactional, others are not.
    Each WCF service that is transactional has the following attribute on its interface:
    [ServiceContract(SessionMode=SessionMode.Required)]
    and the following attribute on the method signatures in the interface:
    [TransactionFlow(TransactionFlowOption.Allowed)]
    and the following attribute on every method implementations:
    [OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)]
    In my data access layer, all the transactional methods are set up as follows:
    using (IDbConnection conn = DbTools.GetConnection(_configStr, _connStr))
    using (IDbCommand cmd = DbTools.GetCommand(conn, "SET XACT_ABORT ON"))
    cmd.ExecuteNonQuery();
    using (IDbCommand cmd = DbTools.GetCommand(conn, sql))
    ... Perform actual database work ...
    Services that are transactional call transactional DAL code. The idea was to keep the stuff that needs to be transactional (a few cases) separate from the stuff that doesn't need to be transactional (~95% of the cases).
    There ought not be cases where transactional and non-transactional WCF methods are called from within a transaction (though I haven't verified this and this may be the cause of my problems. I'm not sure, which is part of why I'm asking here.)
    As I mentioned before, in most cases, this all works fine.
    Periodically, and I cannot identify what initiates it, I start getting errors. And once they start, pretty much everything starts failing for a while. Eventually things start working again. Not sure why... This is all in a test environment with a single user.
    Sometimes the error is:
    Unable to start a nested transaction for OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLSERVERNAME". A nested transaction was required because the XACT_ABORT option was set to OFF.
    This message, I'm guessing is happening when I have non-transactional stuff within transactions, as I'm not setting XACT_ABORT in the non-transactional code (that's totally doable, if that will fix my issue).
    Most often, however, the error is this:
    System.Data.SqlClient.SqlException (0x80131904): The operation could not be performed because OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLSERVERNAME" was unable to begin a distributed transaction.
    Now, originally we only had transactions on SQL Server tables and that all worked fine. It wasn't until we added transaction support for some of the Oracle tables that things started failing. I know the Oracle transactions work. And as I said, most of the time, everything is just hunky dorey and then sometimes it starts failing and keeps failing for a while until it decides to stop failing and then it all works again.
    I noticed that our transactions didn't seem to have a DistributedIdentifier set, so I added the EnsureDistributed() method from this blog post: http://www.make-awesome.com/2010/04/forcibly-creating-a-distributed-net-transaction/
    Instead of a hardcoded Guid (which seemed to cause a lot of problems), I have it generating a new Guid for each transaction and that seems to work, but it has not fixed my problem. I'm wondering if the lack of a DistribuedIdentifier is indicative of some other underlying problem. I've never dealt with an environment quite like this before, so I'm not sure what is "normal".
    I've also noticed that the DistributedIdentifier doesn't get passed to WCF. From the client, I have a DistributedIdentifier and a LocalIdentifier in Transaction.Current.TransactionInformation. In the WCF server, however there is only a LocalIdentifier set and it is a different Guid from the client side (which makes sense, but I would have expected the DistributedIdentifier to go across).
    So I changed the wait the code above works and instead, on the WCF side, I call a method that calls Transaction.Current.EnlistDurable() with the DummyEnlistmentNotification class from the link above (though with a unique Guid for each transaction instead of the hardcoded guid in the link). I now havea  DistributedIdentifier on the server-side, but it still doesn't fix the problem.
    It appears that when I'm in the midst of transactions failing, even after I shut down IIS, I'm unable to get the DTC service to shutdown and restart. If I go into Component Services and change the security settings, for example, and hit Apply or OK, after a bit of a wait I get a dialgo that says, "Failed ot restart the MS DTC serivce. Please examine the eventlog for further details."
    In the eventlog I get a series of events:
    1 (from MSDTC): "The MS DTC service is stopping"
    2 (From MSSQL$SQLEXPRESS): "The connection has been lost with Microsoft Distributed Transaction Coordinator (MS DTC). Recovery of any in-doubt distributed transactions
    involving Microsoft Distributed Transaction Coordinator (MS DTC) will begin once the connection is re-established. This is an informational
    message only. No user action is required."
    -- Folowed by these 3 identical messages
    3 (from MSDTC Client 2): 'MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system GCOVA38.'
    4 (from MSDTC Client 2): 'MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system GCOVA38.'
    5 (from MSDTC Client 2): 'MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system GCOVA38.'
    6 (From MSDTC 2): MSDTC started with the following settings: Security Configuration (OFF = 0 and ON = 1):
    Allow Remote Administrator = 0,
    Network Clients = 1,
    Trasaction Manager Communication:
    Allow Inbound Transactions = 1,
    Allow Outbound Transactions = 1,
    Transaction Internet Protocol (TIP) = 0,
    Enable XA Transactions = 1,
    Enable SNA LU 6.2 Transactions = 1,
    MSDTC Communications Security = Mutual Authentication Required, Account = NT AUTHORITY\NetworkService,
    Firewall Exclusion Detected = 0
    Transaction Bridge Installed = 0
    Filtering Duplicate Events = 1
    This makes me wonder if there's something maybe holding a transaction open somewhere?

    The statement executed from the sql server. (Installed version sql server 2008 64 bit standard edition SP1 and oracle 11g 64 bit client), DTS enabled
    Below is the actual sql statement issued
    SET XACT_ABORT ON
    BEGIN TRAN
    insert into XXX..EUINTGR.UPLOAD_LWP ([ALTID]
              ,[GRANT_FROM],[GRANT_TO],[NO_OF_DAYS],[LEAVENAME],[LEAVEREASON],[FROMHALFTAG]
              ,[TOHALFTAG] ,[UNIT_USER],[UPLOAD_REF_NO],[STATUS],[LOGINID],[AVAILTYPE],[LV_REV_ENTRY])
              values('IS2755','2010-06-01',
    '2010-06-01','.5',     'LWOP'     ,'PERSONAL'     ,'F',     'F',     'EUINTGR',
    '20101',1,1,0,'ENTRY')
    rollback TRAN
    OLE DB provider "ORAOLEDB.ORACLE" for linked server "XXX" returned message "New transaction cannot enlist in the specified transaction coordinator. ".
    Msg 7391, Level 16, State 2, Line 3
    The operation could not be performed because OLE DB provider "ORAOLEDB.ORACLE" for linked server "XXX" was unable to begin a distributed transaction.
    Able to execute the above statement successfully without using transaction.We need to run the statement with transaction.

  • Dynamic FOI in Oracle Maps

    Hi!!
    I´m trying to use in the Oracle Maps a theme based FOI setting parameters dinamically,
    to show some features, according to the user preference. But, what I obtain is zero or all
    features.
    I changed the code in tutorial to our specific names, except that the in tutorial the names
    of cities are VARCHAR and I use an attribute named ID_TIPO which is NUMBER.
    The resulting code is below:
    var list=document.getElementById("idlist");
    var parameters="";
    for (var i=1;i<list.options.length;i++ )
    parameters=parameters+list.options.value+",";
    if (parameters.length>0)
    parameters=parameters.substring(0,parameters.length-1);
    var marrayPara = new ArrayParameter(parameters,'sarray','tipos_list');
    var themebasedfoi=mapview.getThemeBasedFOI("themebasedfoi1");
    if (themebasedfoi==null)
    themebasedfoi = new MVThemeBasedFOI('themebasedfoi1','mapoteca.TESTE');
    themebasedfoi.setQueryParameters(marrayPara);
    themebasedfoi.setBringToTopOnMouseOver(true);
    mapview.addThemeBasedFOI(themebasedfoi);
    else
    themebasedfoi.setQueryParameters(marrayPara);
    themebasedfoi.setBringToTopOnMouseOver(true);
    themebasedfoi.refresh() ;
    Tipos_list is defined as
    create or replace type tipos_list as table of number(38);
    The theme is defined as
    <styling_rules>
    <rule column="ID_TIPO">
    <features style="V.SHAPES_METADADOS"> (id_tipo in (select column_value from table(:1)))) </features>
    </rule>
    </styling_rules>
    In
    var marrayPara = new ArrayParameter(parameters,'sarray','tipos_list');
    what is the meaning of the 2nd parameter?
    Xks.
    Oscar

    You should use 'narray' as the second parameter in the ArrayParameter constructor. 'sarray' means the array is a VARRAY of VARCHAR2. 'narray' means the array is a VARRAY of NUMBER. I know that ArrayParameter is missing from the API doc. It's our fault. Here is the description that we forgot to include in the API doc.
    ArrayParameter(<String> array,<String> elementType, <String> sqlType)
    Parameters:
    array - a string that specifies the value of the array parameter. If the binding parameter is a number array, it should be specified in the form of num1,num2,...,numN. If the binding variable is a string array, it should be specified in the form of "str1", "str2", ...,"strN". The double quote " inside a string element must be escaped as \". A number array example: 1,2,3,4,5. A string array example: "abc","dadf","asdf\"asdf".
    elementType - a string that specifies the type of the array elements. It can be either "narray" (number array) or "sarray" (string array).
    sqlType - a string that specifies the name of SQL VARRAY type corresponding to the array parameter.
    Returns:
    The newly created ArrayParameter FOI object.

  • Can't display Georaster in Oracle Maps

    Please help!
    I'm trying to display a georaster in Oracle Maps, without success. The georasters in question display normally in PCI's Focus, eSpatial's iSMART, and MapBuilder preview, but nothing is display in Oracle Maps.
    I have copied jai_codec.jar, jai_core.jar, jai_imageio-1.1.2.jar into
    D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\lib. I don't get any errors in mapviewer.log set to finest (appended to bottom of post).
    I'm using AS 10.1.3.1.0, MapViewer 10.1.3.1 from patch 6453515, and the 10.1.0.3.1 enterprise database.
    In Oracle Maps I have this code:
         foi = new MVThemeBasedFOI('MOSAIC2','MOSAIC2');
         this.mapview.addThemeBasedFOI(foi);
    The georaster has spatial extents:
    SQL> SELECT g.GEORASTER.spatialextent FROM MOSAICS g WHERE g.MOSAICID=2;
    GEORASTER.SPATIALEXTENT(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO,
    SDO_GEOMETRY(2003, 8307, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1), SDO_ORDINATE_ARRAY(-83.5357, 31.4825, -83.5357, 31.472635, -83.5357, 31.462765, -83.52891, 31.462765, -83.522115, 31.462765, -83.522115, 31.472635, -83.522115, 31.4825, -83.52891, 31.4825, -83.5357, 31.4825))
    The spatial extent is in USER_SDO_GEOM_METADATA and is indexed:
    SQL> select * from USER_SDO_GEOM_METADATA where TABLE_NAME='MOSAICS';
    TABLE_NAME
    COLUMN_NAME
    DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
    SRID
    MOSAICS
    GEORASTER.SPATIALEXTENT
    SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -180, 180, .0005), SDO_DIM_ELEMENT('Y', -90, 90, .0005))
    8307
    The georaster has metadata:
    select TO_CLOB(m.GEORASTER.METADATA) from MOSAICS m where m.MOSAICID=2;
    <georasterMetadata xmlns="http://xmlns.oracle.com/spatial/georaster">
    <objectInfo>
    <rasterType>21001</rasterType>
    <isBlank>false</isBlank>
    <defaultRed>1</defaultRed>
    <defaultGreen>2</defaultGreen>
    <defaultBlue>3</defaultBlue>
    </objectInfo>
    <rasterInfo>
    <cellRepresentation>UNDEFINED</cellRepresentation>
    <cellDepth>8BIT_U</cellDepth>
    <totalDimensions>3</totalDimensions>
    <dimensionSize type="ROW">
    <size>3947</size>
    </dimensionSize>
    <dimensionSize type="COLUMN">
    <size>2717</size>
    </dimensionSize>
    <dimensionSize type="BAND">
    <size>3</size>
    </dimensionSize>
    <ULTCoordinate>
    <row>0</row>
    <column>0</column>
    <band>0</band>
    </ULTCoordinate>
    <blocking>
    <type>REGULAR</type>
    <totalRowBlocks>8</totalRowBlocks>
    <totalColumnBlocks>6</totalColumnBlocks>
    <totalBandBlocks>3</totalBandBlocks>
    <rowBlockSize>512</rowBlockSize>
    <columnBlockSize>512</columnBlockSize>
    <bandBlockSize>1</bandBlockSize>
    </blocking>
    <interleaving>BIP</interleaving>
    <pyramid>
    <type>DECREASE</type>
    <resampling>NN</resampling>
    <maxLevel>5</maxLevel>
    </pyramid>
    <compression>
    <type>NONE</type>
    </compression>
    </rasterInfo>
    <spatialReferenceInfo>
    <isReferenced>true</isReferenced>
    <isRectified>true</isRectified>
    <SRID>8307</SRID>
    <spatialResolution dimensionType="X">
    <resolution>5e-006</resolution>
    </spatialResolution>
    <spatialResolution dimensionType="Y">
    <resolution>5e-006</resolution>
    </spatialResolution>
    <modelCoordinateLocation>UPPERLEFT</modelCoordinateLocation>
    <modelType>FunctionalFitting</modelType>
    <polynomialModel rowOff="0" columnOff="0" xOff="0" yOff="0" zOff="0" rowScale="1" columnScale="1" xScale="1" yScale="1"
    zScale="1">
    <pPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>6296500.000000001 0 -200000</polynomialCoefficients>
    </pPolynomial>
    <qPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
    <polynomialCoefficients>1</polynomialCoefficients>
    </qPolynomial>
    <rPolynomial pType="1" nVars="2" order="1" nCoefficients="3">
    <polynomialCoefficients>16707140 200000 0</polynomialCoefficients>
    </rPolynomial>
    <sPolynomial pType="1" nVars="0" order="0" nCoefficients="1">
    <polynomialCoefficients>1</polynomialCoefficients>
    </sPolynomial>
    </polynomialModel>
    </spatialReferenceInfo>
    <layerInfo>
    <layerDimension>BAND</layerDimension>
    <subLayer>
    <layerNumber>1</layerNumber>
    <layerDimensionOrdinate>0</layerDimensionOrdinate>
    <layerID>Not Specified</layerID>
    </subLayer>
    <subLayer>
    <layerNumber>2</layerNumber>
    <layerDimensionOrdinate>1</layerDimensionOrdinate>
    <layerID>Not Specified</layerID>
    </subLayer>
    <subLayer>
    <layerNumber>3</layerNumber>
    <layerDimensionOrdinate>2</layerDimensionOrdinate>
    <layerID>Not Specified</layerID>
    </subLayer>
    </layerInfo>
    </georasterMetadata>
    Nothing displays at any zoom level in Oracle Maps.
    The georaster has pyramids generated by:
    DECLARE
    gr sdo_georaster;
    BEGIN
    SELECT georaster INTO gr
    FROM MOSAICS WHERE MOSAICID = 2 FOR UPDATE;
    sdo_geor.deletePyramid(gr);
    sdo_geor.generatePyramid(gr, 'rLevel=5, resampling=NN');
    UPDATE MOSAICS SET georaster = gr WHERE MOSAICID = 2;
    COMMIT;
    END;
    The georaster validates:
    SQL> select sdo_geor.validateGeoraster(a.georaster),sdo_geor.schemaValidate(a.ge
    oraster) from MOSAICS a where MOSAICID=2;
    SDO_GEOR.VALIDATEGEORASTER(A.GEORASTER)
    SDO_GEOR.SCHEMAVALIDATE(A.GEORASTER)
    TRUE
    TRUE
    Thanks very much for any suggestions!
    -Bruce
    mapviewer.log from a session, set to "FINEST"
    Jan 25, 2008 5:24:16 PM oracle.lbs.mapserver.core.MapperConfig loadMapViewerConfig
    FINEST:
    Allowed IPs:
    Excluded IPs:
    Jan 25, 2008 5:24:16 PM oracle.sdovis.GlobalVisContext <clinit>
    WARNING: will use 96 as default dpi.
    Jan 25, 2008 5:24:16 PM oracle.lbs.mapserver.core.MapperConfig registerNSDataProviders
    FINEST: Non-Spatial Data Provider registered: defaultNSDP
    Jan 25, 2008 5:24:16 PM oracle.sdovis.SDataProviderMgr registerProvider
    INFO: Spatial Provider shapefileSDP has been registered.
    Jan 25, 2008 5:24:16 PM oracle.lbs.mapserver.core.MapperConfig registerSDataProviders
    FINEST: Spatial Data Provider registered: shapefileSDP
    Jan 25, 2008 5:24:17 PM oracle.sdovis.SRS <clinit>
    INFO: Using 96 as default dpi.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.DBSRSCache loadGeodeticSrids
    FINEST: Number of geodetic srids loaded: 748.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.CacheMgr2 init
    INFO: Spatial Data Cache opened. Region=SDOVIS_DATA.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.CacheMgr2 init
    INFO:      max_cache_size=32 MB.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.CacheMgr2 createSubRegion
    INFO: sub region sdovis_subreg_mvdemo_jdbc:oracle:thin:@jmsdb5:1521:jmsdb created in cache.
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=mvdemo]
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=mvdemo]
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=mvdemo]
    Jan 25, 2008 5:24:18 PM oracle.sdovis.DBSRSCache loadGeodeticSrids
    FINEST: Number of geodetic srids loaded: 130.
    Jan 25, 2008 5:24:18 PM oracle.sdovis.CacheMgr2 createSubRegion
    INFO: sub region sdovis_subreg_grim_jdbc:oracle:thin:@odm2:1521:odm2 created in cache.
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=grim]
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=grim]
    Jan 25, 2008 5:24:18 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=grim]
    Jan 25, 2008 5:24:19 PM oracle.sdovis.DBSRSCache loadGeodeticSrids
    FINEST: Number of geodetic srids loaded: 130.
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=wms]
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=wms]
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.core.MapperPool addMapper
    INFO: added a mapper instance to the pool [data src=wms]
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.core.MapperConfig loadConfigFile
    INFO: Map Recycling thread started.
    Jan 25, 2008 5:24:19 PM oracle.lbs.mapserver.oms$ColdStart run
    INFO: *** Oracle MapViewer started. ***
    Jan 25, 2008 5:24:20 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/private/scratch\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:20 PM oracle.sdovis.DBSRSCache register
    INFO: Loading SRS information from MDSYS.cs_srs (srid=8307).
    Jan 25, 2008 5:24:20 PM oracle.sdovis.DBSRSCache parseAndAdd
    FINER: Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/scratch/mapcache\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:21 PM oracle.sdovis.DBSRSCache register
    INFO: Loading SRS information from MDSYS.cs_srs (srid=8307).
    Jan 25, 2008 5:24:21 PM oracle.sdovis.DBSRSCache parseAndAdd
    FINER: Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\grim.USGS_DOQ.jar
    Jan 25, 2008 5:24:21 PM oracle.lbs.foi.FOIServer init
    INFO: *** Oracle Feature of Interest (FOI) Server started. ***
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\grim.USGS_DRG.jar
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:21 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\grim.USGS_URBAN.jar
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/scratch/mapcache\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.sdovis.DBSRSCache register
    INFO: Loading SRS information from MDSYS.cs_srs (srid=8307).
    Jan 25, 2008 5:24:22 PM oracle.sdovis.DBSRSCache parseAndAdd
    FINER: Registering srs 8307, isGeodetic=true, unit=DECIMAL DEGREE
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\wms.USGS_DOQ.jar
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\wms.USGS_DRG.jar
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadAdapterClass
    INFO: D:\APPSVR\j2ee\MapViewer\applications\MapViewer10131\web\WEB-INF\mapcache\adapterlibs\wms.USGS_URBAN.jar
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/scratch/mapcache\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/private/scratch\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:/scratch/mapcache\. Cache root directory will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.config.CacheInstanceConfig loadCacheStorageDef
    WARNING: Invalid cache root directory:D:APPSVRj2eeMapViewerapplicationsMapViewer10131webmapcache\. Cache root directory
    will be set to default root directory.
    Jan 25, 2008 5:24:22 PM oracle.lbs.mapcache.MCSServlet$ColdStart run
    INFO: *** Oracle MapCacheServer started. ***
    Jan 25, 2008 5:26:21 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:21 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:22 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:22 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:22 PM oracle.lbs.mapcache.MCSServlet doPost
    FINER: <request type="unknown request type" data_source="MVDEMO"/>
    Jan 25, 2008 5:26:59 PM oracle.lbs.foi.FOIServlet dumpURLParams
    FINEST: Servlet URL parameters (/foi):
    [width] [2048]
    [height] [1536]
    [theme] [grim.MOSAIC2]
    [dstsrid]
    [8307]
    [cachefoi] [yes]
    [bbox] [-84.1257287289893:30.988239674744463:-82.76821692338207:32.006373528949894]
    [request] [getfoi]
    [area] [no]
    [clickable] [yes]
    [version] [1.0]
    End of servlet URL parameters (/foi).
    Jan 25, 2008 5:26:59 PM oracle.lbs.foi.FOIServlet doPost
    FINEST: user making foi request: null
    Jan 25, 2008 5:26:59 PM oracle.lbs.mapserver.core.MapperPool getMapper
    FINER: getMapper(grim) begins...
    Jan 25, 2008 5:26:59 PM oracle.lbs.mapserver.core.MapperPool getMapper
    FINER: getMapper() succeeded.
    Jan 25, 2008 5:26:59 PM oracle.sdovis.DBMapMaker addPredefinedTheme
    FINEST: adding predefined theme [name=MOSAIC2]
    Jan 25, 2008 5:26:59 PM oracle.sdovis.ThemeTable getCommonAttributes
    FINEST: key_column using default: ROWID
    Jan 25, 2008 5:26:59 PM oracle.sdovis.ThemeTable getGeoRasterTheme
    FINER: Operation name: normalize
    Jan 25, 2008 5:26:59 PM oracle.sdovis.LoadThemeData run
    FINER: LoadThemeData running thread: Thread-37
    Jan 25, 2008 5:26:59 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: Theme definition SRID: 8307
    Jan 25, 2008 5:26:59 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Original query window: -84.1257287289893,30.988239674744463,-82.76821692338207,32.006373528949894
    Jan 25, 2008 5:26:59 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: [Query] select grt.GEORASTER from MOSAICS grt where grt.GEORASTER.rasterid = ?
    Jan 25, 2008 5:26:59 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Fetch size: 10
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: Data SRID: 8307
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer isDataWithinScale
    FINER: [Master scale] 0.06363336588783941 [Scale factor for theme MOSAIC2] 1.0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer isDataWithinScale
    INFO: Screen resolution: 0.0027150236112144814
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: ULT offset: 0,0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getSpatialResolution
    FINEST: Res X: 5.000000001587068E-6 Res Y: 5.000000001587068E-6 Pyramidlevel: 0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: Upper Left Model Coordinate: -83.5357 , 31.4825
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getSpatialResolution
    FINEST: Res X: 5.000000001587068E-6 Res Y: 5.000000001587068E-6 Pyramidlevel: 0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getPyramidLevel
    FINEST: Pyramid level: 5 GeoRaster: 102.0 for screen resolution: 0.0027150236112144814
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getSpatialResolution
    FINEST: Res X: 1.6000000005078618E-4 Res Y: 1.6000000005078618E-4 Pyramidlevel: 5
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: GeoRaster Dimension: width= 2717.0 height= 3947.0
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: [DimX] 83[DimY] 122
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Converting to cell coordinate: [pyramidLevel] 5 [X] -84.1257287289893 [Y] 32.006373528949894
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getCellCoordinate
    FINEST: getCellCoordinate query: SELECT
    sdo_geor.getCellCoordinate(grt.GEORASTER,?,sdo_geometry(2001,8307,sdo_point_type(?,?,null), null,null)) coord FROM MOSAICS
    grt WHERE grt.GEORASTER.rasterid = ? and grt.GEORASTER.rasterdatatable = ?
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getCellCoordinate
    FINEST: Row:-3275 Column: -3688
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Converting to cell coordinate: [pyramidLevel] 5 [X] -82.76821692338207 [Y] 30.988239674744463
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getCellCoordinate
    FINEST: getCellCoordinate query: SELECT
    sdo_geor.getCellCoordinate(grt.GEORASTER,?,sdo_geometry(2001,8307,sdo_point_type(?,?,null), null,null)) coord FROM MOSAICS
    grt WHERE grt.GEORASTER.rasterid = ? and grt.GEORASTER.rasterdatatable = ?
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeDefinition getCellCoordinate
    FINEST: Row:3089 Column: 4796
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: Calling JGeoRaster.getRasterImage - area: 0 , 0 , , 83 , 122
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINER: End of JGeoRaster.getRasterImage call.
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer performImageProcessing
    FINER: Operation name: normalize
    Jan 25, 2008 5:27:00 PM oracle.sdovis.theme.GeoRasterThemeProducer performImageProcessing
    FINER: Normalize operation.
    Jan 25, 2008 5:27:02 PM oracle.sdovis.theme.GeoRasterThemeProducer prepareData
    FINEST: # image loaded: 1
    Jan 25, 2008 5:27:02 PM oracle.lbs.mapserver.core.MapperPool freeMapper
    FINER: freeMapper() begins...
    Jan 25, 2008 5:27:02 PM oracle.lbs.foi.FOIServlet sendGZippedResponse
    FINEST: Sending FOI response in gzip format.

    Hi Bruce,
    for GeoRaster themes you can define a specific pyramid level to render, or you can leave the pyramid level null on the theme definition, and in this case MapViewer calculates the best level to render. The second option is recommended as it avoids loading unnecessary data given the current display parameters. If you are seeing your image get blocked, most likely at this zoom level and up you have reached the highest pyramid level of the GeoRaster. Even in MapBuilder if you keep zoom in, you get a blocked image after reaching the highest resolution level.
    Joao

  • Oracle Maps RC1/Map Cache

    Hello All,
    I am using using Oracle Maps RC1 with my own data.
    This error message appears in the logs after every few mins. Can anybody help me fix this?
    06/10/16 11:32:57 java.lang.NullPointerException
    06/10/16 11:32:57 at oracle.lbs.mapcache.messages.ReturnLocaleOper.doGet(ReturnLocaleOper.java:58)
    06/10/16 11:32:57 at oracle.lbs.mapcache.messages.ReturnLocaleOper.doPost(ReturnLocaleOper.java:20)
    06/10/16 11:32:57 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    06/10/16 11:32:57 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    06/10/16 11:32:57 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
    06/10/16 11:32:57 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.ja
    va:376)
    06/10/16 11:32:57 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    06/10/16 11:32:57 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    06/10/16 11:32:57 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    06/10/16 11:32:57 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    06/10/16 11:32:57 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    06/10/16 11:32:57 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260
    06/10/16 11:32:57 at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java
    :230)
    06/10/16 11:32:57 at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
    06/10/16 11:32:57 at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandle
    r.java:831)
    06/10/16 11:32:57 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecu
    tor.java:298)
    06/10/16 11:32:57 at java.lang.Thread.run(Thread.java:595)

    I also see this error sometimes.
    Mon Oct 16 12:56:33 GMT+10:00 2006 ERROR [oracle.lbs.foi.FOIServlet] java.lang.IllegalStateException: IOException: An ex
    isting connection was forcibly closed by the remote host
    at com.evermind.server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2284)
    at oracle.lbs.foi.FOIServlet.getRequest(FOIServlet.java:355)
    at oracle.lbs.foi.FOIServlet.doPost(FOIServlet.java:161)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

  • Oracle maps cross domains

    Hello everyone,
    I am facing the following issue. I have mapviewer deployed on a serverA and a web app deployed on serverB.
    Then I call the mapviewer FOI server from the app of serverB and I get the following error message:
    *[MVThemeBasedFOIControl.foiLoaded] mapviewer-05523 cannot process response from mapviewer server. (<?xml version="1.0" encoding="UTF-8" ?> <oms_error> Requests are not allowed to be sent to this remote target URL via proxy servlet. (http://172.31.128.50/mapviewer/foi)</oms_error>)*
    I am using mapviewer Ajax API version Ver11_1_1_5_B110527.
    Has anyone experinced such errror?????????

    Ok lads,
    Seems I found the solution. Following the instructions from this post [http://oraclemaps.blogspot.com/2008/09/cross-domain-oracle-maps-scripting.html] I have 90% the solution.
    What also needs to be done is to pass the url of serverB to the mapviewer configuration file of serverA in the section <proxy_enabled_hosts>.
    At list this works for me.

  • Oracle Maps RC1 - Global Map Note/Logo

    Hello
    Is it possible to switch off the global (mapviewer) note and logo settings just for oracle maps?

    I also see this error sometimes.
    Mon Oct 16 12:56:33 GMT+10:00 2006 ERROR [oracle.lbs.foi.FOIServlet] java.lang.IllegalStateException: IOException: An ex
    isting connection was forcibly closed by the remote host
    at com.evermind.server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2284)
    at oracle.lbs.foi.FOIServlet.getRequest(FOIServlet.java:355)
    at oracle.lbs.foi.FOIServlet.doPost(FOIServlet.java:161)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

  • Error [Foi Server] foi width value is wrong.

    While using FOI theme, mvdemo costumers, appear this error message on IE7:
    Cannot process the following responde from FOI server:
    <?xml version="1.0" encoding="UTF-8"?><oms_error>[Foi Server] foi width value is wrong.</oms_error>
    Please help.
    Regards,
    Rafael Salgado

    Hi all,
    We are using oracle maps with oracle portal.
    This is how javascript looks to add map on page..
    function on_load_mapview() {
    mapview = new MVMapView(document.getElementById("map"), baseURL);
    var basemap1= new MVBaseMap("datasource.basemap");
    mapview.addBaseMapLayer(basemap1, afterMapAdded);
    function afterMapAdded() {
    var homepoint = MVSdoGeometry.createPoint(cx, cy,8307);
    mapview.setHomeMap(homepoint, 2);
    var mpoint = MVSdoGeometry.createPoint(x, y,8307);
    mapview.setCenter(mpoint);
    mapview.setZoomLevel(2);
    mapview.addNavigationPanel("WEST");
    mapview.display();
    baseQuery = "sql";
    var theme = " <themes>\n" +
    " <theme name=\"test\">\n" +
    " <jdbc_query datasource=\"dataSource\"\n"+
    " spatial_column=\"geomID\"\n" +
    " render_style=\"V.ST\"\n"+
    " label_column=\"Name\"\n"+
    " label_style=\"V.ST\">\n"+baseQuery +
    " <\/jdbc_query>\n" +
    " <\/theme>\n" +
    " <\/themes>";
    testtheme = new MVThemeBasedFOI('testtheme',theme);
    testtheme.setBringToTopOnMouseOver(true);
    testtheme.setQueryWindowMultiplier(1);
    testtheme.setLayoutCustomizer(customizer);
    testtheme.addEventListener("mouse_click", testClick);
    testtheme.setInfoWindowStyle("MVInfoWindowStyle1") ;
    testtheme.enableInfoTip(true);
    mapview.addThemeBasedFOI(testtheme);
    mapview.addScaleBar() ;
    mapview.addEventListener("recenter", recenter);
    mapview.addEventListener("zoom_level_change", zoom_level_change);
    recenter();
    In firefox everything works fine but in IE(6 and 7 both) whenever the page is loaded or testtheme is refreshed we get error saying
    <?xml version="1.0" encoding="UTF-8"?><oms_error>[Foi Server] foi width value is wrong.</oms_error>
    in logs we got this
    Mar 7, 2008 1:20:00 PM oracle.lbs.foi.FOIServlet dumpURLParams
    FINEST: Servlet URL parameters (/foi):
    [width] [0]
    [height] [0]
    [theme] [ <themes>
    <theme name="test">
    <jdbc_query datasource="datasource"
    spatial_column="geomID"
    render_style="V.ST"
    label_column="Name"
    label_style="V.ST">
    query over here
    </jdbc_query>
    </theme>
    </themes>]
    [dstsrid] [8307]
    [cachefoi] [yes]
    [bbox] [-53.74568662748477:72.41786039721275:-53.387589554083945:72.865593784355966]
    [request] [getfoi]
    [area] [no]
    [clickable] [yes]
    [version] [1.0]
    End of servlet URL parameters (/foi).
    Mar 7, 2008 1:20:00 PM oracle.lbs.foi.FOIServlet doPost
    FINEST: user making foi request: oc4jadmin
    Mar 7, 2008 1:20:00 PM oracle.lbs.foi.FOIServlet getRequest
    SEVERE: MAPVIEWER-06001: FOI width value is wrong.
    here the width and height values are 0
    but in firefox for same request we got
    FINEST: Servlet URL parameters (/foi):
    [width] [800]
    [height] [1000]
    [theme] [ <themes>
    <theme name="test">
    <jdbc_query datasource="datasource"
    spatial_column="geomID"
    render_style="V.ST"
    label_column="Name"
    label_style="V.ST">
    query over here
    </jdbc_query>
    </theme>
    </themes>]
    [dstsrid] [8307]
    [cachefoi] [yes]
    [bbox] [-53.74568662748477:72.41786039721275:-53.387589554083945:72.865593784355966]
    [request] [getfoi]
    [area] [no]
    [clickable] [yes]
    [version] [1.0]
    End of servlet URL parameters (/foi).
    here the values are right(maps width and height)
    Why in case of IE the values are 0,0
    not sure what is the exact cause for <?xml version="1.0" encoding="UTF-8"?><oms_error>[Foi Server] foi width value is wrong.</oms_error>
    which is only in IE and moreover only when it is running as oracle PDK portlet,
    When it is not a portlet(simple jsp) we don't get this error.
    Thanks in advance.

  • Raster Theme with "Oracle Map -mapviewer ajax"

    Hi, Everyone,
    I tried to add a raster theme by using "Oracle Map".
    If I add my raster theme as based map, the mapviewer will correctly render image.
    If I add my raster theme as a FOI theme layer, the mapviewer will not render the raster image for me.
    Does anyone know if "Oracle Map" supports raster theme, or just vector theme? I just want to make sure if I am right on tract.
    TIA

    This didn't solve the problem.
    tile size is 2048 X 2048 where as map size is 800X800 but when a request is made, it fetches around 9 tiles.
    If I reduce the tile size to 256X256 it fetches around 33 tiles and from logs for each jpeg fetched querying/rendering time is 15 to 25 seconds.
    So it takes around 2 minutes to complete one request.
    It is too high, what can be done to improve mapviewer's performance with georaster themes?

Maybe you are looking for

  • Account Asssignment in the Purchase order SAP ECC 6.0

    Hi I am trying to create Purchase order with Account assignment category "Q"  wherein system displays a GL account (4011100) which is mapped in the OBYC in the transaction GBB and general modification VBR. Further when I enter WBS element, it changes

  • CSS styles disappear when previewed in browser.

    I created a web site following the Getting Started tutorials in Dreamweaver CS6.  However, when I preview in the browser, the main page shows properly but if i click a link, the other pages do not seem to attach to the style sheet - BUT the style she

  • Download crash

    Download of Adobe Reader halts with error message that object is missing - how to fix?

  • I-tunes store error - an  unknown error occurred (-50)

    Everytime i go on itunes and try to log into the itunes store, I type my username and password into the relevant boxes and click ok and then get this error: "could not complete your itunes store request. an unknown error occurred (-50)". Itunes is co

  • Changing home directory name

    Hello, I have a macbook OS X version 10.7.5 I bought this computer years ago used and am yet to figure out how to change the directory name. Help would be greatly appreciated. Thanks!