anushani / atlasmapper

Automatically exported from code.google.com/p/atlasmapper
0 stars 0 forks source link

AtlasMapper does not work in Windows GeoServer Jetty #94

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the windows GeoServer 2.4.5 installer and install it.
2. Add the AtlasMapper to the Jetty installation as per the wiki installation 
instructions. i.e. unpack the war to webapps/atlasmapper and set up the 
startup.bat to include -DATLASMAPPER_DATA_DIR="C:\Programs\GeoServer 
2.4.5\data_dir\atlasmapper"
3. Try to go to the Atlasmapper login page 
(http://localhost:9080/atlasmapper/public/admin.jsp). This page is broken and 
an expection is generated in the logs.

What is the expected output? What do you see instead?

38085 [btpool0-8] ERROR org.mortbay.log - 
/atlasmapper/extjs/4.0.2/ext-4.0.2/resources/css/ext-all.css
java.lang.NullPointerException
        at au.gov.aims.atlasmapperserver.servlet.compression.GZIPResponseWrapper.flushBuffer(GZIPResponseWrapper.java:94
)
        at org.mortbay.jetty.servlet.DefaultServlet.passConditionalHeaders(DefaultServlet.java:553)
        at org.mortbay.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:405)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
        at au.gov.aims.atlasmapperserver.servlet.compression.GZIPFilter.doFilter(GZIPFilter.java:61)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:324)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
What version of the product are you using? On what operating system?

Please provide any additional information below.
Windows 7, AtlasMapper 1.4.8, GeoServer 2.4.5 from windows installer, Java 
1.7.14

Original issue reported on code.google.com by eric.law...@gmail.com on 14 Mar 2014 at 5:55

GoogleCodeExporter commented 9 years ago
This problem appears to of occurred after 1.4.6 as copying an old atlasmapper 
webapps directory into the GeoServer 2.4.5 Jetty works fine.

Original comment by eric.law...@gmail.com on 14 Mar 2014 at 6:00