Re: [Geoserver-users] Geoserver web page encoding
On Fri, Aug 24, 2012 at 9:58 AM, Michal Zimmermann zimm...@gmail.comwrote: Hi, I'm running geoserver with some web pages in data_dir/www. These pages are encoded in cp1250, but when I load them using geoserver (localhost:8080/geoserver/www) they are encoded or they behave as they were encoded in utf-8. As a result i get tons of question marks instead of real letters. I am not able to convert pages into utf-8, so is there a way to tell geoserver not to send utf-8 http header and send cp1250 header instead? See my answer on StackExchange: http://gis.stackexchange.com/questions/32132/is-there-a-way-to-tell-geoserver-to-send-cp1250-http-header/32133#comment43143_32133 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 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://twitter.com/geosolutions_it --- -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Query regarding geoserver applications
Hi, I am a java developer and wants to use the geoserver for my GIS database. i wants to calculates the distance between the points and show a path on map but i am not getting how to do this. can any one share how to do this using J2EE. The user request will come from JSP/Servlet. Best Regards, -Rahul Bhadauriya-- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] (no subject)
I am in the process of establishing a new carbon credit registry and have started investigating my options in regard to what is available for obtaining and intepreting satellite imagery. Initially, there will be REDD projects deposited int he registry. These projects are forestry in nature. At some point in our process and at some pre-determined frequency, we will need to verify that the number of trees in the projects coordinates have not materially changed since the project was initially verified. I have recently spoken with someone at satellite imaging corp who recommended Arc GIS. Upon speaking to Arch GIS i was told that I need Arc GIS desktop to perform the calculations and Arc GIS servicer to be able to share the results. It is my understanding that with the Arc GIS desktop we will be able to calculate the number of trees as well as their age, etc that will give us the ability to within a certain margin of error verify that the number of trees and the expected carbon credit numbers are accurate and remain the same. Does geoserver have this same capability? I would greatly appreciate your candid remarks and opinions. If Goeserver does not meet this need, are there other systems that you can recommend that do? Thank you for your time and assistance. I may be reached at charliecac...@gmail.com or at 908-477-9483 Take care and have a great day! Charlie Cacici Managing Member Co-founder RMG International LLC 140 Smith St - suite 500 Keasbey, NJ 08832 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] GeoServer X.509 authentication
All, I am using Geoserver 2.1.4. I want to use the X.509 authentication instead of using the current ACL based security. What needs to be done. Is it more of a configuration issue or do I need to do something more that. If anyone has done this before, input is appreciated. Thanks Ashok -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] Out of memory error on startup for trunk Geoserver
Hi - I am running RHEL6 64 bit, Sun JVM jdk1.6.0_26, apache-tomcat-7.0.29 and geoserver-master downloaded today. I am passing these arguments to the JVM CATALINA_OPTS='-server -Xmx512M -Xms48m -XX:MaxPermSize=1024m' geoserver is the only app loaded in Tomcat (besides the stuff it comes with). If geoserver is not in webapps, tomcat starts up fine. If geoserver is in webapps, I get this: Aug 24, 2012 10:57:15 AM org.apache.catalina.startup.HostConfig deployDirectories SEVERE: Error waiting for multi-thread deployment of directories to completehostConfig.deployWar=Deploying web application archive {0} java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1023) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1413) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:346) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1140) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:785) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.OutOfMemoryError: Java heap space at org.apache.tomcat.util.bcel.classfile.StackMapTableEntry.init(StackMapTableEntry.java:88) at org.apache.tomcat.util.bcel.classfile.StackMapTable.init(StackMapTable.java:74) at org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:181) at org.apache.tomcat.util.bcel.classfile.Code.init(Code.java:86) at org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:140) at org.apache.tomcat.util.bcel.classfile.FieldOrMethod.init(FieldOrMethod.java:58) at org.apache.tomcat.util.bcel.classfile.Method.init(Method.java:72) at org.apache.tomcat.util.bcel.classfile.ClassParser.readMethods(ClassParser.java:268) at org.apache.tomcat.util.bcel.classfile.ClassParser.parse(ClassParser.java:128) at org.apache.catalina.startup.ContextConfig.processAnnotationsStream(ContextConfig.java:2066) at org.apache.catalina.startup.ContextConfig.processAnnotationsJar(ContextConfig.java:1942) at org.apache.catalina.startup.ContextConfig.processAnnotationsUrl(ContextConfig.java:1908) at org.apache.catalina.startup.ContextConfig.processAnnotations(ContextConfig.java:1893) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1296) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:855) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:346) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5173) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1100) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1618) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) ... 5 more Aug 24, 2012 10:57:21 AM org.apache.catalina.startup.HostConfig deployDirectory INFO: Deploying web
[Geoserver-users] Fwd: Out of memory error on startup for trunk Geoserver + jmap histo
Here is the jmap histogram run after tomcat is started. [tcatmgr2@dlab-gis bin]$ jmap -histo:live 14521 | head -25 num #instances #bytes class name -- 1: 1778378 120016288 [C 2: 1786752 57176064 java.lang.String 3: 1673932 40174368 org.apache.tomcat.util.bcel.classfile.ConstantUtf8 4:197231 25615968 [B 5:811557 19477368 org.apache.tomcat.util.bcel.classfile.LineNumber 6:458385 18335400 org.apache.tomcat.util.bcel.classfile.LocalVariable 7: 25341 12455776 [Lorg.apache.tomcat.util.bcel.classfile.Constant; 8:187014 11968896 org.apache.tomcat.util.bcel.classfile.Code 9:514281 11817520 [Lorg.apache.tomcat.util.bcel.classfile.Attribute; 10:422252 10134048 org.apache.tomcat.util.bcel.classfile.ConstantNameAndType 11:2121258485000 org.apache.tomcat.util.bcel.classfile.Method 12:3057137337112 org.apache.tomcat.util.bcel.classfile.ConstantMethodref 13:1574526298080 org.apache.tomcat.util.bcel.classfile.LineNumberTable 14:2581746196176 org.apache.tomcat.util.bcel.classfile.ConstantClass 15:1574526183776 [Lorg.apache.tomcat.util.bcel.classfile.LineNumber; 16:1483785935120 org.apache.tomcat.util.bcel.classfile.LocalVariableTable 17:1679324929680 [Lorg.apache.tomcat.util.bcel.classfile.LocalVariable; 18: 254973678120 constMethodKlass 19: 898013592040 org.apache.tomcat.util.bcel.classfile.Field 20: 254973477224 methodKlass 21: 785483141920 org.apache.tomcat.util.bcel.classfile.StackMapTableEntry 22:1870143122112 [Lorg.apache.tomcat.util.bcel.classfile.CodeException; Original Message Subject:Out of memory error on startup for trunk Geoserver Date: Fri, 24 Aug 2012 11:31:05 -0700 From: Garey Mills gmi...@library.berkeley.edu Reply-To: gmi...@library.berkeley.edu To: geoserver-users users geoserver-users@lists.sourceforge.net Hi - I am running RHEL6 64 bit, Sun JVM jdk1.6.0_26, apache-tomcat-7.0.29 and geoserver-master downloaded today. I am passing these arguments to the JVM CATALINA_OPTS='-server -Xmx512M -Xms48m -XX:MaxPermSize=1024m' geoserver is the only app loaded in Tomcat (besides the stuff it comes with). If geoserver is not in webapps, tomcat starts up fine. If geoserver is in webapps, I get this: Aug 24, 2012 10:57:15 AM org.apache.catalina.startup.HostConfig deployDirectories SEVERE: Error waiting for multi-thread deployment of directories to completehostConfig.deployWar=Deploying web application archive {0} java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1023) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1413) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:346) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1140) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:785) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.OutOfMemoryError: Java heap space at org.apache.tomcat.util.bcel.classfile.StackMapTableEntry.init(StackMapTableEntry.java:88) at org.apache.tomcat.util.bcel.classfile.StackMapTable.init(StackMapTable.java:74) at org.apache.tomcat.util.bcel.classfile.Attribute.readAttribute(Attribute.java:181) at
Re: [Geoserver-users] Fwd: Out of memory error on startup for trunk Geoserver + jmap histo
Try increasing your max heap size: -Xmx1024M Michael On 08/24/2012 11:41 AM, Garey Mills wrote: Here is the jmap histogram run after tomcat is started. [tcatmgr2@dlab-gis bin]$ jmap -histo:live 14521 | head -25 num #instances #bytes class name -- 1: 1778378 120016288 [C 2: 1786752 57176064 java.lang.String 3: 1673932 40174368 org.apache.tomcat.util.bcel.classfile.ConstantUtf8 4:197231 25615968 [B 5:811557 19477368 org.apache.tomcat.util.bcel.classfile.LineNumber 6:458385 18335400 org.apache.tomcat.util.bcel.classfile.LocalVariable 7: 25341 12455776 [Lorg.apache.tomcat.util.bcel.classfile.Constant; 8:187014 11968896 org.apache.tomcat.util.bcel.classfile.Code 9:514281 11817520 [Lorg.apache.tomcat.util.bcel.classfile.Attribute; 10:422252 10134048 org.apache.tomcat.util.bcel.classfile.ConstantNameAndType 11:2121258485000 org.apache.tomcat.util.bcel.classfile.Method 12:3057137337112 org.apache.tomcat.util.bcel.classfile.ConstantMethodref 13:1574526298080 org.apache.tomcat.util.bcel.classfile.LineNumberTable 14:2581746196176 org.apache.tomcat.util.bcel.classfile.ConstantClass 15:1574526183776 [Lorg.apache.tomcat.util.bcel.classfile.LineNumber; 16:1483785935120 org.apache.tomcat.util.bcel.classfile.LocalVariableTable 17:1679324929680 [Lorg.apache.tomcat.util.bcel.classfile.LocalVariable; 18: 254973678120 constMethodKlass 19: 898013592040 org.apache.tomcat.util.bcel.classfile.Field 20: 254973477224 methodKlass 21: 785483141920 org.apache.tomcat.util.bcel.classfile.StackMapTableEntry 22:1870143122112 [Lorg.apache.tomcat.util.bcel.classfile.CodeException; Original Message Subject:Out of memory error on startup for trunk Geoserver Date: Fri, 24 Aug 2012 11:31:05 -0700 From: Garey Mills gmi...@library.berkeley.edu Reply-To: gmi...@library.berkeley.edu To: geoserver-users users geoserver-users@lists.sourceforge.net Hi - I am running RHEL6 64 bit, Sun JVM jdk1.6.0_26, apache-tomcat-7.0.29 and geoserver-master downloaded today. I am passing these arguments to the JVM CATALINA_OPTS='-server -Xmx512M -Xms48m -XX:MaxPermSize=1024m' geoserver is the only app loaded in Tomcat (besides the stuff it comes with). If geoserver is not in webapps, tomcat starts up fine. If geoserver is in webapps, I get this: Aug 24, 2012 10:57:15 AM org.apache.catalina.startup.HostConfig deployDirectories SEVERE: Error waiting for multi-thread deployment of directories to completehostConfig.deployWar=Deploying web application archive {0} java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Java heap space at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:222) at java.util.concurrent.FutureTask.get(FutureTask.java:83) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1023) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1413) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:313) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:401) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:346) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1140) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:785) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.lang.OutOfMemoryError: Java heap space at org.apache.tomcat.util.bcel.classfile.StackMapTableEntry.init(StackMapTableEntry.java:88) at org.apache.tomcat.util.bcel.classfile.StackMapTable.init(StackMapTable.java:74) at