Re: [Geoserver-users] HELP, Setting up a Linux based GeoServer..

2010-12-24 Thread Charles Galpin
Andy the log messages say something is already running on port 8080. It might 
be your previous attempt. If you get stuck, just reboot and try again, but  
something like

ps -auxww | grep java

or

ps -auxwww | grep geoserver

Should show you the process id and you can kill it with

kill 

If this doesn't stop it gracefully, 'kill -9 ' will for sure.

You can see if something is listening on port 8080 with

netstat -anp | grep 8080

hth and Merry Christmas,
charles

On Dec 24, 2010, at 8:00 AM, andymanda...@comcast.net wrote:

> Thanks for the reply, 
> 
> I have attempted the install with a .war.zip file and have had no results.  
> It appears that the .war.zip file did not have a 
> "sh startup.sh" file inside it anywhere I could see.  So..
> 
> I removed GeoServer 2.0.2, and then reinstalled the .zip file from 
> 
> http://downloads.sourceforge.net/geoserver/geoserver-2.0.2-bin.zip
> 
> unzipped the file to the "/usr/share/" directory in my VPS. and after all of 
> the unpacking text ran by, navigated to the folder
> "/usr/share/geoserver-2.0.2/bin" and ran the "sh startup.sh" command.
> 
> Now it seems that my GEOSERVER_HOME envirionment variable is set correctly, 
> but it appears GeoServer is not fully activated.
> 
> when I try to go to the http://xx.xxx.xxx.xx:8080/geoserver/  I get a 404 
> error: 
> description The requested resource (/geoserver/) is not available.
> 
> I am attaching the output which I see from PuTTy for any assistance it may 
> offer.
> 
> Andy Davis...
> 
> PS.. Merry Christmas..
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Andrew,
> 
> I combined your reply to me about the Geoserver environment variable with 
> your reply below; they are most likely related and it's best to keep things 
> on the list anyway.
> 
> Did you get beyond the GEOSERVER_HOME issue? If so, but you are still having 
> trouble starting it, please post your log from a fresh startup.
> 
> If you are still having trouble with GEOSERVER_HOME try launching using 
> something like:
> 
> # export GEOSERVER_HOME=/usr/local/geoserver-2.0.2
> # chmod u+x /usr/local/geoserver/bin/startup.sh
> # $GEOSERVER_HOME/bin/startup.sh
> 
> -Miles
> 
> 
> Andrew Davis wrote:
> > Hi folks,
> >
> > I am trying to start up a GeoServer implementation on a Linux based
> > VPS.  I am running Unbunto 10.04, and using this article
> >
> > http://surveying-mapping-gis.blogspot.com/2009/08/building-headless-
> > linux-ge oserver-box.html
> >
> > as my guide.
> >
> > When I pass the command "sh startup.sh" to my VPS (through PuTTy) I see
> > similar text flash by to my own internal (localhost).  My guide article
> > says that the last line should be something like: "Started
> > selectchannelconnec...@0.0.0:8080"
> >
> > However, on my local (laptop localhost) and my VPS the last line is:
> > "INFO [LAYER.TileLayerDispatcher] - ConfigurationLoader completed"
> >
> > I have tried on my VPS to go to the following URL:
> > "http://xx.xxx.xxx.xx:8080/geoserver/";  and all I get is the 404 error
> > saying the requested resource (/geoserver) is not available.
> >
> > I can see my apache running..
> 
> Andrew Davis wrote:
> > I  have a new GeoServer-2.0.2 in my "/usr/share" directory.
> >
> > when I try to run "sh startup.sh"  I get the following error "The
> > GEOSERVER_HOME environment variable is not defined correctly"
> >
> > I have tried it defined as:
> > GEOSERVER_HOME="/usr/share/geoserver-2.0.2"  and
> >
> > GEOSERVER_HOME=/usr/share/geoserver-2.0.2
> >
> > Any advice would be appreciated..
> >
> 
> 
> 
> ___
> 
> Australian Antarctic Division - Commonwealth of Australia
> IMPORTANT: This transmission is intended for the addressee only. If you are 
> not the
> intended recipient, you are notified that use or dissemination of this 
> communication is
> strictly prohibited by Commonwealth law. If you have received this 
> transmission in error,
> please notify the sender immediately by e-mail or by telephoning +61 3 6232 
> 3209 and
> DELETE the message.
> Visit our web site at http://www.antarctica.gov.au/
> ___
> --
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and,
> should the need arise, upgrade to a full multi-node Oracle RAC database
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> --
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database envi

Re: [Geoserver-users] layer preview error in geo server

2010-12-24 Thread Gabriel Roldán
Is your layer from PostGIS?
it looks like a data error:



On Fri, 2010-12-24 at 18:37 +0530, Jaishankar Madamshetty wrote:
> Hello All,
> 
>  
> 
> On clicking the layer preview (open layers) in geo server admin page,
> I am getting the error. Please see the attached screenshot. Please can
> anybody help me on this?
> 
>  
> 
> Thanks,
> 
> Jaishankar
> 
> 
> 
> 
> __
> DISCLAIMER:
> 
> This email may contain confidential information and is intended only
> for the use of the specific individual(s) to which it is addressed. If
> you are not the intended recipient of this email, you are hereby
> notified that any unauthorized use, dissemination or copying of this
> email or the information contained in it or attached to it is strictly
> prohibited. If you received this message in error, please immediately
> notify the sender at Infotech or mail.ad...@infotech-enterprises.com
> and delete the original message.
> --
> Learn how Oracle Real Application Clusters (RAC) One Node allows customers
> to consolidate database storage, standardize their database environment, and, 
> should the need arise, upgrade to a full multi-node Oracle RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> ___ Geoserver-users mailing list 
> Geoserver-users@lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

-- 
Gabriel Roldan
grol...@opengeo.org
Expert service straight from the developers


--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] HELP, Setting up a Linux based GeoServer..

2010-12-24 Thread andymandavis


Thanks for the reply, 





I have attempted the install with a .war.zip file and have had no results. It 
appears that the .war.zip file did not have a 


"sh startup.sh" file inside it anywhere I could see. So.. 





I removed GeoServer 2.0.2, and then reinstalled the .zip file from 





http://downloads.sourceforge.net/geoserver/geoserver-2.0.2-bin.zip 




unzipped the file to the "/usr/share/" directory in my VPS. and after all of 
the unpacking text ran by, navigated to the folder 

"/usr/share/geoserver-2.0.2/bin" and ran the "sh startup.sh" command. 




Now it seems that my GEOSERVER_HOME envirionment variable is set correctly, but 
it appears GeoServer is not fully activated. 




when I try to go to the http://xx.xxx.xxx.xx:8080/geoserver/ I get a 404 error: 


description The requested resource (/geoserver/) is not available. 




I am attaching the output which I see from PuTTy for any assistance it may 
offer. 




Andy Davis... 




PS.. Merry Christmas.. 






































Andrew, 

I combined your reply to me about the Geoserver environment variable with your 
reply below; they are most likely related and it's best to keep things on the 
list anyway. 

Did you get beyond the GEOSERVER_HOME issue? If so, but you are still having 
trouble starting it, please post your log from a fresh startup. 

If you are still having trouble with GEOSERVER_HOME try launching using 
something like: 

# export GEOSERVER_HOME=/usr/local/geoserver-2.0.2 
# chmod u+x /usr/local/geoserver/bin/startup.sh 
# $GEOSERVER_HOME/bin/startup.sh 

-Miles 


Andrew Davis wrote: 
> Hi folks, 
> 
> I am trying to start up a GeoServer implementation on a Linux based 
> VPS. I am running Unbunto 10.04, and using this article 
> 
> http://surveying-mapping-gis.blogspot.com/2009/08/building-headless- 
> linux-ge oserver-box.html 
> 
> as my guide. 
> 
> When I pass the command "sh startup.sh" to my VPS (through PuTTy) I see 
> similar text flash by to my own internal (localhost). My guide article 
> says that the last line should be something like: "Started 
> selectchannelconnec...@0.0.0:8080" 
> 
> However, on my local (laptop localhost) and my VPS the last line is: 
> "INFO [LAYER.TileLayerDispatcher] - ConfigurationLoader completed" 
> 
> I have tried on my VPS to go to the following URL: 
> " http://xx.xxx.xxx.xx:8080/geoserver/ " and all I get is the 404 error 
> saying the requested resource (/geoserver) is not available. 
> 
> I can see my apache running.. 

Andrew Davis wrote: 
> I  have a new GeoServer-2.0.2 in my "/usr/share" directory. 
> 
> when I try to run "sh startup.sh" I get the following error "The 
> GEOSERVER_HOME environment variable is not defined correctly" 
> 
> I have tried it defined as: 
> GEOSERVER_HOME="/usr/share/geoserver-2.0.2" and 
> 
> GEOSERVER_HOME=/usr/share/geoserver-2.0.2 
> 
> Any advice would be appreciated.. 
> 



___ 

Australian Antarctic Division - Commonwealth of Australia 
IMPORTANT: This transmission is intended for the addressee only. If you are not 
the 
intended recipient, you are notified that use or dissemination of this 
communication is 
strictly prohibited by Commonwealth law. If you have received this transmission 
in error, 
please notify the sender immediately by e-mail or by telephoning +61 3 6232 
3209 and 
DELETE the message. 
Visit our web site at http://www.antarctica.gov.au/ 
___ 
-- 
Learn how Oracle Real Application Clusters (RAC) One Node allows customers 
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption 
http://p.sf.net/sfu/oracle-sfdevnl 
___ 
Geoserver-users mailing list 
Geoserver-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/geoserver-users 
24 Dec 07:29:57 INFO [org.geoserver] - Loaded coverage 'arcGridSample'
24 Dec 07:29:57 INFO [org.geoserver] - Loaded layer 'Arc_Sample'
24 Dec 07:29:57 INFO [org.geoserver] - Loaded store 'worldImageSample', enabled
24 Dec 07:29:57 INFO [org.geoserver] - Loaded coverage store 'worldImageSample'
24 Dec 07:29:57 INFO [org.geoserver] - Loaded coverage 'Img_Sample', enabled
24 Dec 07:29:57 INFO [org.geoserver] - Loaded coverage 'worldImageSample'
24 Dec 07:29:57 INFO [org.geoserver] - Loaded layer 'Img_Sample'
24 Dec 07:29:57 INFO [org.geoserver] - Loaded store 'img_sample2', enabled
24 Dec 07:29:57 INFO [org.geoserver] - Loaded coverage store 'img_sample2'
24 Dec 07:29:58 INFO [org.geoserver] - Loaded coverage 'Pk50095', enabled
24 Dec 07:29:58 INFO [org.geoserver] - Loaded coverage 'img_sample2'
24 Dec 07:29:58 INFO [org.geoserver] - Loaded layer 'Pk50095'
24 Dec 07:29:58 INFO 

[Geoserver-users] Image Pyramid error

2010-12-24 Thread Ziegler Stefan
Hi 

I get an error when requesting a wms layer which comes from a image pyramid 
store. I can create the image pyramid store and publish the layer without 
problems. All tiffs in the root are moved to a "0" directory. Shapefiles and 
property files are there.

Error message:

24 Dez 09:36:04 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: Error rendering coverage on the fast 
path
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:288)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:205)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:120)
at org.geoserver.wms.GetMap.run(GetMap.java:461)
at org.geoserver.wms.GetMap.run(GetMap.java:110)
at 
org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:314)
at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at 
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:51)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy21.getMap(Unknown Source)
at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:624)
at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:229)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:68)
at 
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)
at 
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)
at 
org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)
at 
org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:64)

Re: [Geoserver-users] Reprojecting a single point with WPS

2010-12-24 Thread Andrea Aime
On Tue, Dec 21, 2010 at 6:49 PM, Andrea Aime
 wrote:
> Yep yep. I actually want to roll out a new single geometry reprojection
> process so that this can become
> even easier, you just give it source CRS, target CRS, and
> POINT(-74.0108375113659 40.70754683896324)
> Ah, time time, there is never enough...

Coded up said process yesterday night, as I wanted to reproject a bbox
and did not
have a tool handy. Now you just have to build a fake linestring with
the coordinates
of the bbox corners, source and target srs, and presto, reprojection is done.
Tomorrow's nightly build should have it, it's called gs:ReprojectGeometry

Cheers
Andrea

-
Ing. Andrea Aime
Senior Software Engineer

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:     +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-

--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users