This discussion is archived
3 Replies Latest reply: Apr 22, 2013 1:41 AM by 113130 RSS

I cannot reach /mapviewer/ url, but I can reach /mapviewer/demos/ etc

795418 Newbie
Currently Being Moderated

This is the first time I have deployed mapviewer.ear to WebLogic instead of deploying the stand-alone Mapviewer.

I followed Section of the Mapviewer Guide. When I access http://localhhost:7001/mapviewer I get forwarded to http://localhost:7001/mapviewer/faces/home.jspx and then I get an exception:

     at javax.faces.application.Application.getResourceHandler(
     at javax.faces.webapp.FacesServlet.service(
     at weblogic.servlet.internal.StubSecurityHelper$
     at weblogic.servlet.internal.StubSecurityHelper$
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(
     at weblogic.servlet.internal.ServletStubImpl.execute(
     at weblogic.servlet.internal.TailFilter.doFilter(
     at weblogic.servlet.internal.FilterChainImpl.doFilter(
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(
     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(
     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(
     at weblogic.servlet.internal.FilterChainImpl.doFilter(
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(
     at weblogic.servlet.internal.WebAppServletContext$
     at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(
     at weblogic.servlet.internal.WebAppServletContext.execute(
     at weblogic.servlet.provider.ContainerSupportProviderImpl$

However, I can access http://localhost:7001/mapviewer/demos, etc. Also, the "old index page" http://localhost:7001/mapviewer/oldindex.html also works.

Can you help?
  • 1. Re: I cannot reach /mapviewer/ url, but I can reach /mapviewer/demos/ etc
    grueningd Newbie
    Currently Being Moderated
    Did you use WebLogic 12c? I was facing the same problem when i tried to deyploy mapviewer to weblogic 12c. With WLS 11g there was no such problem. I suggest to go back to weblogic 11g or wait for the next mapviewer release.
  • 2. Re: I cannot reach /mapviewer/ url, but I can reach /mapviewer/demos/ etc
    170519 Newbie
    Currently Being Moderated
    Yes, i hit the same java exception.
    I figured out that weblogic 12c no longer allows you to instruct the classloader to use the java core libraries (java.* and javax.*) included with the web application instead of the java core libraries from the system.
    Neither <prefer-web-inf-classes> nor <prefer-application-packages> in the deployment descriptor weblogic.xml will work anymore.
    Since the gui of MapViewer is built on top of Java faces (javax.faces.*) you will hit this error for MapViewer 11gSP5 and older due to an incompatibility issue.
    The only tweak to get MapViewer 11g running on 12c is to change the classpath for the managed server (see PATCH_CLASSPATH). However, I strongly disadvise you to do this since it can break all other Java applications running on the same admin/managed server.
    We decided to downgrade the weblogic application server to 11g.
    Jeroen van Schaijk
  • 3. Re: I cannot reach /mapviewer/ url, but I can reach /mapviewer/demos/ etc
    113130 Newbie
    Currently Being Moderated
    Add this weblogic-application.xml in mapviewer.ear/META-INF/ folder and redeploy mapviewer

    <?xml version="1.0" encoding="UTF-8"?>
    <wls:weblogic-application xmlns:wls=""



  • Correct Answers - 10 points
  • Helpful Answers - 5 points