Re: [Geoserver-users] Same Configuration, Different computer, very slow
Hi ForBode, I would like to ask you for some details in your posting: When you descripe your computer configuration, I see some differences: Computer 1 has Win Server 2008 R2 64 Bit, but Computer 2 no 64 Bit? How much memory has computer 1? Which Tomcat version is running on Computer 2? As already described in earlier postings bad performance often depends on JVM memory-settings. Try to set -Xmx parameter when starting your tomcat as described in GeoServer-documentation. Can you tell us something about system activities/usage especially the size of the used memory and swap file? I think, there are two main directions where I would search: 1. Memory-settings of the JVM 2. Swapping activities/memory usage Cheers Stefan -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Same-Configuration-Different-computer-very-slow-tp5028863p5029767.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Same Configuration, Different computer, very slow
I'm not sure that was the problem in my case. What I realized was that my Mac Pro is SSD, which does not page fault thus no disk thrashing. I believe this is a large part of the problem, but still have many questions. How do you retain more geocache tiles in memory to avoid hard disk thrashing? Should I need geocache at all for a 700 mb geotiff? - Brad Bode Sent from iPhone so please ignore all shrthnd and spelling errers. On Jan 24, 2013, at 9:00 PM, "cmaul [via OSGeo.org]" wrote: > Yep, every 64-bit address is twice as long as a 32-bit address. 2Gb address > space can be addressed with 32-bit, hence using 64-bit you have a lot of > waste just for addressing your objects. > > I doubt that you have only 2Gb RAM on your Mac. So, 64-bit systems are a > complete waste and usually slower, if you want to assign only 2 Gb of RAM. > With larger memory spaces a 64-bit system will fly. > > > Dr Christian Maul > Project Manager > > Information Services Branch > Department of Sustainability and Environment > Level13, Marland House, 570 Bourke Street > Melbourne 3000 > > PO Box 500, East Melbourne Vic 3002 > > > Telephone:+61-3-8636 2325 > Telefax: +61-3-8636 2813 > > > If you reply to this email, your message will be added to the discussion > below: > http://osgeo-org.1560.n6.nabble.com/Same-Configuration-Different-computer-very-slow-tp5028863p5029753.html > To unsubscribe from Same Configuration, Different computer, very slow, click > here. > NAML -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Same-Configuration-Different-computer-very-slow-tp5028863p5029760.html Sent from the GeoServer - User mailing list archive at Nabble.com.-- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Same Configuration, Different computer, very slow
Ill have to find out what VMware version we are using. However, I have found out more. For starters I switched to 32 bit tomcat and JVM so I could make use of JAI. Then I had our VM upgraded to R2. So now I have: Computer 1 - Mac Pro SSD with 16 gig of ram but only 3 allocated to the parallels VM I am running Geoserver on. Windows server 2008 R2. Computer 2 - dell server with 6 gig ram allocated to windows server R2 vM. Raid 5 HD. And now a 3rd computer that fails all the time. Tomcat literally chokes and died on image processing if I stress Geoserver. This computer is a dell 4 core 2.6 ghz server with 16 gig of ram. It should not die. But as far as I can tell its due to disk thrashing. I can replicate this every time I use tiling via a WMS request at a rapid pace. (One user scrolling through tiles and different zoom levels rapidly). The graphics card on computer 3 isn't that impressive. And the disk is the least capable in terms of performance. If I watch the Perfmon stats the disk IO goes nuts despite caching enable for tiles. Thoughts? -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Same-Configuration-Different-computer-very-slow-tp5028863p5029766.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Same Configuration, Different computer, very slow
[The original post is by a nonsubscriber and can seen on nabble] http://osgeo-org.1560.n6.nabble.com/Same-Configuration-Different-computer-very-slow-tp5028863p5029753.html Original poster, please subscribe to this list or your posts will not be delivered. (You were just lucky that Christian reads via nabble and was kind enough to respond.) On 25/01/13 13:00, cmaul wrote: > Yep, every 64-bit address is twice as long as a 32-bit address. 2Gb address > space can be addressed with 32-bit, hence using 64-bit you have a lot of > waste just for addressing your objects. > I doubt that you have only 2Gb RAM on your Mac. So, 64-bit systems are a > complete waste and usually slower, if you want to assign only 2 Gb of RAM. > With larger memory spaces a 64-bit system will fly. I am not sure 64-bit is the problem. Both machines are using 64-bit. Since Java 6u23, 64-bit (amd64) Oracle VMs default to using Compressed OOPs, which combine the memory size advantage of 32-bit pointers with the performance advantage of the amd64 instruction set and only a slight overhead: http://docs.oracle.com/javase/7/docs/technotes/guides/vm/performance-enhancements-7.html#compressedOop 64-bit VMs are slower on startup because they only support server mode, which is optimized for maximum performance for long-running applications; tiered compilation reduces this overhead but it is still there for short-running applications. Back to the original question: The two Windows Server 2008 machines are running in two different virtualisation implementations, one fast in parallels on a mac (WS2008 R2) and one unexpectedly slow in vmware on a non-mac (WS2008 not R2). Both 64-bit Java 6. Have you tried running them both on the same virtualisation implementation, on the same hardware? This would be a direct test of R2 versus non-R2. Performance of virtual machine systems can vary wildly, depending on host factors such as filesystem virus scanning on the host, host hardware (HDD versus SSD), host filesystem type (HFS, NTFS, ext4), hardware virtualisation support such as VT-x and VT-d, and host software implementation. Best to compare apples with apples by comparing R2 and non-R2 on the same machine with the same virtualisation implementation. What version of VMWare are you using? Kind regards, -- Ben Caradoc-Davies Software Engineer CSIRO Earth Science and Resource Engineering Australian Resources Research Centre -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Same Configuration, Different computer, very slow
Yep, every 64-bit address is twice as long as a 32-bit address. 2Gb address space can be addressed with 32-bit, hence using 64-bit you have a lot of waste just for addressing your objects. I doubt that you have only 2Gb RAM on your Mac. So, 64-bit systems are a complete waste and usually slower, if you want to assign only 2 Gb of RAM. With larger memory spaces a 64-bit system will fly. - Dr Christian Maul Project Manager Information Services Branch Department of Sustainability and Environment Level13, Marland House, 570 Bourke Street Melbourne 3000 PO Box 500, East Melbourne Vic 3002 Telephone:+61-3-8636 2325 Telefax: +61-3-8636 2813 -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Same-Configuration-Different-computer-very-slow-tp5028863p5029753.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] geoserver
Stephen, What is catalog2 in your installation? That seems to me the crucial line" No bean named 'catalog2' is defined For setting the data directory see: http://docs.geoserver.org/stable/en/user/datadirectory/data-dir-setting.html my preferred way would be the web.xml Cheers Christian - Dr Christian Maul Project Manager Information Services Branch Department of Sustainability and Environment Level13, Marland House, 570 Bourke Street Melbourne 3000 PO Box 500, East Melbourne Vic 3002 Telephone:+61-3-8636 2325 Telefax: +61-3-8636 2813 -- View this message in context: http://osgeo-org.1560.n6.nabble.com/geoserver-tp5029535p5029711.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] possible regression in 2.2.4
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 hi Andrea, On Thu, 24 Jan 2013 09:18:16 +0100 Andrea Aime wrote: > On Thu, Jan 24, 2013 at 2:17 AM, Raif S. Naffah > wrote: > > > this used to work in 2.2.2 --i just restarted a copy and verified, > > but not anymore. > > Then this means the regression is caused by something environmental, > not GeoServer itself, the fact it showed after an upgrade is likely > incidental. i also installed and tried 2.2.3 and the behaviour is slightly different but no the same as 2.2.2. w/ 2.2.3 i don't get an exception, but (a) the layer is not rendered, but, (b) when i click on a screen point where i know there is a region, i get the feature description response below the OL map. the log shows a warning: INFO | jvm 1| 2013/01/25 09:43:45 | 25 Jan 09:43:45 WARN [data.wfs] - Query does not provide a CRS, using default: Query: INFO | jvm 1| 2013/01/25 09:43:45 |feature type: xxx:yyy INFO | jvm 1| 2013/01/25 09:43:45 |filter: [[Filter.INCLUDE AND Filter.INCLUDE] AND FastBBOX [property=the_geom, envelope=ReferencedEnvelope[91.4639647465 : 164.4572504215, - -46.755631573375 : -6.122702547625]]] INFO | jvm 1| 2013/01/25 09:43:45 |[properties: the_geom] INFO | jvm 1| 2013/01/25 09:43:45 | 25 Jan 09:43:45 WARN [geotools.xml] - results[ class java.lang.String ] is not of type class net.opengis.wfs.ResultTypeType INFO | jvm 1| 2013/01/25 09:43:45 | 25 Jan 09:43:45 WARN [geotools.xml] - Binding: {http://www.opengis.net/ows}ServiceType does not declare a target type INFO | jvm 1| 2013/01/25 09:43:45 | 25 Jan 09:43:45 WARN [geotools.xml] - Binding: {http://www.opengis.net/wfs}Base_TypeNameListType does not declare a target type INFO | jvm 1| 2013/01/25 09:43:45 | 25 Jan 09:43:45 WARN [geotools.xml] - Binding: {http://www.opengis.net/wfs}TypeNameListType does not declare a target type where xxx:yyy is the shapefile-store layer being referenced by the target wfs-store based layer i'm previewing. > However, one of the fixes we made in 2.2.4 was exactly to wipe out > Filter.INCLUDE > from the filter encoding chains, so I'm curious as to how it got > there. my data-store was originally the one i was using w/ pre 2.0 releases. with every release of GeoServer i copy/rename the folder so as to keep distinct data-dir copies for each version of GS. one thing worth noting, but i'm not sure it has any bearing on this issue, is that after every restart of GS, the WFS-store is disabled and i have to re-enable it from the GUI before testing. the log shows that when the WFS-store is first resolved, the referred layers (shapefile ones) are not yet known, which explains the failure and the need to re-enable. > Is it something we can reproduce, by getting access to the WFS server, > the SLD, and the WMS request that triggers this? the servers are running on my development machine itself behind a firewall. i can post/upload the base shapefile (but i don't think the shapefile itself is causing this since it works fine w/ all 2.2.x releases) and screen shots of the GUI for integrating the layers (shapefile and wfs stores) into GS. let me know how you want to proceed. thanks for your prompt intervention. > Cheers > Andrea - -- cheers; rsn -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Que du magnifique iEYEAREDAAYFAlEBvbsACgkQ+e1AKnsTRiGBPQCfaL+jGJB0NOLzfY0HFqVBS9sX rtIAmgMHB0c2Weg4lTQTL9pcfWvN36zm =qUtA -END PGP SIGNATURE- -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Chaining Rendering Transformations: Making isotherms using Barnes Surface + Contour process?
On Thu, Jan 24, 2013 at 8:42 AM, cesare gerbino wrote: > Hi Martin > > thank you for the reply. I've just tried but it doesn't work the same. > > > http://localhost:8080/geoserver/CesareWorkspace/wms?service=WMS&version=1.1.0&request=GetMap&layers=CesareWorkspace:CentralineTemperature-01-01-2001&bbox=318287.0,4880823.0,515945.0,5142603.0&width=386&height=512&srs=EPSG:32632&format=application/openlayers&STYLES=Meteo-1 > > I think that the problem is in sld parameters: I've tried to change some > of them but nothing happens. :-( > Cesare, another thing to try out could be to change the color of the lowest level to something other than white (so that it does not get confused with the background), maybe what's going on is that the interpolation results in values well lower than 0 Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Chaining Rendering Transformations: Making isotherms using Barnes Surface + Contour process?
Yes, it's possible the problem lies with the parameters. Unfortunately I won't have much of a chance to try out your test case. Some other things to try: - test the sample SLD and dataset that ships with GeoServer - try slimming your dataset down to a single point, and if that doesn't work try altering some of the parameters - the last resort is to set up a GeoServer build environment and debug into the BarnesSurfaceProcess class On Wed, Jan 23, 2013 at 11:42 PM, cesare gerbino wrote: > Hi Martin > > thank you for the reply. I've just tried but it doesn't work the same. > > > http://localhost:8080/geoserver/CesareWorkspace/wms?service=WMS&version=1.1.0&request=GetMap&layers=CesareWorkspace:CentralineTemperature-01-01-2001&bbox=318287.0,4880823.0,515945.0,5142603.0&width=386&height=512&srs=EPSG:32632&format=application/openlayers&STYLES=Meteo-1 > > I think that the problem is in sld parameters: I've tried to change some > of them but nothing happens. :-( > > Did you try using my shp and my sld? > > Thanks .. > > Cesare > > > Cesare Gerbino > > http://cesaregerbino.wordpress.com/ > http://www.facebook.com/cesare.gerbino > > http://www.facebook.com/pages/Cesare-Gerbino-GIS-Blog/246234455498174?ref=hl > https://twitter.com/CesareGerbino > http://www.linkedin.com/pub/cesare-gerbino/56/494/77b > > > > 2013/1/23 Martin Davis > >> One problem is that you have two &styles parameters in the second URL. >> Try it with the redundant one removed and see what happens then. >> >> On Wed, Jan 23, 2013 at 2:42 AM, cesare gerbino >> wrote: >> >>> Hi all >>> >>> I'm trying to calculate isotherms following the istructions showed in >>> the post on OSGeo blog ( >>> http://blog.opengeo.org/2013/01/10/chaining-rendering-transformations-in-geoserver/ >>> ) >>> >>> I'm using GeoServer 2.2.3 on a Windows 7 machine (8 Gbyte RAM, >>> biprocessor) >>> >>> I've a shapefile with points and temperature (see the attached zip named >>> data.zip) and I'm trying to use the Meteo-1.sld (see the attached file >>> named Meteo-1.sld. >>> >>> Using the layer in preview >>> >>> >>> http://localhost:8080/geoserver/CesareWorkspace/wms?service=WMS&version=1.1.0&request=GetMap&layers=CesareWorkspace:CentralineTemperature-01-01-2001&styles=&bbox=318287.0,4880823.0,515945.0,5142603.0&width=386&height=512&srs=EPSG:32632&format=application/openlayers >>> >>> it works fine but when I try to use le Meteo-1.sld >>> >>> >>> http://localhost:8080/geoserver/CesareWorkspace/wms?service=WMS&version=1.1.0&request=GetMap&layers=CesareWorkspace:CentralineTemperature-01-01-2001&styles=&bbox=318287.0,4880823.0,515945.0,5142603.0&width=386&height=512&srs=EPSG:32632&format=application/openlayers&STYLES=Meteo-1 >>> >>> the map is white. It seems that there are no errors in the log (see >>> geoserver.log attached ...). >>> >>> When I try to use the Barnes Surface WPS directy (gs.BarnesSurface), I >>> obtain a black tiff >>> >>> Could someone tell me which configurations I've to use in the sld for >>> my data? Or give me a sample data and a sld that works? >>> >>> Thank you in advance!! >>> >>> >>> Cesare Gerbino >>> >>> http://cesaregerbino.wordpress.com/ >>> http://www.facebook.com/cesare.gerbino >>> >>> http://www.facebook.com/pages/Cesare-Gerbino-GIS-Blog/246234455498174?ref=hl >>> https://twitter.com/CesareGerbino >>> http://www.linkedin.com/pub/cesare-gerbino/56/494/77b >>> >>> >>> >>> -- >>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current >>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >>> MVPs and experts. ON SALE this month only -- learn more at: >>> http://p.sf.net/sfu/learnnow-d2d >>> ___ >>> Geoserver-users mailing list >>> Geoserver-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/geoserver-users >>> >>> >> > -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Selecting multiline feature with a BBox(dragbox)
need technical help/ guidance on OpenLayers. We're stuck with following technical issue and seeking technical help/ advice for resolving the same. * We are using Wms services (layers published via Geoserver), to display point, line and polygon features onto the map. We are using the OpenLayers property "new OpenLayers.Layer.WMS()", for displaying the layers. * However, the problem that we are facing is in using OpenLayers.Control.GetFeature control. We have to perform a selection using BBox(drag box) and have used the following code: control_select = new OpenLayers.Control.GetFeature({ protocol: OpenLayers.Protocol.WFS.fromWMSLayer(layerName), box: true, hover: true, multipleKey: "shiftKey", toggleKey: "ctrlKey" }); This control is then added to the map. * The point feature selection works perfectly but when we select just one line feature, it happens to select many line features (sometimes more than 30 line features!). Most of the lines are not even close or connected to the selected line feature! We are using the "featureselected" event to capture the selection made by the drag box. Syntax:- "control_select.events.register("featureselected", this, function(e) {}" * We tried to debug OpenLayers.js. It has a predefined set of Geometry types: var order=["MultiPolygon","Polygon","MultiLineString","LineString","MultiPoint","Point","Envelope"] We have a table (for the line feature), that has a shape field as Multiline, which is then converted to Oracle Spatial format and then web services are created. After the drag box is created, Openlayers identifies the selected feature as "MultiLineString" and somehow relates many other line features to create a tree structure. It forms one parent node and this node has a nextSibling, which is another line feature. In this way, it creates a hierarchy of "nextSibling" for every previous Sibling, thus selecting a huge range of line features! * There is an array called "features" created by OpenLayers, where it pushes all the obtained features from the node:- "obj.features.push(feature);" Depending on the length of the array, "featureselected" event is fired that many times thus returning all the features instead of only the selected ones. Regards, Manish Barapatre Office: 01473 650516 -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] wms vs ows url in service info
Thank you! Thanks for the explanation. I will start using the ows endpoint for my URLs. - John John Callahan Research Scientist Delaware Geological Survey University of Delaware http://www.dgs.udel.edu john.calla...@udel.edu On Thu, Jan 24, 2013 at 4:30 AM, Andrea Aime wrote: > On Thu, Jan 24, 2013 at 7:05 AM, John Callahan > wrote: > > I may have missed something simply when checking the documentation but I > > have what is hopefully a simple question. I'm using GeoServer 2.2.2 (I > > think.) > > > > When I view the map service info through GetCaps, some of the online > > resource links are listing "ows" where I would expect "wms". They're > also > > showing the port number 80. Where is that set in GeoServer and can it > be > > modified? I'd rather not have the port number and use "wms" to match the > > URL request. Thanks. > > The "ows" endpoint is actually the main one today, the various service > specific ones "wms", "wfs", and so on are maintained for backwards > compatibility > (and some of the older versions of the services might still be > emitting those in the > caps documents). > > The reason is simple, the type of service is already specified in the > mandatory parameter > service=XYZ (or equivalent attribute in XML POST requests). > So, there is no way to configure the usage of "wms" in the > capabilities documents. > > As for the port, there is no way to hide it by configuration either, > but that could be > made happen by changing the code in the capabilities document writers > > Cheers > Andrea > > -- > == > Our support, Your Success! Visit http://opensdi.geo-solutions.it for > more information. > == > > Ing. Andrea Aime > @geowolf > Technical Lead > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > mob: +39 339 8844549 > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > --- > -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] gsconfig.py for java
http://docs.geoserver.org/stable/en/user/rest/examples/java.html The manual also lists gsrcj: http://code.google.com/p/gsrcj/ . I haven't used that but it may be worth a look (and if it's not, we should remove it from the manual! so please let us know if you try it.) BTW, Justin Deoliveira tells me gsconfig.py works well on Jython, so that might be an option as well depending on your needs. -- David Winslow OpenGeo - http://opengeo.org/ On Thu, Jan 24, 2013 at 8:10 AM, Andrea Aime wrote: > On Thu, Jan 24, 2013 at 2:04 PM, Denise Janson Ferreira > wrote: > > Hi, > > > > Is there any library like gsconfig.py for Java? > > I'd like to import shape files and create tables, data stores in > geoserver, > > similar to the add_data_to_store method from gsconfig.py. > > GeoServerManager: http://code.google.com/p/geoserver-manager/ > > Cheers > Andrea > > -- > == > Our support, Your Success! Visit http://opensdi.geo-solutions.it for > more information. > == > > Ing. Andrea Aime > @geowolf > Technical Lead > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > mob: +39 339 8844549 > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > --- > > > -- > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > ___ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users > -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] gsconfig.py for java
On Thu, Jan 24, 2013 at 2:04 PM, Denise Janson Ferreira wrote: > Hi, > > Is there any library like gsconfig.py for Java? > I'd like to import shape files and create tables, data stores in geoserver, > similar to the add_data_to_store method from gsconfig.py. GeoServerManager: http://code.google.com/p/geoserver-manager/ Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] gsconfig.py for java
Hi, Is there any library like gsconfig.py for Java? I'd like to import shape files and create tables, data stores in geoserver, similar to the add_data_to_store method from gsconfig.py. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Error with 2.2.4: ImageWorker
I second that. We can add checks to be more resilient about this. Regards, Simone Giannecchini == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- On Thu, Jan 24, 2013 at 12:17 PM, Andrea Aime wrote: > On Thu, Jan 24, 2013 at 11:42 AM, Boris Wagner > wrote: >> Hi Andrea, >> >> OK, I figured it out. It was a Problem with the latest java 7 JRE >> 32bit-Version. In this version the PYCC.pf is missing. 2.2.4 now works >> for me with the 64bit JRE7 > > I see.. interesting, I'm running GeoServer on a JDK 7 and not seeing the > problem, I guess the file is missing only from a JRE > > Could you open a bug reports anyways, sooner or later we'll start to support > JDK 7 too > > Cheers > Andrea > > > -- > == > Our support, Your Success! Visit http://opensdi.geo-solutions.it for > more information. > == > > Ing. Andrea Aime > @geowolf > Technical Lead > > GeoSolutions S.A.S. > Via Poggio alle Viti 1187 > 55054 Massarosa (LU) > Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > mob: +39 339 8844549 > > http://www.geo-solutions.it > http://twitter.com/geosolutions_it > > --- > > -- > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > ___ > Geoserver-users mailing list > Geoserver-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] geoserver
I am running geoserver 2.14 and am having a problem creating a layer using the streams example in the using the 'geoserver feature pre-generalized module' tutorial. I am able to create a datastore but when I attempt to publish I am met with the following error: java.lang.RuntimeException: Error occurred while building the resources for the configuration page at org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.ja va:306) at org.geoserver.web.data.layer.NewLayerPage$6.onClick(NewLayerPage.java:24 5) at org.geoserver.web.wicket.SimpleAjaxLink$1.onClick(SimpleAjaxLink.java:44 ) at org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:68) at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java: 177) at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDef aultAjaxBehavior.java:300) at org.apache.wicket.request.target.component.listener.BehaviorRequestTarge t.processEvents(BehaviorRequestTarget.java:119) at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(Ab stractRequestCycleProcessor.java:92) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java :1250) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484 ) at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:1 38) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.springframework.web.servlet.mvc.ServletWrappingController.handleRequ estInternal(ServletWrappingController.java:158) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(Abs tractController.java:153) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handl e(SimpleControllerHandlerAdapter.java:48) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherS ervlet.java:875) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherSe rvlet.java:809) at org.springframework.web.servlet.FrameworkServlet.processRequest(Framewor kServlet.java:571) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet. java:501) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1093) at org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCle anupFilter.java:23) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1084) at org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelega tingFilter.java:74) at org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFi lter.java:45) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1084) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchF ilter.java:49) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1084) at org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharac terEncodingFilter.java:109) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1084) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.do Filter(FilterChainProxy.java:394) at org.springframework.security.intercept.web.FilterSecurityInterceptor.inv oke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doF ilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.do Filter(FilterChainProxy.java:406) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp( ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecu rityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.do Filter(FilterChainProxy.java:406) at org.springframework.security.providers.anonymous.AnonymousProcessingFilt er.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecu rityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.do
[Geoserver-users] Geoserver and mapfishapp
Hello I have a questions... I have installed,, Geoserver, Postgres 8.4 with adition Postgis 1.5..and mapfishapp and Opendalp as access to servers.. when i need update from mapfishapp, with a user logged in Geoserver within an access to workspace When I want a user logear GeoServer, and has access to a defined workspace postgis layers to see and update, how do I define access this workspace from ldap??? Thanks WIlfredo -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Error with 2.2.4: ImageWorker
On Thu, Jan 24, 2013 at 11:42 AM, Boris Wagner wrote: > Hi Andrea, > > OK, I figured it out. It was a Problem with the latest java 7 JRE > 32bit-Version. In this version the PYCC.pf is missing. 2.2.4 now works > for me with the 64bit JRE7 I see.. interesting, I'm running GeoServer on a JDK 7 and not seeing the problem, I guess the file is missing only from a JRE Could you open a bug reports anyways, sooner or later we'll start to support JDK 7 too Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Error with 2.2.4: ImageWorker
Am 23.01.2013 18:20, schrieb Andrea Aime: > On Wed, Jan 23, 2013 at 5:37 PM, Boris Wagner > wrote: >> Hi, >> >> i've just updated from 2.0.2 to 2.2.4 on a Windows 7-System and think, >> something went wrong... >> The Server is starting and showing the WebUI but when I want to view a >> WMS-Layer (i.e. with OpenLayers or Quantum-GIS) I always get a: >> >> "java.lang.ExceptionInInitializerError" "Can't load standard profile: >> PYCC.pf" >> >> and after that, always a: >> "java.lang.NoClassDefFoundError: Could not initialize class >> org.geotools.image.ImageWorker" >> >> I get this error with new created layers and with my backed up 2.0.2 too :-/ > Can you share the full logs, it's difficult to understand what's going on > with the information you provided. > > Also, do you know if you have native JAI installed, or not? > > Cheers > Andrea > Hi Andrea, OK, I figured it out. It was a Problem with the latest java 7 JRE 32bit-Version. In this version the PYCC.pf is missing. 2.2.4 now works for me with the 64bit JRE7 Thanks Boris -- B. Sc. Boris Wagner, Fraunhofer IOSB Institut für Optronik, Systemtechnik und Bildauswertung Abteilung: Interaktive Analyse und Diagnose Fraunhoferstraße 1, 76131 Karlsruhe, Germany Telefon: +49 (0) 721-6091-313 mailto:boris.wag...@iosb.fraunhofer.de http://www.iosb.fraunhofer.de -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] wms vs ows url in service info
On Thu, Jan 24, 2013 at 7:05 AM, John Callahan wrote: > I may have missed something simply when checking the documentation but I > have what is hopefully a simple question. I'm using GeoServer 2.2.2 (I > think.) > > When I view the map service info through GetCaps, some of the online > resource links are listing "ows" where I would expect "wms". They're also > showing the port number 80. Where is that set in GeoServer and can it be > modified? I'd rather not have the port number and use "wms" to match the > URL request. Thanks. The "ows" endpoint is actually the main one today, the various service specific ones "wms", "wfs", and so on are maintained for backwards compatibility (and some of the older versions of the services might still be emitting those in the caps documents). The reason is simple, the type of service is already specified in the mandatory parameter service=XYZ (or equivalent attribute in XML POST requests). So, there is no way to configure the usage of "wms" in the capabilities documents. As for the port, there is no way to hide it by configuration either, but that could be made happen by changing the code in the capabilities document writers Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] possible regression in 2.2.4
On Thu, Jan 24, 2013 at 2:17 AM, Raif S. Naffah wrote: > this used to work in 2.2.2 --i just restarted a copy and verified, but > not anymore. Then this means the regression is caused by something environmental, not GeoServer itself, the fact it showed after an upgrade is likely incidental. However, one of the fixes we made in 2.2.4 was exactly to wipe out Filter.INCLUDE from the filter encoding chains, so I'm curious as to how it got there. Is it something we can reproduce, by getting access to the WFS server, the SLD, and the WMS request that triggers this? Cheers Andrea -- == Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users