[appengine-java] Could Not Verify SSL Certificate
Hi, After I've update to GAE 1.4.2 I started to receive the following error when retrieving customer license. javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate for: https://www.googleapis.com/appsmarket/v2sandbox/customerLicense/ Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) App Engine API 1.4.2 Google API Client 1.2.2 alpha With the following versions I'm not getting the error, everything works fine. Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261) App Engine API 1.4.0 Google API Client 1.2.2 alpha I've also opened threads at https://groups.google.com/forum/?lnk=raot#!topic/google-apps-marketplace-api/9RE1-xusMaM and https://groups.google.com/forum/?lnk=raot#!topic/google-api-java-client/gunmpe1zQu8 and https://groups.google.com/forum/?lnk=raot#!topic/google-api-java-client/gunmpe1zQu8 . Thanks. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-java@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Create any kind of file on GAE/J then upload to Google docs.
Hi, Is it possible to create any kind of file on GAE/J and upload to Google docs? I've asked a similar question about creating PDF and uploading to Google docs but seems nobody tried or successful before. Anyone have any suggestions or sample code? Thanks. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Eclipse does not launch after upgrading to gae 1.3.8
As far as I know gae plugin is not loaded at startup untill you open the project at least. You can check here for log file http://www.eclipse.org/eclipse/platform-core/documents/3.1/debug.html On 22 Ekim, 20:54, Vik wrote: > hie > > I am talking about eclipse ide itself. Here is what happened > > i saw in ide google update is available. i installed the 1.3.8 and at the > end it asked me to restart the ide. I clicked yes. > and then ide closed and spalsh screen appeared for few secs and then closed. > That's it. After that now this is happening whenever i try to launch ide. > > Tried restarting my windows xp as well. eclipse i was using was gallilio > > Thankx and Regards > > Vik > Founderwww.sakshum.comwww.sakshum.blogspot.com > > On Fri, Oct 22, 2010 at 7:17 PM, Nurettin Omer Hamzaoglu < > > > > nomerhamzao...@gmail.com> wrote: > > You can launch eclipse or launch hosted mode? And what error(s) are > > you getting? > > > On Oct 22, 3:15 pm, Vik wrote: > > > Hie > > > > Today i upgraded to gae 1.3.8 and now i m unable to launch eclipse. > > Please > > > advise > > > > Thankx and Regards > > > > Vik > > > Founderwww.sakshum.comwww.sakshum.blogspot.com > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine for Java" group. > > To post to this group, send email to > > google-appengine-j...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine-java+unsubscr...@googlegroups.com > unsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine-java?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Change Auth method
Gal, Its stated that "In particular, you can only switch between Google Accounts and OpenID (Federated Login)." at http://code.google.com/appengine/docs/java/users/overview.html#Authentication_Options You need to use Federated login option and it can be selected later as I did too. But for the login thing some changes need to be made. I've an example code that may help you. I'm not a Java expert so it takes me a day to figure out how to change the code for federated login. The same code which work for Google accounts don't work with federated login. There is a domain parameter when setting the loginURL, its the domain user wants to login with. You can only get users email address and split the domain from it and use it here. Hope it helps. Set attributesRequest = new HashSet(); attributesRequest.add("openid.mode=checkid_setup"); attributesRequest.add("openid.ns=http://specs.openid.net/auth/2.0";); attributesRequest.add("openid.return_to=http:// your_return_address_after_users_logs_in"); attributesRequest.add("openid.claimed_id=http://specs.openid.net/auth/ 2.0/identifier_select"); attributesRequest.add("openid.identity=http://specs.openid.net/auth/ 2.0/identifier_select"); attributesRequest.add("openid.realm=http:// your_web_address_as_you_set_in_manifest"); attributesRequest.add("openid.ns.ax=http://openid.net/srv/ax/1.0";); attributesRequest.add("openid.ax.mode=fetch_request"); attributesRequest.add("openid.ax.type.attr0=http://axschema.org/ contact/email"); attributesRequest.add("openid.ax.type.attr1=http://schema.openid.net/ contact/email&openid.ax.required=attr0,attr1,auto2"); attributesRequest.add("openid.sreg=http://openid.net/extensions/sreg/ 1.1&openid.sreg.required=email"); attributesRequest.add("openid.ns.ui=http://specs.openid.net/extensions/ ui/1.0"); attributesRequest.add("openid.ax.type.auto2=http://www.google.com/ accounts/api/federated-login/id"); String loginURL = userService.createLoginURL("http:// your_return_address_after_users_logs_in", "authDomain", "https:// www.google.com/accounts/o8/site-xrds?hd="+domain, attributesRequest); String logoutURL = userService.createLogoutURL("http:// your_return_address_after_users_logs_out", "authDomain"); -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Automatic logout via Google Login Service ?
As I.denardo said our application stores the email addresses of the users in the datastore and check if the user is in the datastore. Not all users can use our application and some can use some parts of the application. If its a paid application you need to check the domain also if its paid or not etc. So you need a mechanism to check if the users domain is allowed to use the application and if the user is granted to use the application. I don't know you application but at some point you may need to have users in your datastore to apply user permissions and payment system. And you need to email them at some point and instead of usin google data api every time you can use your own datastore and update users when a user with domain admin rights logs in or maybe you can leave it to the admin to click sync users button like system which will use less resources for you. I use both systems, when an admin rights user logs in I sync users once a day and I've a button for syncing users if admin needs to do it manually. Oh I forgot also when a user tries to login and their domain found in datastore and paid but user is not in datastore I use google data api to fetch user details and if domain admin user I grant login otherwise I alert the user to get in contact with his/her system admins. If you need some sample code please tell. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Upload PDF to Google Docs
Hi, Is it possible to store pdf files created by pdffet on Google docs. I'm creating a gae application which is integrated with google apps for your domain(google docs, calendar, google mail, etc.) It will be installed through google app market place. I want to write some reports to google docs so user don't have to login to my system each time they need a report and they can email, share etc. how they want and they won't use my gae resources. Report will be created at some point of the application by clicking a button which can't be pressed anytime its something like end of a book, user clicks the end book button and report is created. To edit the same book thet is ended there are some other actions needed etc. so users can't press this button anytime they want. It seems like creating a report and saving to google docs of the users domain better for gae resource usage. I came to a point where I couldn't find any articles or examples how pdfjet on gae/j works and next step can the pdf generated be saved to google docs. The file doesn't have to be PDF but I couldn't find any examples on this issue, it can be a google docs format for example. I need some tables and some graphs as most reports need. I create a file using google data api; DocumentListEntry newEntry = new PdfEntry(); Then I create a pdf from an outputstream, which I'm not sure if this is correct but I read that its possible to create pdf files with streams using pdfjet. OutputStream os = new ByteArrayOutputStream(); PDF pdf = new PDF(os); I enter the contents of the pdf which is about 100 lines which I didn't write here, its an example from pdfjet webpage. I then need to set the file to be uploaded; First argument of set file accepts File which I can't able to figure out. Is it possible to convert stream to a file and set here? Or maybe is there any other solution. newEntry.setFile(xx, "application/pdf"); Best regards and thanks. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
[appengine-java] Re: Eclipse does not launch after upgrading to gae 1.3.8
You can launch eclipse or launch hosted mode? And what error(s) are you getting? On Oct 22, 3:15 pm, Vik wrote: > Hie > > Today i upgraded to gae 1.3.8 and now i m unable to launch eclipse. Please > advise > > Thankx and Regards > > Vik > Founderwww.sakshum.comwww.sakshum.blogspot.com -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.