|
View:
New views
8 Messages
—
Rating Filter:
Alert me
|
|
|
GeoServer 1.5.4 error in Demo Request.I go to GeoServer Demo request page, and try all request, but I get flowing error for all:
<servlet-exception> Help me, thanks. -- Nguyễn Đình Toán ------------------------- Neu khong doc duoc tieng Viet, vui long vao menu View --> chon Encoding --> chon Unicode (UTF-8). Cam on. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geoserver-users mailing list Geoserver-users@... https://lists.sourceforge.net/lists/listinfo/geoserver-users |
|
|
Re: GeoServer 1.5.4 error in Demo Request.Toan Nguyen wrote:
> I go to GeoServer Demo request page, and try all request, but I get > flowing error for all: > > <servlet-exception> > java.net.ConnectException: Connection refused > </servlet-exception> > Hum, this is strange, it probably means you setup GeoServer with a proxy? In that case the demo requests are probably not going to work. Cheers Andrea ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geoserver-users mailing list Geoserver-users@... https://lists.sourceforge.net/lists/listinfo/geoserver-users |
|
|
Re: GeoServer 1.5.4 error in Demo Request.First, sorry for my English.
I dont setup GeoServer with a proxy. I use Ubuntu, and install tomcat5.5. I install Geoserver by copying geoserver.war file to webapps folder of Tomcat. I setup my map in Geoserver, I can load it. But, I cant request from Geoserver in Mapbuilder. I try go to Request Dome of Geoserver, but there are no request success. All return: <servlet-exception> java.net.ConnectException: Connection refused </servlet-exception> How can I fix it? -- Nguyễn Đình Toán ------------------------- Neu khong doc duoc tieng Viet, vui long vao menu View --> chon Encoding --> chon Unicode (UTF-8). Cam on. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geoserver-users mailing list Geoserver-users@... https://lists.sourceforge.net/lists/listinfo/geoserver-users |
|
|
|
|
|
Re: GeoServer 1.5.4 error in Demo Request.I have found something, but I dont know why, I hope someone can help me.
Geoserver Demo Request use POST method, when we choose a request, the info will apply to the form in Response Frame, and POST to Geoserver then result will return in Response frame. But, with a request without post info. I copy URL of request, and paste in AddressBar, enter then result appear. I think, Geoserver or Tomcat or something dont accept POST method. -- Nguyễn Đình Toán ------------------------- Neu khong doc duoc tieng Viet, vui long vao menu View --> chon Encoding --> chon Unicode (UTF-8). Cam on. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geoserver-users mailing list Geoserver-users@... https://lists.sourceforge.net/lists/listinfo/geoserver-users |
|
|
Re: GeoServer 1.5.4 error in Demo Request.Hi Toan,
Sounds strange indeed. To humor me can you try the following GET request: http://localhost:8080/geoserver/wfs?request=getcapabilities And then the following POST request: <wfs:GetCapabilities service="wfs" xmlns:wfs="http://www.opengis.net/wfs"/> I suggest using 'curl' as to factor out any issues with the demo request form itself. If you save that to a file 'foo', you can do: curl -H 'Content-type: text/xml' -d @foo http://localhost:8080/geoserver/wfs (There is a more concise command for POST requests but I cant remember it at the moment :) ) If indeed the POST request fails but the GET requests proceeds then I agree with you, something is blocking POST request... but i have no idea of what it may be... I have never seen this issue before. -Justin Toan Nguyen wrote: > I have found something, but I dont know why, I hope someone can help me. > Geoserver Demo Request use POST method, when we choose a request, the > info will apply to the form in Response Frame, and POST to Geoserver > then result will return in Response frame. > But, with a request without post info. I copy URL of request, and paste > in AddressBar, enter then result appear. > I think, Geoserver or Tomcat or something dont accept POST method. > > -- > Nguyễn Đình Toán > > ------------------------- > Neu khong doc duoc tieng Viet, vui long vao menu View --> chon Encoding > --> chon Unicode (UTF-8). Cam on. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Geoserver-users mailing list > Geoserver-users@... > https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Justin Deoliveira OpenGeo - http://opengeo.org Enterprise support for open source geospatial. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geoserver-users mailing list Geoserver-users@... https://lists.sourceforge.net/lists/listinfo/geoserver-users |
|
|
Re: GeoServer 1.5.4 error in Demo Request.Justin Deoliveira wrote:
> Hi Toan, > > Sounds strange indeed. To humor me can you try the following GET request: > > http://localhost:8080/geoserver/wfs?request=getcapabilities > > And then the following POST request: > > <wfs:GetCapabilities service="wfs" xmlns:wfs="http://www.opengis.net/wfs"/> > > I suggest using 'curl' as to factor out any issues with the demo request > form itself. If you save that to a file 'foo', you can do: > > curl -H 'Content-type: text/xml' -d @foo http://localhost:8080/geoserver/wfs > > (There is a more concise command for POST requests but I cant remember > it at the moment :) ) > for POST requests. > If indeed the POST request fails but the GET requests proceeds then I > agree with you, something is blocking POST request... but i have no idea > of what it may be... I have never seen this issue before. > > -Justin > > Toan Nguyen wrote: > >> I have found something, but I dont know why, I hope someone can help me. >> Geoserver Demo Request use POST method, when we choose a request, the >> info will apply to the form in Response Frame, and POST to Geoserver >> then result will return in Response frame. >> But, with a request without post info. I copy URL of request, and paste >> in AddressBar, enter then result appear. >> I think, Geoserver or Tomcat or something dont accept POST method. >> >> -- >> Nguyễn Đình Toán >> >> ------------------------- >> Neu khong doc duoc tieng Viet, vui long vao menu View --> chon Encoding >> --> chon Unicode (UTF-8). Cam on. >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Geoserver-users mailing list >> Geoserver-users@... >> https://lists.sourceforge.net/lists/listinfo/geoserver-users >> > > > -d ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geoserver-users mailing list Geoserver-users@... https://lists.sourceforge.net/lists/listinfo/geoserver-users |
|
|
Re: GeoServer 1.5.4 error in Demo Request.My Server at a.b.c.d (an ip address, I cant public it now, sorry), and Geoserver at a.b.c.d:8080/geoserver.
Get request http://a.b.c.d:8080/geoserver/wfs?request=getcapabilities is OK. I dont know how to execute your command (curl -H 'Content-type: text/xml' -d @foo http://localhost:8080/geoserver/wfs). So I write a php script called curl.php like this: $data = '<wfs:GetCapabilities service="wfs" xmlns:wfs="http://www.opengis.net/wfs"/>'; $headers = array( 'Content-type: text/xml', "Accept: image/png; text/xml", "Cache-Control: no-cache", "Pragma: no-cache", "Content-length: ".strlen($data) ); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "http://a.b.c.d:8080/geoserver/wfs"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_TIMEOUT, 90); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); curl_setopt($ch, CURLOPT_USERAGENT, $defined_vars['HTTP_USER_AGENT']); // Apply the XML to our curl call curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); $response = curl_exec($ch); header('Content-type: text/xml'); echo $response; and put it on oder server (ex: x.y.z.t) and call http://x.y.z.t/curl.php ==> it Ok. But when I put curl.php file on the same server with geoserver, and call http://a.b.c.d/curl.php ==> it return nothing (blank page), no error msg too. And I found that, if I put curl.php file in a.b.c.d server, and change "http://a.b.c.d:8080/geoserver/wfs" to "http://localhost:8080/geoserver/wfs", then call http://a.b.c.d/curl.php ==> it Ok. :D Why????? and Request Demo Example of Geoserver still return error for all example: <servlet-exception> java.net.ConnectException: Connection refused </servlet-exception> -- Nguyễn Đình Toán ------------------------- Neu khong doc duoc tieng Viet, vui long vao menu View --> chon Encoding --> chon Unicode (UTF-8). Cam on. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geoserver-users mailing list Geoserver-users@... https://lists.sourceforge.net/lists/listinfo/geoserver-users |
| Free Forum Powered by Nabble | Forum Help |