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 really appreciate your time trying to help me :)

Thank you,

elshae

On Wed, Jan 19, 2011 at 4:22 PM, Joshua M. Thompson <
[email protected]> wrote:

> On Wed, Jan 19, 2011 at 12:12 PM, IT Intern <[email protected]> wrote:
> > Thanks for your response Joshua.  I just tried that and got back "no
> > validation errors".  Could it be that my SLD should be in a certain place
> or
> > something?  I currently have both the .xml and .sld files in my www
> > directory...
>
> I think I may have found the main problem now...I went back and looked
> at your original message and I notice you are doing this:
>
> tibet_1900_no_name.mergeNewParams({SLD
> :'http://localhost:8080/geoserver/wms/tibet_1900.xml'}<http://localhost:8080/geoserver/wms/tibet_1900.xml%27%7D>
> );
>
> But the .xml file isn't needed/used when passing the SLD parameter;
> you should be passing the name of the .sld file. Also, this URL is
> almost certainly not correct; geoserver/wms is not a real path on the
> filesystem so  you're not going to be able to access physical files
> under that URL.
>
> What is your server setup? Is there a regular web server in front of
> this, or is it a standalone java app server (e.g. Tomcat)?
>
------------------------------------------------------------------------------
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