I can undertand that. Perhaps there is another mac user around that can
help us out.
Justin
Javier de la Torre wrote:
> Hi Justin,
>
> Thanks. I am running JBoss 3.2.3 and Tomcat 4.1.29
>
> I will check if I can install Tomcat alone, but my system administrator
> is probably not gonna like if I have another tomcat installed around...
>
> Javier.
>
> On 30/11/2005, at 20:07, Justin Deoliveira wrote:
>
>> That line of code tries to create BufferedImage object which is part
>> of awt. I am ccing jesse from the udig team, he has lots of
>> experience with java graphics on the mac, he may have some ideas.
>>
>> I have also read a few threads of people having similar issues on
>> macs running web applications inside of tomcat. You said you were
>> running version 3.2 of jboss / tomcat. I think this probably refers
>> to jboss, or a very old version of tomcat.
>>
>> I am wondering if you can try deploying geoserver in a new version of
>> tomcat (5.x) running standalone to see if you have the same problem.
>>
>> Justin
>>
>> Javier de la Torre wrote:
>>
>>> Hi,
>>> I turn on verbosity on errors and a log location. And this is what
>>> I get:
>>> <?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE
>>> ServiceExceptionReport SYSTEM "http://hq6.grinfo.net:8080/ geoserver/
>>> data/capabilities//wms/1.1.1/WMS_exception_1_1_1.dtd">
>>> <ServiceExceptionReport version="1.1.1"> <ServiceException
>>> code="">java.lang.NoClassDefFoundError
>>> at
>>> org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap
>>> (DefaultRasterMapProducer.java:189)
>>> at org.vfny.geoserver.wms.responses.GetMapResponse.execute
>>> (GetMapResponse.java:176)
>>> at org.vfny.geoserver.servlets.AbstractService.doService
>>> (AbstractService.java:449)
>>> at org.vfny.geoserver.servlets.AbstractService.doGet
>>> (AbstractService.java:276)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>> at org.vfny.geoserver.wms.servlets.WmsDispatcher.doResponse
>>> (WmsDispatcher.java:156)
>>> at org.vfny.geoserver.wms.servlets.WmsDispatcher.doGet
>>> (WmsDispatcher.java:115)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>> at
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>>> (ApplicationFilterChain.java:247)
>>> at org.apache.catalina.core.ApplicationFilterChain.doFilter
>>> (ApplicationFilterChain.java:193)
>>> at org.apache.catalina.core.StandardWrapperValve.invoke
>>> (StandardWrapperValve.java:256)
>>> at org.apache.catalina.core.StandardPipeline
>>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>> at org.apache.catalina.core.StandardPipeline.invoke
>>> (StandardPipeline.java:480)
>>> 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.invokeNext(StandardPipeline.java:643)
>>> at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke
>>> (JBossSecurityMgrRealm.java:220)
>>> at org.apache.catalina.core.StandardPipeline
>>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>> at org.apache.catalina.valves.CertificatesValve.invoke
>>> (CertificatesValve.java:246)
>>> at org.apache.catalina.core.StandardPipeline
>>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>> at
>>> org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke
>>> (ContainerStatsValve.java:76)
>>> at org.apache.catalina.core.StandardPipeline
>>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>> at org.apache.catalina.core.StandardPipeline.invoke
>>> (StandardPipeline.java:480)
>>> at org.apache.catalina.core.ContainerBase.invoke
>>> (ContainerBase.java: 995)
>>> at org.apache.catalina.core.StandardContext.invoke
>>> (StandardContext.java:2417)
>>> at org.apache.catalina.core.StandardHostValve.invoke
>>> (StandardHostValve.java:180)
>>> at org.apache.catalina.core.StandardPipeline
>>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>> at org.apache.catalina.valves.ErrorDispatcherValve.invoke
>>> (ErrorDispatcherValve.java:171)
>>> at org.apache.catalina.core.StandardPipeline
>>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>> at org.apache.catalina.valves.ErrorReportValve.invoke
>>> (ErrorReportValve.java:172)
>>> at org.apache.catalina.core.StandardPipeline
>>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>> at
>>> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
>>> (SecurityAssociationValve.java:65)
>>> at org.apache.catalina.core.StandardPipeline
>>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>> at org.apache.catalina.valves.AccessLogValve.invoke
>>> (AccessLogValve.java:577)
>>> at org.apache.catalina.core.StandardPipeline
>>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>>> at org.apache.catalina.core.StandardPipeline.invoke
>>> (StandardPipeline.java:480)
>>> at org.apache.catalina.core.ContainerBase.invoke
>>> (ContainerBase.java: 995)
>>> at org.apache.catalina.core.StandardEngineValve.invoke
>>> (StandardEngineValve.java:174)
>>> at org.apache.catalina.core.StandardPipeline
>>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>>> at org.apache.catalina.core.StandardPipeline.invoke
>>> (StandardPipeline.java:480)
>>> at org.apache.catalina.core.ContainerBase.invoke
>>> (ContainerBase.java: 995)
>>> at org.apache.coyote.tomcat4.CoyoteAdapter.service
>>> (CoyoteAdapter.java:197)
>>> at org.apache.coyote.http11.Http11Processor.process
>>> (Http11Processor.java:781)
>>> at org.apache.coyote.http11.Http11Protocol
>>> $Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
>>> at org.apache.tomcat.util.net.TcpWorkerThread.runIt
>>> (PoolTcpEndpoint.java:605)
>>> at org.apache.tomcat.util.threads.ThreadPool $ControlRunnable.run
>>> (ThreadPool.java:677)
>>> at java.lang.Thread.run(Thread.java:552)
>>> </ServiceException> </ServiceExceptionReport>
>>> On 30/11/2005, at 19:42, Brent Owens wrote:
>>>
>>>> The capitals.sld style should work for your layer.
>>>>
>>>> To find the log files, start GeoServer and go to: Geoserver ->
>>>> config -> server
>>>> You will have to enable the logging to a file, you can also
>>>> specify the output location there.
>>>> It should be logging to the screen anyways (in tomcat or jetty
>>>> output window).
>>>>
>>>> Brent Owens
>>>> TOPP
>>>>
>>>>
>>>>
>>>> Javier de la Torre wrote:
>>>>
>>>>> H,
>>>>>
>>>>>>
>>>>>
>>>>>> a) You have privilages to read/write the data
>>>>>>
>>>>> If you mean read/write permissions from the database that should
>>>>> be fine because WFS works. If you mean on the geoserver folder
>>>>> yes I set it up to be readable and writtable, because when I was
>>>>> trying to save my configuration it failed because of permissions.
>>>>>
>>>>>> b) Your feature type have the correct SRS
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> I am using 4326 because I trust they are giving me the
>>>>> coordinates like this, in the PostGIS database is set to that too.
>>>>>
>>>>>> c) You have a style on your FeatureType that works for it
>>>>>> (there are now default polygon/point/line styles that come with
>>>>>> GeoServer)
>>>>>>
>>>>> I am using the style 'capitals' that comes with Geoserver. I
>>>>> still have not touched it but I tought that would be ok because
>>>>> is also for representing points. But this could be a problem...
>>>>> If I ask to use population, for example, it says that this style
>>>>> is not appropiate for this layer so I tought capitals was
>>>>> working fine.
>>>>>
>>>>>> d) The bounding box you are using to view your data is in the
>>>>>> same projection as the data
>>>>>> e) The bounding box is actually over your data
>>>>>>
>>>>>
>>>>> Yes, I believe so because I am asking for the whole world.
>>>>>
>>>>>
>>>>> This is the request I am sending to the WMS service:
>>>>>
>>>>> http://hq6.grinfo.net:8080/geoserver/wms?
>>>>> bbox=-179.102613,40.212597,-72.361859,41.512517&styles=capitals&For
>>>>> ma t=i mage/
>>>>> png&request=GetMap&layers=accession&width=550&height=250&srs=EPSG:
>>>>> 4326
>>>>>
>>>>> And I get this:
>>>>>
>>>>> -
>>>>> <ServiceExceptionReport version="1.1.1">
>>>>> <ServiceException code="">null</ServiceException>
>>>>> </ServiceExceptionReport>
>>>>>
>>>>> If I try to get the same boundingbox trough WFS using:
>>>>>
>>>>> <wfs:GetFeature service="WFS" version="1.0.0"
>>>>> outputFormat="GML2">
>>>>> <wfs:Query typeName="gcp:accession">
>>>>> <wfs:PropertyName>gpc:FullScientificName</wfs:PropertyName>
>>>>> <ogc:Filter>
>>>>> <ogc:BBOX>
>>>>> <ogc:PropertyName>LocationGML</ogc:PropertyName>
>>>>> <gml:Box srsName="http://www.opengis.net/gml/srs/
>>>>> epsg.xml#4326">
>>>>> <gml:coordinates>-179.102613,40.212597
>>>>> -72.361859,41.512517</gml:coordinates>
>>>>> </gml:Box>
>>>>> </ogc:BBOX>
>>>>> </ogc:Filter>
>>>>> </wfs:Query>
>>>>> </wfs:GetFeature>
>>>>>
>>>>> I get two features.
>>>>>
>>>>> Where can I find the log files of Geoserver?
>>>>>
>>>>> Javier.
>>>>>
>>>>>
>>>>>> In order to actually track down what the problem is, we would
>>>>>> need the stack trace of the exception from the server logs.
>>>>>>
>>>>>> How many features you limit in your result is up to you. 1
>>>>>> million is probably not a good idea, where 100-1000 is probably
>>>>>> fine. The fewer the faster. If you are zoomed into a road
>>>>>> dataset (a few blocks), 100 features is probably fine. A city
>>>>>> wide zoom, 5000-10000 is probably better.
>>>>>>
>>>>>> Brent Owens
>>>>>> TOPP
>>>>>>
>>>>>>
>>>>>>
>>>>>> Javier de la Torre wrote:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>> I have my WFS service running already on http:// hq6.grinfo.net;
>>>>>>> 8080/ geoserver/
>>>>>>> There are around 160.000 points behind a postGIS database and
>>>>>>> the server is running on Mac OS X server.
>>>>>>> I am trying now to make the WMS service work but I do not
>>>>>>> manage. I don't have to configure anything special for it no?
>>>>>>>
>>>>>>> When I try to query it I sometimes get a ServiceException
>>>>>>> code='"" null and other a strange error saying that it does
>>>>>>> not have enough privileges on the window (or something like
>>>>>>> this, I do not manage to reproduce it now). Do you know what
>>>>>>> can be going wrong?
>>>>>>>
>>>>>>> And other question... to which number do you limit the
>>>>>>> features retrieval? My server gets a little bit worry when I
>>>>>>> ask without filters... is it normal to limit it to 100 or
>>>>>>> this is too low?
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> Javier.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -------------------------------------------------------
>>>>>>> This SF.net email is sponsored by: Splunk Inc. Do you grep
>>>>>>> through log files
>>>>>>> for problems? Stop! Download the new AJAX search engine that
>>>>>>> makes
>>>>>>> searching your log files as easy as surfing the web.
>>>>>>> DOWNLOAD SPLUNK!
>>>>>>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>>>>>>> _______________________________________________
>>>>>>> Geoserver-users mailing list
>>>>>>> Geoserver-users@...
>>>>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>>>>
>>>>>
>>>>>
>>> -------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc. Do you grep through
>>> log files
>>> for problems? Stop! Download the new AJAX search engine that makes
>>> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>>> _______________________________________________
>>> Geoserver-users mailing list
>>> Geoserver-users@...
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>>
>> --
>> Justin Deoliveira
>> The Open Planning Project
>> http://topp.openplans.org
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Hi Justin,
Thanks. I am running JBoss 3.2.3 and Tomcat 4.1.29
I will check if I can install Tomcat alone, but my system
administrator is probably not gonna like if I have another tomcat
installed around...
Javier.
On 30/11/2005, at 20:07, Justin Deoliveira wrote:
> That line of code tries to create BufferedImage object which is
> part of awt. I am ccing jesse from the udig team, he has lots of
> experience with java graphics on the mac, he may have some ideas.
>
> I have also read a few threads of people having similar issues on
> macs running web applications inside of tomcat. You said you were
> running version 3.2 of jboss / tomcat. I think this probably refers
> to jboss, or a very old version of tomcat.
>
> I am wondering if you can try deploying geoserver in a new version
> of tomcat (5.x) running standalone to see if you have the same
> problem.
>
> Justin
>
> Javier de la Torre wrote:
>> Hi,
>> I turn on verbosity on errors and a log location. And this is what
>> I get:
>> <?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE
>> ServiceExceptionReport SYSTEM "http://hq6.grinfo.net:8080/
>> geoserver/ data/capabilities//wms/1.1.1/WMS_exception_1_1_1.dtd">
>> <ServiceExceptionReport version="1.1.1"> <ServiceException
>> code="">java.lang.NoClassDefFoundError
>> at
>> org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap
>> (DefaultRasterMapProducer.java:189)
>> at org.vfny.geoserver.wms.responses.GetMapResponse.execute
>> (GetMapResponse.java:176)
>> at org.vfny.geoserver.servlets.AbstractService.doService
>> (AbstractService.java:449)
>> at org.vfny.geoserver.servlets.AbstractService.doGet
>> (AbstractService.java:276)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>> at org.vfny.geoserver.wms.servlets.WmsDispatcher.doResponse
>> (WmsDispatcher.java:156)
>> at org.vfny.geoserver.wms.servlets.WmsDispatcher.doGet
>> (WmsDispatcher.java:115)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>> at
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
>> (ApplicationFilterChain.java:247)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter
>> (ApplicationFilterChain.java:193)
>> at org.apache.catalina.core.StandardWrapperValve.invoke
>> (StandardWrapperValve.java:256)
>> at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>> at org.apache.catalina.core.StandardPipeline.invoke
>> (StandardPipeline.java:480)
>> 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.invokeNext(StandardPipeline.java:643)
>> at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke
>> (JBossSecurityMgrRealm.java:220)
>> at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>> at org.apache.catalina.valves.CertificatesValve.invoke
>> (CertificatesValve.java:246)
>> at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>> at
>> org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke
>> (ContainerStatsValve.java:76)
>> at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>> at org.apache.catalina.core.StandardPipeline.invoke
>> (StandardPipeline.java:480)
>> at org.apache.catalina.core.ContainerBase.invoke
>> (ContainerBase.java: 995)
>> at org.apache.catalina.core.StandardContext.invoke
>> (StandardContext.java:2417)
>> at org.apache.catalina.core.StandardHostValve.invoke
>> (StandardHostValve.java:180)
>> at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>> at org.apache.catalina.valves.ErrorDispatcherValve.invoke
>> (ErrorDispatcherValve.java:171)
>> at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>> at org.apache.catalina.valves.ErrorReportValve.invoke
>> (ErrorReportValve.java:172)
>> at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>> at
>> org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
>> (SecurityAssociationValve.java:65)
>> at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>> at org.apache.catalina.valves.AccessLogValve.invoke
>> (AccessLogValve.java:577)
>> at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>> at org.apache.catalina.core.StandardPipeline.invoke
>> (StandardPipeline.java:480)
>> at org.apache.catalina.core.ContainerBase.invoke
>> (ContainerBase.java: 995)
>> at org.apache.catalina.core.StandardEngineValve.invoke
>> (StandardEngineValve.java:174)
>> at org.apache.catalina.core.StandardPipeline
>> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>> at org.apache.catalina.core.StandardPipeline.invoke
>> (StandardPipeline.java:480)
>> at org.apache.catalina.core.ContainerBase.invoke
>> (ContainerBase.java: 995)
>> at org.apache.coyote.tomcat4.CoyoteAdapter.service
>> (CoyoteAdapter.java:197)
>> at org.apache.coyote.http11.Http11Processor.process
>> (Http11Processor.java:781)
>> at org.apache.coyote.http11.Http11Protocol
>> $Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
>> at org.apache.tomcat.util.net.TcpWorkerThread.runIt
>> (PoolTcpEndpoint.java:605)
>> at org.apache.tomcat.util.threads.ThreadPool
>> $ControlRunnable.run (ThreadPool.java:677)
>> at java.lang.Thread.run(Thread.java:552)
>> </ServiceException> </ServiceExceptionReport>
>> On 30/11/2005, at 19:42, Brent Owens wrote:
>>> The capitals.sld style should work for your layer.
>>>
>>> To find the log files, start GeoServer and go to: Geoserver ->
>>> config -> server
>>> You will have to enable the logging to a file, you can also
>>> specify the output location there.
>>> It should be logging to the screen anyways (in tomcat or jetty
>>> output window).
>>>
>>> Brent Owens
>>> TOPP
>>>
>>>
>>>
>>> Javier de la Torre wrote:
>>>
>>>> H,
>>>>
>>>>>
>>>>
>>>>> a) You have privilages to read/write the data
>>>>>
>>>> If you mean read/write permissions from the database that
>>>> should be fine because WFS works. If you mean on the geoserver
>>>> folder yes I set it up to be readable and writtable, because
>>>> when I was trying to save my configuration it failed because
>>>> of permissions.
>>>>
>>>>> b) Your feature type have the correct SRS
>>>>
>>>>
>>>>
>>>> I am using 4326 because I trust they are giving me the
>>>> coordinates like this, in the PostGIS database is set to that too.
>>>>
>>>>> c) You have a style on your FeatureType that works for it
>>>>> (there are now default polygon/point/line styles that come
>>>>> with GeoServer)
>>>>>
>>>> I am using the style 'capitals' that comes with Geoserver. I
>>>> still have not touched it but I tought that would be ok
>>>> because is also for representing points. But this could be a
>>>> problem... If I ask to use population, for example, it says
>>>> that this style is not appropiate for this layer so I tought
>>>> capitals was working fine.
>>>>
>>>>> d) The bounding box you are using to view your data is in the
>>>>> same projection as the data
>>>>> e) The bounding box is actually over your data
>>>>>
>>>>
>>>> Yes, I believe so because I am asking for the whole world.
>>>>
>>>>
>>>> This is the request I am sending to the WMS service:
>>>>
>>>> http://hq6.grinfo.net:8080/geoserver/wms?
>>>> bbox=-179.102613,40.212597,-72.361859,41.512517&styles=capitals&For
>>>> ma t=i mage/
>>>> png&request=GetMap&layers=accession&width=550&height=250&srs=EPSG:
>>>> 4326
>>>>
>>>> And I get this:
>>>>
>>>> -
>>>> <ServiceExceptionReport version="1.1.1">
>>>> <ServiceException code="">null</ServiceException>
>>>> </ServiceExceptionReport>
>>>>
>>>> If I try to get the same boundingbox trough WFS using:
>>>>
>>>> <wfs:GetFeature service="WFS" version="1.0.0"
>>>> outputFormat="GML2">
>>>> <wfs:Query typeName="gcp:accession">
>>>> <wfs:PropertyName>gpc:FullScientificName</wfs:PropertyName>
>>>> <ogc:Filter>
>>>> <ogc:BBOX>
>>>> <ogc:PropertyName>LocationGML</ogc:PropertyName>
>>>> <gml:Box srsName="http://www.opengis.net/gml/srs/
>>>> epsg.xml#4326">
>>>> <gml:coordinates>-179.102613,40.212597
>>>> -72.361859,41.512517</gml:coordinates>
>>>> </gml:Box>
>>>> </ogc:BBOX>
>>>> </ogc:Filter>
>>>> </wfs:Query>
>>>> </wfs:GetFeature>
>>>>
>>>> I get two features.
>>>>
>>>> Where can I find the log files of Geoserver?
>>>>
>>>> Javier.
>>>>
>>>>
>>>>> In order to actually track down what the problem is, we would
>>>>> need the stack trace of the exception from the server logs.
>>>>>
>>>>> How many features you limit in your result is up to you. 1
>>>>> million is probably not a good idea, where 100-1000 is
>>>>> probably fine. The fewer the faster. If you are zoomed into a
>>>>> road dataset (a few blocks), 100 features is probably fine. A
>>>>> city wide zoom, 5000-10000 is probably better.
>>>>>
>>>>> Brent Owens
>>>>> TOPP
>>>>>
>>>>>
>>>>>
>>>>> Javier de la Torre wrote:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I have my WFS service running already on http://
>>>>>> hq6.grinfo.net; 8080/ geoserver/
>>>>>> There are around 160.000 points behind a postGIS database and
>>>>>> the server is running on Mac OS X server.
>>>>>> I am trying now to make the WMS service work but I do not
>>>>>> manage. I don't have to configure anything special for it no?
>>>>>>
>>>>>> When I try to query it I sometimes get a ServiceException
>>>>>> code='"" null and other a strange error saying that it does
>>>>>> not have enough privileges on the window (or something like
>>>>>> this, I do not manage to reproduce it now). Do you know
>>>>>> what can be going wrong?
>>>>>>
>>>>>> And other question... to which number do you limit the
>>>>>> features retrieval? My server gets a little bit worry when
>>>>>> I ask without filters... is it normal to limit it to 100 or
>>>>>> this is too low?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> Javier.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -------------------------------------------------------
>>>>>> This SF.net email is sponsored by: Splunk Inc. Do you grep
>>>>>> through log files
>>>>>> for problems? Stop! Download the new AJAX search engine
>>>>>> that makes
>>>>>> searching your log files as easy as surfing the web.
>>>>>> DOWNLOAD SPLUNK!
>>>>>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>>>>>> _______________________________________________
>>>>>> Geoserver-users mailing list
>>>>>> Geoserver-users@...
>>>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>>>
>>>>
>>>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through
>> log files
>> for problems? Stop! Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the web. DOWNLOAD
>> SPLUNK!
>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@...
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> --
> Justin Deoliveira
> The Open Planning Project
> http://topp.openplans.org

Hi Scott,
My tomcat (5.0) only takes 3 seconds to start up, even with a fair
amount of data. GoeServer doesn't do anything with the data unless you
ask it to, such as query the whole dataset. Even then it is conservative
with memory.
How large is your dataset?
Brent Owens
TOPP
Scott Pezanowski wrote:
> Chris, Alex and Brent,
>
> I found out my biggest problem with the new geoserver install was that
> I wasn't waiting long enough before I hit it after starting Tomcat. I
> was also getting OutOfMemory errors. I increased the amount of memory
> for Java and things seem to be better. It has at least sort of solved
> my problem of geoserver not compiling and all of my other sites being
> down as well. After I increased the memory, started Tomcat and waited
> a while (I'll test more to see how long this is), the geoserver admin
> was able to compile and run.
>
> We had a similar problem on our old server where it would take Tomcat
> a long time to start up (15-20 minutes). I assumed this was because
> our old server was archaic however now were running into a similar
> problem with the new server. Has anyone else run into this problem
> where starting Tomcat takes a long time when Geoserver is installed
> with a lot of data?
>
> I'm not exactly sure why I was getting those errors before regarding
> the EPSG database but I do not seem to be getting these errors anymore.
>
> Thanks,
> Scott
>
> From: Alexander Petkov
> To: Scott Pezanowski
> CC: cholmes@...,
> brentowens@...,geoserver-users@...
> Subject: Re: [Geoserver-users] error when trying to upgrade
> geoserver - epsg database
> Date: Wed, 30 Nov 2005 09:14:31 -0700
>
> Hi Scott:
>
> On 11/30/05, Scott Pezanowski wrote:
> >
> > Chris,
> >
> > The spatial reference system table is populated. I tried adding the
> > epsg-hsql-2.2.x.jar file I had from my geotools build, to the lib
> > directory of geoserver. Geoserver was then at least able to
> compile and run.
> > However, when I go to the geoserver config screen I have the
> following
> > errors:
> >
> > atlas:colr0000
> > java.lang.AbstractMethodError:
> > org.geotools.referencing.factory.epsg.HSQLDataSource.createFactory
> >
> (Lorg/geotools/referencing/factory/FactoryGroup;)Lorg/geotools/referencing/factory/AbstractAuthorityFactory;
> > The SRS being used for the atlas:colr0000 table is 32128 which I
> believe
> > is Pennsylvania North / UTM.
> >
> > What epsg database is included with geoserver 1.3.0-RC6?
>
>
> It is the HSQL version of the EPSG database. I am not sure if you are
> asking this though.
>
>
> Where would I find this? Do you have any other thoughts on what
> might be
> > going on?
>
>
> It dependes what OS and servlet container you are running at the
> moment. I
> can tell you where it is on Linux System:
> 1. '/tmp/Geotools/Databases/HSQL' if you are running Geoserver
> with the
> incl. jetty.
>
> 2. '$CATALINA_HOME/temp/Geotools/Databases/HSQL/' if you run
> Geoserver with
> Tomcat.
>
> IIRC, the localtion of the database was somewhere in the "My
> Documents"
> folder for the user running Geoserver in Windows.
>
> If the database does not exist, it is created for you upon starting uo
> Geoserver. So if something in it is wrong and cannot be parsed,
> you can
> delete it and then restart Geoserver.
>
> Alex
>

<html>Chris, Alex and Brent,<br>
<br>
I found out my biggest problem with the new geoserver install was that
I wasn't waiting long enough before I hit it after starting Tomcat. I
was also getting OutOfMemory errors. I increased the amount of memory
for Java and things seem to be better. It has at least sort of solved
my problem of geoserver not compiling and all of my other sites being
down as well. After I increased the memory, started Tomcat and waited a
while (I'll test more to see how long this is), the geoserver admin was
able to compile and run.<br>
<br>
We had a similar problem on our old server where it would take Tomcat a
long time to start up (15-20 minutes). I assumed this was because our
old server was archaic however now were running into a similar problem
with the new server. Has anyone else run into this problem where
starting Tomcat takes a long time when Geoserver is installed with a
lot of data?<br>
<br>
I'm not exactly sure why I was getting those errors before regarding
the EPSG database but I do not seem to be getting these errors anymore.<br>
<br>
Thanks,<br>
Scott<br>
<b></b><blockquote style="border-left: 2px solid rgb(16, 16, 255); padding-left: 5px; margin-left: 5px;">From: Alexander Petkov <greenkov @gmail.com=""><br>To: Scott Pezanowski <scottpez @hotmail.com=""><br>CC: cholmes@..., brentowens@...,geoserver-users@...<br>Subject: Re: [Geoserver-users] error when trying to upgrade geoserver - epsg database<br>Date: Wed, 30 Nov 2005 09:14:31 -0700<br><br>Hi Scott:<br><br>On 11/30/05, Scott Pezanowski <scottpez @hotmail.com=""> wrote:<br> &gt;<br> &gt; Chris,<br> &gt;<br> &gt; The spatial reference system table is populated. I tried adding the<br> &gt; epsg-hsql-2.2.x.jar file I had from my geotools build, to the lib<br> &gt; directory of geoserver. Geoserver was then at least able to compile and run.<br> &gt; However, when I go to the geoserver config screen I have the following<br> &gt; errors:<br> &gt;<br> &gt;
atlas:colr0000<br> &gt; java.lang.AbstractMethodError:<br> &gt; org.geotools.referencing.factory.epsg.HSQLDataSource.createFactory<br> &gt; (Lorg/geotools/referencing/factory/FactoryGroup;)Lorg/geotools/referencing/factory/AbstractAuthorityFactory;<br> &gt; The SRS being used for the atlas:colr0000 table is 32128 which I believe<br> &gt; is Pennsylvania North / UTM.<br> &gt;<br> &gt; What epsg database is included with geoserver 1.3.0-RC6?<br><br><br>It is the HSQL version of the EPSG database. I am not sure if you are<br>asking this though.<br><br><br>Where would I find this? Do you have any other thoughts on what might be<br> &gt; going on?<br><br><br>It dependes what OS and servlet container you are running at the moment. I<br>can tell you where it is on Linux System:<br>1. '/tmp/Geotools/Databases/HSQL' if you are running Geoserver with the<br>incl. jetty.<br><br>2.
'$CATALINA_HOME/temp/Geotools/Databases/HSQL/' if you run Geoserver with<br>Tomcat.<br><br>IIRC, the localtion of the database was somewhere in the "My Documents"<br>folder for the user running Geoserver in Windows.<br><br>If the database does not exist, it is created for you upon starting uo<br>Geoserver. So if something in it is wrong and cannot be parsed, you can<br>delete it and then restart Geoserver.<br><br>Alex
</scottpez></scottpez></greenkov></blockquote></html>

That line of code tries to create BufferedImage object which is part of
awt. I am ccing jesse from the udig team, he has lots of experience with
java graphics on the mac, he may have some ideas.
I have also read a few threads of people having similar issues on macs
running web applications inside of tomcat. You said you were running
version 3.2 of jboss / tomcat. I think this probably refers to jboss, or
a very old version of tomcat.
I am wondering if you can try deploying geoserver in a new version of
tomcat (5.x) running standalone to see if you have the same problem.
Justin
Javier de la Torre wrote:
> Hi,
>
> I turn on verbosity on errors and a log location. And this is what I get:
>
> <?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE
> ServiceExceptionReport SYSTEM "http://hq6.grinfo.net:8080/geoserver/
> data/capabilities//wms/1.1.1/WMS_exception_1_1_1.dtd">
> <ServiceExceptionReport version="1.1.1"> <ServiceException
> code="">java.lang.NoClassDefFoundError
> at
> org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap
> (DefaultRasterMapProducer.java:189)
> at org.vfny.geoserver.wms.responses.GetMapResponse.execute
> (GetMapResponse.java:176)
> at org.vfny.geoserver.servlets.AbstractService.doService
> (AbstractService.java:449)
> at org.vfny.geoserver.servlets.AbstractService.doGet
> (AbstractService.java:276)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at org.vfny.geoserver.wms.servlets.WmsDispatcher.doResponse
> (WmsDispatcher.java:156)
> at org.vfny.geoserver.wms.servlets.WmsDispatcher.doGet
> (WmsDispatcher.java:115)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:247)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:193)
> at org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.java:256)
> at org.apache.catalina.core.StandardPipeline
> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:480)
> 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.invokeNext(StandardPipeline.java:643)
> at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke
> (JBossSecurityMgrRealm.java:220)
> at org.apache.catalina.core.StandardPipeline
> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.valves.CertificatesValve.invoke
> (CertificatesValve.java:246)
> at org.apache.catalina.core.StandardPipeline
> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke
> (ContainerStatsValve.java:76)
> at org.apache.catalina.core.StandardPipeline
> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
> 995)
> at org.apache.catalina.core.StandardContext.invoke
> (StandardContext.java:2417)
> at org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:180)
> at org.apache.catalina.core.StandardPipeline
> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.valves.ErrorDispatcherValve.invoke
> (ErrorDispatcherValve.java:171)
> at org.apache.catalina.core.StandardPipeline
> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:172)
> at org.apache.catalina.core.StandardPipeline
> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
> (SecurityAssociationValve.java:65)
> at org.apache.catalina.core.StandardPipeline
> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.valves.AccessLogValve.invoke
> (AccessLogValve.java:577)
> at org.apache.catalina.core.StandardPipeline
> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> at org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
> 995)
> at org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:174)
> at org.apache.catalina.core.StandardPipeline
> $StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> at org.apache.catalina.core.StandardPipeline.invoke
> (StandardPipeline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
> 995)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service
> (CoyoteAdapter.java:197)
> at org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:781)
> at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
> at org.apache.tomcat.util.net.TcpWorkerThread.runIt
> (PoolTcpEndpoint.java:605)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool.java:677)
> at java.lang.Thread.run(Thread.java:552)
> </ServiceException> </ServiceExceptionReport>
>
>
>
> On 30/11/2005, at 19:42, Brent Owens wrote:
>
>> The capitals.sld style should work for your layer.
>>
>> To find the log files, start GeoServer and go to: Geoserver -> config
>> -> server
>> You will have to enable the logging to a file, you can also specify
>> the output location there.
>> It should be logging to the screen anyways (in tomcat or jetty output
>> window).
>>
>> Brent Owens
>> TOPP
>>
>>
>>
>> Javier de la Torre wrote:
>>
>>> H,
>>>
>>>>
>>>
>>>> a) You have privilages to read/write the data
>>>>
>>> If you mean read/write permissions from the database that should be
>>> fine because WFS works. If you mean on the geoserver folder yes I
>>> set it up to be readable and writtable, because when I was trying
>>> to save my configuration it failed because of permissions.
>>>
>>>> b) Your feature type have the correct SRS
>>>
>>>
>>>
>>> I am using 4326 because I trust they are giving me the coordinates
>>> like this, in the PostGIS database is set to that too.
>>>
>>>> c) You have a style on your FeatureType that works for it (there
>>>> are now default polygon/point/line styles that come with GeoServer)
>>>>
>>> I am using the style 'capitals' that comes with Geoserver. I still
>>> have not touched it but I tought that would be ok because is also
>>> for representing points. But this could be a problem... If I ask to
>>> use population, for example, it says that this style is not
>>> appropiate for this layer so I tought capitals was working fine.
>>>
>>>> d) The bounding box you are using to view your data is in the same
>>>> projection as the data
>>>> e) The bounding box is actually over your data
>>>>
>>>
>>> Yes, I believe so because I am asking for the whole world.
>>>
>>>
>>> This is the request I am sending to the WMS service:
>>>
>>> http://hq6.grinfo.net:8080/geoserver/wms?
>>> bbox=-179.102613,40.212597,-72.361859,41.512517&styles=capitals&Forma
>>> t=i mage/
>>> png&request=GetMap&layers=accession&width=550&height=250&srs=EPSG: 4326
>>>
>>> And I get this:
>>>
>>> -
>>> <ServiceExceptionReport version="1.1.1">
>>> <ServiceException code="">null</ServiceException>
>>> </ServiceExceptionReport>
>>>
>>> If I try to get the same boundingbox trough WFS using:
>>>
>>> <wfs:GetFeature service="WFS" version="1.0.0"
>>> outputFormat="GML2">
>>> <wfs:Query typeName="gcp:accession">
>>> <wfs:PropertyName>gpc:FullScientificName</wfs:PropertyName>
>>> <ogc:Filter>
>>> <ogc:BBOX>
>>> <ogc:PropertyName>LocationGML</ogc:PropertyName>
>>> <gml:Box srsName="http://www.opengis.net/gml/srs/
>>> epsg.xml#4326">
>>> <gml:coordinates>-179.102613,40.212597
>>> -72.361859,41.512517</gml:coordinates>
>>> </gml:Box>
>>> </ogc:BBOX>
>>> </ogc:Filter>
>>> </wfs:Query>
>>> </wfs:GetFeature>
>>>
>>> I get two features.
>>>
>>> Where can I find the log files of Geoserver?
>>>
>>> Javier.
>>>
>>>
>>>> In order to actually track down what the problem is, we would need
>>>> the stack trace of the exception from the server logs.
>>>>
>>>> How many features you limit in your result is up to you. 1 million
>>>> is probably not a good idea, where 100-1000 is probably fine. The
>>>> fewer the faster. If you are zoomed into a road dataset (a few
>>>> blocks), 100 features is probably fine. A city wide zoom,
>>>> 5000-10000 is probably better.
>>>>
>>>> Brent Owens
>>>> TOPP
>>>>
>>>>
>>>>
>>>> Javier de la Torre wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I have my WFS service running already on http://hq6.grinfo.net;
>>>>> 8080/ geoserver/
>>>>> There are around 160.000 points behind a postGIS database and
>>>>> the server is running on Mac OS X server.
>>>>> I am trying now to make the WMS service work but I do not manage.
>>>>> I don't have to configure anything special for it no?
>>>>>
>>>>> When I try to query it I sometimes get a ServiceException
>>>>> code='"" null and other a strange error saying that it does not
>>>>> have enough privileges on the window (or something like this, I
>>>>> do not manage to reproduce it now). Do you know what can be
>>>>> going wrong?
>>>>>
>>>>> And other question... to which number do you limit the features
>>>>> retrieval? My server gets a little bit worry when I ask without
>>>>> filters... is it normal to limit it to 100 or this is too low?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Javier.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------
>>>>> This SF.net email is sponsored by: Splunk Inc. Do you grep
>>>>> through log files
>>>>> for problems? Stop! Download the new AJAX search engine that makes
>>>>> searching your log files as easy as surfing the web. DOWNLOAD
>>>>> SPLUNK!
>>>>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>>>>> _______________________________________________
>>>>> Geoserver-users mailing list
>>>>> Geoserver-users@...
>>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>>
>>>
>>>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Hi Javier
I started a wiki page for you:
http://docs.codehaus.org/display/GEOSDOC/Install+Mac+OSX
Feel free to add anything, screenshots are always a great help. If you
want I can edit and crop them for you. If you have any questions just
ask. And thanks for the help! We really appreciate any assistance we get.
Brent Owens
TOPP
Javier de la Torre wrote:
> Hi Justin,
>
> Ok. Here I go with the information you request:
>
> -Java: This is what geoserver says Version of JVM: Apple
> Computer, Inc. : 1.4.2_09
> -GeoServer 1.3.0-RC6
> -Servlet container is the one that comes by default with Mac Os X
> server, that is JBoss/Tomcat ( I think is version 3.2)
> -The mac is a Dual 2GHz PowerPC G5 with 4GB of RAM running mac os x
> server 10.4.3
>
> About the queries I am using I posted them already in another message.
>
> I may write a page on how to install geoserver on mac os x server
> beusing the default application server. If you use it the way they
> describe in the mnuals then you will loose your configurations every
> time you restart the server, so I had to kind of install it manually...
>
> About the limitations of features I think I am doing fine but for
> example if I use uDIG and add my WFS server by default it will
> gathered the whole world, that is all my features... well, but this
> is another issue...
>
> Javier.
>
>
> On 30/11/2005, at 18:54, Justin Deoliveira wrote:
>
>> Hi Javier,
>>
>> From what I know Geoserver isn't that well tested on the Mac. Can
>> you let us know the exact versions java, geoserver, servlet
>> container, mac os you are using and hopefully one of our mac users
>> can comment.
>>
>> Also, can you give us an example of a query you are getting the
>> strange result from. Thanks.
>>
>> It makes sense that your server gets bogged down when no filter is
>> supplied. Postgis would have to do a full table scan and depending
>> on your data this can be expensive. 100 features is pretty limiting,
>> instead you may want to try and change the filters on your query, ie
>> use a bounding box filter and make sure your postgis table has a
>> spatial index on it.
>>
>> Justin
>>
>> Javier de la Torre wrote:
>>
>>> Hi all,
>>> I have my WFS service running already on http://hq6.grinfo.net;
>>> 8080/ geoserver/
>>> There are around 160.000 points behind a postGIS database and the
>>> server is running on Mac OS X server.
>>> I am trying now to make the WMS service work but I do not manage.
>>> I don't have to configure anything special for it no?
>>> When I try to query it I sometimes get a ServiceException code='""
>>> null and other a strange error saying that it does not have enough
>>> privileges on the window (or something like this, I do not manage
>>> to reproduce it now). Do you know what can be going wrong?
>>> And other question... to which number do you limit the features
>>> retrieval? My server gets a little bit worry when I ask without
>>> filters... is it normal to limit it to 100 or this is too low?
>>> Thanks.
>>> Javier.
>>> -------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc. Do you grep through
>>> log files
>>> for problems? Stop! Download the new AJAX search engine that makes
>>> searching your log files as easy as surfing the web. DOWNLOAD
>>> SPLUNK!
>>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>>> _______________________________________________
>>> Geoserver-users mailing list
>>> Geoserver-users@...
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>>
>> --
>> Justin Deoliveira
>> The Open Planning Project
>> http://topp.openplans.org
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

Hi,
I turn on verbosity on errors and a log location. And this is what I
get:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?><!DOCTYPE
ServiceExceptionReport SYSTEM "http://hq6.grinfo.net:8080/geoserver/
data/capabilities//wms/1.1.1/WMS_exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1"> <ServiceException
code="">java.lang.NoClassDefFoundError
at
org.vfny.geoserver.wms.responses.DefaultRasterMapProducer.produceMap
(DefaultRasterMapProducer.java:189)
at org.vfny.geoserver.wms.responses.GetMapResponse.execute
(GetMapResponse.java:176)
at org.vfny.geoserver.servlets.AbstractService.doService
(AbstractService.java:449)
at org.vfny.geoserver.servlets.AbstractService.doGet
(AbstractService.java:276)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.vfny.geoserver.wms.servlets.WmsDispatcher.doResponse
(WmsDispatcher.java:156)
at org.vfny.geoserver.wms.servlets.WmsDispatcher.doGet
(WmsDispatcher.java:115)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline
$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
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.invokeNext(StandardPipeline.java:643)
at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.invoke
(JBossSecurityMgrRealm.java:220)
at org.apache.catalina.core.StandardPipeline
$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.CertificatesValve.invoke
(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline
$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.jboss.web.tomcat.tc4.statistics.ContainerStatsValve.invoke
(ContainerStatsValve.java:76)
at org.apache.catalina.core.StandardPipeline
$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
995)
at org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2417)
at org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline
$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline
$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline
$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke
(SecurityAssociationValve.java:65)
at org.apache.catalina.core.StandardPipeline
$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.AccessLogValve.invoke
(AccessLogValve.java:577)
at org.apache.catalina.core.StandardPipeline
$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
995)
at org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline
$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:
995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service
(CoyoteAdapter.java:197)
at org.apache.coyote.http11.Http11Processor.process
(Http11Processor.java:781)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt
(PoolTcpEndpoint.java:605)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
(ThreadPool.java:677)
at java.lang.Thread.run(Thread.java:552)
</ServiceException> </ServiceExceptionReport>
On 30/11/2005, at 19:42, Brent Owens wrote:
> The capitals.sld style should work for your layer.
>
> To find the log files, start GeoServer and go to: Geoserver ->
> config -> server
> You will have to enable the logging to a file, you can also specify
> the output location there.
> It should be logging to the screen anyways (in tomcat or jetty
> output window).
>
> Brent Owens
> TOPP
>
>
>
> Javier de la Torre wrote:
>
>> H,
>>
>>>
>>
>>> a) You have privilages to read/write the data
>>>
>> If you mean read/write permissions from the database that should
>> be fine because WFS works. If you mean on the geoserver folder
>> yes I set it up to be readable and writtable, because when I was
>> trying to save my configuration it failed because of permissions.
>>
>>> b) Your feature type have the correct SRS
>>
>>
>> I am using 4326 because I trust they are giving me the
>> coordinates like this, in the PostGIS database is set to that too.
>>
>>> c) You have a style on your FeatureType that works for it (there
>>> are now default polygon/point/line styles that come with GeoServer)
>>>
>> I am using the style 'capitals' that comes with Geoserver. I
>> still have not touched it but I tought that would be ok because
>> is also for representing points. But this could be a problem...
>> If I ask to use population, for example, it says that this style
>> is not appropiate for this layer so I tought capitals was working
>> fine.
>>
>>> d) The bounding box you are using to view your data is in the
>>> same projection as the data
>>> e) The bounding box is actually over your data
>>>
>>
>> Yes, I believe so because I am asking for the whole world.
>>
>>
>> This is the request I am sending to the WMS service:
>>
>> http://hq6.grinfo.net:8080/geoserver/wms?
>> bbox=-179.102613,40.212597,-72.361859,41.512517&styles=capitals&Forma
>> t=i mage/
>> png&request=GetMap&layers=accession&width=550&height=250&srs=EPSG:
>> 4326
>>
>> And I get this:
>>
>> -
>> <ServiceExceptionReport version="1.1.1">
>> <ServiceException code="">null</ServiceException>
>> </ServiceExceptionReport>
>>
>> If I try to get the same boundingbox trough WFS using:
>>
>> <wfs:GetFeature service="WFS" version="1.0.0"
>> outputFormat="GML2">
>> <wfs:Query typeName="gcp:accession">
>> <wfs:PropertyName>gpc:FullScientificName</wfs:PropertyName>
>> <ogc:Filter>
>> <ogc:BBOX>
>> <ogc:PropertyName>LocationGML</ogc:PropertyName>
>> <gml:Box srsName="http://www.opengis.net/gml/srs/
>> epsg.xml#4326">
>> <gml:coordinates>-179.102613,40.212597
>> -72.361859,41.512517</gml:coordinates>
>> </gml:Box>
>> </ogc:BBOX>
>> </ogc:Filter>
>> </wfs:Query>
>> </wfs:GetFeature>
>>
>> I get two features.
>>
>> Where can I find the log files of Geoserver?
>>
>> Javier.
>>
>>
>>> In order to actually track down what the problem is, we would
>>> need the stack trace of the exception from the server logs.
>>>
>>> How many features you limit in your result is up to you. 1
>>> million is probably not a good idea, where 100-1000 is probably
>>> fine. The fewer the faster. If you are zoomed into a road
>>> dataset (a few blocks), 100 features is probably fine. A city
>>> wide zoom, 5000-10000 is probably better.
>>>
>>> Brent Owens
>>> TOPP
>>>
>>>
>>>
>>> Javier de la Torre wrote:
>>>
>>>> Hi all,
>>>>
>>>> I have my WFS service running already on http://hq6.grinfo.net;
>>>> 8080/ geoserver/
>>>> There are around 160.000 points behind a postGIS database and
>>>> the server is running on Mac OS X server.
>>>> I am trying now to make the WMS service work but I do not
>>>> manage. I don't have to configure anything special for it no?
>>>>
>>>> When I try to query it I sometimes get a ServiceException
>>>> code='"" null and other a strange error saying that it does
>>>> not have enough privileges on the window (or something like
>>>> this, I do not manage to reproduce it now). Do you know what
>>>> can be going wrong?
>>>>
>>>> And other question... to which number do you limit the
>>>> features retrieval? My server gets a little bit worry when I
>>>> ask without filters... is it normal to limit it to 100 or this
>>>> is too low?
>>>>
>>>> Thanks.
>>>>
>>>> Javier.
>>>>
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> This SF.net email is sponsored by: Splunk Inc. Do you grep
>>>> through log files
>>>> for problems? Stop! Download the new AJAX search engine that
>>>> makes
>>>> searching your log files as easy as surfing the web. DOWNLOAD
>>>> SPLUNK!
>>>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>>>> _______________________________________________
>>>> Geoserver-users mailing list
>>>> Geoserver-users@...
>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>
>>
>>

The capitals.sld style should work for your layer.
To find the log files, start GeoServer and go to: Geoserver -> config ->
server
You will have to enable the logging to a file, you can also specify the
output location there.
It should be logging to the screen anyways (in tomcat or jetty output
window).
Brent Owens
TOPP
Javier de la Torre wrote:
> H,
>
>>
>
>> a) You have privilages to read/write the data
>>
> If you mean read/write permissions from the database that should be
> fine because WFS works. If you mean on the geoserver folder yes I set
> it up to be readable and writtable, because when I was trying to save
> my configuration it failed because of permissions.
>
>> b) Your feature type have the correct SRS
>
>
> I am using 4326 because I trust they are giving me the coordinates
> like this, in the PostGIS database is set to that too.
>
>> c) You have a style on your FeatureType that works for it (there are
>> now default polygon/point/line styles that come with GeoServer)
>>
> I am using the style 'capitals' that comes with Geoserver. I still
> have not touched it but I tought that would be ok because is also for
> representing points. But this could be a problem... If I ask to use
> population, for example, it says that this style is not appropiate
> for this layer so I tought capitals was working fine.
>
>> d) The bounding box you are using to view your data is in the same
>> projection as the data
>> e) The bounding box is actually over your data
>>
>
> Yes, I believe so because I am asking for the whole world.
>
>
> This is the request I am sending to the WMS service:
>
> http://hq6.grinfo.net:8080/geoserver/wms?
> bbox=-179.102613,40.212597,-72.361859,41.512517&styles=capitals&Format=i
> mage/
> png&request=GetMap&layers=accession&width=550&height=250&srs=EPSG:4326
>
> And I get this:
>
> -
> <ServiceExceptionReport version="1.1.1">
> <ServiceException code="">null</ServiceException>
> </ServiceExceptionReport>
>
> If I try to get the same boundingbox trough WFS using:
>
> <wfs:GetFeature service="WFS" version="1.0.0"
> outputFormat="GML2">
> <wfs:Query typeName="gcp:accession">
> <wfs:PropertyName>gpc:FullScientificName</wfs:PropertyName>
> <ogc:Filter>
> <ogc:BBOX>
> <ogc:PropertyName>LocationGML</ogc:PropertyName>
> <gml:Box srsName="http://www.opengis.net/gml/srs/ epsg.xml#4326">
> <gml:coordinates>-179.102613,40.212597
> -72.361859,41.512517</gml:coordinates>
> </gml:Box>
> </ogc:BBOX>
> </ogc:Filter>
> </wfs:Query>
> </wfs:GetFeature>
>
> I get two features.
>
> Where can I find the log files of Geoserver?
>
> Javier.
>
>
>> In order to actually track down what the problem is, we would need
>> the stack trace of the exception from the server logs.
>>
>> How many features you limit in your result is up to you. 1 million
>> is probably not a good idea, where 100-1000 is probably fine. The
>> fewer the faster. If you are zoomed into a road dataset (a few
>> blocks), 100 features is probably fine. A city wide zoom, 5000-10000
>> is probably better.
>>
>> Brent Owens
>> TOPP
>>
>>
>>
>> Javier de la Torre wrote:
>>
>>> Hi all,
>>>
>>> I have my WFS service running already on http://hq6.grinfo.net;
>>> 8080/ geoserver/
>>> There are around 160.000 points behind a postGIS database and the
>>> server is running on Mac OS X server.
>>> I am trying now to make the WMS service work but I do not manage.
>>> I don't have to configure anything special for it no?
>>>
>>> When I try to query it I sometimes get a ServiceException code='""
>>> null and other a strange error saying that it does not have enough
>>> privileges on the window (or something like this, I do not manage
>>> to reproduce it now). Do you know what can be going wrong?
>>>
>>> And other question... to which number do you limit the features
>>> retrieval? My server gets a little bit worry when I ask without
>>> filters... is it normal to limit it to 100 or this is too low?
>>>
>>> Thanks.
>>>
>>> Javier.
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc. Do you grep through
>>> log files
>>> for problems? Stop! Download the new AJAX search engine that makes
>>> searching your log files as easy as surfing the web. DOWNLOAD
>>> SPLUNK!
>>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>>> _______________________________________________
>>> Geoserver-users mailing list
>>> Geoserver-users@...
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>
>

Hi,
> a) You have privilages to read/write the data
>
If you mean read/write permissions from the database that should be
fine because WFS works. If you mean on the geoserver folder yes I set
it up to be readable and writtable, because when I was trying to save
my configuration it failed because of permissions.
> b) Your feature type have the correct SRS
I am using 4326 because I trust they are giving me the coordinates
like this, in the PostGIS database is set to that too.
> c) You have a style on your FeatureType that works for it (there
> are now default polygon/point/line styles that come with GeoServer)
>
I am using the style 'capitals' that comes with Geoserver. I still
have not touched it but I tought that would be ok because is also for
representing points. But this could be a problem... If I ask to use
population, for example, it says that this style is not appropiate
for this layer so I tought capitals was working fine.
> d) The bounding box you are using to view your data is in the same
> projection as the data
> e) The bounding box is actually over your data
>
Yes, I believe so because I am asking for the whole world.
This is the request I am sending to the WMS service:
http://hq6.grinfo.net:8080/geoserver/wms?
bbox=-179.102613,40.212597,-72.361859,41.512517&styles=capitals&Format=i
mage/
png&request=GetMap&layers=accession&width=550&height=250&srs=EPSG:4326
And I get this:
-
<ServiceExceptionReport version="1.1.1">
<ServiceException code="">null</ServiceException>
</ServiceExceptionReport>
If I try to get the same boundingbox trough WFS using:
<wfs:GetFeature service="WFS" version="1.0.0"
outputFormat="GML2">
<wfs:Query typeName="gcp:accession">
<wfs:PropertyName>gpc:FullScientificName</wfs:PropertyName>
<ogc:Filter>
<ogc:BBOX>
<ogc:PropertyName>LocationGML</ogc:PropertyName>
<gml:Box srsName="http://www.opengis.net/gml/srs/
epsg.xml#4326">
<gml:coordinates>-179.102613,40.212597
-72.361859,41.512517</gml:coordinates>
</gml:Box>
</ogc:BBOX>
</ogc:Filter>
</wfs:Query>
</wfs:GetFeature>
I get two features.
Where can I find the log files of Geoserver?
Javier.
> In order to actually track down what the problem is, we would need
> the stack trace of the exception from the server logs.
>
> How many features you limit in your result is up to you. 1 million
> is probably not a good idea, where 100-1000 is probably fine. The
> fewer the faster. If you are zoomed into a road dataset (a few
> blocks), 100 features is probably fine. A city wide zoom,
> 5000-10000 is probably better.
>
> Brent Owens
> TOPP
>
>
>
> Javier de la Torre wrote:
>
>> Hi all,
>>
>> I have my WFS service running already on http://hq6.grinfo.net;
>> 8080/ geoserver/
>> There are around 160.000 points behind a postGIS database and the
>> server is running on Mac OS X server.
>> I am trying now to make the WMS service work but I do not manage.
>> I don't have to configure anything special for it no?
>>
>> When I try to query it I sometimes get a ServiceException
>> code='"" null and other a strange error saying that it does not
>> have enough privileges on the window (or something like this, I
>> do not manage to reproduce it now). Do you know what can be going
>> wrong?
>>
>> And other question... to which number do you limit the features
>> retrieval? My server gets a little bit worry when I ask without
>> filters... is it normal to limit it to 100 or this is too low?
>>
>> Thanks.
>>
>> Javier.
>>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through
>> log files
>> for problems? Stop! Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the web. DOWNLOAD
>> SPLUNK!
>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@...
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>

Hi Justin,
Ok. Here I go with the information you request:
-Java: This is what geoserver says Version of JVM: Apple
Computer, Inc. : 1.4.2_09
-GeoServer 1.3.0-RC6
-Servlet container is the one that comes by default with Mac Os X
server, that is JBoss/Tomcat ( I think is version 3.2)
-The mac is a Dual 2GHz PowerPC G5 with 4GB of RAM running mac os x
server 10.4.3
About the queries I am using I posted them already in another message.
I may write a page on how to install geoserver on mac os x server
beusing the default application server. If you use it the way they
describe in the mnuals then you will loose your configurations every
time you restart the server, so I had to kind of install it manually...
About the limitations of features I think I am doing fine but for
example if I use uDIG and add my WFS server by default it will
gathered the whole world, that is all my features... well, but this
is another issue...
Javier.
On 30/11/2005, at 18:54, Justin Deoliveira wrote:
> Hi Javier,
>
> From what I know Geoserver isn't that well tested on the Mac. Can
> you let us know the exact versions java, geoserver, servlet
> container, mac os you are using and hopefully one of our mac users
> can comment.
>
> Also, can you give us an example of a query you are getting the
> strange result from. Thanks.
>
> It makes sense that your server gets bogged down when no filter is
> supplied. Postgis would have to do a full table scan and depending
> on your data this can be expensive. 100 features is pretty
> limiting, instead you may want to try and change the filters on
> your query, ie use a bounding box filter and make sure your postgis
> table has a spatial index on it.
>
> Justin
>
> Javier de la Torre wrote:
>> Hi all,
>> I have my WFS service running already on http://hq6.grinfo.net;
>> 8080/ geoserver/
>> There are around 160.000 points behind a postGIS database and the
>> server is running on Mac OS X server.
>> I am trying now to make the WMS service work but I do not manage.
>> I don't have to configure anything special for it no?
>> When I try to query it I sometimes get a ServiceException
>> code='"" null and other a strange error saying that it does not
>> have enough privileges on the window (or something like this, I
>> do not manage to reproduce it now). Do you know what can be going
>> wrong?
>> And other question... to which number do you limit the features
>> retrieval? My server gets a little bit worry when I ask without
>> filters... is it normal to limit it to 100 or this is too low?
>> Thanks.
>> Javier.
>> -------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through
>> log files
>> for problems? Stop! Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the web. DOWNLOAD
>> SPLUNK!
>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@...
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> --
> Justin Deoliveira
> The Open Planning Project
> http://topp.openplans.org

There are a few things you have to make sure of when creating a new layer:
a) You have privilages to read/write the data
b) Your feature type have the correct SRS
c) You have a style on your FeatureType that works for it (there are now
default polygon/point/line styles that come with GeoServer)
d) The bounding box you are using to view your data is in the same
projection as the data
e) The bounding box is actually over your data
Sometimes those "null" exceptions mean that nothing was returned, ie.
there were no features selected.
In order to actually track down what the problem is, we would need the
stack trace of the exception from the server logs.
How many features you limit in your result is up to you. 1 million is
probably not a good idea, where 100-1000 is probably fine. The fewer the
faster. If you are zoomed into a road dataset (a few blocks), 100
features is probably fine. A city wide zoom, 5000-10000 is probably better.
Brent Owens
TOPP
Javier de la Torre wrote:
> Hi all,
>
> I have my WFS service running already on http://hq6.grinfo.net;8080/
> geoserver/
> There are around 160.000 points behind a postGIS database and the
> server is running on Mac OS X server.
> I am trying now to make the WMS service work but I do not manage. I
> don't have to configure anything special for it no?
>
> When I try to query it I sometimes get a ServiceException code='""
> null and other a strange error saying that it does not have enough
> privileges on the window (or something like this, I do not manage to
> reproduce it now). Do you know what can be going wrong?
>
> And other question... to which number do you limit the features
> retrieval? My server gets a little bit worry when I ask without
> filters... is it normal to limit it to 100 or this is too low?
>
> Thanks.
>
> Javier.
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

Hi Javier,
From what I know Geoserver isn't that well tested on the Mac. Can you
let us know the exact versions java, geoserver, servlet container, mac
os you are using and hopefully one of our mac users can comment.
Also, can you give us an example of a query you are getting the strange
result from. Thanks.
It makes sense that your server gets bogged down when no filter is
supplied. Postgis would have to do a full table scan and depending on
your data this can be expensive. 100 features is pretty limiting,
instead you may want to try and change the filters on your query, ie use
a bounding box filter and make sure your postgis table has a spatial
index on it.
Justin
Javier de la Torre wrote:
> Hi all,
>
> I have my WFS service running already on http://hq6.grinfo.net;8080/
> geoserver/
> There are around 160.000 points behind a postGIS database and the
> server is running on Mac OS X server.
> I am trying now to make the WMS service work but I do not manage. I
> don't have to configure anything special for it no?
>
> When I try to query it I sometimes get a ServiceException code='"" null
> and other a strange error saying that it does not have enough
> privileges on the window (or something like this, I do not manage to
> reproduce it now). Do you know what can be going wrong?
>
> And other question... to which number do you limit the features
> retrieval? My server gets a little bit worry when I ask without
> filters... is it normal to limit it to 100 or this is too low?
>
> Thanks.
>
> Javier.
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Hi all,
I have my WFS service running already on http://hq6.grinfo.net;8080/
geoserver/
There are around 160.000 points behind a postGIS database and the
server is running on Mac OS X server.
I am trying now to make the WMS service work but I do not manage. I
don't have to configure anything special for it no?
When I try to query it I sometimes get a ServiceException code='""
null and other a strange error saying that it does not have enough
privileges on the window (or something like this, I do not manage to
reproduce it now). Do you know what can be going wrong?
And other question... to which number do you limit the features
retrieval? My server gets a little bit worry when I ask without
filters... is it normal to limit it to 100 or this is too low?
Thanks.
Javier.

Hi Scott:
On 11/30/05, Scott Pezanowski <scottpez@...> wrote:
>
> Chris,
>
> The spatial reference system table is populated. I tried adding the
> epsg-hsql-2.2.x.jar file I had from my geotools build, to the lib
> directory of geoserver. Geoserver was then at least able to compile and r=
un.
> However, when I go to the geoserver config screen I have the following
> errors:
>
> atlas:colr0000
> java.lang.AbstractMethodError:
> org.geotools.referencing.factory.epsg.HSQLDataSource.createFactory
> (Lorg/geotools/referencing/factory/FactoryGroup;)Lorg/geotools/referencin=
g/factory/AbstractAuthorityFactory;
> The SRS being used for the atlas:colr0000 table is 32128 which I believe
> is Pennsylvania North / UTM.
>
> What epsg database is included with geoserver 1.3.0-RC6?
It is the HSQL version of the EPSG database. I am not sure if you are
asking this though.
Where would I find this? Do you have any other thoughts on what might be
> going on?
It dependes what OS and servlet container you are running at the moment. I
can tell you where it is on Linux System:
1. '/tmp/Geotools/Databases/HSQL' if you are running Geoserver with the
incl. jetty.
2. '$CATALINA_HOME/temp/Geotools/Databases/HSQL/' if you run Geoserver with
Tomcat.
IIRC, the localtion of the database was somewhere in the "My Documents"
folder for the user running Geoserver in Windows.
If the database does not exist, it is created for you upon starting uo
Geoserver. So if something in it is wrong and cannot be parsed, you can
delete it and then restart Geoserver.
Alex

Hi Javier,
It would all depend on how you want to use the precision with your data.
What I gather is that you want to render (WMS) a circle whose radius is
based on the precision of the point. To do this you can set up your
style (SLD) to filter every point into different cases based on the
precision attribute, and them color/size them accordingly. You might
even be able (but doubtful) to directly set the radius of the circle
based on the precision attribute on the point; but those coordinates
would have to translate into pixles.
For your precision column, the datatype of course has to be as precise
as your data in the appropriate projection. Double precision is usually
sufficient.
How people handle their data's precision varries on a case by case
basis, so I don't think it is supported by GML or other applications.
There are just too many variables and possibilities (units, axes,
geometry type...) for anyone to specify a standard, the programs out
there also shouldn't necessarily assume what you want done with the
precision. Also remember that depending on the projection, your data
might have added precision errors associated with it; even on different
axes (X vs Y). These projection errors are often less than the capture
technique precision errors, so I wouldn't worry about them too much.
Brent Owens
TOPP
Javier de la Torre wrote:
> Hi Brent,
>
> Thanks for the comments. I actually have different precessions for
> every feature so I have a different column. Most of the time the data
> I get does not include information about the precision but they miss
> the seconds so therefore I can assume that this feature is in a
> circle of 180 m. (or something like this).
> But how do you represent that? I would define it as circle? what kind
> of data type must my column has? an integer representing the radius
> in meters?
>
> Is there any place where I can find information related to accuracy
> or precision and how is this handle in GML? Are the applications,
> like uDig or Web clients, going to take that in consideration?
>
> Thanks.
>
> Javier.
>
> On 29/11/2005, at 18:22, Brent Owens wrote:
>
>> For precision, it depends on how specific your precision is. If you
>> have a different precision for each point, then store it as a
>> separate column along with the geometry. If the precision is the
>> same for all points, then a separate constant will work, or you can
>> store it along as well.
>>
>> You can also go to higher dimentions: x, y, p
>> Where 'p' is your precision. Geotools (and GeoServer) do support
>> this. They are called CoordinateSequences, and are customizable to
>> as many dimensions as you want. Usually people use 3 dimensions: x,
>> y, z or: x, y, m (measure).
>>
>> Brent Owens
>> TOPP
>>
>>
>>
>> Javier de la Torre wrote:
>>
>>> Sorry Brent I did not read your message before.
>>>
>>>> 1) Q: Map preview broken
>>>> A: What files did you delete? Is it the geoserver/mapPreview.do
>>>> page that is throwing the exception, or is it the individual
>>>> preview pages. Also, if you deleted the example shapefiles, did
>>>> you remove the associated DataStores and FeatureTypes from
>>>> GeoServer? The mapPreview.do page looks through all the enabled
>>>> FeatureTypes and grabs the bounding boxes from them, so if your
>>>> datastores (or their shapefiles) are gone, you will get an error.
>>>>
>>>
>>> This was solved by replacing the geoserver.jar that Chris Holmes
>>> sent me...
>>>
>>>> 2) Q: Not expected capabilities
>>>> A: Can you describe what it is you are expecting and what you are
>>>> receiving?
>>>>
>>>
>>> Still I do not manage to get my own properties with my namespace,
>>> it keeps using gml namespace... but because ther eis the
>>> substitution group there I do not know if this is correct or
>>> not.,.. I will post a question on this later.
>>>
>>>> 3) Q: Operation timed out.
>>>> A: Do you have a firewall on the server? Getting the actual java
>>>> exception returned to you means that the server is sending
>>>> something to you. I'm a little baffled by the problem. Any more
>>>> information you could provide to me will help greatly.
>>>>
>>>
>>> Yes! You were right... the problem was that the server was not
>>> able to see himself!! Well, i just added the address to the hosts
>>> file to resolve locallly and now is working fine :)
>>>
>>>> 4) Q: MySQL unspected end of string
>>>> A: This is happening in the DataStore configuration page? If it
>>>> is when you are hitting the 'Apply' button, it could be that
>>>> GeoServer does not have permission to write to the directory.
>>>> Although GeoServer should report the error as an actual
>>>> permission error now. But being that it worked on your machine
>>>> and not on the server, means that it is most likely your server's
>>>> configuration. Could you send me the actual java exception with
>>>> stacktrace?
>>>>
>>>
>>> I've checked the permissions on connecting to MySQL several times
>>> and I think it is fine. The permissions to write on the directory
>>> could be!! The problem is that I am using now the application
>>> server comming with Mac Os X server, that is Tomcat/Jboss and
>>> seems that it does not expand the war file (or I do not manage to
>>> see where it does it!) so maybe the problem is there... But in the
>>> other hand I can create new features and so on so I am writing
>>> somewhere... I do not have access to the machine during the
>>> weekend... I will check it out when going back to the office on
>>> Monday...
>>>
>>> The thing is that I only have point properties in my database,
>>> that is exact location of specimens, therefore maybe MySQL will be
>>> enough (the database is in MySQL and I have created an export
>>> script to PostGIS but maybe it is not necessary).
>>>
>>> Other question is about precision of location. I have some records
>>> that report a precision of the coordinates by providing a radius
>>> in meters around it. How do you normally deal with this? You can
>>> create a circle figure as a geometry? Anybody is having to deal
>>> with things like that?
>>>
>>> Thanks in advance.
>>>
>>> Javier.
>>>
>>>
>>>> Brent Owens
>>>> TOPP
>>>>
>>>>
>>>>
>>>> Javier de la Torre wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I am deploying now Geoserver in a Mac Os X server. I deployed
>>>>> it using the war file provided. The installation went fine,
>>>>> the Tomcat/ JBoss in Mac OS X server recognized it fine and it
>>>>> appears without problems.
>>>>>
>>>>> I continued and configured it, and I also deleted the examples
>>>>> provided, but now I am getting some problems:
>>>>>
>>>>> -The Map Preview in the Demos crash saing that the server
>>>>> encountered an internal error.
>>>>> -If I connect from the server and do some sample request like
>>>>> getcapabilities it works fine (it does not returned exactly what
>>>>> I want but this is another issue), but if I go trough another
>>>>> computer it takes a long time anf finally I get a <servlet-
>>>>> exception>
>>>>> java.net.ConnectException: Operation timed out
>>>>> </servlet-exception>
>>>>> -Finally I did not managed to configure MySQL as a datastore on
>>>>> this server, it worked fine in my machine, but on the server,
>>>>> when trying to save the configuration I get a Java error about
>>>>> an unspected end of string or something like this. I am
>>>>> running MySQL 5.0.15-standard- log via socket.
>>>>>
>>>>>
>>>>> Any idea of what are this problems?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Javier.
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------
>>>>> This SF.net email is sponsored by: Splunk Inc. Do you grep
>>>>> through log files
>>>>> for problems? Stop! Download the new AJAX search engine that makes
>>>>> searching your log files as easy as surfing the web. DOWNLOAD
>>>>> SPLUNK!
>>>>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>>>>> _______________________________________________
>>>>> Geoserver-users mailing list
>>>>> Geoserver-users@...
>>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>>
>>>
>>>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

Hi Brent,
Thanks for the comments. I actually have different precessions for
every feature so I have a different column. Most of the time the data
I get does not include information about the precision but they miss
the seconds so therefore I can assume that this feature is in a
circle of 180 m. (or something like this).
But how do you represent that? I would define it as circle? what kind
of data type must my column has? an integer representing the radius
in meters?
Is there any place where I can find information related to accuracy
or precision and how is this handle in GML? Are the applications,
like uDig or Web clients, going to take that in consideration?
Thanks.
Javier.
On 29/11/2005, at 18:22, Brent Owens wrote:
> For precision, it depends on how specific your precision is. If you
> have a different precision for each point, then store it as a
> separate column along with the geometry. If the precision is the
> same for all points, then a separate constant will work, or you can
> store it along as well.
>
> You can also go to higher dimentions: x, y, p
> Where 'p' is your precision. Geotools (and GeoServer) do support
> this. They are called CoordinateSequences, and are customizable to
> as many dimensions as you want. Usually people use 3 dimensions: x,
> y, z or: x, y, m (measure).
>
> Brent Owens
> TOPP
>
>
>
> Javier de la Torre wrote:
>
>> Sorry Brent I did not read your message before.
>>
>>> 1) Q: Map preview broken
>>> A: What files did you delete? Is it the geoserver/mapPreview.do
>>> page that is throwing the exception, or is it the individual
>>> preview pages. Also, if you deleted the example shapefiles, did
>>> you remove the associated DataStores and FeatureTypes from
>>> GeoServer? The mapPreview.do page looks through all the enabled
>>> FeatureTypes and grabs the bounding boxes from them, so if your
>>> datastores (or their shapefiles) are gone, you will get an error.
>>>
>>
>> This was solved by replacing the geoserver.jar that Chris Holmes
>> sent me...
>>
>>> 2) Q: Not expected capabilities
>>> A: Can you describe what it is you are expecting and what you
>>> are receiving?
>>>
>>
>> Still I do not manage to get my own properties with my namespace,
>> it keeps using gml namespace... but because ther eis the
>> substitution group there I do not know if this is correct or
>> not.,.. I will post a question on this later.
>>
>>> 3) Q: Operation timed out.
>>> A: Do you have a firewall on the server? Getting the actual java
>>> exception returned to you means that the server is sending
>>> something to you. I'm a little baffled by the problem. Any more
>>> information you could provide to me will help greatly.
>>>
>>
>> Yes! You were right... the problem was that the server was not
>> able to see himself!! Well, i just added the address to the hosts
>> file to resolve locallly and now is working fine :)
>>
>>> 4) Q: MySQL unspected end of string
>>> A: This is happening in the DataStore configuration page? If it
>>> is when you are hitting the 'Apply' button, it could be that
>>> GeoServer does not have permission to write to the directory.
>>> Although GeoServer should report the error as an actual
>>> permission error now. But being that it worked on your machine
>>> and not on the server, means that it is most likely your
>>> server's configuration. Could you send me the actual java
>>> exception with stacktrace?
>>>
>>
>> I've checked the permissions on connecting to MySQL several times
>> and I think it is fine. The permissions to write on the directory
>> could be!! The problem is that I am using now the application
>> server comming with Mac Os X server, that is Tomcat/Jboss and
>> seems that it does not expand the war file (or I do not manage to
>> see where it does it!) so maybe the problem is there... But in
>> the other hand I can create new features and so on so I am
>> writing somewhere... I do not have access to the machine during
>> the weekend... I will check it out when going back to the office
>> on Monday...
>>
>> The thing is that I only have point properties in my database,
>> that is exact location of specimens, therefore maybe MySQL will
>> be enough (the database is in MySQL and I have created an export
>> script to PostGIS but maybe it is not necessary).
>>
>> Other question is about precision of location. I have some
>> records that report a precision of the coordinates by providing a
>> radius in meters around it. How do you normally deal with this?
>> You can create a circle figure as a geometry? Anybody is having
>> to deal with things like that?
>>
>> Thanks in advance.
>>
>> Javier.
>>
>>
>>> Brent Owens
>>> TOPP
>>>
>>>
>>>
>>> Javier de la Torre wrote:
>>>
>>>> Hi,
>>>>
>>>> I am deploying now Geoserver in a Mac Os X server. I deployed
>>>> it using the war file provided. The installation went fine,
>>>> the Tomcat/ JBoss in Mac OS X server recognized it fine and it
>>>> appears without problems.
>>>>
>>>> I continued and configured it, and I also deleted the examples
>>>> provided, but now I am getting some problems:
>>>>
>>>> -The Map Preview in the Demos crash saing that the server
>>>> encountered an internal error.
>>>> -If I connect from the server and do some sample request like
>>>> getcapabilities it works fine (it does not returned exactly
>>>> what I want but this is another issue), but if I go trough
>>>> another computer it takes a long time anf finally I get a
>>>> <servlet- exception>
>>>> java.net.ConnectException: Operation timed out
>>>> </servlet-exception>
>>>> -Finally I did not managed to configure MySQL as a datastore on
>>>> this server, it worked fine in my machine, but on the server,
>>>> when trying to save the configuration I get a Java error about
>>>> an unspected end of string or something like this. I am
>>>> running MySQL 5.0.15-standard- log via socket.
>>>>
>>>>
>>>> Any idea of what are this problems?
>>>>
>>>> Thanks.
>>>>
>>>> Javier.
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> This SF.net email is sponsored by: Splunk Inc. Do you grep
>>>> through log files
>>>> for problems? Stop! Download the new AJAX search engine that
>>>> makes
>>>> searching your log files as easy as surfing the web. DOWNLOAD
>>>> SPLUNK!
>>>> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
>>>> _______________________________________________
>>>> Geoserver-users mailing list
>>>> Geoserver-users@...
>>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>>
>>
>>

On 11/29/05, Efren Serra <efren.serra.ctr@...> wrote:
> Hello Alex,
>
> I would be willing to help you provide/implement netCDF support on GeoSer=
ver
> since I deal with Gridded data.
> I was wondering if you could elaborate on the time series data; wouldn't
> this be adressed by one of the following GML schemas:
>
> 14 GML schemas - temporal information and dynamic features
> 18 GML schemas - observations
>
> v/r,
> Efren
Hi Efren:
Yes, except that I don't think it is currently implemented. Correct if
I am wrong, please.
Alex
> -----Original Message-----
> From: geoserver-devel-admin@...
> [mailto:geoserver-devel-admin@...]On Behalf Of
> Alexander Petkov
> Sent: Tuesday, November 22, 2005 7:58 AM
> To: Norman Barker; geoserver-devel@...;
> geoserver-users@...
> Subject: [Geoserver-devel] Re: [Geoserver-users] netcdf - wcs resource
>
>
> Hello Norman:
>
> Thanks for for reply. I will continue with in line comments.
> > I am in discussions with Simone Giannechini who is leading GeoServer WC=
S,
> to
> > try and get the direction of incorporating GML in Jpeg2000 as a coverag=
e
> > format, particularly as netCDF in JP2 is a recommended profile in the
> spec.
> > Does this interest you?
>
> Yes, esp. if there's any work outlined, or some code being developed.
> I am not sure which spec you are referring to, but it looks like it is
> the WCS spec document, correct?
>
> > If you need to get a collection on-line why you do some GeoServer
> > development, my MapServer netCDF howto is available here
> > http://ms.gis.umn.edu/docs/howto/WCSServerFormatHowTo. I am keen to us=
e
> > GeoServer, for its WFS, and planned GML support. Both very good server=
s
> as
> > they are though.
>
> Similar to your approach from some time ago, I have a routine to
> convert the netCDF data to a series of Geotiff files, and describe
> those as coverages in Geoserver's catalog. I use the WCS branch,
> obviously. For contouring the data, I create a series of geometries in
> Postgis and query those as FeatureTypes. It works for now, but it is a
> temporary solution.
>
> Currently I am mainly looking to orient myself on how to proceed with
> respect to implementing netCDF support. I believe I need to look at
> developing a plugin similar to the one for ArcGrid coverage (it has
> been mentioned in the list before). I already have a way to read the
> gridded data using the netcdf java API.
>
> There's still something ambiguous about how to handle time series
> data. I remember seeing the issue addressed in the WCS spec document,
> but I am not sure if it is a part of geoserver (or geotools ) yet.
> This was also a topic of discussion during IRC meets, it looks I have
> to revisit the archives.
>
> Anyway, if someone has ideas on how I should proceed from here, please
> do share.
>
> And Norman, thanks for sharing your Mapserver NetCDF howto. I will
> make sure to go through it this week.
>
> Alex
>
> > >From: Alex Petkov <apetkov@...>
> > >To: "Norman Barker" <normanbarker@...>
> > >Subject: Re: [Geoserver-users] netcdf - wcs resource
> > >Date: Fri, 18 Nov 2005 10:29:19 -0700
> > >
> > >Hello Norman:
> > >
> > >I have been tasked to do the same thing, and I wonder what work is
> already
> > >being done.
> > >
> > >Can you tell me if you worked on netcdf coverage support and how far i=
nto
> > >it are you?
> > >
> > >Thanks,
> > >
> > >Alex
> > >
> > >
> > >
> > >geoserver-users-admin@... wrote on 04/29/2005 08:11:=
39
> > >AM:
> > >
> > > > Hi,
> > > >
> > > > my boss at RSI has resourced me to put some time into adding netCDF
> > >coverage
> > > > support into Geoserver, the reason that it took so long since my
> initial
> > > > enquiry is that we had to develop a baseline solution using MapServ=
er.
> > > >
> > > > Please advise on what needs to be done, and how to do it, and I wil=
l
> get
> > >on.
> > > >
> > > > Many thanks,
> > > >
> > > > Norman Barker
> > >
> > >
> >
> >
> >
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
> Register for a JBoss Training Course. Free Certification Exam
> for All Training Attendees Through End of 2005. For more info visit:
> http://ads.osdn.com/?ad_idv28&alloc_id=16845&op=3Dick
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi=
les
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

Hello Alex,
I would be willing to help you provide/implement netCDF support on GeoServer
since I deal with Gridded data.
I was wondering if you could elaborate on the time series data; wouldn't
this be adressed by one of the following GML schemas:
14 GML schemas - temporal information and dynamic features
18 GML schemas - observations
v/r,
Efren
-----Original Message-----
From: geoserver-devel-admin@...
[mailto:geoserver-devel-admin@...]On Behalf Of
Alexander Petkov
Sent: Tuesday, November 22, 2005 7:58 AM
To: Norman Barker; geoserver-devel@...;
geoserver-users@...
Subject: [Geoserver-devel] Re: [Geoserver-users] netcdf - wcs resource
Hello Norman:
Thanks for for reply. I will continue with in line comments.
> I am in discussions with Simone Giannechini who is leading GeoServer WCS,
to
> try and get the direction of incorporating GML in Jpeg2000 as a coverage
> format, particularly as netCDF in JP2 is a recommended profile in the
spec.
> Does this interest you?
Yes, esp. if there's any work outlined, or some code being developed.
I am not sure which spec you are referring to, but it looks like it is
the WCS spec document, correct?
> If you need to get a collection on-line why you do some GeoServer
> development, my MapServer netCDF howto is available here
> http://ms.gis.umn.edu/docs/howto/WCSServerFormatHowTo. I am keen to use
> GeoServer, for its WFS, and planned GML support. Both very good servers
as
> they are though.
Similar to your approach from some time ago, I have a routine to
convert the netCDF data to a series of Geotiff files, and describe
those as coverages in Geoserver's catalog. I use the WCS branch,
obviously. For contouring the data, I create a series of geometries in
Postgis and query those as FeatureTypes. It works for now, but it is a
temporary solution.
Currently I am mainly looking to orient myself on how to proceed with
respect to implementing netCDF support. I believe I need to look at
developing a plugin similar to the one for ArcGrid coverage (it has
been mentioned in the list before). I already have a way to read the
gridded data using the netcdf java API.
There's still something ambiguous about how to handle time series
data. I remember seeing the issue addressed in the WCS spec document,
but I am not sure if it is a part of geoserver (or geotools ) yet.
This was also a topic of discussion during IRC meets, it looks I have
to revisit the archives.
Anyway, if someone has ideas on how I should proceed from here, please
do share.
And Norman, thanks for sharing your Mapserver NetCDF howto. I will
make sure to go through it this week.
Alex
> >From: Alex Petkov <apetkov@...>
> >To: "Norman Barker" <normanbarker@...>
> >Subject: Re: [Geoserver-users] netcdf - wcs resource
> >Date: Fri, 18 Nov 2005 10:29:19 -0700
> >
> >Hello Norman:
> >
> >I have been tasked to do the same thing, and I wonder what work is
already
> >being done.
> >
> >Can you tell me if you worked on netcdf coverage support and how far into
> >it are you?
> >
> >Thanks,
> >
> >Alex
> >
> >
> >
> >geoserver-users-admin@... wrote on 04/29/2005 08:11:39
> >AM:
> >
> > > Hi,
> > >
> > > my boss at RSI has resourced me to put some time into adding netCDF
> >coverage
> > > support into Geoserver, the reason that it took so long since my
initial
> > > enquiry is that we had to develop a baseline solution using MapServer.
> > >
> > > Please advise on what needs to be done, and how to do it, and I will
get
> >on.
> > >
> > > Many thanks,
> > >
> > > Norman Barker
> >
> >
>
>
>
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_idv28&alloc_id845&op=ick
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@...
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

I had an initial look a while ago about putting something like this in
Mapbuilder. I'm pretty sure it can work, just not sure exactly how yet.
The POSTing of an XML <GetMap> request isn't hard, it's how to handle an
XmlHttpRequest that returns something other than text/xml mime type. We
will also likely have to implement something like this to handle DRM issues
in an AJAX client.
Mike
> -----Original Message-----
> From: geoserver-users-admin@...
> [mailto:geoserver-users-admin@...] On
> Behalf Of Alessio Fabiani
> Sent: Saturday, November 26, 2005 7:04 AM
> To: dblasby@...
> Cc: groldan@...; geoserver-users@...
> Subject: Re: [Geoserver-users] Re: Question on SLD_BODY
>
> Right Dave, you got the problem ... I was thinking something
> like this, building an AJAX XML post request but, as you say,
> I didn't know how to fit this in a IMG tag.
>
>
> On 11/26/05, dblasby@... <dblasby@...> wrote:
>
> You can definately send SLD-POST requests to geoserver:
>
> 1. with the SLD_BODY= in the URL
> 2. use ogc/soap-like XML request (like for wfs) with a
> <GetMap> XML
> request
> 3. you can also do a hybrid of the (1) and (2) - stick all your
> parameters in the URL and then stick the SLD XML in the
> POST body.
> 4. you can also do an 'indirect' SLD with an SLD=<url
> to SLD document>
>
> The problem is that <IMG> tags in HTML *only* do GET
> requests, so you
> cannot get it to make a POST this way. AJAX techniques
> are great for
> doing the requests (ie. #2 or #3 above) but you cannot
> do anything with
> the PNG/GIF/JPEG that geoserver returns.
>
> This is extreamly annoying. Gabriel and I had a
> discussion about this a
> while ago - the plan was to send a request for, say,
> xml/png instead of
> image/png and geoserver would then send back a response
> something like
> this:
>
> <GetMapLocation>
> ...URL...
> </GetMapLocation>
>
> Where the given URL will be a simple GET request, for
> example something
> like this:
>
> localhost:8080/geoserver/wms?request=getmap&tag=823742032724023750
>
> When you made the original (XML POST) request,
> geoserver would have
> either:
> 1. saved a copy of the SLD and parameters so it can
> render the image
> OR
> 2. rendered the image and temporarily saved a copy of it.
>
> This way when you make the 2nd (GET) request, you'll
> get the image you
> were looking for.
>
> This integrates quite well into an AJAX application.
> You send off an
> AJAX (XML POST) request to the server, have the browser
> (automatically)
> process the simple response, then set the <IMG> tag's
> SRC to the URL
> returned by geoserver. Simple.
>
> Gabriel said he was thinking of implementing something
> like this, but I
> dont know the status. You should file a jira task for
> this as its a
> really useful addition for AJAX applications doing SLD-POST.
> Unfortunately, its non-standard, but the standard is lacking.
>
> dave
>
>
>
>
> ----------------------------------------------------------
> This mail sent through IMP: https://webmail.limegroup.com/
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you
> grep through log files
> for problems? Stop! Download the new AJAX search
> engine that makes
> searching your log files as easy as surfing the web.
> DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> <http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click&gt;
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
>

Right Dave, you got the problem ... I was thinking something like this,
building an AJAX XML post request but, as you say, I didn't know how to fit
this in a IMG tag.
On 11/26/05, dblasby@... <dblasby@...> wrote:
>
> You can definately send SLD-POST requests to geoserver:
>
> 1. with the SLD_BODY=3D in the URL
> 2. use ogc/soap-like XML request (like for wfs) with a <GetMap> XML
> request
> 3. you can also do a hybrid of the (1) and (2) - stick all your
> parameters in the URL and then stick the SLD XML in the POST body.
> 4. you can also do an 'indirect' SLD with an SLD=3D<url to SLD document>
>
> The problem is that <IMG> tags in HTML *only* do GET requests, so you
> cannot get it to make a POST this way. AJAX techniques are great for
> doing the requests (ie. #2 or #3 above) but you cannot do anything with
> the PNG/GIF/JPEG that geoserver returns.
>
> This is extreamly annoying. Gabriel and I had a discussion about this a
> while ago - the plan was to send a request for, say, xml/png instead of
> image/png and geoserver would then send back a response something like
> this:
>
> <GetMapLocation>
> ...URL...
> </GetMapLocation>
>
> Where the given URL will be a simple GET request, for example something
> like this:
> localhost:8080/geoserver/wms?request=3Dgetmap&tag=3D823742032724023750
>
> When you made the original (XML POST) request, geoserver would have
> either:
> 1. saved a copy of the SLD and parameters so it can render the image
> OR
> 2. rendered the image and temporarily saved a copy of it.
>
> This way when you make the 2nd (GET) request, you'll get the image you
> were looking for.
>
> This integrates quite well into an AJAX application. You send off an
> AJAX (XML POST) request to the server, have the browser (automatically)
> process the simple response, then set the <IMG> tag's SRC to the URL
> returned by geoserver. Simple.
>
> Gabriel said he was thinking of implementing something like this, but I
> dont know the status. You should file a jira task for this as its a
> really useful addition for AJAX applications doing SLD-POST.
> Unfortunately, its non-standard, but the standard is lacking.
>
> dave
>
>
>
>
> ----------------------------------------------------------
> This mail sent through IMP: https://webmail.limegroup.com/
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=3D7637&alloc_id=3D16865&op=3Dclick
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>

>Between this and the Drupal angle, it looks like community
>mapping/GIS is on the horizon. It is interesting to think about the
>opensource development communities crossing over into the data building
>side.
This is exactly what I'm hoping to facilitate.
>I'll have to look at MapBuilder. I've done all my interfaces using
>svg since element level event listeners give it a high level of
>granularity
>and it seems better suited to WFS even though it can incorporate WMS
with
><image/> elements. However, MapBuilder seems to be more cross browser
>capable at present.
I'm hoping that the mapbuilder folks go with some type of SLD support
since its extreamly useful. I'm planning on adding fairly good SLD
support to geoserver. I suggest you talk to the mapbuilder people!
dave
----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/

You can definately send SLD-POST requests to geoserver:
1. with the SLD_BODY= in the URL
2. use ogc/soap-like XML request (like for wfs) with a <GetMap> XML
request
3. you can also do a hybrid of the (1) and (2) - stick all your
parameters in the URL and then stick the SLD XML in the POST body.
4. you can also do an 'indirect' SLD with an SLD=<url to SLD document>
The problem is that <IMG> tags in HTML *only* do GET requests, so you
cannot get it to make a POST this way. AJAX techniques are great for
doing the requests (ie. #2 or #3 above) but you cannot do anything with
the PNG/GIF/JPEG that geoserver returns.
This is extreamly annoying. Gabriel and I had a discussion about this a
while ago - the plan was to send a request for, say, xml/png instead of
image/png and geoserver would then send back a response something like
this:
<GetMapLocation>
...URL...
</GetMapLocation>
Where the given URL will be a simple GET request, for example something
like this:
localhost:8080/geoserver/wms?request=getmap&tag=823742032724023750
When you made the original (XML POST) request, geoserver would have
either:
1. saved a copy of the SLD and parameters so it can render the image
OR
2. rendered the image and temporarily saved a copy of it.
This way when you make the 2nd (GET) request, you'll get the image you
were looking for.
This integrates quite well into an AJAX application. You send off an
AJAX (XML POST) request to the server, have the browser (automatically)
process the simple response, then set the <IMG> tag's SRC to the URL
returned by geoserver. Simple.
Gabriel said he was thinking of implementing something like this, but I
dont know the status. You should file a jira task for this as its a
really useful addition for AJAX applications doing SLD-POST.
Unfortunately, its non-standard, but the standard is lacking.
dave
----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/

Hi all,
I just wanted to say that I figured out what was going on with jetty
and so on running at different speeds depending on the location...
stupid it was finally a firewall problem and the machine not being
able to see itself and with very strange consecuences...
But now is solved and I go very happy to relax during the weekend.
Have a nice weekend all of you and thanks for the help.
Javier.

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details