(java.net.ConnectException) exception when I tried to run CreateProfile Example supplied by AMEE Team.

131 views
Skip to first unread message

kanth

unread,
Jul 9, 2009, 4:15:01 AM7/9/09
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.
Its something urgent for me.

Thanks in advance.
Rao

kanth

unread,
Jul 9, 2009, 4:35:08 AM7/9/09
to Amee Developer
More Information.

I downloaded AMEE0.9 JAVA CLIENT CODE,I am using jdk java version
"1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)

Is AMEE Supports JDK1.6.0.01???

Thanks in advance
Rao
Reply all
Reply to author
Forward
0 new messages