On Wed, Jan 19, 2011 at 5:16 PM, IT Intern <[email protected]> wrote:
> Thank you Joshua, but still nothing :(
>
> I have tried:
>  /usr/local/geoserver-2.0.2/data_dir/www/tibet_1900.sld
> ./tibet_1900.sld
> tibet_1900.sld
> tibet_1900
>
> With all of these I get the msg "Java.net.MalformedURLException: no
> protocol: tibet_1900 no protocol: tibet_1900"
>
> Seems like it does want a URL...
>
> To my knowledge this is a standalone GeoServer configuration.  We do have an
> Apache server, but it's on another port and I do not think it interferes
> with GeoServer in any way

I thought of a simpler way to do this that won't require you to mess
with getting the SLD file to be seen by tomcat's built-in web server:
instead of passing the SLD as an http url, pass the full filesystem
path to the sld as a file url; for example:

file:///home/www/styles/mystyle.sld

I tested this and it works fine with my setup here; I'm on 2.2b3 but I
doubt this behavior is any different in 2.0.x.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to