Eclipse and debug

5 views
Skip to first unread message

RB

unread,
Aug 24, 2010, 4:46:33 AM8/24/10
to GoogleFileService
Hello, I have downloaded your project and I want to debug it because I
need to integrate it with other part useful for the project that I
want to develop. The project works well if I deploy it into the
appspot, but when in Eclipse I have some problems.
In particular:
1. I have imported the project into Eclipse
2. Changed the main class into:
sinica.googlefileservice.client.examples.MyFileServiceClient
3. Try to debug it but i received this message:

mail1282639180385
tytung
.project.xml
text/xml
110
**1**
Upload fail: connection problem
24-ago-2010 10.39.40 org.apache.commons.httpclient.HttpMethodDirector
executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing
request: Connection refused
24-ago-2010 10.39.40 org.apache.commons.httpclient.HttpMethodDirector
executeWithRetry
INFO: Retrying request
24-ago-2010 10.39.40 org.apache.commons.httpclient.HttpMethodDirector
executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing
request: Connection refused
24-ago-2010 10.39.40 org.apache.commons.httpclient.HttpMethodDirector
executeWithRetry
INFO: Retrying request
24-ago-2010 10.39.40 org.apache.commons.httpclient.HttpMethodDirector
executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing
request: Connection refused
24-ago-2010 10.39.40 org.apache.commons.httpclient.HttpMethodDirector
executeWithRetry
INFO: Retrying request
Fatal transport error: Connection refused


at the end I want to customize the action when I receive the file on
the server side, since I want to store the file but also create some
classes starting from the file.

Could somebody help me? Thanks in advance.

tytung

unread,
Aug 24, 2010, 5:25:02 AM8/24/10
to GoogleFileService
Hi, RB

Please read the Getting Started section in http://code.google.com/p/google-file-service/.
2. Apache HttpClient
[Notice] Only allowed client IPs can upload files via Apache
HttpClient API. Change WEB-INF/appengine-web.xml if required.

Please modify <property name="upload.allowed-client-ip"
value="127.0.0.1, 140.109.16.68" /> in the appengine-web.xml.

-tytung

RB

unread,
Aug 24, 2010, 5:27:19 AM8/24/10
to GoogleFileService
Yes I have 127.0.0.1 (the loopback) for this reason I don't
understand...

On 24 Ago, 11:25, tytung <tyt...@gmail.com> wrote:
> Hi, RB
>
> Please read the Getting Started section inhttp://code.google.com/p/google-file-service/.
Message has been deleted

tytung

unread,
Sep 19, 2010, 5:17:24 AM9/19/10
to GoogleFileService
The latest version GoogleFileService v0.4 supports Apache-HttpClient?
4.0.2 and the latest SDK appengine-java-sdk-1.3.7 now.
Eclipse debugging in localhost works well.
> > > Could somebody help me? Thanks in advance.- 隱藏被引用文字 -
>
> - 顯示被引用文字 -
Reply all
Reply to author
Forward
0 new messages