fastdfs一个tracker两个storage,上传报错

发起请求的页面地址 POST http://192.168.1.17/fast/file/upload HTTP/1.1

log4j:WARN No appenders could be found for logger (org.apache.http.client.protocol.RequestAddCookies).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

i----------------------------------------0

HTTP/1.1 200 OK

Response content length: 79

http://123.234.138.119:8081/group1/M00/06/0B/wKgBEFW7TGeAVQTBAAAS875dOiA.tmp433

java.io.FileNotFoundException: http://123.234.138.119:8081/group1/M00/06/0B/wKgBEFW7TGeAVQTBAAAS875dOiA.tmp433

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at java.net.URL.openStream(Unknown Source)

at org.codehaus.plexus.util.io.URLInputStreamFacade.getInputStream(URLInputStreamFacade.java:77)

at org.codehaus.plexus.util.FileUtils.copyStreamToFile(FileUtils.java:1057)

at org.codehaus.plexus.util.FileUtils.copyURLToFile(FileUtils.java:1018)

at com.heli.httpClient.UploadDown.postFile(UploadDown.java:111)

at com.heli.httpClient.UploadDown.main(UploadDown.java:52)

发起请求的页面地址 POST http://192.168.1.17/fast/file/upload HTTP/1.1

i----------------------------------------1

HTTP/1.1 200 OK

Response content length: 0

java.net.MalformedURLException: no protocol:

at java.net.URL.<init>(Unknown Source)

at java.net.URL.<init>(Unknown Source)

at java.net.URL.<init>(Unknown Source)

at com.heli.httpClient.UploadDown.postFile(UploadDown.java:103)

at com.heli.httpClient.UploadDown.main(UploadDown.java:52)

发起请求的页面地址 POST http://192.168.1.17/fast/file/upload HTTP/1.1

i----------------------------------------2

HTTP/1.1 200 OK

Response content length: 79

http://123.234.138.119:8081/group1/M00/08/0B/wKgBEFW7TGeAJA60AAAS875dOiA.tmp179

临时文件的大小:4851--上传后的文件大小:4851

发起请求的页面地址 POST http://192.168.1.17/fast/file/upload HTTP/1.1

i----------------------------------------3

HTTP/1.1 200 OK

Response content length: 0

java.net.MalformedURLException: no protocol:

at java.net.URL.<init>(Unknown Source)

at java.net.URL.<init>(Unknown Source)

at java.net.URL.<init>(Unknown Source)

at com.heli.httpClient.UploadDown.postFile(UploadDown.java:103)

at com.heli.httpClient.UploadDown.main(UploadDown.java:52)

发起请求的页面地址 POST http://192.168.1.17/fast/file/upload HTTP/1.1

i----------------------------------------4

HTTP/1.1 200 OK

Response content length: 79

http://123.234.138.119:8081/group1/M00/08/08/wKgBEFW7TGiAOTDPAAAS875dOiA.tmp723

java.io.FileNotFoundException: http://123.234.138.119:8081/group1/M00/08/08/wKgBEFW7TGiAOTDPAAAS875dOiA.tmp723

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at java.net.URL.openStream(Unknown Source)

at org.codehaus.plexus.util.io.URLInputStreamFacade.getInputStream(URLInputStreamFacade.java:77)

at org.codehaus.plexus.util.FileUtils.copyStreamToFile(FileUtils.java:1057)

at org.codehaus.plexus.util.FileUtils.copyURLToFile(FileUtils.java:1018)

at com.heli.httpClient.UploadDown.postFile(UploadDown.java:111)

at com.heli.httpClient.UploadDown.main(UploadDown.java:52)

发起请求的页面地址 POST http://192.168.1.17/fast/file/upload HTTP/1.1

i----------------------------------------5

HTTP/1.1 200 OK

Response content length: 0

java.net.MalformedURLException: no protocol:

at java.net.URL.<init>(Unknown Source)

at java.net.URL.<init>(Unknown Source)

at java.net.URL.<init>(Unknown Source)

at com.heli.httpClient.UploadDown.postFile(UploadDown.java:103)

at com.heli.httpClient.UploadDown.main(UploadDown.java:52)

发起请求的页面地址 POST http://192.168.1.17/fast/file/upload HTTP/1.1

i----------------------------------------6

HTTP/1.1 200 OK

Response content length: 79

http://123.234.138.119:8081/group1/M00/03/00/wKgBEFW7TGiAUqNdAAAS875dOiA.tmp235

临时文件的大小:4851--上传后的文件大小:4851

发起请求的页面地址 POST http://192.168.1.17/fast/file/upload HTTP/1.1

i----------------------------------------7

java.net.MalformedURLException: no protocol:

HTTP/1.1 200 OK

Response content length: 0

at java.net.URL.<init>(Unknown Source)

at java.net.URL.<init>(Unknown Source)

at java.net.URL.<init>(Unknown Source)

at com.heli.httpClient.UploadDown.postFile(UploadDown.java:103)

at com.heli.httpClient.UploadDown.main(UploadDown.java:52)

发起请求的页面地址 POST http://192.168.1.17/fast/file/upload HTTP/1.1

i----------------------------------------8

HTTP/1.1 200 OK

Response content length: 79

http://123.234.138.119:8081/group1/M00/01/05/wKgBEFW7TGmAJGp5AAAS875dOiA.tmp731

java.io.FileNotFoundException: http://123.234.138.119:8081/group1/M00/01/05/wKgBEFW7TGmAJGp5AAAS875dOiA.tmp731

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)

at java.net.URL.openStream(Unknown Source)

at org.codehaus.plexus.util.io.URLInputStreamFacade.getInputStream(URLInputStreamFacade.java:77)

at org.codehaus.plexus.util.FileUtils.copyStreamToFile(FileUtils.java:1057)

at org.codehaus.plexus.util.FileUtils.copyURLToFile(FileUtils.java:1018)

at com.heli.httpClient.UploadDown.postFile(UploadDown.java:111)

at com.heli.httpClient.UploadDown.main(UploadDown.java:52)

发起请求的页面地址 POST http://192.168.1.17/fast/file/upload HTTP/1.1

i----------------------------------------9

HTTP/1.1 200 OK

Response content length: 0

java.net.MalformedURLException: no protocol:

at java.net.URL.<init>(Unknown Source)

at java.net.URL.<init>(Unknown Source)

at java.net.URL.<init>(Unknown Source)

at com.heli.httpClient.UploadDown.postFile(UploadDown.java:103)

at com.heli.httpClient.UploadDown.main(UploadDown.java:52)

时间: 2024-11-16 08:14:28

fastdfs一个tracker两个storage,上传报错的相关文章

Struts2实现文件上传报错(四)

1.具体错误如下 2014-5-2 21:38:29 com.opensymphony.xwork2.util.logging.jdk.JdkLogger error 严重: Exception occurred during processing request: null java.lang.NullPointerException at com.you.file.upload.action.FileUploadAction.execute(FileUploadAction.java:56)

Struts2实现文件上传报错(一)

1.具体报错如下 2014-5-1 23:02:38 org.apache.catalina.core.StandardWrapperValve invoke 严重: Servlet.service() for servlet [jsp] in context with path [/UploadFile] threw exception [An exception occurred processing JSP page /file.jsp at line 28 25: <table> 26

Struts2实现文件上传报错(二)

编译Lua时,出现这样的错误: gcc -O2 -Wall -DLUA_COMPAT_ALL -DLUA_USE_LINUX -c -o lua.o lua.clua.c:67:31: error: 查阅了一下,centOS上需要安装readline-devel ncurses-devel yum install readline-devel ncurses-devel 测试平台成功. [[email protected] lua-5.2.3]# make linux test cd src &

Struts2实现文件上传报错(三)

1.具体错误如下 usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -nonaming ] { -help | start | stop } 2014-5-1 23:17:23 org.apache.catalina.core.AprLifecycleListener init 信息: Loaded APR based Apache Tomcat Native library 1.1.27 usin

文件上传报错:Unknown: file created in the system&#39;s temporary directory

nginx+php下文件上传成功,但会有错误提示如下: <b>Notice</b>:  Unknown: file created in the system's temporary directory in <b>Unknown</b> on line <b>0</b><br /> 网上搜索相关资料发现可能和php下临时文件存放目录配置有关,查看进入php.ini配置文件 配置文件搜索upload_tmp_dir,默认/

Rsync上传报错的问题

使用过程中遇到上传报以下错误: @ERROR: chdir failed rsync error: error starting client-server protocol (code 5) at main.c(1648) [sender=3.1.2] 搜索解决方案时没有此问题的解决办法,后来查看server端laog,发现有报错如下: rsync: chdir /cygdrive/D/***(此处为目录名)  failed 最后发现是文件夹的写入权限不够. 处理rsync上传报错问题,除了查

springboot文件上传报错

异常信息: org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request;nested exception is java.io.IOException: The temporary upload location [/tmp/tomcat.1978174608501890996.8083/work/Tomcat/localhost/pmap] is not vali

XCode7打包上传报错

在XCode7上传应用时,上传失败遇到两个错误,提示如下: [html] view plain copy ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'xxxxx.app/TencentOpenApi_IOS_Bundle.bundle' does not contain a bundle executable. If this bundle intentionally does not contain 

ajaxupload.js上传报错

相信大家在工作中经常用到文件上传的操作,因为我是搞前端的,所以这里主要是介绍ajax在前端中的操作.代码我省略的比较多,直接拿js那里的 $.ajaxFileUpload({ url:'www.coding/mobi/file/uploadSingleFile.html',//处理图片脚本 secureuri :false, fileElementId :'image2',//file控件id.就是input type="file" id="image2" data