ADF Map Viewer Themes Rendering Problem

Hi,
Im presently working on ADF Map Viewer. Im facing the below mentioned issue. Can any one has come across this???
Im building the Themes using Map Builder.
I have 3 thems, which i combined together & created as a Base Map using Map Builder.
While adding the themes, i also set the theme mode as "Mapviewer_native". The themes are Area Theme, Region Theme & Building Block Theme.
For the first theme, i did not specify any minimum scale & maximum scale to make sure that this theme needs to be rendered initially.
For the second theme, which supposed to be rendered after doing certain zoom in...for this theme i have set the Max & Min scale as Max 3 || Min 8.
For the third theme i have added the range from 3 to 0.
Im able to test this fine with Map Builder...On making zoom in at certain levels the second theme is getting rendered..and after doing some more zoom in the third theme is getting rendered.
Till this everything fine... Here the problem came....
I used <dvt:map component & assigned the above created Map as Base Map... But here im not able to see the second theme...Initially its showing the Area Map & On selecting the Zoom In ...its directly going to theme 3.
Can you please suggest me some thing by using i can get this second theme as well....
Looking forward to hear from you
Regards,
Konjeti

Hi,
not that I am aware of.
Frank

Similar Messages

  • ADF 12c Rendering Problems at design time

    Hi all,
    I am experimenting the following unexpected rendering problems at Design time with JDEV 12c:
    -  Sometimes a complete page is showed empty or blank but the components exists on the page (you can see them in the structure panel) and the page has no warnings.
    -  Sometimes I cannot click a component because it is behind the container.
    -  Sometimes the containers are rendered in other place on the page.
    -  Sometimes the containers not stretching
    I remember some posts about this problem in 11.1.2.x but I think it was not fixed in 12c. For this reason, I have some questions:
    What is the "real" memory requirement  of Jdev 12c to avoid render problems?
    What is the best configuration in jdev.conf?
    Is it only a memory issue or Is it also a dependency reference problem? According to a blog post of Frank Nimphius:
    Though with Oracle JDeveloper 11g the problem of the IDE not rendering JSF pages properly in the visual editor has become rare, there always is a way for the creative to break IDE functionality. A possible reason for the visual editor in JDeveloper to break is a failed dependency reference, which often is in a custom JSF PhaseListener configured in the faces-config.xml file. To avoid this from happening, surround the code in your PhaseListener class with the following statement (for example in the afterPhase method)
    public void afterPhase(PhaseEvent phaseEvent) {   if(!ADFContext.getCurrent().isDesigntime()){ ... listener code here ... } }
    The reason why the visual editor in Oracle JDeveloper fails rendering the WYSIWYG view has to do with how the live preview is created. To produce the visual display of a view, JDeveloper actually runs the ADF Faces view in JSF, which then also invokes defined PhaseListeners. With the code above, you check whether the PhaseListener code is executed at runtime or design time.If it is executed in design time, you ignore all calls to external resources that are not available at design time.
    source:
    https://blogs.oracle.com/jdevotnharvest/entry/when_jdeveloper_ide_doesn_t
    if it is a known problem, then Why is not fixed in 12c?
    Jhon
    Jdev 12c

    Jhon, what Frank mentioned can't be fixed from the outside. You or the developers who use phase listens without thinking about the design view are the ones to fix this. Frank provided you with the solution for this.
    However, we don't know if you use any self written phase listener. If you don't do this you have another problem. I do see some of your symptoms but can't reproduce them at the moment. As long as we can't reproduce the problem somehow it's difficult to to get a solution.
    My advise is to keep your eyes open (add I do) and whenever you can reproduce this behaviour come back and tell us about it. It's hard or impossible to give the 'best' settings for Jdev.conf as they depend on other factors e.g. operating system, memory, other applications running at the same time and many more.
    Personally I don't change the parameters as long as I can't put the problems to low memory (which I can't at the moment).
    Timo

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

  • I have a problem with FP 13 in that a Council website with a regional map viewer will not now open.

    I have a problem with FP 13 in that a Council website with a regional map viewer will not now open.  The site was designed around FP 10 and the link they have to download FP 10 nowalso directs to FP 13.  I followed the "How to revert to FP 11.7 (Chris Campbell Oct 2013)  along with the uninstall instructions link and now have both zip FP 10.3 and zip 11.7 in my downloads.  I attempted to run FP 11.7, the "winax" file for IE after unzipping it but I am blocked bya window that says I cannot do this and must install FP 13.  The only choice in this window, other than downloading is QUIT.  What is the best approach now.  The website is Auckland Council and the window concerned is "GIS Viewer".   neither Chrome or IE will open it.

    Hi 34wiki,
    There is only one uninstaller for Windows that will uninstall both 32- and 64-bit versions of the Flash Player. At one point there were two separate installers (one for 32-bit OS and another for 64-bit OS), but that has not been the case for a long time. Based on the error, it's possible you may using an older version of the uninstaller (to find out the version of the uninstaller, right-click on the file, select properties, then the 'details' tab).  The latest version is always posted to this link, and will work on both 32- and 64-bit operating systems.  If you get the same error using this uninstaller, please post the contents at the end of the FlashInstall.log file, that show the uninstall attempt.  Since you have a 64-bit OS, there will be two files at the following locations:
    32-bit: C:\Windows\System32\Macromed\Flash
    64-bit: C:\Windows\SysWOW64\Macromed\Flash
    Maria

  • Geo Maps - Graphics rendering problem

    Hi Experts,
    I got this error while running an Application with Geo Map.- " Graphics rendering problem"
    In my application there are two UI elements ,
    Geo Map and Business Graphics, i can see business graphics properly but problem is only with GeoMap.
    I checked the SAP Note : 704604.
    And the entry in my Visual Admin is : http://localhost :40180
    When i go to the URL http://<server>:4<instance>80 , i get the message displayed as "SAP IGS is running"
    I am unable to figure out the problem can you guys help?
    regards,
    Ashish Shah

    Hello Ashish,
                     There must be some problem with IGS server. So check whether your IGS server is configure properly or not.
    Follow these steps:
    1. Check the path first
      Local Drive : \ usr \ SAP \ J2E \ JC01 \ J2EE \ admin
    2. Connect to SAP J2EE Engine
    3.Open the Visual Administrator Window, In Global Configuration page ,go to
           CONFIGURATION ADAPTER  -> WEBDYNPRO -> sap.com - > tcwddispwda -> propertysheet.default
    4. Switch to edit mode
    5.Change property entry , http://<server name: port number>
    6.Exit the visual Administrator window
    7.Restart J2EE Engine.
    Best Regards,
    Sheetal.
    Edited by: Shital Patil on May 1, 2008 3:11 PM

  • I am trying to view my pay stubs online but nothing happens when I click on the link. Does anyone know why, I never had a problem viewing them with my pc?

    I am trying to view my pay stubs online but nothing happens when I click on the link. Does anyone know why, I never had a problem viewing them with my pc?

    Nobody knows why because you have not provided sufficient information. Web site? Browser? How do you see your pay stubs online? Company web site? Unsecure?

  • Map Viewer Query Rewriting for Dynamic themes and  Materialized Views.

    Hi,
    I am usng a WMS request to render FOI points in my map.
    Internally query rewrite is happening in Mapviewer for this dynamic theme and my data points query is getting converted as
    select FROM
    ( select status, shape from MatView.MyTab where id = '3' )
    WHERE MDSYS.SDO_FILTER(shape, MDSYS.SDO_GEOMETRY(2003, 4283, NULL, MDSYS.SDO_ELEM_INFO_ARRAY(1, 1003, 3), MDSYS.SDO_ORDINATE_ARRAY(144.948120117188,-37.8162934802451,144.950866699219,-37.8141237016045)), 'querytype=WINDOW') = 'TRUE'
    here the rewritten query is not correct and is throwing exceptions in mapviewer log
    How can I make this query to be written correctly.
    (My orginal query before rewrite is: select status,shape from MatView.MyTab where id='3' )
    I am using a materialised view : MatView is a materialized view.
    When I used normal tables, the query is re written correctly.But for this materialized view this is happening.
    How can I correct the error?
    Is this has something to do with some Spatial Indexing in Materialised view or Query Rewriting for materialized view?
    Edited by: 841309 on Mar 10, 2011 11:04 PM

    Oops!
    The Materialized view was not accessible from the schema I tried :)
    And so when I gave permissions,it formed the correct query.
    So if permission is not there,map viewer will rewrite the query in a wrong way! New information.

  • Error while using ADF map component

    I am facing problem while using ADF map component to display geographical addresses on the map. Steps I have followed are as follows :
    1. I have created a simple table with structure.
    location_name varchar2(20),
    longitude number(10),
    latitude(10)
    This table is having records for actual values.
    2. I have created BC objects for accessing this table.
    3. Then I have added this data control to the JSP page as a ADF map and point theme. Here I have specified map viewer URL as http://elocation.oracle.com/mapviewer/. I have binded values for longitude and latitude to the values from EO. I have specified point data value as location_name. No value is specified for category.
    With this setup when I try to execute the page, it is throwing following error.
    DVT-26007: Theme mapPointTheme1 cannot be displayed because data at row 0(rowId=0001000000055445535431) does not have value.
    Can someone guide me on this please.....
    Message was edited by:
    user609092

    Hi,
    When we add point theme to the map, we specify the data control binding to this theme. This binding is done against the attribute names from the data control. I want to bind this theme input values to some variables. So that it can be changed at runtime. I think this can be done if we are able to use EL. So is it possible to achieve this? Could you please suggest me any other alternative way to achieve this.
    Thanks,
    Prashant

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

  • Map Builder Preview rendering errors

    I am having problems using Map Builder. I have wasted quite a bit of time trying to fix these problems assuming I was doing something wrong, or something was wrong with my data.
    Error 1: I create a map using 2 themes. One theme is a geometry theme of topo edge primitives. The other is a topology theme of features built from those primitives. The geometry theme is assigned a red line style. The topology(feature) theme is assigned a blue line style. the geometry theme is listed first, to draw first. I expect to see the red overdrawn by the blue. The preview show red lines. When viewed in Acquis Data Editor, this map displays as expected (blue lines) and when a feature is removed (disassociated from the topo primitive) the underlying primitive shows up as red. When I stop and restart Map Builder, the preview rendering is as expected, blue on top.
    Error 2: I create a map using 1 theme. This theme is a geometry theme of topo edge primitives. I assign node and edge styles. When I preview the map, the nodes (only one node per edge) are displayed at the center of the straight edges, at what appears to be mid-distance between the end points of the edges of the shaped edges (not on the edge), and in the center of rings created by edges that have the same start and end node. They look like they are attempting to be what ESRI calls label points. Again, when I view this map in Acquis Data Editor, the nodes show up on the ends of the edges where I usually tend to look for nodes to show up. Stopping and restarting Map Builder does not fix this rendering problem.
    Are these known bugs and when can I expect to use the preview button reliably?
    Alden

    For the red line style, L.EDGE, the xml def is:
    <?xml version="1.0" standalone="yes"?>
    <svg height="1in" width="1in">
    <desc/>
    <g class="line" style="fill:#FF33FF;stroke-width:1.0">
    <line class="base"/>
    </g>
    </svg>
    For the blue line style, L.FEATURESTYLE, the xml def is:
    <?xml version="1.0" standalone="yes"?>
    <svg height="1in" width="1in">
    <desc/>
    <g class="line" style="fill:#3366FF;stroke-width:1.0">
    <line class="base"/>
    </g>
    </svg>
    For the geometry (edge primitive) theme, TOPO_EDGE, the xml def is:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules>
    <rule>
    <features style="C.FACE"> </features>
    </rule>
    <rule>
    <features style="M.NODE"> </features>
    </rule>
    <rule>
    <features style="L.EDGE"> </features>
    </rule>
    </styling_rules>
    For the topology(feature) theme, GLOBAL, the xml def is:
    <?xml version="1.0" standalone="yes"?>
    <styling_rules theme_type="topology" topology_name="MGF_TOPO">
    <rule>
    <features style="L.Featurestyle"> </features>
    </rule>
    </styling_rules>
    For the base map, TEST2, the xml def is:
    <?xml version="1.0" standalone="yes"?>
    <map_definition>
    <theme name="TOPO_EDGE"/>
    <theme name="GLOBAL"/>
    </map_definition>
    As I said earlier, this does display blue lines after a restart of MapBuilder but upon first creating this map and themes, the initial display is red lines.
    As to error 2: I understand now that Acquis probably does a specialty mapping of metatdata and uses the NODE$ table, applying the style definition for the edge theme (M.NODE) to display them.

  • ILife,iDVD-Slideshow+music-Map view

    Project completed,prior to Burning and after playing slideshow successfully I checked for errors in Map View. Passed pointer over buttons to reveal message in yellow rectangle,"Track contains unauthorised assets". Can find no reference in Help or in Forum. Burn cycle aborted by computer, "Error in rendering".
    As I am not computer literate and am a "grey and wrinkly", help would be much appreciated in its simplest terms. I hope to create other slideshows and progress to movies eventually! Thank you.

    Welcome to the Forum. The next time you ask a question, please don't add on to someone else's message thread - this is known as 'thread-jacking'.
    The OP (original poster) had problems with iTunes purchased music and this PROBABLY isn't your issue.
    The Quicktime file is one created by my videographer, 3 minutes long, with music and voice. ... Obviously the fault is in iDVD.
    The first time I create the project, there's sound. But repeating the process for more DVD's results in no sound.
    The solution to your multiple DVD issue is simple: create a disk image file (.img) out of iDVD (an option under FILE in iDVD) instead of burning to writable media. You can then use Apple's Disk Utility or Roxio's Toast Titanium to burn as many writable discs as you need - when you need them.
    However, if you are trying to customize each disc, there can be issues with iDVD if you try to modify an existing project. The only solution in that case is to start a new iDVD project each time.

  • Since numbers 3.1 rendering problem in output

    Since I upgraded to Numbers 3.1 all printed output is no more crispy, it looks like a rendering problem. My Number documents consist of normal text elements and tables, sometimes some charts. Scaling on printout is not activated. On the Mac display the problem does not exist, everything seems to be fine, also in large zoom factors. But printing the document produces some kind of unrendered, pixely output, comparable to a screenshot, by far not that crisp as in Numbers 3.0.1. Other applications such as Pages, Word, Excel are not affected, printouts are fine.
    What I did so far:
    - uninstall and reinstall numbers
    - changing, reinstalling the printer driver (HP Color LaserJet 2025 Series), I use the Postscript driver
    - converting the Number documents to Numbers '09 and opening them again
    - playing and testing with numerous zoom factors
    - changing fonts in the Numbers document
    ... all without any success.
    What helped me was:
    - Installing Numbers 3.0.1 again using TimeMachine, installed it parallel to Numbers 3.1
    - In Numbers 3.1 exporting the Numbers document to Numbers '09
    - Opening that document in Numbers 3.0.1
    - Printing the document in Numbers 3.0.1 --> Output ist fine and perfect.
    It seems to be a rendering problem, only in Numbers 3.0.1. The problem appears in all existing and new Numbers documents on Numbers 3.1.
    Here is my infrastructure:
    MacBook Air Mid 2013, OS X Mavericks 10.9.1
    Numbers 3.1 (1769)
    HP Color LaserJet CP2025dn using PostScript
    Many thanks for your help!
    speckch

    Perhaps you can see the problem in this version. This is a PRINTING problem. You cannot see it on screen in the pdf.
    This is a single Numbers document, printed directly from Numbers (3.1). The font is identical in both lines. The box color is identical (black) and the width of the line is identical (0.5 pt). It was printed on an HP Color LaserJet CP2025.
    The upper text is jagged. It may look fine on your screen, but it's not.
    This is very obvious if you look at the larger image that is linked to the image above. (Remember, a computer screen is only 72 dpi and this image is optimized for that. Printed text is much higher resolution. So, to get an accurate view on your screen of how jagged the text is when printed, you need to look at it magnified. Right-click on the image above to open the image in a new tab, and you should get the full size.)
    Also, the because the upper image is lower resolution (jaggies), the narrow line cannot print accurately. Thus, it appears blueish. When you look at the full-size image, you can see how jagged the line is and the mix of dots (red and blue, predominantly) that was output by the printer. In contrast, the lower text box is smooth and black.
    I don't know where the problem lies, but I have not experienced anything like this on any other program I currently use. It's a postscript printer, and I suspect that something's gone wrong in the postscript output associated with tables and the printer is printing the screen view, not the higher resolution printer data. But that's just a guess. And as far as I know, it's not something anyone other than Apple can fix.
    And, of course, since you can't see this problem on screen in the pdf, no matter how much you "zoom" in, you won't know if your files will print badly until you test it. Or, worse, your client does.
    Bummer.

  • Map Viewer URL Connection Issue

    Hi,
    I have an UI project, for which i have created a Deployment Profile named 'adfXXXXXUI' nothing but created a adflibrary for that UI project.
    While creating the adf jar, i have come across an Option called 'Connections' .
    Here i have selected Connection Names Only ... means i will be getting all the names of the connections i have created & those will be reflected in my local connection.xml file.
    After configuring the rest of the params, i deployed my UI project to "deploy -> adfXXXXXUI.jar".
    And we have used this jar to integrate with another UI application ... And the taskflows avilable in the jar will be used in the other UI application.
    Now here is my problem ... Actually my connections.xml file has a URL Connection. This is how it looks like....
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <References xmlns="http://xmlns.oracle.com/adf/jndi">
    <Reference name="MapServer" className="oracle.adf.model.connection.url.HttpURLConnection" xmlns="">
    <Factory className="oracle.adf.model.connection.url.URLConnectionFactory"/>
    <RefAddresses>
    <XmlRefAddr addrType="MapServer">
    <Contents>
    <urlconnection name="MapServer" url="http://sbsys1.intra.schneider.com:8109/mapviewer"/>
    </Contents>
    </XmlRefAddr>
    </RefAddresses>
    </Reference><Reference name="snibuilddb" className="oracle.jdeveloper.db.adapter.DatabaseProvider" credentialStoreKey="snibuilddb" xmlns="">
    <Factory className="oracle.jdeveloper.db.adapter.DatabaseProviderFactory"/>
    <RefAddresses>
    <StringRefAddr addrType="subtype">
    <Contents>oraJDBC</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="user">
    <Contents>sni_guest</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="port">
    <Contents>3720</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="hostname">
    <Contents>uxsys186v</Contents>
    </StringRefAddr>
    <SecureRefAddr addrType="password"/>
    <StringRefAddr addrType="serviceName">
    <Contents>snit0.world</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="DeployPassword">
    <Contents>true</Contents>
    </StringRefAddr>
    <StringRefAddr addrType="oraDriverType">
    <Contents>thin</Contents>
    </StringRefAddr>
    </RefAddresses>
    </Reference>
    </References>
    All the taskflows avaialble in my jar using the URL connection which mentioned above. But the adflibray jar got created with a file named 'jar-connection.xml', where i can see <Reference/> as an empty Tag. Because i have selected connections name only as an option when creating the adflibrary for my UI.
    Hence it is appearing so ... But when i added this jar to the other application, i have dragged & dropped the taskflows as a region on to the JSPX page. And i started running the page. On the page .... i can see only the data which is not making use of MapServer connection defiition. Along with that, some maps needs to rendered .. but that is not happening. Rest of the page with the filter critieria is being displayed properly.
    Now i have selected Include Connection Details as an option, by editing the adfLibrary Deployment profile of the UI & redeployed & found the same thing. Like, though i specify the Include Connection Details as an option ... i did not see those URL connection details in my jar-connection.xml file.Still it is not working.
    All the taskflows inside the jar are trying to use this URL connection from jar-connection.xml, which is avaiable inside the adfLibUI.jar.
    I tried with a scenorio some thing like ... For the application to which i have added this adfUILibrary, there itself i created a URLConnection ... but it did not worked as well.
    Requesting you to let me know how can i get avail of my URL connection in to my jar ...
    Thanks & Regards,
    Kiran Konjeti

    This is purely ssl issue. You can try adding the below logic first.. This code basically sets ssl properties for us.
    import java.security.Security;
    Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    Properties properties = System.getProperties();
    String handlers = System.getProperty("java.protocol.handler.pkgs");
    if (handlers == null) {
        // nothing specified yet (expected case)
        properties.put("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    else {
        // something already there, put ourselves out front
        properties.put("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol|".concat(handlers));     
    System.setProperties(properties);
    Below you start your code....

  • 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

  • Deploying map viewer on tomcat

    hello,
    because there was no useable result of all the past threads handling this topic, i would like to ask again.
    Is there any experience in deploying the Oracle Map Viewer on a Tomcat server?
    Sure, it is possible to deploy the ear/war file at Tomcat and to call the main page of Map Viewer (but not completely, at all), but after that, it seems like some parts of the OC4J are missing, like the xml-parser.
    I tried something with the jars of oc4j, the classpath of tomcat and so on, but nothing really helped.
    And i know about the pro and con of deploying Map Viewer anywhere else than the oc4j or application server. So there is no need to mention this again.
    thanks for help
    Sebastian

    Hi,
    I've been running mapvier on tomcat 5.5.15 for a while now, without any problems.
    I do that in my dev environment because it's faster to restart. I guess you still need an oracle appserver license even if you run it in tomcat.
    Below are the contents of my lib directories:
    TOMCAT_HOME/common/lib:
    activation.jar
    commons-el.jar
    jasper-compiler-jdt.jar
    jasper-compiler.jar
    jasper-runtime.jar
    jsp-api.jar
    mail.jar
    naming-factory-dbcp.jar
    naming-factory.jar
    naming-resources.jar
    ojdbc14.jar
    ojdbc14dms.jar
    servlet-api.jar
    xmlparserv2.jar
    and
    mapviewerWEB-INF/lib
    adf-faces-api.jar
    adf-faces-impl.jar
    adfshare.jar
    chartbuilder.jar
    classgen.jar
    commons-beanutils.jar
    commons-collections.jar
    commons-digester.jar
    commons-logging.jar
    jsf-api.jar
    jsf-impl.jar
    jstl.jar
    lbs.jar
    mapcache.jar
    mapviewer.jar
    mvclient.jar
    mvconsole.jar
    mvmbeans.jar
    sdoapi.jar
    sdogr.jar
    sdonm.jar
    sdoutl.jar
    sdovis.jar
    standard.jar
    wmsfilter.jar
    Also, you have to create the login you will use for the mapviewer admin:
    your conf/tomcat-users.xml file should at least contain this:
    <role rolename="tomcat"/>
    <role rolename="manager"/>
    <role rolename="admin"/>
    <role rolename="map_admin_role"/>
    <user username="yourname" password="secret" roles="map_admin_role,tomcat,admin,manager"/>
    Then you use yourname to login to the mapadmin.
    This works for me.
    Cheers,
    Calin

Maybe you are looking for

  • Start routine in transformation

    Hi,     I need to read master data in a start routine only once.If I write a select statement in the start routine , the select is executed for every data package.I want the select to be executed only once and data can be used by all data packages.I

  • Posting Depreciation to two G/L accounts

    Hi All, We are implementing another ledger and I am using the additional accounts approach for USGAAP ledger. Depreciation is posting to two G/L Accounts. SAP doesn't allow posting to Cost Center for the non leading Ledger. Business wants to see post

  • HT1476 how to turn off sound while iPhone is charging?

    The chirp noise is totally annoying. I leave unread mail in my inbox and so that may be why? Anyway, it makes more noise than any device I've ever owned, and I'm sure there's a setting I can't see to turn it off. But how?

  • Change manually the defaulted Tax code in PO

    Hello! I would like to know if it is possible to change manually the tax code in the PO item defulted from the PIR. Currently the field is display only. I checked the screen layout definition but I didnt find the Tax code field there. Thank you very

  • Difference b/w At-selection-screen and onfield

    Hi,      What is the difference between at-selection-screen and at-selction-onfield?