Mapviewer an WebLogic

how can the publication the Mapview on WebLogic there any tutorial as saying.

Rafiou,
yes you are in the right place. SURE, you can load the pictures into GeoRaster objects and define a GeoRaster theme for each GeoRaster, then you can display, pan, zoom in and zoom out the pictures on internet using MapViewer.
The pictures can easily be tiled either when you load them or afterwards by using the GeoRaster tuning tool: sdo_geor.changeFormatCopy. in general you should call sdo_geor.generatePyramid to generate pyramids for each GeoRaster object. MapViewer will pick up the right pyramid level from the database when you zoom in and out. Also, you can use Oracle Maps and leverage caching to speed up and support multi-users.
regards,
Jeffrey Xie

Similar Messages

  • How To Clear Mapviewer Tile Cache

    I am running a standalone version of Mapviewer using Weblogic Server.
    Weblogic and Mapviewer are running on a linux server with CentOS 5.8 64bit.
    - MapViewer Version: Ver11_1_1_7_1_B130516
    - Weblogic Server 10.3.6
    I am using Mapbuilder installed on a Win7 64bit client.
    - Mapbuilder Build: Ver11_1_1_7_1_B130516
    My datasource is an Oracle 11.2.0.3 database running on a linux server with CentOS 5.8 64bit.
    I am using the new HTML5 JavaScript mapping API to render my map.  I am using any one of the following browsers:
    IE10 (v10.0.9200.16635)
    Firefox (v23.0)
    Chrome (v28.0.1500.95 m
    I have created the following Mapbuilder objects:
    Geometry Theme: SRA_SUITE304_F1_ROOM
    - for the label styling rules, I have set the Label Function = 1, so that labels will be displayed for the objects
    Base Map: SRA_ALL
    <?xml version="1.0" standalone="yes"?>
    <map_definition>
          <theme name="SRA_SUITE304_F1_ROOM"/>
      </map_definition>
    Tile Layer: SRA_ALL
    <map_tile_layer name="SRA_ALL" image_format="PNG" http_header_expires="168.0" concurrent_fetching_threads="3">
         <internal_map_source data_source="ICLOGIT1" base_map="SRA_ALL" bgcolor="#ccccff"/>
         <coordinate_system srid="4326" minX="-74.54" minY="39.407" maxX="-74.53" maxY="39.41"/>
         <tile_image width="256" height="256"/>
         <zoom_levels levels="10" min_scale="100.0" max_scale="1600.0" min_tile_width="6.097560975612876E-5" min_tile_height="9.090909090913742E-4">
              <zoom_level level="0" name="level0" description="" scale="1600.0" tile_width="9.090909090913742E-4" tile_height="9.090909090913742E-4"/>
              <zoom_level level="1" name="level1" description="" scale="1175.0" tile_width="7.142857142860797E-4" tile_height="7.142857142860797E-4"/>
              <zoom_level level="2" name="level2" description="" scale="864.0" tile_width="5.263157894739535E-4" tile_height="5.263157894739535E-4"/>
              <zoom_level level="3" name="level3" description="" scale="634.0" tile_width="3.846153846155814E-4" tile_height="3.846153846155814E-4"/>
              <zoom_level level="4" name="level4" description="" scale="466.0" tile_width="2.7777777777791986E-4" tile_height="2.7777777777791986E-4"/>
              <zoom_level level="5" name="level5" description="" scale="342.0" tile_width="2.0833333333343992E-4" tile_height="2.0833333333343992E-4"/>
              <zoom_level level="6" name="level6" description="" scale="251.0" tile_width="1.5151515151522904E-4" tile_height="1.5151515151522904E-4"/>
              <zoom_level level="7" name="level7" description="" scale="185.0" tile_width="1.1235955056185523E-4" tile_height="1.1235955056185523E-4"/>
              <zoom_level level="8" name="level8" description="" scale="136.0" tile_width="8.264462809921583E-5" tile_height="8.264462809921583E-5"/>
              <zoom_level level="9" name="level9" description="" scale="100.0" tile_width="6.097560975612876E-5" tile_height="6.097560975612876E-5"/>
       </zoom_levels>
    </map_tile_layer>
    I am using the following HTML to display the map using the Tile Layer SRA_ALL:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <title>SRA2 - Map 01 - 10 Zoom Levels</title>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>
    <script type='text/javascript' src='http://xxxx.xxxx.com:7002/mapviewer/jslib/v2/oraclemapsv2.js'></script>
    <style type= 'text/css '>body {cursor:default;}</style>
    <script language="JavaScript" type="text/javascript">
    var baseURL="http://xxxx.xxxx.com:7002/mapviewer";  // location of mapviewer
        function showMap()
            var map = new OM.Map(
            document.getElementById('map'),
                mapviewerURL:baseURL
            var tileLayer2 = new OM.layer.TileLayer(
            "SRA_ALL",
                dataSource:"xxxx",
                tileLayer:"SRA_ALL"
            map.addLayer(tileLayer2) ;
            map.addScaleBar() ;
            map.addNavigationPanelBar() ;
            map.setMapCenter(new OM.geometry.Point(-74.537446,39.409008,4326) );
            map.setMapZoomLevel(3) ;
            map.init() ;
    </script>
    </head>
    <body onload="javascript:showMap()">
        <DIV id=map style="width:99%;height:99%"></DIV>
    </body>
    </html>
    This produces a correctly rendered map in my browsers, which displays the labels I expect.
    Next, I changed the Labeling Function on my Geometry Theme: SRA_SUITE304_F1_ROOM, setting it to -1, so that object labels would not be displayed.
    In Mapbuilder, I can preview the geometry theme, and it shows that no labels are displayed.
    Still in Mapbuilder, I can preview the base map that the geometry theme is assigned to, and the basemap also shows that no labels are displayed for that theme.
    I saved all my changes in Mapbuilder.
    However, when I view my map (using the same HTML code) in the browser, the map still shows the labels.
    I have tried all of the following:
    1) purging the geometry cache for the affected map datasource using the MapViewer Administration Console
    2) purging the browser cache
    3) restarting the mapviewer server
    4) restarting the entire supporting weblogic server
    None of these actions cause the map viewed in my browser to be updated to show the map without labels.
    Note: If I create a new Tile Layer using the same base map, my changes are visible in the browser map.
    What am I missing here?
    What cache do I need to clear so that my map is displayed correctly in my browser after I make changes to the underlying Mapbuilder objects?
    Thanks in advance for your help.

    Thanks.  That was the last key to the puzzle.
    Here are the steps I now follow to ensure that changes made to underlying MapBuilder objects are visible in the browser.
    Perform the following steps:
    1) Modify the object (style, theme, base map, tile layer) in MapBuilder, and save all changes.
    2) Using MapViewer Administration Console, Purge Cached Metadata for each affected datasource.
    3) On the MapViewer server, clear the Map Cache directory.  The location of the Map Cache directory is specified in the mapViewerConfig.xml file under the section "Map Cache Server Setting".
    e.g.
    cd <map cache dir>
    rm -rf *
    4) Clear the browser cache and temp files for the browser you are using (e.g. IE, Firefox, Chrome).  If you think you are not clearing the cache completely, then use the appropriate "private browsing" feature of the browser to view the map.  You should then be able to see the changes made to the map in the browser.

  • Verify if the sessision data of MapViewer app is stored in Coherence caches

    I have successfully combined the MapViewer application with WebLogic and Oracle Coherence*Web.
    How to verify whether the session data of MapViewer application is kept in the Coherence caches or not?
    All out put show that both of MapViewer and WebLogic server as well as Coherence are running well.
    All the following steps are right?
    The procedure is as the following:
    1. Create a WebLogic domain: Map_domain.
    2. Start the WebLogic domain Map_domain by running startWebLogic.sh script.
    3. Install Coherence.jar as a library on WebLogic.
    4. Copy the coherence.jar in the WAR's WEB-INF/lib directory.
    5. Create a reference to the shared library by modifying the weblogic.xml in web applications WEB-INF directory
    and add the following contents:
    <weblogic-web-app>
         <library-ref>
              <library-name>coherence-web-spi</library-name>
              <specification-version>1.0.0.0</specification-version>
              <implementation-version>1.0.0.0</implementation-version>
              <exact-match>false</exact-match>
         </library-ref>
    <weblogic-web-app>6. Install Coherence-web-spi.war as a WebLogic library.
    7. Install the MapViewer as a WebLogic application.
    8. Start a Coherence cache server using the cmd file web-cache-server.cmd and then start MapViewer application.
    The content of web-cache-server.cmd file:
    @echo off
    @rem This will start a cache server
    setlocal
    :config
    @rem specify the Coherence installation directory
    set coherence_home=F:\coherence
    @rem specify the JVM heap size
    set memory=256m
    :start
    if not exist "%coherence_home%\lib\coherence.jar" goto instructions
    if "%java_home%"=="" (set java_exec=java) else (set java_exec=%java_home%\bin\java)
    :launch
    set java_opts="-Xms%memory% -Xmx%memory%"
    "%java_exec%" -server -showversion "%java_opts%" -cp %coherence_home%\lib\coherence.jar;
    %coherence_home%\lib\coherence-web-spi.war
    -Dtangosol.coherence.management.remote=true
    -Dtangosol.coherence.cacheconfig=WEB-INF/classes/session-cache-config.xml
    -Dtangosol.coherence.session.localstorage=true
    com.tangosol.net.DefaultCacheServer %1
    goto exit
    :instructions
    echo Usage:
    echo   ^<coherence_home^>\bin\cache-server.cmd
    goto exit
    :exit
    endlocal
    @echo onEdited by: jetq on Jan 12, 2010 9:02 PM

    Any opinions are welcome.

  • Issue in previewing the Tile Layer in MapBuilder

    Hi
    I completed creating a Tile layer in the MapBuilder and when i clicked on preview, It is navigating to a page, displaying "Oracle Maps Sample" and a warning that "MVSdo Geometry is undefined".
    When I am trying to access the following defualt link "http://localhost:7001/mapviewer" to access MapViewer admin screen it is resulting in the following error :
    "Error 503--Service Unavailable
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.4 503 Service Unavailable
    The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay. If known, the length of the delay may be indicated in a Retry-After header. If no Retry-After is given, the client SHOULD handle the response as it would for a 500 response.
    Note: The existence of the 503 status code does not imply that a server must use it when becoming overloaded. Some servers may wish to simply refuse the connection."
    Any suggestions or pointers to resolve the above issues will be very helpful and highly appreciated.
    Thanks.

    Hi
    When I used the default link provided in the Mapviewer in weblogic i.e.., "http://localhost:9500/mapviewer/". It was working fine but as we tried to access it using credentials other than Administrator, it did not allow us to log in. When we are trying to access the link using the credentials of administrator, now it is resulting in an error as shown below :
    "Error 403--Forbidden
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.4.4 403 Forbidden
    The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable."
    Any suggestions or pointers to resolve the above issue will be very helpful and highly appreciated.
    Thanks

  • Verify whether the session data is kept in the Coherence caches

    I have successfully combined the MapViewer application with WebLogic and Oracle Coherence*Web.
    How to verify whether the session data of MapViewer application is kept in the Coherence caches or not?
    All out put show that both of MapViewer and WebLogic server as well as Coherence are running well.
    All the following steps are right?
    The procedure is as the following:
    1. Create a WebLogic domain: Map_domain.
    2. Start the WebLogic domain Map_domain by running startWebLogic.sh script.
    3. Install Coherence.jar as a library on WebLogic.
    4. Copy the coherence.jar in the WAR's WEB-INF/lib directory.
    5. Create a reference to the shared library by modifying the weblogic.xml in web applications WEB-INF directory
    and add the following contents:
    <weblogic-web-app>
         <library-ref>
              <library-name>coherence-web-spi</library-name>
              <specification-version>1.0.0.0</specification-version>
              <implementation-version>1.0.0.0</implementation-version>
              <exact-match>false</exact-match>
         </library-ref>
    <weblogic-web-app>6. Install Coherence-web-spi.war as a WebLogic library.
    7. Install the MapViewer as a WebLogic application.
    8. Start a Coherence cache server using the cmd file web-cache-server.cmd and then start MapViewer application.
    The content of web-cache-server.cmd file:
    @echo off
    @rem This will start a cache server
    setlocal
    :config
    @rem specify the Coherence installation directory
    set coherence_home=F:\coherence
    @rem specify the JVM heap size
    set memory=256m
    :start
    if not exist "%coherence_home%\lib\coherence.jar" goto instructions
    if "%java_home%"=="" (set java_exec=java) else (set java_exec=%java_home%\bin\java)
    :launch
    set java_opts="-Xms%memory% -Xmx%memory%"
    "%java_exec%" -server -showversion "%java_opts%" -cp %coherence_home%\lib\coherence.jar;
    %coherence_home%\lib\coherence-web-spi.war
    -Dtangosol.coherence.management.remote=true
    -Dtangosol.coherence.cacheconfig=WEB-INF/classes/session-cache-config.xml
    -Dtangosol.coherence.session.localstorage=true
    com.tangosol.net.DefaultCacheServer %1
    goto exit
    :instructions
    echo Usage:
    echo   ^<coherence_home^>\bin\cache-server.cmd
    goto exit
    :exit
    endlocal
    @echo onEdited by: jetq on Jan 13, 2010 9:32 AM

    Any opinions are welcome.

  • The Oracle MapViewer brings the WebLogic Managed Server to crash

    Problem Description: The Oracle MapViewer brings the WebLogic Managed Server to crash, when we call a GetMap-Request with wrong Coordinates.
    This was found out for the SRS=EPSG:25833. Example:
    http://igdb-qm-svra1.blva.bayern.de:8080/mapviewer/wms?
    REQUEST=getMap&
    Version=1.1.1&
    LAYERS=&
    FORMAT=image/png&
    TRANSPARENT=false&
    STYLES=&
    Datasource=igvert_alkis_wms&
    basemap=AT_WMS_TN-KOMPLETT&
    SRS=EPSG:25833&
    BBOX=3.32358690717E7,5529425.0143,3.32369088846E7,5530464.8272&
    WIDTH=500&
    HEIGHT=500&
    With the Enterprise Manager was also evaluated during and after a crash of Server the SQL-Statements.
    If the SQL statements executed on the database itself, it takes a few seconds after a correct answer returns.
    I know that have the look for the EPSG coordinate as follows:
    BBOX=235869.071700,5529425.014300,236908.884600,5530464.827200&
    My question therefore: Why are these coordinates by the Oracle MapViewer approved and not caught? An Request with incorrect
    coordinates goes into a StuckThreads and then the ManagedServer crashed.
    In the appendix you will find the evaluation of the Enterprise Manager.
    I have tested the request with two different versions of Oracle MapViewer (Ver11_1_1_5_B110527 and Ver11_B100426). In both the same problem occurs on.
    I have also filed an SR.
    Best Regards
    Kerstin

    Hi,
    Can you confirm that you're trying to setup a managed server on another machine using the pack/unpack commands ?
    You might to want to take a look at that post.
    Clustering of 2 Physical server
    Hope that helps !
    Regards

  • 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 + WebLogic + Coherence

    I want to deploy the Mapviewer service in WebLogic server combined with Oracle Coherence caches.
    My purpose is to get in-memory grid computing.
    The MapViewer (which is deployed in a WebLogic server) retrieves data from the Oracle Spatial database and transfers the data into maps according to the clients' requirements. The MapViewer provides the geographical-map-generating services for any terminal clients. The clients (which use web browsers) connect to the MapViewer services and get geographical maps they needed.
    Oracle Spatial database---------------->WebLogic server(MapViewer)------>Internet browsers
    (data storage and extract system)     (Provide http services)              (end consumers)
                                                 (Map generator)Now I want to keep the MapViewer services in Coherence caches. In my opinion, using Coherence*Web caching
    the clients' session is enough.
    What the other key points?
    What is you opinions?
    Thank you

    Any opinions are welcome.

  • MapViewer 10.1.3 / 11g and WebLogic

    Hi forum
    After Oracle's acquisition of BEA, I have read a lot of places that OC4J will be desupported soon and replaced with the WebLogic Java container. Among others, Steve Cosner from Oracle has declared the OC4J 11g preview to be dead and soon to be replaced with WebLogic - he wrote that on the forum somewhere recently.
    Where does this put me in regard to testing the upcoming MapViewer 11g? Is the 11g tech preview compatible with WebLogic 10.3? And if I wanted to, could I migrate my existing MapViewer 10.1.3.1 installation from OracleAS 10.1.3.3 to WebLogic 10.3 already now, since this clearly seems as the way to go? And would I gain any benefits from doing this already now?
    Please clarify the current situation.
    Thanks,
    Jacob

    Jacob,
    We had the same concerns. After hearing our Oracle Pre-Sales rep say similar things as your posting, he came back later and clarified the following:
    Oracle will soon have two streams for middle-ware. One that is the new BEA-based family of re-branded Oracle "Strategic" middleware (e.g. JRockit, WebLogic, etc.). The other is a continuation of the existing iAS stream (e.g. Oracle HTTP Server, OC4J, etc.).
    The latter is not 'strategic' (our Oracle rep used this word, not me) and will be around for the 'foreseeable future'. I agree with the first part (not strategic) but I seriously doubt the latter. After having lived through many of Oracle changes-in-direction, I'm planning a migration from iAS to the 'now strategic' stream. I'm sure Oracle is already working on similar mechanisms to move its customers to the 'strategic' stream.
    However, you will have some time before you're forced to move (and to deal with the MapViewer issue).
    HTH
    Gary
    BTW, I have a PowerPoint slide deck that describes this, and has one slide in particular that lays out the two streams, with the specific products and offerings in each. Let me know if you want a copy.

  • FMW MapViewer 10133 for WebLogic Server posted on OTN

    http://www.oracle.com/technology/software/products/mapviewer/index.html

    Just to be clear.
    This is a full MapViewer kit. It includes the quick start MapViewer components.
    This kit works with Fusion Middleware, WebLogic or just an OC4J.
    thanks
    Steve

  • Change mapviewer password in weblogic-server

    Hi everyone,
    I'm trying to change the password of our mapviewer which is deployed in a weblogic-server.
    Both weblogic and mapviewer share the same password at the moment which I want to change --> new password for mapviewer, no change to weblogic-login.
    Using weblogic admin-console I can create new users, but I don't know how (if?) I can assign them to mapviewer.
    Also I couldn't find any configuration files in filesystem where I can change/assign a password.
    Does anybody have an idea?
    Thanks,
    NilsO

    Hi, AlbertoBem and welcome to the Forums
    Unfortunately there is not a convenient way to change a user password. Of course you could delete the user and recreate with a slightly different name and assign a different password. Meanwhile, here is a quote from a previous post on this subject from Tulika Garg with Adobe engineering:
    "There is no provision to retrieve lost password in RHS 8. However I can  offer you a workaround. You need to open the RHS 8 database and look for the  table TRoboUser and then delete the row having ru_UserID value as the  user id that you want to remove. Now when you add that user again,  it will prompt that user does not exist and you can create the user  again, assigning it a new password."
    Many of us are hoping the next release will include a more convenient way to manage this process. It would be great if you could add to our request by making a post to the "wish list" at this address:
    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    John Daigle
    Adobe Certified RoboHelp and Captivate Instructor
    Evergreen, Colorado
    www.showmethedemo.com

  • MapViewer erron on WebLogic 12c

    We are in the process of upgrading our WebLogic 11g server to WebLogic 12c.
    When I start mapviewer (11.1.1.6 ) I get this error:
    WARNING: ORA-28001: the password has expired
    java.sql.SQLException: ORA-28001: the password has expired
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:445)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:389)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:382)
    at oracle.jdbc.driver.T4CTTIfun.processError(T4CTTIfun.java:600)
    at oracle.jdbc.driver.T4CTTIoauthenticate.processError(T4CTTIoauthenticate.java:445)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:450)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:192)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:380)
    at oracle.jdbc.driver.T4CTTIoauthenticate.doOAUTH(T4CTTIoauthenticate.java:760)
    at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:401)
    at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:546)
    at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:236)
    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:154)
    at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:123)
    at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.java:811)
    at oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperConfig.java:1613)
    at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig.java:623)
    at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:374)
    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:310)
    at java.lang.Thread.run(Thread.java:662)
    Then if I try to access the mapviewer admin console at /mapviewer I get this error:
    Error 500--Internal Server Error
    java.lang.UnsupportedOperationException
         at javax.faces.application.Application.getResourceHandler(Application.java:287)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:588)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:242)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:216)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:132)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:338)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:75)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:75)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3288)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3254)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
         at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2163)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2091)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2074)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1513)
         at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:255)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    I tried using both autodeploy and deploying a new app onto WebLogic with the same results

    I fixed this by adding a prefer-application-packages entry into the META-INF/weblogic-application.xml
    <wls:prefer-application-packages>
    <wls:package-name>javax.faces.*</wls:package-name>
    </wls:prefer-application-packages>
    Seems like a conflict between WebLogic 12c javax.faces version and the one included with MapViewer

  • Oracle MapViewer included in WebLogic SE, EE, Suite

    We've gotten a few questions about whether MapViewer is included in the WebLogic licenses. Please be advised that it is.
    MapViewer is a J2EE service for rendering maps using spatial data managed by Oracle Spatial (and Oracle Database Locator). MapViewer provides services and tools that hide the complexity of spatial data queries and cartographic rendering, while providing customizable options for more advanced users. MapViewer is designed to integrate with Location-Based services and applications.
    For more information:
    http://www.oracle.com/technology/products/mapviewer/index.html
    Jim

    We've gotten a few questions about whether MapViewer is included in the WebLogic licenses. Please be advised that it is.
    MapViewer is a J2EE service for rendering maps using spatial data managed by Oracle Spatial (and Oracle Database Locator). MapViewer provides services and tools that hide the complexity of spatial data queries and cartographic rendering, while providing customizable options for more advanced users. MapViewer is designed to integrate with Location-Based services and applications.
    For more information:
    http://www.oracle.com/technology/products/mapviewer/index.html
    Jim

  • Mapviewer application hangs on WebLogic

    The MapViewer 11g application hangs after some time and does not respond to any request. MapViewer is running on a separate domain. The MapViewer is very lacklustre in performance. Please suggest what could be done. It takes the CPU of the server to 99%
    Regards
    Edited by: user5108636 on 10/05/2010 22:43

    I would say there is no ideal number of mappers. Increasing the number of mappers may be good for several concurrent requests, but at some point too may mappers may overload the server and the result may not be good. Each mapper is used to generate a map response for a request. And each map depends on the spatial data that is being rendered which may be more complex than others. So it is kind of playing a bit to find the "ideal" number of mappers.
    Another thing that you can do, is to evaluate the requests to see if they are taking long to be processed (set log level to finest and look the request log). There may be situations where too many features are being returned for a theme. In these cases the scale may not be optimized and can be tuned.

  • Weblogic 11g and mapviewer

    I have my application running on http://localhost:7335/clientA and mapviewer on http://localhost:7336/clientB. Both my application and mapviewer are managed servers running on different domain. I am able to access the application but the map does not show up. The map is created becoz, when I go to images and cllick on the map, I am able to see the map in the browser. But the map does not show up in the application.
    Is this a cross domain issue? Do we need to provide any credentials to access the maps on a different domain?
    Please help.
    Edited by: user4583249 on Oct 15, 2009 5:58 AM

    -

Maybe you are looking for