Hello,

Bumped into this one as well.

I'm afraid no solution but the reason for the error is that the
appengine does not allow opening a socket to or access to another host
(http://code.google.com/appengine/docs/java/runtime.html#The_Sandbox)

Twitter4J seems to be doing just that when trying to authenticate:

at java.lang.SecurityManager.checkConnect(Unknown Source)
        at java.net.URL.openConnection(Unknown Source)
        at twitter4j.http.HttpClient.getConnection(HttpClient.java:553)

If anyone knows how to get arround this ...


Hans

On May 19, 3:31 pm, surya <sravanthi.su...@gmail.com> wrote:
> hi,
>
> The problem exists still !!!! can you suggest me a solution to
> integrate my Twitter4j oauth in google app engine......
> I am a beginner, so it will be helpful if anyone could suggest me how
> to start
>
> sravanthi.
>
> On May 18, 6:29 pm, surya sravanthi <sravanthi.su...@gmail.com> wrote:
>
> > hi,
>
> > Thanks for your code..... I have noticied that twitter.setAccessToken
> > is not available in the Twitter.java in Twitter4j-2.0.3 version.
> > I have tried using the instructions given in this link below:
>
> > I think this will be helpful.......
> > This is working on localhost.. but I need my application which is in
> > java to be deployed on google app engine..... found that this is
> > giving
>
> > "  com.service.TwitterOAuthException:
> > java.security.AccessControlException: access denied
> > (java.lang.RuntimePermission modifyThreadGroup)"
>
> > exception...... can ou suggest me a method i could use to solve this 
> > problem....
>
> > Thanks again..
> > SravanthiOn Tue, May 5, 2009 at 11:51 AM, Yusuke <yus...@mac.com> wrote:
>
> > > Hi,
>
> > > I wrote an OAuth example code for Java language.
> > >http://yusuke.homeip.net/twitter4j/en/code-examples.html#oauth
>
> > > I hope you caln add the link to the following page.
> > >http://apiwiki.twitter.com/OAuth-Examples
>
> > > Cheers,
> > > Yusuke
>
>

Reply via email to