kanth
unread,Jul 9, 2009, 4:11:23 AM7/9/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Amee Developer, ja...@amee.cc
Hi James,
I downloaded JAVA client code,required libraries.set up the calsspath.
I have user id and pwd for stage server,i am able to sign-in through
web-interface.
But I am not able to connect to stage server using CreateProfile
program a AMEE example.
I have substituted username and password with actual values where ever
required in the AMEE java client Code.
I am trying to work with CreateProfile example given by Amee Team.
I compiled and running the CreateProfile and I getting the following
exception.
Jul 9, 2009 12:10:09 PM
org.apache.commons.httpclient.HttpMethodDirector execut
WithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing
request:
Connection timed out: connect
Jul 9, 2009 12:10:09 PM
org.apache.commons.httpclient.HttpMethodDirector execut
WithRetry
INFO: Retrying request
Jul 9, 2009 12:10:30 PM
org.apache.commons.httpclient.HttpMethodDirector execut
WithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing
request:
Connection timed out: connect
Jul 9, 2009 12:10:30 PM
org.apache.commons.httpclient.HttpMethodDirector execut
WithRetry
INFO: Retrying request
Jul 9, 2009 12:10:51 PM
org.apache.commons.httpclient.HttpMethodDirector execut
WithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing
request:
Connection timed out: connect
Jul 9, 2009 12:10:51 PM
org.apache.commons.httpclient.HttpMethodDirector execut
WithRetry
INFO: Retrying request
Exception in thread "main" com.amee.client.AmeeException: Caught
IOException: C
nnection timed out: connect
at com.amee.client.service.AmeeInterface.signIn
(AmeeInterface.java:74)
at com.amee.client.service.AmeeInterface.checkAuthenticated
(AmeeInterfa
e.java:84)
at com.amee.client.service.AmeeInterface.postOrPutAmeeResource
(AmeeInte
face.java:124)
at com.amee.client.service.AmeeInterface.postAmeeResource
(AmeeInterface
java:115)
at com.amee.client.service.AmeeObjectFactory.getProfile
(AmeeObjectFacto
y.java:126)
at com.amee.client.examples.CreateProfile.main
(CreateProfile.java:26)
Please help me on this.
Thanks in advance.
Rao