3 Replies Latest reply: Sep 29, 2011 6:42 AM by 543503 RSS

    problem with WMS themes & Oracle MapViewer Version 11.1.1.2

    543503
      Hello, in my application I load the background raster from a external server using wms. With differents version of mapviewer 11 with a weblogic server (e.g: release 1, release 11.1.1.4) all it's allrigth, but when I change the mapviewer to release 11.1.1.2 I can't see the raster and I get the next error:

      21-sep-2011 11:33:10 oracle.sdovis.theme.WMSMapThemeDefinition setSrs
      INFO: Theme SRID set to 23030 for EPSG 82337
      21-sep-2011 11:33:10 oracle.sdovis.theme.WMSMapThemeProducer prepareData
      SEVERE: MAPVIEWER-01048: Cannot load WMS map image.
      21-sep-2011 11:33:10 oracle.sdovis.theme.DynGeomThemeProducer prepareData

      I can understand why..., I don't know what's is the problem because differents versions of mapviewer work without problem on the same weblogic server (Weblogic 11 patchset R2).

      Anyone know if mapviewer 11.1.1.2 has a problem with WMS?

      Thanks for your answer!!
        • 1. Re: problem with WMS themes & Oracle MapViewer Version 11.1.1.2
          jpaiva
          In general this version works with WMS. First, to guarantee that you are getting the image back from the external WMS server, copy the URL from MapViewer log and execute it in the browser. If the result seems OK, please try a more recent version of MapViewer from OTN just to verify if you still get the same error.

          Thanks.

          Joao
          • 2. Re: problem with WMS themes & Oracle MapViewer Version 11.1.1.2
            543503
            Thank you very much Joao.

            I try the test that you say me before my post and the mapviewer 11.1.1.4 works in my weblogic server without problem.
            Strange thing is that mapviewer 11.1.1.2 worked ok in that cluster mode weblogic and suddenly not...

            See you.
            • 3. Re: problem with WMS themes & Oracle MapViewer Version 11.1.1.2
              543503
              although with Oracle Fusion Middleware MapViewer Version 11g ps3 (11.1.1.4) and 11g ps4 (11.1.1.5.1) everything work ok in my WebLogic Server: 10.3.3.0, with Mapviewer Version 11.1.1.2 I get the next error:

              29-sep-2011 13:25:53 oracle.sdovis.theme.WMSMapThemeDefinition setSrs
              INFO: Theme SRID set to 23030 for EPSG 82337
              sun.awt.image.ImageFormatException: Not a JPEG file: starts with 0xff 0xd9
                   at sun.awt.image.JPEGImageDecoder.readImage(Native Method)
                   at sun.awt.image.JPEGImageDecoder.produceImage(JPEGImageDecoder.java:119)
                   at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
                   at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
                   at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
              29-sep-2011 13:25:53 oracle.sdovis.theme.WMSMapThemeProducer prepareData
              SEVERE: MAPVIEWER-01048: Cannot load WMS map image.

              I've seen that the wms external service works ok and returns an url with the correct image, but something wrong happens inside of mapviewer that don't allow generate the image....