Mapviewer-demo: a empty map view

Hi,
I imported the Mapviewer demo in a new schema,
and deployed the Mapviewer on stand alone OC4J.
I can start and configure the Mapviewer how described in the guide
without errors but the created JPG is a empty blue picture.
What can be wrong ?
Thanks
Friedhold

Yes I'm getting the title in the blue empty map view.
Here is request/response message from the Mapviewer:
xml_request=<?xml version="1.0" standalone="yes" ?>
<map_request
title="Check"
basemap="demo_map"
datasource="mvdemo"
width="400"
height="360"
format="GIF_URL" >
<center size="2.5">
<geoFeature>
<geometricProperty typeName="center">
<Point>
<coordinates>
-122.0, 38.0
</coordinates>
</Point>
</geometricProperty>
</geoFeature>
</center>
</map_request>
xml_response=<?xml version="1.0" encoding="UTF-8"?>
<map_response>
<map_image>
<map_content url="http://localhost:8888/mapviewer/images/omsmap2.gif?refresh=2902113945287192759" />
<box srsName="default">
<coordinates>
-123.38888888888889,36.75 -120.61111111111111,39.25 </coordinates>
</box>
<WMTException version="1.0.0" error_code="SUCCESS">
</WMTException>
</map_image>
</map_response>
What can I do ?
Regards Friedhold

Similar Messages

  • MapViewer Demo Returns Blank Maps

    I am installing the MapViewer for the first time. I imported mvdemo.dmp after creating the mvdemo user with:
    SQL> grant connect, resource to mvdemo identified by mvdemo;
    Then import from command line with:
    imp mvdemo/mvdemo file=mvdemo.dmp full=y ignore=y
    no errors
    Then executing sql as mvdemo with :
    SQL> @mvdemo.sql
    The mapviewer runs the demo and connect to the db as it should. There are base maps, themes, styles etc viewable from the submits.
    The image returned however is just a blue tile.
    Any ideas where I missed a step?
    Thanks

    Here is the console output
    E:\j2sdk1.4.2_10\bin\javaw.exe -jar E:\JDeveloper1012\j2ee\home\admin.jar ormi://150.125.27.238:23891 admin **** -updateConfig
    05/12/08 19:02:55 ApplicationServer: appName = bc4j
    05/12/08 19:02:55 ApplicationServer: appName = current-workspace-app
    Ready message received from Oc4jNotifier.
    05/12/08 19:02:55 Auto-deploying file:/E:/JDeveloper1012/jdev/mywork/WebMap/ViewController/public_html/ (New server version detected)...
    Embedded OC4J startup time: 1512 ms.
    Target URL -- http://150.125.27.238:8988/WebMap-ViewController-context-root/webmap.jsp
    Dec 8, 2005 7:02:57 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Dec 8, 2005 7:02:57 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Dec 8, 2005 7:02:57 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='view.ApplicationResources', returnNull=true
    05/12/08 19:02:57 created a new MapViewer handle.
    from the embedded oc4j in jdeveloper. The is the Map Image generated in the browser is just a Blue tile with the title, no base map. The JSP is below:
    <%@ taglib uri="http://xmlns.oracle.com/j2ee/jsp/tld/spatial/mvtaglib.tld" prefix="mapviewer"%>
    <%@ page contentType="text/html;charset=windows-1252"%>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>untitled</title>
    </head>
    <body>
    <DIV align="center">
    <P>My Web Map</P>
    <P>
    <mapviewer:init url="http://vciwnorclmt.cipcpub.local/mapviewer/omserver" datasource="mvdemo" id="mvHandle"/>
    </P>
    </DIV>
    <mapviewer:setParam antialiasing="true" basemap="demo_map" centerX="-122.4" centerY="37.8" height="450" size="10" title="My Web Map" width="600"/>
    <mapviewer:run/>
    <DIV align="center">
    <img src="<mapviewer:getMapURL />"/>
    </DIV>
    </body>
    </html>

  • Oracle Map Viewer Application on Oracle Web Logic

    We have developed an application using map viewer, Oracle 10g and deployed it in Oracle AS 10g. It was running fine and OK. Now we switched over the same application to Web logic10.3, using map viewer 10.1.3.3, Oracle db11g, JDeveloper 11g. We could deploy successfully on Web logic. The problem encountered is that During the map display (mapviewer.run()), an exception “Map viewer cannot process your map request. Check map viewer log for details.” is coming. We checked Map viewer log file and found no comments.

    If your web server is working and the forms server is running type:
    http://ip addr:port/dev60html/runform.htm
    You need to put the ip address or name of your server in and the port number apache is running on (leave blank if this is 80).
    This gives you the Oracle Forms start screen.
    cheers
    tony

  • Mapviewer-demo: no map viewed

    Hi,
    I imported the Mapviewer demo in a new schema,
    and deployed the Mapviewer on stand alone OC4J.
    I can start and configure the Mapviewer how described in the guide
    without errors but when i try to submit a map request using the sample file included in the demo (mapclient.jsp)
    the ff error appeared in the request/response/Msg:
    xml_response=<?xml version="1.0" encoding="UTF-8"?><oms_error>Message:[XMLHelper] error in parsing xml map request.
    Thu Oct 09 16:56:29 PDT 2003
    Machine Node Name: ibmdemo
    Severity: 0
    Description:
    Message:[XMLHelper] no geofeature defined for CENTER.
    Thu Oct 09 16:56:29 PDT 2003
    Machine Node Name: ibmdemo
    Severity: 0
    Description:
         at oracle.spatial.mapserver.core.XMLHelper4Mapper.convert(XMLHelper4Mapper.java:167)
         at oracle.spatial.mapserver.core.XMLHelper4Mapper.convert(XMLHelper4Mapper.java:67)
         at oracle.spatial.mapserver.oms.getMapRequest(oms.java:374)
         at oracle.spatial.mapserver.oms.doPost(oms.java:178)
         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:720)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:305)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:742)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:248)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    </oms_error>
    thanks!
    gemma

    hi,
    found one mistake, still the map is not shown.
    ist must be...
    <script type="text/Javascript" src=...
    thanx
    tom

  • Mapviewer demo Import error ( imp-00980 )

    I'm encountering an import problem when attempting to import the mvdemo.dmp sample data that is included with the Mapviewer demo into Oracle 9i PEdition. Is there a problem with the the EXP coming from Oracle v8? Here is a sample of the error log output:
    Export file created by EXPORT:V08.01.07 via conventional path
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    export client uses US7ASCII character set (possible charset conversion)
    export server uses US7ASCII NCHAR character set (possible ncharset conversion)
    . importing SCOTT's objects into SCOTT
    . . importing table "STYLES" 250 rows imported
    . . importing table "THEMES" 7 rows imported
    . . importing table "MAPS" 2 rows imported
    . . importing table "CITIES" 195 rows imported
    . . importing table "COUNTIES" 3230 rows imported
    . . importing table "INTERSTATES" 239 rows imported
    . . importing table "STATES" 56 rows imported
    IMP-00017: following statement failed with ORACLE error 980:
    "BEGIN "
    "execute immediate 'INSERT INTO USER_SDO_GEOM_METADATA values (''CITIES'','"
    "'LOCATION'',mdsys.SDO_dim_array(MDSYS.SDO_DIM_ELEMENT(''X'',-180,180,.00000"
    "005),MDSYS.SDO_DIM_ELEMENT(''Y'',-90,90,.00000005)),NULL) ' ; "
    "COMMIT; END;"
    IMP-00003: ORACLE error 980 encountered
    ORA-00980: synonym translation is no longer valid
    ORA-06512: at line 2
    IMP-00088: Problem importing metadata for index CITIES. Index creation will be skipped
    I have discovered that the following view does not exist in the db:
    USER_SDO_GEOM_METADATA
    Help would be appreciated.
    -Peter

    Try connecting to the database as mdsys.
    Look for a table called sdo_geom_metadata_table, and if it is there see if there
    is anything in it. If there isn't anything in it, or it isn't there, try executing:
    prvtgmd.plb from ORACLE_HOME/md/admin. It looks like the
    views might not have been created correctly.
    Dan

  • MapViewer Demo:

    Hello all,
    I have deployed successfully MapViewer (I checked it through the enterprise console), I have imported the mvdemo. A week ago I had to reinstall Oracle Database Server and since then I receive the following message when I'm trying to use i.e. the Mapclient.jsp demo (using the example located in first chapter of Oracle Spatial pdf)
    <?xml version="1.0" encoding="UTF-8"?><oms_error>Message:[oms] map data source not found.
    Tue Jul 19 10:42:35 EEST 2005
    Severity: 0
    Description:
    at oracle.lbs.mapserver.oms.doPost(oms.java:334)
    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.AJPRequestHandler.run(AJPRequestHandler.java:208)
    at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    </oms_error>
    MapViewer cannot process your map request. Check MapViewer log for details.
    The log file I found is empty...
    Any comments would be helpful!
    Thank you a priori

    <oms_error>Message:[oms] map data source not found.
    Means mapviewer cannot find the data source. If you define the data source from mapviewer admin page, then you need to do it again if you restart the mapviewer. To make it permanent, add the datasource to $OC4J_HOME\j2ee\home\applications\mapviewer\web\WEB-INF\conf\mapViewerConfig.xml.
    wijaya

  • Mapviewer demo Problem

    I have seen a number of posts regarding this issue, but none seem to have solved it. I have installed OC4J, I have installed and imported the mapviewer demo data. I get all of the demos to come up but all I get is a blue screen with the words "Oracle Map viewer Demo" I installed the data with the mvdemo user not as scott/tiger Does that matter? Not sure what else it could be as I am getting no errors anywhere.
    Thanks in advance!
    -Scott

    Good Morning LJ,
    I have run that, results are below. I get the same problem, just a blus screen then when I click on the screen I get 500 Internal Server Errors.
    JServer Release 9.2.0.1.0 - Production
    SQL> @mvdemo.sql
    1 row created.
    1 row created.
    1 row created.
    1 row created.
    1 row created.
    Commit complete.
    counties a, terr_counties b
    ERROR at line 6:
    ORA-00942: table or view does not exist
    1 row created.
    Commit complete.
    insert into user_sdo_styles select * from styles
    ERROR at line 1:
    ORA-00942: table or view does not exist
    insert into user_sdo_themes select * from themes
    ERROR at line 1:
    ORA-00942: table or view does not exist
    insert into user_sdo_maps select * from maps
    ERROR at line 1:
    ORA-00942: table or view does not exist
    Commit complete.
    create index STATES_SDX on STATES(GEOM)
    ERROR at line 1:
    ORA-00942: table or view does not exist
    create index COUNTIES_SDX on COUNTIES(GEOM)
    ERROR at line 1:
    ORA-00942: table or view does not exist
    create index INTERSTATES_SDX on INTERSTATES(GEOM)
    ERROR at line 1:
    ORA-00942: table or view does not exist
    create index CITIES_SDX on CITIES(LOCATION)
    ERROR at line 1:
    ORA-00942: table or view does not exist
    create index TERRITORIES_SDX on TERRITORIES(GEOMETRY)
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL>
    500 Internal Server Error
    java.lang.NullPointerException     at oracle.lbs.mapclient.MapViewer.pan(MapViewer.java:3726)     at demo.jview._jspService(_jview.java:152)     [SRC:/demo/jview.jsp:322]     at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)

  • Google Map Integration with Map Viewer is not working

    Hi Team,
    My MapViewer Version: Ver11_1_1_7_B130111
    I have created a Google Map (with Type of Map Source as "Google Maps") in Oracle Map Viewer and i could see google map in Oracle Map Viewer(using "show Map").
    I wanted to show a village map theme over the above google map in a web page and i am using Jdeveloper to integrate map viewer with Village data. I could see the google maps inside Jdeveloper however when i run the Jdeveloper code google map is not shown inside the web page.
    I tried with Oracle Maps, Bing Maps as the "map source" in map viewer and tried integrating inside Jdeveloper and got same result (blank screen). However when i tried a different mapviewer ( Base Map ELOCATION.WORLD_MAP from OracleFMW MapViewer Home ) i could see the map in the web page.
    I could get all other base maps (created with "internal" as the map source") in the web page, so there is some thing that i am missing with Google Maps, Bing Maps, Oracle Maps. Could you please help me what is that i am missing or point to a help resource?
    Thanks
    Nag

    Hi Jayanth,
    Issue is solved after creating the web page using latest JDeveloper (11.1.2.4). Thanks a lot for your help
    With Regards
    Nag

  • Projection problem in OracleAS Map Viewer

    Hi,
    I am using OracleAS Map Viewer 11 EA1and I try to display a map with an image (srid=1002000) and a vector (srid=8192) on the top. If I understand the documentation correctly, the vector might be reprojected into the map srid which is 1002000. But when the map is created, the vector is not correctly reprojected (I see some roads in the ocean!). I am wandering if it is a bug in map viewer; or maybe I didn't use it corectly!
    My query looks like:
    <map_request
    title=""
    datasource="all_images"
    width="1229"
    height="840"
    srid="1002000"
    antialiase="false"
    format="PNG_URL">
    <center size="7865.9766">
    <geoFeature>
    <geometricProperty typeName="center">
    <Point>
    <coordinates>
    1230462.1 , -582145.4
    </coordinates>
    </Point>
    </geometricProperty>
    </geoFeature>
    </center>
    <themes>
    <theme name="mosaic_pan'"
    min_scale="5000000.0"
    max_scale="0.0">
    <jdbc_georaster_query
    jdbc_srid="1002000"
    datasource="all_images"
    georaster_table="mosaic.mosaic_pan"
    georaster_column="georaster"
    asis="false">
         select georaster from mosaic.mosaic_pan where rowid='AAANn1AAKAAAAAKAAA'
              </jdbc_georaster_query>
    </theme>
    <theme name="road_l" min_scale="10000.0" max_scale="0.0">
    <jdbc_query
    datasource="all_images"
              jdbc_srid="8192"
    render_style="MDSYS:L.MAJOR STREET"
    spatial_column="shape1"
    >select shape1 from can51.road_l</jdbc_query>
    </theme>
    </themes>
    </map_request>
    Thanks in advance,
    Ganael

    your map request seems correct, and yes mapviewer will automatically reproject your vector theme if it's srid (8192) is different from the request srid (1002000). What's more likely is that your georaster is not being displayed correctly? Have you tried displaying the vector road data against a know vector boundary data set like country/state, in the 1002000 projection and see if everything is working fine? then add the georaster layer back on and go from there....

  • Error while mapping Views

    When running the OMWB, the process will hang while trying to map the views. I have let it run overnight and it will still not move. Upon further examination of the error files, I got this error:
    java.lang.NoSuchMethodError
         at oracle.mtg.sqlserver2k.parser.Sp72.querySpec(Sp72.java:10959)
         at oracle.mtg.sqlserver2k.parser.Sp72.queryTerm(Sp72.java:10736)
         at oracle.mtg.sqlserver2k.parser.Sp72.queryExp(Sp72.java:10679)
         at oracle.mtg.sqlserver2k.parser.Sp72.procedureStmt(Sp72.java:3369)
         at oracle.mtg.sqlserver2k.parser.Sp72.beginProcedure(Sp72.java:2611)
         at oracle.mtg.sqlserver2k.parser.Sp72.Start(Sp72.java:2575)
         at oracle.mtg.sqlserver2k.parser.Sp72.parse(Sp72.java:270)
         at oracle.mtg.sqlserver2k.parser.Sp72.parseView(Sp72.java:201)
         at oracle.mtg.sqlserver2k.parser.SQLServer2KParser.parseViewText(SQLServer2KParser.java:109)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap.mapViews(SQLServer2KSourceModelMap.java:1489)
         at oracle.mtg.sqlserver2k.server.SQLServer2KSourceModelMap.mapSourceModel(SQLServer2KSourceModelMap.java:389)
         at oracle.mtg.sqlserver2k.ui.SQLServer2KCaptureWizard.map(SQLServer2KCaptureWizard.java:531)
         at oracle.mtg.migrationUI.ActionMenuHandler._mapSourceModel(ActionMenuHandler.java:457)
         at oracle.mtg.migrationUI.ActionMenuHandler.run(ActionMenuHandler.java:95)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    Has anyone encountered this or something similar before? Any help is greatly appreciated
    J

    There is information on reporting bugs with reproducible testcases in the link below.
    http://www.oracle.com/technology/support/tech/migration/workbench/index.html
    In the case of mapping views, the source view text or a cut down smaller testcase that reproduces the error, and the workbench version, are usually sufficient.
    Regards,
    Turloch
    Oracle Migration Workbench Team.

  • How do I deinstall the Map Viewer service

    I have a client who downloaded the map viewer quick start package for 11g.
    He was supposed to deploy the map viewer on web logic but ran some sort
    of batch file that he found in the root of the unzipped package.
    MapViewer "seemed" to install fine but never asked him where Web logic
    was installed. Furthermore if I have him look at the current deployments
    on web logic mapviewer does not show up.
    How he can bring up the mapviewer page and admin console is
    beyond me. Perhaps it was installed on IIS (I haven't checked
    that yet) ?
    What I'd like to do is have him deinstall map viewer and then
    reinstall it correctly so that it gets deployed to web logic this time.
    The problem is that I don't know where the heck his version
    is installed at yet and I'm not sure how do deinstall it.
    Any ideas ?

    When you run start.bat it will start a standalone OC4J that runs mapviewer. So long as that batch file is still running then mapviewer is still running. If you close/ctrl-C the batch file then mapviewer stops. There is no installer/uninstalller, you just need to delete the whole folder containing the quickstart files.
    As for deploying, the quick start can't be used for deploying to a web logic, you need to download the other mapviewer install that contains the mapviewer.ear file.
    Edited by: RDB on Nov 13, 2009 10:15 AM

  • Objects not visible in Map Viewer Display Data with Mouse Moveover

    Hi All,
    On version 11.1.1.5.2 OBIEE with Map Viewer a customer has the following problem. Data objects are not displayed as expected on the map when the visibility check box is disabled on a dashboard. However the data about the object is incorrectly displayed on the map when the mouse is placed over the location of the hidden object.
    The customer's screen shots show a map with a panel which has a list of assets with a check box controlling if the asset is displayed. When the check box is off then the asset image is correctly not displayed but when the mouse is placed over the hidden asset’s location then incorrectly a pop window shows the hidden asset's Tooltip data.
    I was unable to reproduce this in-house with an OBIEE dashboard connected to Google Maps.
    In the MapViewer User Guide there is a reference to a MapViewer JavaBean method “setSVGShowInfo” which appears to be related to this:
    http://docs.oracle.com/cd/E14571_01/web.1111/e10145/vis_beanapi.htm#i1023460
    What approach should be taken to troubleshoot the problem?
    Aidan
    Edited by: user817045 on 21-Feb-2013 02:08
    Edited by: user817045 on 21-Feb-2013 02:32

    This is likely a bug.
    Is there an SR filed on this?
    Anyway, the Mapviewer javascript API is being used in OBIEE (not the java bean one).
    Is it a standard obiee map view which has this issue?
    Try the OBIEE Sample App (available on OTN)
    Try Dashboard page 3.3. SF Metrics. There are two layers that can be shown on the map (Revenue and Billed Quantity, and Establishment Revenue).
    Enable both and on hover the Rev & Billed qty info is shown. Uncheck Rev & Billed Qty and only the info for Establishment Revenue is shown on hover or when clicked on.

  • Map Viewer Errors Thrown

    This is a followup on the post "JAVA Error Messages Thrown When Deploying Map Viewer," from Jun 12, 2008 11:22 AM. (reprinted below)
    Basically there are a number of java errors thrown when attempting to install Mapviewer. Has anyone else come across similar error messages? What do they mean? I can't imagine this hasn't happened before.
    Also, if anyone might have a clue or a direction to point me in concerning this matter, that would really be greatly appreciated. I really need assistance here, as I really have no clue what is going on, and I haven't managed to find anything on the Web concerning these specific error messages.
    Thank you,
    John
    The following is the previous post I am referring to:
    Hello,
    Thank you for taking the time to assist with this problem.
    I am fairly new to java, and so I have little understanding of what certain error messages mean after I deploy Map Viewer through oc4j.
    I have poked around on the Web enough to have a feeling that the application is searching for certain necessary classes, and that it can't fully deploy without these classes. If this is true, where are these classes located and/or how do I point to them so that the application can find them?
    There are one group of errors thrown when attempting to deploy Map Viewer, and then another set when attempting to create a "dynamic data source" from the Map Viewer admin page.
    Following are the error messages:
    (happens upon attempted deployment:)
    08/06/12 11:08:22 java.lang.NoClassDefFoundError
    08/06/12 11:08:22 at java.lang.Class.forName0(Native Method)
    08/06/12 11:08:22 at java.lang.Class.forName(Class.java:164)
    08/06/12 11:08:22 at java.awt.Toolkit$2.run(Toolkit.java:821)
    08/06/12 11:08:22 at java.security.AccessController.doPrivileged(Native Method)
    08/06/12 11:08:22 at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
    08/06/12 11:08:22 at oracle.sdovis.GlobalVisContext.<clinit>(GlobalVisContext.java:48)
    08/06/12 11:08:22 at oracle.sdovis.MapMaker.setUGP(MapMaker.java:2334)
    08/06/12 11:08:22 at
    oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperConfig.java:1082)
    08/06/12 11:08:22 at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig.java:492)
    08/06/12 11:08:22 at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:274)
    08/06/12 11:08:22 at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:125)
    08/06/12 11:08:22 at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:109)
    08/06/12 11:08:22 at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:212)
    08/06/12 11:08:22 at java.lang.Thread.run(Thread.java:595)
    (happens after I attempt to create a "dynamic data source":)
    08/06/12 11:13:23 java.lang.NullPointerException
    08/06/12 11:13:23 at oracle.lbs.mapcache.config.ConfigLoader.loadDBConfigs(ConfigLoader.java:239)
    08/06/12 11:13:23 at oracle.lbs.mapcache.config.ConfigLoader.loadCacheConfigs(ConfigLoader.java:84)
    08/06/12 11:13:23 at oracle.lbs.mapcache.MapCacheServer.<init>(MapCacheServer.java:83)
    08/06/12 11:13:23 at oracle.lbs.mapcache.MCSServlet$ColdStart.run(MCSServlet.java:87)
    08/06/12 11:13:23 at java.lang.Thread.run(Thread.java:595)
    08/06/12 11:13:23 java.lang.NullPointerException
    08/06/12 11:13:23 at oracle.lbs.foi.FOIServer.<init>(FOIServer.java:163)
    08/06/12 11:13:23 at oracle.lbs.foi.FOIServlet$ColdStart.run(FOIServlet.java:127)
    08/06/12 11:13:23 at java.lang.Thread.run(Thread.java:595)
    Also, when the second series of error messages are thrown, a red error message displays on the admin html page, which reads, "MapViewer server is still starting up." It doesn't matter how long I wait, it never does start up, and of course the error messages tell something is wrong.
    Do I need to modify a file somewhere to tell Map Viewer where to look for these classes?
    By the way I am running on a Sun server with Solaris 9
    Thank you much,
    John
    Message was edited by: John
    user641525

    For future reference,
    The problem was finally solved. Someone suggested to me to make sure I was running jdk 1.5.0 by typing "java -version" It turns out I thought I was running 1.5.0, but in actuality I was running 1.4.2.
    The reason this was confusing was because I was pointing to the newer version when exporting the JAVA_HOME env. variable, by typing "export JAVA_HOME=[full path to jdk folder].
    But the trick was to append the full paths for jdk/bin and jdk/jre/bin to the front of the PATH variable. At first I appened the paths to the end of the PATH variable, and nothing happened.
    Basically, the mapviewer installation needs to look at the bin folders for the 1.5.0 version of the jdk.
    You can always test this by typing "java -version." If your PATH variable is correct, then you'll see information on the most recent jdk installation instead of an older version.
    John

  • Map Viewer troubles

    Hi,
    In Oracle Spatial Option (Oracle Map Viewer), it seams I have a little bit
    trouble with getting the numbers/values/any text/numeric data.
    What is the problem?
    I imported all necessary data into oracle db (parcels, numbers, city names,
    etc..), so I used mapdef.jar tool. I defined all new map names, themes and
    styles (based on examples), to customize my mapview-er's view. When I define
    parcels as a theme name, it works fine, but when I want to insert the
    numbers/text, it falls (simply not showing content of numeric data theme).
    Then I tried to solve the problem myself, so I tried to analyze the data
    through enterprise manager, and I compared cities/counties/states from us
    sampledata (scott/tiger), and I realized that they have r tree spatial index
    (sdo_gtype) - collection. I also created(like) indexes, pointing on the
    column I would like to show on the map, but it still didn't work. Anyone has
    some experience in that area?
    Beside that I also have MDSYS.SDO_GEOMETRY column created filled with
    coordinates. They are completely the same as in cities example... looks like
    that:
    SDO_GEOMETRY(2001, NULL, SDO_POINT_TYPE(643752449, 509765756, NULL), NULL,
    NULL).
    Why I cannot see those numbers? I tried all I knew, and I don't see the
    point. I have equal procedure, and almoast equal data in scott/tiger
    (cities), and I clearly see city names (from New York to Los Angeles), but
    when I repeat the same stuff on numbers I am not able to get any number
    inside my own map!
    Any hints???
    p.s. I have 8535 numbers to display? Is that a problem? My initial
    mapinit.jsp input coordinates are pretty high. I use values: 643752449 (x),
    509765756 (y). Initial map size =53000, and min & max scale is also set
    properly as for parcels_theme!

    I'm not sure what you are trying to do. The numbers in the geometry type are rendered (drawn), so you don't see the numbers per se, but instead they are drawn.
    Can you explain in more detail what you are doing, and what you are expecting?

  • Blueprints Ajax Map Viewer Error - NoClassDefFoundError

    I am at a loss to understand why I get the error below when using the blueprints ajax Map Viewer component.
    At one time I had this working, but somethng must have changed.
    Everything compiles, so all the components are being found, but when I navigate to the page, I get
    a NoClassDefFoundError that appears to point to something within blueprints.
    I have located the portion of my java code that appears to be the source of the problem.
    It is creating a new instance of the MapComponent() class.
    Can anyone suggest what I can look for to resolve this problem?
    -------------- Portion of exception page --------------------
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: java.lang.NoClassDefFoundError
    com/sun/rave/designtime/faces/FacetDescriptor
    Possible Source of Error:
    Class Name: com.sun.j2ee.blueprints.ui.design.AbstractBeanInfo
    File Name: AbstractBeanInfo.java
    Method Name: initFacetDescriptors
    Line Number: 366
    Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    com.sun.j2ee.blueprints.ui.design.AbstractBeanInfo.initFacetDescriptors(AbstractBeanInfo.java:366)
    com.sun.j2ee.blueprints.ui.design.AbstractBeanInfo.initBeanDescriptor(AbstractBeanInfo.java:341)
    com.sun.j2ee.blueprints.ui.mapviewer.MapComponentBeanInfo.initBeanDescriptor(MapComponentBeanInfo.java:44)
    com.sun.j2ee.blueprints.ui.design.AbstractBeanInfo.(AbstractBeanInfo.java:57)
    com.sun.j2ee.blueprints.ui.mapviewer.MapComponentBeanInfo.(MapComponentBeanInfo.java:32)
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-2)
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    java.lang.Class.newInstance0(Class.java:350)
    java.lang.Class.newInstance(Class.java:303)
    java.beans.Introspector.instantiate(Introspector.java:1432)
    java.beans.Introspector.findExplicitBeanInfo(Introspector.java:410)
    java.beans.Introspector.(Introspector.java:359)
    java.beans.Introspector.getBeanInfo(Introspector.java:159)
    javax.faces.component.UIComponentBase.getPropertyDescriptors(UIComponentBase.java:130)
    javax.faces.component.UIComponentBase.(UIComponentBase.java:92)
    com.sun.j2ee.blueprints.ui.mapviewer.MapComponent.(MapComponent.java:26)
    pcproject.EnrollMain.(EnrollMain.java:1658)
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-2)
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    ----------- Code section ---------------
    private MapComponent mapViewer1 = new MapComponent(); // This is the offending line
    public MapComponent getMapViewer1() { return mapViewer1; }
    public void setMapViewer1(MapComponent mc) { this.mapViewer1 = mc; }

    Hi,
    Any chance on the geocoder component also supporting proxy user and password ? Preferably like creator itselves, since it seems to work fine with windows domain level users and passwords..
    Thanks,
    Leo

Maybe you are looking for