MapViewer setBox() problem.

I can generate a map without setting the extents but if I include a call to mv.setBox() I get a blank blue image. In MapBuilder I can zoom in without any problems. No error messages are generated. The same thing happens if I use setCenterAndSize(). It's just all or nothing.
I'm using predefined Themes against MaterializedViews instead of plain tables. However, if I use dynamic Themes against the original tables then it works, but I'm trying to avoid that due to performance problems.
I'm using :
OC4J 10.1.3.0.0
MapViewer Ver11_B060227 (EA 1)
MapBuilder Release 10.1.3.1
Any ideas?
Regards,
Lewis.

Problem resolved.
The logs said that I had an SRID mismatch which didn't seem to make much sense so I decided to put my Themes and Materialized Views in the same db schema and hey presto, problem solved.
Regards,
Lew.

Similar Messages

  • MapViewer metadata problem - accessing spatial data in a different schema.

    I have a MapViewer application that uses data from three different schemas.
    1. Dynamic Themes come from schema A.
    2. Static Themes come from schema B.
    3. A newly added static theme in B whose data comes from schema C.
    The mapviewer datasource points to schema B where the static themes, data and metadata are defined while the dynamic themes have their own datasource specified as part of addJDBCTheme(...).
    To get the newly added map to work I've had to add a view in schema B that points to C instead of referencing directly the table and I've had to add the metadata twice, once for schema B and once for schema C.
    If I put the metadata in just one of the two schemas I get the following errors.
    08/11/21 13:58:57 ERROR [oracle.sdovis.ThemeTable] cannot find entry in ALL_SDO_GEOM_METADATA table for theme: AMBITOS_REST
    08/11/21 13:58:57 ERROR [oracle.sdovis.ThemeTable] java.sql.SQLException: Invalid column index
    OR
    08/11/21 13:53:39 ERROR [oracle.sdovis.theme.pgtp] java.sql.SQLException: ORA-29902: error in executing ODCIIndexStart() routine
    ORA-13203: failed to read USER_SDO_GEOM_METADATA view
    It's not a big deal but I'd like to know if anyone else has has similar problems.
    Saludos,
    Lew.
    Edited by: Lew2 on Nov 21, 2008 6:42 AM

    Hi Lew,
    if you are using a recent version (10.1.3.1 or later) there is no need to use a view and to create the metadata in both schemas.
    You need to grant selection on tables between the schemas.
    You can try the following. Assume you have the MVDEMO schema (from MapViewer kit) and SCOTT schema.
    1) grant select on MVDEMO Counties table to SCOTT
    SQL> grant select on counties to scott;
    2) Now you are ready to create a predefined theme in schema SCOTT using the MVDEMO Counties table.
    - Open MapBuilder and loads the SCOTT schema.
    - On the Data navigator (bottom left tree), go to Geometry tables and you should see the MVDEMO node and the COUNTIES node inside it.
    - Start a wizard to create a geometry theme based on this Counties table.
    - At the end you should see that the base table name is MVDEMO.COUNTIES. Therefore MapViewer will use the metadata in MVDEMO schema and there is no need to replicate it in SCOTT schema.
    Joao

  • Mapviewer performance problem using image format FORMAT_RAW_COMPRESSED

    I am using the MapViewer.FORMAT_RAW_COMPRESSED map image in my (java) map application because some features must be clickable and as far as I can work out, this is the only way to achieve this in a Java client. On my local system, running the map server in an oc4j container, this works about as fast as using FORMAT_GIF_URL and loading the image from this url. There also doesn't seem to be much difference in memory and cpu usage.
    When I direct the request to a map server running on a remote Application Server the rendering time grows exponentially. The same maprequest using FORMAT_GIF_URL runs as fast as it does in my local OC4J container. The problem seems to be in "packing time" in RealWorker:
    Remote AS:
    Thu Jun 30 13:59:34 CEST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] freeMapper() begins...
    Thu Jun 30 13:59:34 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] preparation time: 99ms
    Thu Jun 30 13:59:34 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] querying/rendering time: 5560ms
    Thu Jun 30 13:59:34 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] packing time: 142605ms
    Thu Jun 30 13:59:34 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] --------------- total time: 148264ms
    Local OC4J:
    Thu Jun 30 15:34:42 CEST 2005 DEBUG [oracle.lbs.mapserver.core.MapperPool] freeMapper() begins...
    Thu Jun 30 15:34:42 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] preparation time: 540ms
    Thu Jun 30 15:34:42 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] querying/rendering time: 2490ms
    Thu Jun 30 15:34:42 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] packing time: 120ms
    Thu Jun 30 15:34:42 CEST 2005 DEBUG [oracle.lbs.mapserver.core.RealWorker] [RealWorker] --------------- total time: 3150
    The test server is smaller than my local system and more applications are running on the AS, generating the map takes all the available memory and cpu, but the difference between the time it takes generating a GIF image and generating a Java image of almost a factor 50 is puzzling.
    What could cause this enormous difference? Any idea's about how we can analyze or solve this? What could RealWorker be doing in this packing time? Any hints would be greatly appreciated.
    Many thanks,
    Ida

    Thanks for the replies!
    1. Which AS version are you using? -> 10.1.2
    2. Just as a test, if you restart AS (if possible) do you still get the same values? -> yes, we restarted the AS and the results are the same.
    The server is indeed running low in memory. It is a 512MB machine, just big enough to run the AS. The production server will have some more, but not very much. Could I estimate how much extra memory it will need to keep a good performance when generating maps with live features? And maybe I'm wrong, but shouldn't the extra load for the java image only be on the client, since that's where the image is made? On the server it's just the image data, isn't it?
    I tried removing the basemap, but that reduces the loading time just with a few seconds. The live themes are jdbc themes and result in only some 20 to 30 geofeatures. Removing them from the request so only an empty image with a title is retrieved still takes about 117 seconds. Reducing the device size does reduce the loading time, so it does seem to have something to do with the amount of pixels in the image space, not with the data. Could it be that in the "packing" of the image something happens that takes a lot of memory, related to the amount of pixels?
    In my situation it would be handy if the live features were also returned when the image format is not set to FORMAT_RAW_COMPRESSED, it is also possible to draw shapes onto an existing image and this would bypass the memory problems.
    Thanks for any further help.
    Ida

  • Mapviewer Admin Problem

    I am attempting to have two mapviewer applications deployed inside two different oc4j instances on a server for development and testing. I am having trouble administering the second mapviewer instance as the all the pages have the "mapviewer" application name hard coded in them. Does any one know if there is a version of the mapviewer.ear without this problem?

    While you can have as many mapviewer applications deployed on as many oc4j instances as you like, you only need one mapviewer instance itself. Your application should just need the url to the mapviewer server. It does not need to (and should not) be deployed inside the mapviewer ear directory.

  • Mapviewer OC4J problem

    I installed OC4J, Mapviewer and the mapviewer demo
    Now some Mapviewer demos and examles work, I can connect to the database, but I cannot start any OC4J-jsp or Mapviewer-jsp demo.
    Selecting a jsp demo (i.e. •     jview.jsp A simple no hassle spatial data viewer) in the internet explorer I get the message:
    The page cannot be displayed
    There is a problem with the page you are trying to reach and it cannot be displayed.
    The OC4J process reports the following error:
    04/09/22 11:50:46 IOException in compile: CreateProcess: javac.exe -J-Xmx1024m -
    classpath oc4j.jar;D:\oc4j\j2ee\home\lib/ejb.jar;D:\oc4j\j2ee\home\lib/servlet.j
    ar;D:\oc4j\j2ee\home\lib/ojsp.jar;D:\oc4j\j2ee\home\lib/jndi.jar;D:\oc4j\j2ee\ho
    me\lib/jdbc.jar;D:\oc4j\j2ee\home\iiop.jar;D:\oc4j\j2ee\home\iiop_gen_bin.jar;D:
    \oc4j\j2ee\home\lib/jms.jar;D:\oc4j\j2ee\home\lib/jta.jar;D:\oc4j\j2ee\home\lib/
    jmxri.jar;D:\oc4j\j2ee\home\lib/javax77.jar;D:\oc4j\j2ee\home\lib/javax88.jar;D:
    \oc4j\j2ee\home\../../opmn/lib/ons.jar;D:\oc4j\j2ee\home\../../opmn/lib/optic.ja
    r;D:\oc4j\j2ee\home\../../lib/dms.jar;D:\oc4j\j2ee\home\../../dms/lib/dms.jar;D:
    \oc4j\j2ee\home\lib/connector.jar;D:\oc4j\j2ee\home\lib/cos.jar;D:\oc4j\j2ee\hom
    e\lib/jsse.jar;D:\oc4j\j2ee\home\../../oracle/lib/jsse.jar;D:\oc4j\j2ee\home\lib
    /jnet.jar;D:\oc4j\j2ee\home\lib/jcert.jar;D:\oc4j\j2ee\home\lib/activation.jar;D
    :\oc4j\j2ee\home\lib/mail.jar;D:\oc4j\j2ee\home\../../javavm/lib/jasper.zip;D:\o
    c4j\j2ee\home\../../lib/xmlparserv2.jar;D:\oc4j\j2ee\home\../../oracle/lib/xmlpa
    rserv2.jar;D:\oc4j\j2ee\ho?
    Has anybody an idea what is wrong?
    The operating system is Windows 2000, German version.
    The OC4J is the latest version (dowloaded last week),
    the database is Oracle 10g, 10.1.0.2 enterprise edition.

    this is definately caused by using the wrong java program. Please check the following:
    1. Are you using Java 1.4 or higher? to check, do 'java -version' from command line.
    2. Are you using the java executable located directly under a J2SDK's bin folder? If you are using any jre (Java Runtime Environment) java executable, OC4J wont be able to run the JSP pages.
    Also dont use the java that comes with your oracle database, as that is also a JRE only program. Instead, download the full j2sdk 1.4.2 from Sun.
    LJ

  • Mapviewer identify problem

    Hallo,
    We have just shifted to 9i. In 8.1.7 I was able to use identify method and show data of the houseno selected by using the method
    info = mv.identify(dataSrc, "HOUSENO", colsToSelect, "GEOLOC", 8220, x + 5,y + 5 , x-5, y-5, true);
    In 9i, after I change the pre9i parameter of the identify method to false,
    I am getting the following error. Any idea if I have to change any setting or give rights to any package or something..
    [oracle.sdovis.DBMapMaker, INFO] **** time spent on loading features: 0ms.
    [oracle.sdovis.DBMapMaker, INFO] **** time spent on rendering: 16ms
    [oracle.lbs.mapserver.core.InfoWorker, ERROR] java.sql.SQLException: ORA-29902:
    Fehler bei der Ausf³hrung von Routine ODCIIndexStart()
    ORA-01476: Divisor ist Null
    ORA-06512: in "MDSYS.SDO_CS", Zeile 222
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:187)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:241)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:543)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1477)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteDescribe(TTC7Protocol.java:
    677)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.jav
    a:2346)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
    nt.java:2635)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:
    753)
    at oracle.lbs.mapserver.core.InfoWorker.processDirectInfoRequest(InfoWor
    ker.java:188)
    at oracle.lbs.mapserver.core.InfoWorker.process(InfoWorker.java:124)
    at oracle.lbs.mapserver.oms.processInfoRequest(oms.java:1366)
    at oracle.lbs.mapserver.oms.doPost(oms.java:267)
    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(ServletReque
    stDispatcher.java:721)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
    utor.java:803)
    at java.lang.Thread.run(Unknown Source)

    This seems like it is a coordinate system problem.
    Are you specifying the query window in a different coordinate system then the layer?
    It might be helpful to turn tracing on through mapviewer to see what query is being sent to the database (or turn on tracing in the database, using sql_trace=true).

  • 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)

  • Mapviewer language problem

    Hi,all
    I'm a chinese mapviewer user. I used to deploy my mapviewer application on simplified chinese windows platform. This time,I must deloy my application to hp-ux platform with oracle ias10g(9.0.4) installed. The problem I encountered
    was that the lable which should be chinese word is substituted by some small squares. I tried to modify locale to zh_CN.hp15CN and restart ias ,but doesnt work.
    Sorry for my poor english. could someone give me some suggestion?

    How did you verify those logical fonts (serif, dialog) are mapped to physical fonts that contain chinese characters? Even if they are setup properly for the X11, Java JVM may not be picking up the same mapping.
    What you can try is find an actual physical font that is installed and accessible by Java, and then use that physical font name in the Text style of MapViewer.

  • Mapviewer 11ea Problem

    Hi
    I have developed application to display map [stored in oracle spatial] on web using Mapviewer 10.0.2 and Jdeveloper 9.0.5.2 and is working fine. Now i am trying same application using Mapviewer 11ea but it gives the following error. Can anbody solve this
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\JDeveloper9\jdev\system9.0.5.2.1618\oc4j-config>
    C:\JDeveloper9\jdk\bin\javaw.exe -ojvm -classpath C:\JDeveloper9\j2ee\home\oc4j.jar;C:\JDeveloper9\jdev\lib\jdev-oc4j.jar -Xverify:none -Ddisable.checkForUpdate=true -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doracle.dms.sensors=NONE -Doc4j.jms.usePersistenceLockFiles=false com.evermind.server.OC4JServer -config C:\JDeveloper9\jdev\system9.0.5.2.1618\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 15719 ms.
    06/07/19 12:42:20 Oracle Application Server Containers for J2EE 10g (9.0.4.0.0) initialized
    Target URL -- http://dev1:8988/webris-ViewController-context-root/webris
    Jul 19, 2006 12:42:29 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
    Jul 19, 2006 12:42:29 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
    Jul 19, 2006 12:42:30 PM org.apache.struts.util.PropertyMessageResources <init>
    INFO: Initializing, config='view.ApplicationResources', returnNull=true
    06/07/19 12:42:30 INFO [oracle.lbs.mapserver.oms] oms root path: E:\Projects\webris\ViewController\public_html\
    06/07/19 12:42:30 INFO [oracle.lbs.mapserver.core.MapperConfig] MapViewer server version: Ver11_B060227
    06/07/19 12:42:30 INFO [oracle.lbs.mapserver.core.MapperConfig] using default config file: E:\Projects\webris\ViewController\public_html\WEB-INF\conf\mapViewerConfig.xml
    06/07/19 12:42:30 mbean domain: current-workspace-app
    06/07/19 12:42:30 INFO [oracle.lbs.mapserver.oms] OMSConfig mbean regisred.
    06/07/19 12:42:30 WARN [oracle.lbs.mapserver.core.MapperPool] destroying ALL mapmaker instances.
    06/07/19 12:42:30 sessiontrue
    06/07/19 12:42:34 java.lang.NoSuchMethodError: void oracle.jdbc.pool.OracleDataSource.setConnectionCachingEnabled(boolean)
    06/07/19 12:42:34      at oracle.sdovis.ds.NativeOracleDataSource.<init>(NativeOracleDataSource.java:115)
    06/07/19 12:42:34      at oracle.sdovis.ds.DSManager.registerOracleJdbcDS(DSManager.java:110)
    06/07/19 12:42:34      at oracle.lbs.mapserver.core.MapperConfig.createMappers(MapperConfig.java:683)
    06/07/19 12:42:34      at oracle.lbs.mapserver.core.MapperConfig.loadMapViewerConfig(MapperConfig.java:1229)
    06/07/19 12:42:34      at oracle.lbs.mapserver.core.MapperConfig.loadConfigFile(MapperConfig.java:502)
    06/07/19 12:42:34      at oracle.lbs.mapserver.core.MapperConfig.<init>(MapperConfig.java:279)
    06/07/19 12:42:34      at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:123)
    06/07/19 12:42:34      at oracle.lbs.mapserver.MapServerImpl.<init>(MapServerImpl.java:107)
    06/07/19 12:42:34      at oracle.lbs.mapserver.oms$ColdStart.run(oms.java:205)06/07/19 12:42:35      at java.lang.Thread.run(Thread.java:534)
    Thanks,
    Sujnan

    Hi Sujnan,
    You receive this error, because you are trying to use MapViewer 11ea with Oracle Application Server Containers for J2EE 10g (9.0.4.0.0). As I know, MapViewer 11ea is tested only with Oracle Application Server Containers for J2EE 10g (10.1.3).
    Regards,
    Andrejus

  • Mapviewer update problem

    Hello,
    in my application I am creating polygons on the fly and storing them into table on which a MV theme is based. after that my polygons are not rendered correctly in my app nor in map builder - but if I restart map builder or application they are ok - so what additional task to do after storing polygons into table - some theme reloading or what?
    thanks,
    Branislav

    Hi Joao,
    I am usind JDBC:
    1. delete table:
    public void prepare() {
              try {
                   PreparedStatement ps1 = conn.prepareStatement("DELETE polygons");
                   ps1.execute();
                   ps1.close();
              } catch (SQLException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    2. insert into table:
    private void storePolys(List polys) {
              try {
                   boolean isAutoCommit = conn.getAutoCommit();
                   conn.setAutoCommit(false);
                   PreparedStatement ps = conn
                             .prepareStatement("INSERT INTO polygons (geometry, cena2) values (?,?)");
                   for (Iterator iter = polys.iterator(); iter.hasNext();) {
                        Map map = (Map) iter.next();
                        List poly = (List) map.get("poly");
                        Number price = (Number) map.get("price");
                        JGeometry j_geom = JGeometry.createLinearPolygon(
                                  polyAsDoubleArray(poly), 2, 2065);
                        STRUCT polygon = JGeometry.store(j_geom, conn);
                        ps.setObject(1, polygon);
                        ps.setBigDecimal(2, (BigDecimal) price);
                        ps.execute();
                   ps.close();
                   conn.commit();
                   conn.setAutoCommit(isAutoCommit);
              } catch (SQLException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    and how it behaves you can see in this flash demo:
    http://www.freewebalbum.com/demo2/Untitled2/Untitled2.html
    thanks,
    Branislav

  • SetScale problem after SetBox command

    Hello, everyone! I have a trouble with mapViewer. When I set up a SetBox command in our ADF application and then execute SetScale statement, mapViewer falls down and no actions can be done after all. What's the cause of this trouble? Maybe anyone have the same problem? Thanks.
    Edited by: Max on 05.06.2011 14:14

    Thanks for reply, Joao.
    I have two procedures, which consistently call two mapviewer methods.
    The first proc calls a setBox() method:
    mapViewer.setBox(XMIN, YMIN, XMAX, YMAX, CSUtils.getSessionMV().MapSRID,true);
    mapViewer.run();
    And the second one calls setScale() method:
    mapViewer.setScale((long)scale);
    mapViewer.run();
    After that mapviewer falls down. I dont pass any request to mapviewer. And in log there is no any usable info.

  • Problem with rendering GeoRaster in MapViewer...

    Hi,
    I am using the MapBuilder (10.1.3.1), and I import a georaster for an Oracle Spatial 10g Database. I created a GeoRaster Theme and a Base Map including GeoRaster Theme created. In preview mode of Map Builder, the GeoRaster is displayed correctly. In MapViewer (Ver 10131_B061023) this GeoRaster does not appear... A cyan rectangle appears, apparently with the size of GeoRaster...
    I have copied the Java Advanced Imaging (JAI) library files (jai_core.jar and jai_codec.jar) to the OracleAS MapViewer library path (\mapviewer\web\WEB-INF\lib), and restart mapviewer...
    Does anyone have any idea of what may be happening wrong?
    Thanks

    There may be a problem with the map request sent to MapViewer. Please post the map request and the log information (you can get from the log file - set the log level to "finest").

  • MapViewer data source problem in the morning

    Hi all,
    I have the Oracle Application server 10g and Oracle database 10g installed on 2 different computers. On the application server I have installed MapViewer the last version.
    I have defined a datasource in the configuration file and that works perfect.
    My application uses mapviewer through java and displays the generated image in an jsp. The same working as the demos though.
    Each night there is a backup of the database made on the other computer.
    The MapViewer/data source remains open through the night. When I come to the office in the morning, and i try to access my webpage with the mapviewer image, I get an
    500 Internal Server Error, java.lang.NullPointerException...
    I check in the admin page of the map viewer the following:
    <list_data_sources /> - The datasource is still defined
    <data_source_exists data_source="blabla"/> - The datasource exists
    If i try to <list_predefined_themes data_source="blabla" /> I get again an error. It seems that the connection with the database is not working.
    If I <redefine_data_source ..> or <restart/> mapviewer everything starts to work again without problems.
    I have attached further some erros I have in the log file, maybe it will help you to help me ;-)
    Regards,
    Adrian
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.sdovis.theme.pgtp] *** Exception while querying theme: LEVEL_1
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.sdovis.theme.pgtp] java.sql.SQLException: I/O-uitzondering: Connection reset by peer: socket write error
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.sdovis.DBMapMaker] Message:Exception while querying theme: LEVEL_1
    Description: Nested exception is:
    java.sql.SQLException: I/O-uitzondering: Connection reset by peer: socket write error
    java.sql.SQLException: I/O-uitzondering: Connection reset by peer: socket write error
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:286)
    Thu Feb 02 08:10:28 CET 2006 WARN [oracle.sdovis.MapMaker] null MBR resulted from buildDataMBR.
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.lbs.mapserver.core.RealWorker] Message:[SDOVIS] No spatial data to render!
    Description:
         at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1304)
         at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1399)
    Thu Feb 02 08:10:28 CET 2006 ERROR [oracle.lbs.mapserver.core.RealWorker] Message:null
    Thu Feb 02 08:10:28 CET 2006
    Severity: 0
    Description:
    Message:[SDOVIS] No spatial data to render!
    Description:
         at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1304)
         at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1399)
    Thu Feb 02 08:12:45 CET 2006 ERROR [oracle.lbs.mapserver.core.MapperConfig] java.sql.SQLException: I/O-uitzondering: Connection reset by peer: socket write error
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:137)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:174)

    Hi,
    please post how you did define the data source in the configuration file.
    Thanks.

  • Problem with start Mapviewer

    Hello,
    I have tried to start Mapviewer in my teminal but i became an error: /scratch/jdk...../bin / java can not found! I could nou find it in filr OC4J too!
    In Workshop Document wrote that I have to change it to /usr/java/jdk.... I have down it but this Folder it doese not exits too!
    How can I solve This problem? can somebody help me?
    Thanks a lot for your Help.
    Best Regards
    Hannover

    Do you download Mapviewer Glassfish is already java start up only you must to do is enter environment variables
    JAVA_HOME = C:\Program Files\Java\jdk1.8.0_05\bin
    NOW GO TO HTTP://LOCALHOST:8080\MAPVIEWER

  • Problem connecting Mapview to Oracle Database(Add a data source)

    I’m a neophyte to the mapviewer and I’ve run into a very primitive problem. I can’t view the sample maps in the mapviewer. I can’t connect to the database where I've loaded the sample oracle data (mvdemo.zip) to the database. I have the mapviewer running. I’ve checked my tnsnames to confirm the connection used by other oracle application (sql) and confirmed that the spatial files exists on the database.
    Below is my platform inform
    Platform
    For MapView
    We have Java- j2se_1.4.2_09
    My local system is Microsoft Windows 2000.
    Connect to Oracle 9.2.0.4.0 and 10.1.0.3.1 on separate machines
    Here is my connection infor:
    <?xml version="1.0" standalone="yes"?>
    <non_map_request>
    <add_data_source
    name="mvdemo"
    jdbc_host="medea"
    jdbc_port="1521"
    jdbc_sid="orcl"
    jdbc_user="gda_stock"
    jdbc_password="!********"
    jdbc_mode="thin"
    number_of_mappers="3" />
    </non_map_request>
    Here is the error I received:
    <?xml version="1.0" encoding="UTF-8" ?>
    <oms_error>Message:[MapperConfig] cannot add map data source. Fri Aug 26 17:28:04 CDT 2005 Severity: 0 Description: at oracle.lbs.mapserver.core.MapperConfig.addMapDataSource(MapperConfig.java:583) at oracle.lbs.mapserver.MapServerImpl.addMapDataSource(MapServerImpl.java:315) at oracle.lbs.mapserver.oms.addDataSource(oms.java:1241) at oracle.lbs.mapserver.oms.doPost(oms.java:409) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Unknown Source)</oms_error>

    Hi, is there anyone here who can help me.....thanks in advance!

Maybe you are looking for

  • WIP&Settlement Process order

    Hi, We calculate WIP weekly basis and WIP used to credited to a Balance sheet acct and DR to a P&L acct (which is generally NOT a Cost Element ) Here our Doubt, WIP was calculating irrespective of Settlement that is we used to see the Doucument (DR a

  • Java.io.IOException:

    Hi, I use Jdeveloper10g to create an ADF application which can call papi-client of BPM standalone. I add the code copied from http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/papi/index.html?t=modules/papi_ws/configuration/t_Launching_PAPI_WS_

  • Errata corrige: error is in JVM_CreateJavaVM

    the error is not in FindClass but in JNI_CreateJavaVM. I compile with g++ -I /usr/java/j2sdk1.4.2_08/include -I /usr/java/j2sdk1.4.2_08/include/linux -ljvm namefile.cpp -o namefile Here is my code, tank in advance JavaVMOption options[1]; JavaVM *jvm

  • Organizing music in columns

    I can't seem to find a way to list my music by artist, album, then song name. I can move everything to where I want it except for the song name. Am I trying something that can't be done?

  • I need help installing memory in my 2008 imac. There are no black tabs on the earlier models.

    I watched the you tube videos, but they were all on newer imacs. Mine doesn't have black tabs to pull on that I can find.