From: <ch...@op...> - 2004-09-28 20:18:25
|
The curious thing to me is the (Permission Denied) thing. Maybe geoserver doesn't have write permissions on that directory? It's probably about time to look into having jsps precompiled as servlets... That reminds me of another email I need to respond to. Chris Quoting David Zwiers <dz...@re...>: > Just upgraded to geoserver 1.2.2 and got this error ... anyone have > any > ideas? > > David > > org.apache.jasper.JasperException: Unable to compile class for JSP > > An error occurred at line: -1 in the jsp file: null > > Generated servlet error: > [javac] Compiling 1 source file > > /opt/tomcat/work/Catalina/localhost/geoserver/org/apache/jsp/index_jsp.ja= va:7: > error while writing org.apache.jsp.index_jsp: > /opt/tomcat/work/Catalina/localhost/geoserver/org/apache/jsp/index_jsp.cl= ass > (Permission denied) > public final class index_jsp extends > org.apache.jasper.runtime.HttpJspBase > ^ > 1 error > > > org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa= ndler.java:127) > org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja= va:351) > org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:458) > org.apache.jasper.compiler.Compiler.compile(Compiler.java:439) > org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja= va:553) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja= va:291) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) > javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > > On Tue, 2004-09-28 at 12:13, ch...@op... wrote: > > Can you work with the source? If so then rebuild with the attached > file > > in src/org/vfny/geoserver/global. > > > > If not I'll follow this with a modified geoserver.jar for you. > > > > If this doesn't work I'm probably out of ideas... > > > > Chris > > > > Quoting Juan Mar=C3=ADn Otero <jm...@tr...>: > > > > > > > > > > > > > > > > > Hello, > > > > > > I am trying to access a postgis database (linux box) from a > working > > > geoserver 1.2.2 installation (windows box) running Tomcat 4.1.12. > > > Everything works just fine until I select a FeatureType and > click > > > Apply, I > > > get the exception below. It works fine on another machine with > Tomcat > > > 5 > > > (unfortunately the one failing is our production server and > cannot be > > > updated at the moment). The machine giving problems with postgis > is > > > working > > > OK with Oracle Spatial. I would hate to go back and configure by > > > hand, just > > > got too used to the web interface (fast and very useful). > > > > > > Any ideas??. Thanks in advance. > > > > > > Here is the error Tomcat's spitting out: > > > > > > javax.servlet.ServletException > > > at > > > > > > org.apache.struts.action.RequestProcessor.processException(RequestProcess= or.java:545) > > > > > > at > > > > > > org.apache.struts.action.RequestProcessor.processActionPerform(RequestPro= cessor.java:486) > > > > > > at > > > > > > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:2= 74) > > > > > > at > > > > > > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) > > > at > > > > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) > > > at > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > > > at > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > > at > > > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat= ionFilterChain.java:247) > > > > > > at > > > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte= rChain.java:193) > > > > > > at > > > > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve= .java:260) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= vokeNext(StandardPipeline.java:643) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48= 0) > > > at > > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > > at > > > > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve= .java:191) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= vokeNext(StandardPipeline.java:643) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48= 0) > > > at > > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > > at > > > > > > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396= ) > > > at > > > > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:= 180) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= vokeNext(StandardPipeline.java:643) > > > > > > at > > > > > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal= ve.java:170) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= vokeNext(StandardPipeline.java:641) > > > > > > at > > > > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:= 172) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= vokeNext(StandardPipeline.java:641) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48= 0) > > > at > > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > > at > > > > > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j= ava:174) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= vokeNext(StandardPipeline.java:643) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48= 0) > > > at > > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > > at > > > > > > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) > > > at > > > > > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405= ) > > > at > > > > > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCo= nnection(Http11Protocol.java:380) > > > > > > at > > > > > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508= ) > > > at > > > > > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.= java:533) > > > > > > at java.lang.Thread.run(Thread.java:536) > > > > > > > > > > > > root cause > > > java.util.ConcurrentModificationException > > > at > > > java.util.HashMap$HashIterator.nextEntry(HashMap.java:750) > > > at > > > java.util.HashMap$EntryIterator.next(HashMap.java:792) > > > at > > > > > > org.vfny.geoserver.global.DataStoreInfo.getParams(DataStoreInfo.java:141) > > > at > > > > > > org.vfny.geoserver.global.DataStoreInfo.toString(DataStoreInfo.java:298) > > > at java.lang.String.valueOf(String.java:2173) > > > at > java.lang.StringBuffer.append(StringBuffer.java:369) > > > at > > > org.vfny.geoserver.global.Data.loadFeatureTypes(Data.java:330) > > > at > org.vfny.geoserver.global.Data.load(Data.java:161) > > > at > > > > > > org.vfny.geoserver.action.UpdateGSAction.updateGeoserver(UpdateGSAction.j= ava:69) > > > > > > at > > > > > > org.vfny.geoserver.action.UpdateGSAction.execute(UpdateGSAction.java:46) > > > at > > > > org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:98) > > > at > > > > > > org.apache.struts.action.RequestProcessor.processActionPerform(RequestPro= cessor.java:484) > > > > > > at > > > > > > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:2= 74) > > > > > > at > > > > > > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) > > > at > > > > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) > > > at > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > > > at > > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > > at > > > > > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applicat= ionFilterChain.java:247) > > > > > > at > > > > > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilte= rChain.java:193) > > > > > > at > > > > > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve= .java:260) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= vokeNext(StandardPipeline.java:643) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48= 0) > > > at > > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > > at > > > > > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve= .java:191) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= vokeNext(StandardPipeline.java:643) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48= 0) > > > at > > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > > at > > > > > > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396= ) > > > at > > > > > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:= 180) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= vokeNext(StandardPipeline.java:643) > > > > > > at > > > > > > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVal= ve.java:170) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= vokeNext(StandardPipeline.java:641) > > > > > > at > > > > > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:= 172) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= vokeNext(StandardPipeline.java:641) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48= 0) > > > at > > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > > at > > > > > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.j= ava:174) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.in= vokeNext(StandardPipeline.java:643) > > > > > > at > > > > > > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:48= 0) > > > at > > > > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > > > at > > > > > > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223) > > > at > > > > > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405= ) > > > at > > > > > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processCo= nnection(Http11Protocol.java:380) > > > > > > at > > > > > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508= ) > > > at > > > > > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.= java:533) > > > > > > at java.lang.Thread.run(Thread.java:536) > > > > > > > > > > > > > > > > > > Juan Mar=C3=ADn Otero > > > TRAGSATEC S.A. > > > Departamento de Cartograf=C3=ADa > > > Tlf. 91 322 64 98 > > > > > > Este correo es s=C3=B3lo informativo y por lo tanto no supone > obligaci=C3=B3n > > > contractual para TRAGSATEC ni para las sociedades a ella > vinculadas. > > > La > > > informaci=C3=B3n incluida en el presente correo electr=C3=B3nico es > > > CONFIDENCIAL, > > > siendo para el uso exclusivo del destinatario arriba mencionado. > Si > > > usted > > > lee este mensaje y no es el destinatario se=C3=B1alado, el empleado= o > el > > > agente > > > responsable de entregar el mensaje al destinatario, o ha recibido > > > esta > > > comunicaci=C3=B3n por error, le informamos que est=C3=A1 totalmente > prohibido > > > cualquier almacenamiento, divulgaci=C3=B3n, distribuci=C3=B3n o > reproducci=C3=B3n de > > > esta > > > comunicaci=C3=B3n y de los archivos que pueda contener. Le rogamos > que nos > > > lo > > > notifique, devuelva el original al emisor del correo y destruya > el > > > mensaje. > > > > > > > > > El correo electr=C3=B3nico v=C3=ADa Internet no permite asegurar l= a > > > confidencialidad > > > de los mensajes que se transmiten, ni su integridad o correcta > > > recepci=C3=B3n. > > > TRAGSATEC no asume responsabilidad por estas > circunstancias. > > > Si el > > > destinatario de este mensaje no consintiera la utilizaci=C3=B3= n > del > > > correo > > > electr=C3=B3nico v=C3=ADa Internet y la grabaci=C3=B3n de los men= sajes, > rogamos lo > > > ponga > > > en nuestro conocimiento de forma inmediata. > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: IT Product Guide on > > > ITManagersJournal > > > Use IT products in your business? Tell us what you think of them. > > > Give us > > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find > > > out more > > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > _______________________________________________ > > > Geoserver-devel mailing list > > > Geo...@li... > > > https://lists.sourceforge.net/lists/listinfo/geoserver-devel > > > > > > > > > > > > > ---------------------------------------------------------- > > This mail sent through IMP: https://webmail.limegroup.com/ > ---------------------------------------------------------- This mail sent through IMP: https://webmail.limegroup.com/ |