On 06.12.2015 20:25, pablo zader wrote:
Hello list.
Something strange is happening when I load a file to Geoserver by curl. I
observed in the tomcat manager that the process never leaves the state (s)
of service:
*Sent Time Stage B B Recv Client (Forwarded) Client (Current) VHost Request*
*S 1968673 ms 0 KB 59442 KB 172.xx.xx.xx 172.xx.xx.xx 172.xx.xx.xx
/geoserver/rest/workspaces//coveragestores//file.geotiff PUT HTTP /
1.1*
The curl command is nailed to the command line:
$> Curl -v -u user: pass -XPUT -H 'Content-type: image / tiff'
--data-binary @ / mytif.tif http: // myip: myport / geoserver / rest /
workspaces / / coveragestores //file.geotiff
* About to connect () to 172.19.12.24 port 8080 (# 0)
* Trying 172.19.12.24 ... Connected
* Server using basic with auth user 'admin'
/geoserver/rest/workspaces//coveragestores//file.geotiff PUT HTTP
/ 1.1
Authorization: Basic YWRtaW46cHJveWVjdG9VREVHRTIwMTU =
User-Agent: curl / 7.22.0 (x86_64-pc-linux-gnu) libcurl / 7.22.0 OpenSSL
/ zlib 1.0.1 / 1.2.3.4 libidn / librtmp 1.23 / 2.3
Host: myip: myport
Accept: * / *
Content-type: image / tiff
Content-Length: 125009107
Expect: 100-continue
And in the file /usr/share/tomcat7-admin/manager/WEB-INF/web.xml
400428800
400428800
0
I think this must be a problem of Tomcat, but maybe the problem is
Geoserver.
Hello Pablo.
Nothing to do (maybe) with your problem itself, but in your messaqe to the liat, above,
there are a lot of spaces that do not look like they should be there.
For example, in
> $> Curl -v -u user: pass -XPUT -H 'Content-type: image / tiff'
> --data-binary @ / mytif.tif http: // myip: myport / geoserver / rest /
> workspaces / / coveragestores //file.geotiff
and in
>> Host: myip: myport
>> Accept: * / *
>> Content-type: image / tiff
and in
> 400428800
Since any of these spaces could in principle cause something to malfunction, could you
repost your question with all the not-original spaces removed ?
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org