Hi Tigran, I think the Facebook API is probably using cURL to access its services, which allows the use of HTTP proxies. We've implemented the cURL module using some java.net classes which the App Engine prohibits to do the proxying, so the App Engine won't even load the class regardless of whether you're using a proxy or not. Anyway, it's possible that we could find a workaround. I've filed a bug here:
http://bugs.caucho.com/view.php?id=3854 We might be able to turn this around fairly quickly since I'm working on Quercus/App Engine compatibility right now anyway. I'm actually presenting a talk on using Quercus on the App Engine next month, so if you've made some progress in other areas, please let me know and I might be able to mention your work. Thanks, Emil On Thu, Jan 21, 2010 at 05:05:26PM +0400, Tigran Martirosyan wrote: > Hi, > > I have got a problem when run my facebook application on google app engine. I > use quercus for this purpose. > > here is a simple code, that throws an exception: > > <?php > > // the facebook client library > include_once 'api/facebook.php'; > > // some basic library functions > > // this defines some of your basic setup > include_once 'config.php'; > > $facebook = new Facebook($api_key, $secret); > $facebook->require_frame(); > $user = $facebook->require_login(); > > > $user_details = $facebook->api_client->users_getInfo('754748720', 'sex'); > $sex = $user_details[0]['sex']; > > echo $sex; > ?> > > <fb:tabs> > <fb:tab-item href="./invite.php" title="Invite Friends" align="right"/> > <fb:tab-item href="./help.php" title="Help" align="right"/> > </fb:tabs> > > > > > > The EXCEPTION I got was : > > com.caucho.quercus.QuercusModuleException: java.lang.NoClassDefFoundError: > java.net.Proxy is a restricted class. Please see the Google App Engine > developer's guide for more details. > > > How can I avoid this exception. Help me please. > > > Thanks in advance, > Tigran Martirosyan > > _______________________________________________ > resin-interest mailing list > resin-interest@caucho.com > http://maillist.caucho.com/mailman/listinfo/resin-interest _______________________________________________ resin-interest mailing list resin-interest@caucho.com http://maillist.caucho.com/mailman/listinfo/resin-interest