Justin Deoliveira wrote:
Hi Marc,
Marc Pfister wrote:
Just installed Geoserver 1.4 from the bin.gz version and am running into
some problems:1. startup.sh won't run unless I run dos2unix on it anc chmod it to
executableYeah, this is a known one. Will be fixed in the next release.
2. Geoserver starts up OK but if I try to look at a demo map with the
default data, I get this error:This one just looks like jai isn't installed properly. Are you sure you
have both the jai, and jai_imageio extensions installed in the jvm that
is running geoserver?
Wait, are we requiring this now? Didn't we manage to move away from this for the 1.3.x series?
-Justin
274279 [INFO] org.vfny.geoserver.servlets.AbstractService - Had an
undefined error: javax/media/jai/util/Range
org.vfny.geoserver.wms.WmsException: javax/media/jai/util/Range
at
org.vfny.geoserver.wms.WmsExceptionHandler.newServiceException(WmsExcept
ionHandler.java:64)
at
org.vfny.geoserver.servlets.AbstractService.sendError(AbstractService.ja
va:839)
at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.ja
va:523)
at
org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:3
25)
at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:173)
at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:5
6)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abs
tractController.java:139)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handl
e(SimpleControllerHandlerAdapter.java:44)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:684)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:625)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:392)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.
java:347)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:423)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:965)
at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharac
terEncodingFilter.java:122)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:956)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:353)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:219)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:542)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:145)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:126)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.mortbay.jetty.Server.handle(Server.java:245)
at
org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:365)
at
org.mortbay.jetty.HttpConnection.access$1500(HttpConnection.java:38)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne
ction.java:609)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:486)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:196)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:296)
at
org.mortbay.jetty.nio.SelectChannelConnector$HttpEndPoint.run(SelectChan
nelConnector.java:740)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja
va:435)
Caused by: java.lang.NoClassDefFoundError: javax/media/jai/util/Range
at
org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(Def
aultRasterMapProducer.java:215)
at
org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.j
ava:192)
at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.ja
va:511)
... 30 more
274293 [INFO] org.vfny.geoserver.servlets.AbstractService - Had an
undefined error: javax/media/jai/util/Range
org.vfny.geoserver.wms.WmsException: javax/media/jai/util/Range
at
org.vfny.geoserver.wms.WmsExceptionHandler.newServiceException(WmsExcept
ionHandler.java:64)
at
org.vfny.geoserver.servlets.AbstractService.sendError(AbstractService.ja
va:839)
at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.ja
va:523)
at
org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:3
25)
at
org.geoserver.request.Dispatcher.dispatch(Dispatcher.java:173)
at
org.geoserver.request.Dispatcher.handleRequestInternal(Dispatcher.java:5
6)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abs
tractController.java:139)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handl
e(SimpleControllerHandlerAdapter.java:44)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS
ervlet.java:684)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe
rvlet.java:625)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor
kServlet.java:392)
at
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.
java:347)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:747)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:423)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:965)
at
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharac
terEncodingFilter.java:122)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan
dler.java:956)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:353)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:219)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:542)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
Collection.java:145)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.jav
a:126)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:119)
at org.mortbay.jetty.Server.handle(Server.java:245)
at
org.mortbay.jetty.HttpConnection.handlerRequest(HttpConnection.java:365)
at
org.mortbay.jetty.HttpConnection.access$1500(HttpConnection.java:38)
at
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne
ction.java:609)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:486)
at
org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:196)
at
org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:296)
at
org.mortbay.jetty.nio.SelectChannelConnector$HttpEndPoint.run(SelectChan
nelConnector.java:740)
at
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja
va:435)
Caused by: java.lang.NoClassDefFoundError: javax/media/jai/util/Range
at
org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap(Def
aultRasterMapProducer.java:215)
at
org.vfny.geoserver.wms.responses.GetMapResponse.execute(GetMapResponse.j
ava:192)
at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.ja
va:511)
... 30 moreI see it's my nemesis the JAI. Any ideas?
Marc Pfister
Geospatial Data Manager
ENPLAN
mpfister@anonymised.com
530/221-0440 x108
530/221-6963 Fax-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org