6 Replies Latest reply: May 26, 2013 2:53 PM by Fa RSS

    11.1.1.7   tile cache server with georaster layer problem

    Fa
      Hi Forum,
      I tried to run the out of box version of the mapviewer 11.1.1.7.0 (the one which is preconfigured on the glassfish server) . Everything was ok except the tile cache server which could not show the 'Demo_Map' and the 'World_map'. I found that the problem was due to the world_raster theme (GeoRaster theme) which was included in their corresponding base maps. by removing the world_raster theme the problem resolved. Although non of the above mentioned problem exist in the mapbuilder application (only the oracle mapviewer application server).
      OS: Windows 7 SP1 - 64-bit
      DB: Oracle Release 11.2.0.1.0 32-bit
      Browser: Chrome,Firefox, IE

      I need to know whether it's a bug or there is a problem with my setup.
        • 1. Re: 11.1.1.7   tile cache server with georaster layer problem
          jsharma-Oracle
          Likely an issue with the setup.

          Were there any errors in the log file?

          I presume you downloaded the sample dataset and imported mvdemo.dmp?
          • 2. Re: 11.1.1.7   tile cache server with georaster layer problem
            Fa
            Yes I am using the mvdemo.dmp data.
            The part of the log file that is related to my problem is as below. The exceptions happen when I try to use the "Show Map" button in the "Manage Tile Layers" section of the mapviewer admin console.

            [#|2013-04-25T19:50:12.134+0430|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=28;_ThreadName=Thread-2;|oracle.xml.binxml.BinXMLException
                 at oracle.xml.binxml.BinXMLTokenManager.registerTokenSetFromMetadataRepos(BinXMLTokenManager.java:523)
                 at oracle.xml.binxml.BinXMLTokenManager.getNamespaceToken(BinXMLTokenManager.java:610)
                 at oracle.xml.binxml.BinXMLDecodeReader.getNamespace(BinXMLDecodeReader.java:4001)
                 at oracle.xml.binxml.BinXMLDecodeReader.access$000(BinXMLDecodeReader.java:105)
                 at oracle.xml.binxml.BinXMLDecodeReader$PrefixInfo.<init>(BinXMLDecodeReader.java:3139)
                 at oracle.xml.binxml.BinXMLDecodeReader.addPrefix(BinXMLDecodeReader.java:3174)
                 at oracle.xml.binxml.BinXMLDecodeReader.getNext(BinXMLDecodeReader.java:1862)
                 at oracle.xml.binxml.BinXMLDecodeReader.getNextEvent(BinXMLDecodeReader.java:1212)
                 at oracle.xml.binxml.BinXMLDecodeReader.decode(BinXMLDecodeReader.java:1075)
                 at oracle.xml.binxml.BinXMLDecoderImpl.decode(BinXMLDecoderImpl.java:75)
                 at oracle.xdb.XMLType.getStringVal(XMLType.java:1313)
                 at oracle.spatial.georaster.JGeoRaster.<init>(JGeoRaster.java:208)
                 at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:768)
                 at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
                 at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:90)
                 at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2250)
                 at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2184)
                 at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1728)
                 at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1459)
                 at oracle.lbs.mapserver.core.RealWorker.generateMapImage(RealWorker.java:835)
                 at oracle.lbs.mapserver.core.RealWorker.process(RealWorker.java:396)
                 at oracle.lbs.mapserver.MapServerImpl.renderMap(MapServerImpl.java:185)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchInternalMap(TileFetcher.java:456)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:284)
                 at oracle.lbs.mapcache.cache.TileFetcher.run(TileFetcher.java:191)
            |#]

            [#|2013-04-25T19:50:12.135+0430|SEVERE|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=28;_ThreadName=Thread-2;|GeoRaster load Exception:
            Message:null
            Description:
                 at oracle.sdovis.VisContext.processDataError(VisContext.java:1764)
                 at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:771)
                 at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
                 at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:90)
                 at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2250)
                 at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2184)
                 at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1728)
                 at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1459)
                 at oracle.lbs.mapserver.core.RealWorker.generateMapImage(RealWorker.java:835)
                 at oracle.lbs.mapserver.core.RealWorker.process(RealWorker.java:396)
                 at oracle.lbs.mapserver.MapServerImpl.renderMap(MapServerImpl.java:185)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchInternalMap(TileFetcher.java:456)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:284)
                 at oracle.lbs.mapcache.cache.TileFetcher.run(TileFetcher.java:191)
            |#]

            [#|2013-04-25T19:50:12.135+0430|SEVERE|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=28;_ThreadName=Thread-2;|Exception fetching data for theme WORLD_RASTER.
            Message:GeoRaster load Exception: null
            Description:
                 at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:1478)
                 at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
                 at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:90)
                 at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2250)
                 at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2184)
                 at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1728)
                 at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1459)
                 at oracle.lbs.mapserver.core.RealWorker.generateMapImage(RealWorker.java:835)
                 at oracle.lbs.mapserver.core.RealWorker.process(RealWorker.java:396)
                 at oracle.lbs.mapserver.MapServerImpl.renderMap(MapServerImpl.java:185)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchInternalMap(TileFetcher.java:456)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:284)
                 at oracle.lbs.mapcache.cache.TileFetcher.run(TileFetcher.java:191)
            |#]

            [#|2013-04-25T19:50:12.136+0430|SEVERE|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=28;_ThreadName=Thread-2;|Aborting map rendering because of severe error!|#]

            [#|2013-04-25T19:50:12.136+0430|SEVERE|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=28;_ThreadName=Thread-2;|GeoRaster load Exception: null|#]

            [#|2013-04-25T19:50:12.136+0430|SEVERE|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=28;_ThreadName=Thread-2;|The log message is empty or null. Please log an issue against the component in the logger field.|#]

            [#|2013-04-25T19:50:12.136+0430|WARNING|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=28;_ThreadName=Thread-2;|Failed to fetch tile image.(DEMO_MAP2,0,0_0_U)|#]

            [#|2013-04-25T19:50:12.136+0430|WARNING|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=28;_ThreadName=Thread-2;|Message:null
            Thu Apr 25 19:50:12 IRDT 2013
            Severity: 0
            Description:
            Message:null
            Thu Apr 25 19:50:12 IRDT 2013
            Severity: 0
            Description:
            Message:GeoRaster load Exception: null
            Description:
                 at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:1478)
                 at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
                 at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:90)
                 at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2250)
                 at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2184)
                 at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1728)
                 at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1459)
                 at oracle.lbs.mapserver.core.RealWorker.generateMapImage(RealWorker.java:835)
                 at oracle.lbs.mapserver.core.RealWorker.process(RealWorker.java:396)
                 at oracle.lbs.mapserver.MapServerImpl.renderMap(MapServerImpl.java:185)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchInternalMap(TileFetcher.java:456)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:284)
                 at oracle.lbs.mapcache.cache.TileFetcher.run(TileFetcher.java:191)
            |#]

            [#|2013-04-25T19:50:12.137+0430|WARNING|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=23;_ThreadName=Thread-2;|Failed to fetch tile image.(DEMO_MAP2,0,0_0_U)|#]

            [#|2013-04-25T19:50:12.137+0430|WARNING|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=23;_ThreadName=Thread-2;|Failed to fetch tile image.
            Message:Failed to fetch tile image.
            Thu Apr 25 19:50:12 IRDT 2013
            Severity: 0
            Description:
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:232)
                 at oracle.lbs.mapcache.cache.Tile.fetchTile(Tile.java:377)
                 at oracle.lbs.mapcache.cache.Tile.fetchTile(Tile.java:356)
                 at oracle.lbs.mapcache.cache.MapCache.getTile(MapCache.java:262)
                 at oracle.lbs.mapcache.cache.TileAssembler.assembleTile(TileAssembler.java:71)
                 at oracle.lbs.mapcache.MapCacheServer.getMapImageStream(MapCacheServer.java:177)
                 at oracle.lbs.mapcache.MCSServlet.doPost(MCSServlet.java:307)
                 at oracle.lbs.mapcache.MCSServlet.doGet(MCSServlet.java:254)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
                 at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                 at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
                 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
                 at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
                 at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
                 at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
                 at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
                 at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
                 at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
                 at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
                 at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
                 at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
                 at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
                 at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
                 at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
                 at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
                 at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
                 at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
                 at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
                 at java.lang.Thread.run(Thread.java:662)
            |#]

            [#|2013-04-25T19:50:25.020+0430|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=22;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to utf-8 from context /mapviewer, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

            [#|2013-04-25T19:50:25.020+0430|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=22;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to utf-8 from context /mapviewer, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

            [#|2013-04-25T19:50:25.026+0430|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=24;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /mapviewer, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

            [#|2013-04-25T19:50:25.031+0430|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=21;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /mapviewer, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

            [#|2013-04-25T19:50:25.035+0430|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=29;_ThreadName=Thread-2;|oracle.xml.binxml.BinXMLException
                 at oracle.xml.binxml.BinXMLTokenManager.registerTokenSetFromMetadataRepos(BinXMLTokenManager.java:523)
                 at oracle.xml.binxml.BinXMLTokenManager.getNamespaceToken(BinXMLTokenManager.java:610)
                 at oracle.xml.binxml.BinXMLDecodeReader.getNamespace(BinXMLDecodeReader.java:4001)
                 at oracle.xml.binxml.BinXMLDecodeReader.access$000(BinXMLDecodeReader.java:105)
                 at oracle.xml.binxml.BinXMLDecodeReader$PrefixInfo.<init>(BinXMLDecodeReader.java:3139)
                 at oracle.xml.binxml.BinXMLDecodeReader.addPrefix(BinXMLDecodeReader.java:3174)
                 at oracle.xml.binxml.BinXMLDecodeReader.getNext(BinXMLDecodeReader.java:1862)
                 at oracle.xml.binxml.BinXMLDecodeReader.getNextEvent(BinXMLDecodeReader.java:1212)
                 at oracle.xml.binxml.BinXMLDecodeReader.decode(BinXMLDecodeReader.java:1075)
                 at oracle.xml.binxml.BinXMLDecoderImpl.decode(BinXMLDecoderImpl.java:75)
                 at oracle.xdb.XMLType.getStringVal(XMLType.java:1313)
                 at oracle.spatial.georaster.JGeoRaster.<init>(JGeoRaster.java:208)
                 at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:768)
                 at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
                 at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:90)
                 at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2250)
                 at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2184)
                 at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1728)
                 at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1459)
                 at oracle.lbs.mapserver.core.RealWorker.generateMapImage(RealWorker.java:835)
                 at oracle.lbs.mapserver.core.RealWorker.process(RealWorker.java:396)
                 at oracle.lbs.mapserver.MapServerImpl.renderMap(MapServerImpl.java:185)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchInternalMap(TileFetcher.java:456)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:284)
                 at oracle.lbs.mapcache.cache.TileFetcher.run(TileFetcher.java:191)
            |#]

            [#|2013-04-25T19:50:25.036+0430|SEVERE|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=29;_ThreadName=Thread-2;|GeoRaster load Exception:
            Message:null
            Description:
                 at oracle.sdovis.VisContext.processDataError(VisContext.java:1764)
                 at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:771)
                 at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
                 at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:90)
                 at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2250)
                 at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2184)
                 at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1728)
                 at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1459)
                 at oracle.lbs.mapserver.core.RealWorker.generateMapImage(RealWorker.java:835)
                 at oracle.lbs.mapserver.core.RealWorker.process(RealWorker.java:396)
                 at oracle.lbs.mapserver.MapServerImpl.renderMap(MapServerImpl.java:185)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchInternalMap(TileFetcher.java:456)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:284)
                 at oracle.lbs.mapcache.cache.TileFetcher.run(TileFetcher.java:191)
            |#]

            [#|2013-04-25T19:50:25.037+0430|SEVERE|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=29;_ThreadName=Thread-2;|Exception fetching data for theme WORLD_RASTER.
            Message:GeoRaster load Exception: null
            Description:
                 at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:1478)
                 at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
                 at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:90)
                 at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2250)
                 at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2184)
                 at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1728)
                 at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1459)
                 at oracle.lbs.mapserver.core.RealWorker.generateMapImage(RealWorker.java:835)
                 at oracle.lbs.mapserver.core.RealWorker.process(RealWorker.java:396)
                 at oracle.lbs.mapserver.MapServerImpl.renderMap(MapServerImpl.java:185)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchInternalMap(TileFetcher.java:456)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:284)
                 at oracle.lbs.mapcache.cache.TileFetcher.run(TileFetcher.java:191)
            |#]

            [#|2013-04-25T19:50:25.037+0430|SEVERE|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=29;_ThreadName=Thread-2;|Aborting map rendering because of severe error!|#]

            [#|2013-04-25T19:50:25.037+0430|SEVERE|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=29;_ThreadName=Thread-2;|GeoRaster load Exception: null|#]

            [#|2013-04-25T19:50:25.038+0430|SEVERE|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=29;_ThreadName=Thread-2;|The log message is empty or null. Please log an issue against the component in the logger field.|#]

            [#|2013-04-25T19:50:25.038+0430|WARNING|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=29;_ThreadName=Thread-2;|Failed to fetch tile image.(DEMO_MAP2,0,0_0_U)|#]

            [#|2013-04-25T19:50:25.038+0430|WARNING|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=29;_ThreadName=Thread-2;|Message:null
            Thu Apr 25 19:50:25 IRDT 2013
            Severity: 0
            Description:
            Message:null
            Thu Apr 25 19:50:25 IRDT 2013
            Severity: 0
            Description:
            Message:GeoRaster load Exception: null
            Description:
                 at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:1478)
                 at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
                 at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:90)
                 at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2250)
                 at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2184)
                 at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1728)
                 at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1459)
                 at oracle.lbs.mapserver.core.RealWorker.generateMapImage(RealWorker.java:835)
                 at oracle.lbs.mapserver.core.RealWorker.process(RealWorker.java:396)
                 at oracle.lbs.mapserver.MapServerImpl.renderMap(MapServerImpl.java:185)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchInternalMap(TileFetcher.java:456)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:284)
                 at oracle.lbs.mapcache.cache.TileFetcher.run(TileFetcher.java:191)
            |#]

            [#|2013-04-25T19:50:25.039+0430|WARNING|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=21;_ThreadName=Thread-2;|Failed to fetch tile image.(DEMO_MAP2,0,0_0_U)|#]

            [#|2013-04-25T19:50:25.039+0430|WARNING|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=21;_ThreadName=Thread-2;|Failed to fetch tile image.
            Message:Failed to fetch tile image.
            Thu Apr 25 19:50:25 IRDT 2013
            Severity: 0
            Description:
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:232)
                 at oracle.lbs.mapcache.cache.Tile.fetchTile(Tile.java:377)
                 at oracle.lbs.mapcache.cache.Tile.fetchTile(Tile.java:356)
                 at oracle.lbs.mapcache.cache.MapCache.getTile(MapCache.java:262)
                 at oracle.lbs.mapcache.cache.TileAssembler.assembleTile(TileAssembler.java:71)
                 at oracle.lbs.mapcache.MapCacheServer.getMapImageStream(MapCacheServer.java:177)
                 at oracle.lbs.mapcache.MCSServlet.doPost(MCSServlet.java:307)
                 at oracle.lbs.mapcache.MCSServlet.doGet(MCSServlet.java:254)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
                 at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
                 at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
                 at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
                 at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
                 at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
                 at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
                 at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
                 at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
                 at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
                 at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
                 at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
                 at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
                 at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
                 at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
                 at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
                 at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
                 at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
                 at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
                 at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
                 at java.lang.Thread.run(Thread.java:662)
            |#]

            [#|2013-04-25T19:50:25.221+0430|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=24;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /mapviewer, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

            [#|2013-04-25T19:50:25.224+0430|WARNING|glassfish3.1.2|org.apache.catalina.connector.Request|_ThreadID=21;_ThreadName=Thread-2;|PWC4011: Unable to set request character encoding to UTF-8 from context /mapviewer, because request parameters have already been read, or ServletRequest.getReader() has already been called|#]

            [#|2013-04-25T19:50:25.229+0430|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=30;_ThreadName=Thread-2;|oracle.xml.binxml.BinXMLException
                 at oracle.xml.binxml.BinXMLTokenManager.registerTokenSetFromMetadataRepos(BinXMLTokenManager.java:523)
                 at oracle.xml.binxml.BinXMLTokenManager.getNamespaceToken(BinXMLTokenManager.java:610)
                 at oracle.xml.binxml.BinXMLDecodeReader.getNamespace(BinXMLDecodeReader.java:4001)
                 at oracle.xml.binxml.BinXMLDecodeReader.access$000(BinXMLDecodeReader.java:105)
                 at oracle.xml.binxml.BinXMLDecodeReader$PrefixInfo.<init>(BinXMLDecodeReader.java:3139)
                 at oracle.xml.binxml.BinXMLDecodeReader.addPrefix(BinXMLDecodeReader.java:3174)
                 at oracle.xml.binxml.BinXMLDecodeReader.getNext(BinXMLDecodeReader.java:1862)
                 at oracle.xml.binxml.BinXMLDecodeReader.getNextEvent(BinXMLDecodeReader.java:1212)
                 at oracle.xml.binxml.BinXMLDecodeReader.decode(BinXMLDecodeReader.java:1075)
                 at oracle.xml.binxml.BinXMLDecoderImpl.decode(BinXMLDecoderImpl.java:75)
                 at oracle.xdb.XMLType.getStringVal(XMLType.java:1313)
                 at oracle.spatial.georaster.JGeoRaster.<init>(JGeoRaster.java:208)
                 at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:768)
                 at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
                 at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:90)
                 at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2250)
                 at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2184)
                 at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1728)
                 at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1459)
                 at oracle.lbs.mapserver.core.RealWorker.generateMapImage(RealWorker.java:835)
                 at oracle.lbs.mapserver.core.RealWorker.process(RealWorker.java:396)
                 at oracle.lbs.mapserver.MapServerImpl.renderMap(MapServerImpl.java:185)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchInternalMap(TileFetcher.java:456)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:284)
                 at oracle.lbs.mapcache.cache.TileFetcher.run(TileFetcher.java:191)
            |#]

            [#|2013-04-25T19:50:25.230+0430|SEVERE|glassfish3.1.2|oracle.mapviewer.logger|_ThreadID=30;_ThreadName=Thread-2;|GeoRaster load Exception:
            Message:null
            Description:
                 at oracle.sdovis.VisContext.processDataError(VisContext.java:1764)
                 at oracle.sdovis.theme.GeoRasterThemeProducer.prepareData(GeoRasterThemeProducer.java:771)
                 at oracle.sdovis.GeoRasterTheme.prepareData(GeoRasterTheme.java:95)
                 at oracle.sdovis.LoadThemeData2.run(LoadThemeData2.java:90)
                 at oracle.sdovis.DBMapMaker.prepareThemes2(DBMapMaker.java:2250)
                 at oracle.sdovis.DBMapMaker.prepareThemes(DBMapMaker.java:2184)
                 at oracle.sdovis.DBMapMaker.renderEm(DBMapMaker.java:1728)
                 at oracle.sdovis.MapMaker.renderMap(MapMaker.java:1459)
                 at oracle.lbs.mapserver.core.RealWorker.generateMapImage(RealWorker.java:835)
                 at oracle.lbs.mapserver.core.RealWorker.process(RealWorker.java:396)
                 at oracle.lbs.mapserver.MapServerImpl.renderMap(MapServerImpl.java:185)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchInternalMap(TileFetcher.java:456)
                 at oracle.lbs.mapcache.cache.TileFetcher.fetchTile(TileFetcher.java:284)
                 at oracle.lbs.mapcache.cache.TileFetcher.run(TileFetcher.java:191)
            |#]
            • 3. Re: 11.1.1.7   tile cache server with georaster layer problem
              Lqian-Oracle
              This looks like xml class conflicts.

              What is the version of the database?

              What is the version of the JDK and is that a standalone Java SDK installation used to start up the quick start kit?

              Also, can you try set the CLASSPATH environment variable to empty and restart the glassfish again?
              • 4. Re: 11.1.1.7   tile cache server with georaster layer problem
                Fa
                jdk in path variable : path;C:\Program Files (x86)\Java\jdk1.6.0_25\bin
                DB Version: 11.2.0.1.0 , 32-bit
                My Java related variables:
                Java_Home: C:\Program Files (x86)\Java\jdk1.6.0_25
                JRE_HOME: C:\Program Files (x86)\Java\jdk1.6.0_25\jre
                .................
                ORACLE_HOME: C:\Oracle\product\11.2.0\dbhome_1

                I set the classpath to empty but the error persists.
                • 5. Re: 11.1.1.7   tile cache server with georaster layer problem
                  Lqian-Oracle
                  Can you try this:

                  in your db installation, find the ojdbc6.jar and copy it into the MapViewer quick start kit's glassfish3/glassfish/domains/domain1/lib/ directory, overwriting the existing ojdbc6.jar there.

                  thanks
                  LJ
                  • 6. Re: 11.1.1.7   tile cache server with georaster layer problem
                    Fa
                    LJ,
                    Thank you. That resolved the problem.