This discussion is archived
1 Reply Latest reply: Aug 27, 2013 10:24 AM by hzhu RSS

precache tiles

Fa Newbie
Currently Being Moderated

Hi,

Here is my config:

Oracle 12c 64-bit

Windows 7 64-bit

Mapviewer 11p6

 

When I'm run the following command via command line tool, mvadmin.jar:

java -jar mvadmin.jar -u admin -p welcome1 \

-xml clear-cached-tiles.xml \

-server http://localhost:8080/mapviewer/mcsadmin

 

I get this error from the server log:

[#|2013-08-27T14:33:24.627+0430|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=101;_ThreadName=Thread-2;|java.lang.NullPointerException

  at oracle.lbs.mapcache.MCSServlet.reportException(MCSServlet.java:436)

  at oracle.lbs.mapcache.AdminServlet.doPost(AdminServlet.java:286)

  at oracle.lbs.mapcache.AdminServlet.doGet(AdminServlet.java:110)

  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.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

  at oracle.lbs.util.ResponseHeaderFilter.doFilter(ResponseHeaderFilter.java:97)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)

  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:722)

|#]

[#|2013-08-27T14:33:24.627+0430|SEVERE|glassfish3.1.2|javax.enterprise.system.std.com.sun.enterprise.server.logging|_ThreadID=101;_ThreadName=Thread-2;| at oracle.lbs.mapcache.MCSServlet.reportException(MCSServlet.java:436)|#]

....

  • 1. Re: precache tiles
    hzhu Newbie
    Currently Being Moderated

    Hi,

    I'd like to look into this and need more info:

    1) May I get the MapViewer log if you could do a fresh restart with finest logging?

    2) What is the build you have? --send a request like: mapviewer/omserver?getv=t

    3) that clear-cached-tiles.xml file

    Feel free to send to honglei.x.zhu at oracle.com and we'll move on from there.

    Thanks.

Legend

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