Hi,

Are you running behind a firewall or proxy? I haven't encountered your
problem, check your network setting and supply any proxy setting if
necessary.

Cheers,
Austin

On Thu, Jul 24, 2008 at 7:55 AM, Ganesh <[EMAIL PROTECTED]> wrote:

>
> Hi,
>          I am trying to run sample calender app. got from Google.I
> set all environment correctly.
> But when  I run this I am getting  "java.net.UnknownHostException".
>
>
> When its crossing below method,Its throwing.
>
> myService.setUserCredentials("[EMAIL PROTECTED]","passw");
>
> But I can able  access google.com thru IE. Is the settings in machine
> blocking it?
>
> Any suggestions please!!.
>
>
>
>
> Out Put of build
>
> template.require.service.jar:
>
> sample.core.dependencies:
>
>
> sample.calendar.aclfeed.run:
>     [java] The server had a problem handling your request.
>     [java] com.google.gdata.util.AuthenticationException: Error
> connecting with
>  login URI
>     [java]     at
> com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(U
> nknown Source)
>     [java]     at
> com.google.gdata.client.GoogleAuthTokenFactory.setUserCredent
> ials(Unknown Source)
>     [java]     at
> com.google.gdata.client.GoogleService.setUserCredentials(Unkn
> own Source)
>     [java]     at
> com.google.gdata.client.GoogleService.setUserCredentials(Unkn
> own Source)
>     [java]     at sample.calendar.AclFeedDemo.main(AclFeedDemo.java:
> 212)
>     [java] Caused by: java.net.UnknownHostException: www.google.com
>     [java]     at
> java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>     [java]     at java.net.Socket.connect(Socket.java:520)
>     [java]     at java.net.Socket.connect(Socket.java:470)
>     [java]     at sun.net.NetworkClient.doConnect(NetworkClient.java:
> 157)
>     [java]     at
> sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
>     [java]     at
> sun.net.www.http.HttpClient.openServer(HttpClient.java:523)
>     [java]     at
> sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.jav
> a:278)
>     [java]     at
> sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:3
> 35)
>     [java]     at
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection
> .getNewHttpClient(AbstractDelegateHttpsURLConnection.java:176)
>     [java]     at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(Http
> URLConnection.java:765)
>     [java]     at
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection
> .connect(AbstractDelegateHttpsURLConnection.java:162)
>     [java]     at
> sun.net.www.protocol.http.HttpURLConnection.getOutputStream(H
> ttpURLConnection.java:857)
>     [java]     at
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputSt
> ream(HttpsURLConnectionImpl.java:230)
>     [java]     at
> com.google.gdata.client.GoogleAuthTokenFactory.makePostReques
> t(Unknown Source)
>     [java]     ... 5 more
>
> BUILD SUCCESSFUL
> Total time: 6 seconds
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" group.
To post to this group, send email to 
[email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to