[appengine-java] How to take webpage screenshot in Google App Engine?

2011-12-30 Thread Tahir Akram
I want to ask, by using GAE/J can I take a screenshot of a web page?

If it's supported, which API I should use for it.

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] Re: Failed to initialize App Engine SDK at ... appengine-java-sdk-1.6.0

2011-12-30 Thread Bat
Hi,

I've exactly the same problem as you. I also run eclipse indigo on mac
os and I'd like to use the sdk GAE 1.6.1. Unfortunately, I've this
error message Failed to initialize App Engine SDK -1.6.1 when I want
to create new web application project.

Have you found the solution?

Thanks

On 29 nov, 00:20, AnthoniS anthoni.schioc...@eliium.com wrote:
 Hello,

 When the gae SDK 1.6.0 was released, I tried using Eclipse (actually,
 SpringSource Tool Suite, aka STS) to upgrade. Unfortunately, the new
 version of the gae SDK was not suggested in the Check for Updates
 wizard of the Help menu of STS
 So I downloaded the SDK manually and tried to add it in the Google
 SDKs section of Eclipse Preferences menu. It failed, with the error
 message: Failed to initialize App Engine SDK at path-to-gae-sdk/
 appengine-java-sdk-1.6.0. So I removed this version and continued
 developping with the version 1.5.5.
 One week later, I suddenly got the notification in STS there is an
 update of Google plugin which popped out from the bottom of the
 screen. Great! Finally Eclipse had seen the update of the SDK ! I
 immediately run the wizard, downloaded the SDK, and finally restarted
 Eclipse (well, STS) normally. But after restart, the new installed SDK
 was still in a corrupted state with the same error message.
 I run STS 2.3.3M1 (built on Eclipse distrib 3.5.2) on a MacOSX 10.5.8
 with JDK 6.0.

 Have you ever got this problem ? Thank you.

 In the ErrorLog message of STS, I got this stack trace:
 Unexpected Exception
 java.lang.UnsupportedClassVersionError: Bad version number in .class
 file
         at java.lang.ClassLoader.defineClass2(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:775)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:
 160)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:254)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:317)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:375)
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
         at java.lang.Class.getConstructor0(Class.java:2671)
         at java.lang.Class.newInstance0(Class.java:321)
         at java.lang.Class.newInstance(Class.java:303)
         at
 com.google.appengine.eclipse.core.sdk.AppEngineBridgeFactory.createBridge(A 
 ppEngineBridgeFactory.java:
 184)
         at
 com.google.appengine.eclipse.core.sdk.AppEngineBridgeFactory.createBridge(A 
 ppEngineBridgeFactory.java:
 122)
         at
 com.google.appengine.eclipse.core.sdk.AppEngineBridgeFactory.getAppEngineBr 
 idge(AppEngineBridgeFactory.java:
 95)
         at
 com.google.appengine.eclipse.core.sdk.GaeSdk.getAppEngineBridge(GaeSdk.java :
 265)
         at com.google.appengine.eclipse.core.sdk.GaeSdk.validate(GaeSdk.java:
 379)
         at
 com.google.gdt.eclipse.core.ui.AddSdkDialog.validateSdk(AddSdkDialog.java:
 268)
         at
 com.google.gdt.eclipse.core.ui.AddSdkDialog.validate(AddSdkDialog.java:
 214)
         at com.google.gdt.eclipse.core.ui.AddSdkDialog
 $4.modifyText(AddSdkDialog.java:177)
         at
 org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
 167)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1603)
         at org.eclipse.swt.widgets.Text.sendModifyEvent(Text.java:1854)
         at org.eclipse.swt.widgets.Text.setText(Text.java:2314)
         at com.google.gdt.eclipse.core.ui.AddSdkDialog
 $2.widgetSelected(AddSdkDialog.java:154)
         at
 org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:
 228)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1607)
         at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1396)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:
 3484)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)
         at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
         at org.eclipse.jface.window.Window.open(Window.java:801)
         at com.google.appengine.eclipse.core.preferences.ui.GaePreferencePage
 

[appengine-java] Re: What happened to Will it Play

2011-12-30 Thread Péter Kovács
Referenced here: http://code.google.com/appengine/kb/general.html  .

P.

On Dec 21, 8:11 pm, Ikai Lan (Google) ika...@google.com wrote:
 We moved it here after Google Groups deprecated groups pages:

 http://code.google.com/p/googleappengine/wiki/WillItPlayInJava

 As a warning: this page has not been updated in a LONG time. Going forward,
 we'll be looking at all the resources that are currently available and
 either consolidating them or deprecating them entirely.

 Is this page linked to from anywhere else? I can fix the links if it's
 linked to from anywhere in the docs.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 plus.ikailan.com | twitter.com/ikai







 On Wed, Dec 21, 2011 at 8:34 AM, Las Olas le...@pnambic.com wrote:
  The widely published URL for Java frameworks that are compatible with
  GAE seems to be down:

 http://groups.google.com/group/google-appengine-java/web/will-it-play...

  All attempts to reach the URL with Chrome wind-up at the group's home
  page

   http://groups.google.com/group/google-appengine-java/

  Did the group content get deleted?

  --
  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.

-- 
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.



Re: [appengine-java] Re: What happened to Will it Play

2011-12-30 Thread Felipe Teixeira
http://code.google.com/p/googleappengine/wiki/WillItPlayInJava

2011/12/29 Péter Kovács peter.dunay.kov...@gmail.com

 Referenced here: http://code.google.com/appengine/kb/general.html  .

 P.

 On Dec 21, 8:11 pm, Ikai Lan (Google) ika...@google.com wrote:
  We moved it here after Google Groups deprecated groups pages:
 
  http://code.google.com/p/googleappengine/wiki/WillItPlayInJava
 
  As a warning: this page has not been updated in a LONG time. Going
 forward,
  we'll be looking at all the resources that are currently available and
  either consolidating them or deprecating them entirely.
 
  Is this page linked to from anywhere else? I can fix the links if it's
  linked to from anywhere in the docs.
 
  --
  Ikai Lan
  Developer Programs Engineer, Google App Engine
  plus.ikailan.com | twitter.com/ikai
 
 
 
 
 
 
 
  On Wed, Dec 21, 2011 at 8:34 AM, Las Olas le...@pnambic.com wrote:
   The widely published URL for Java frameworks that are compatible with
   GAE seems to be down:
 
  http://groups.google.com/group/google-appengine-java/web/will-it-play.
 ..
 
   All attempts to reach the URL with Chrome wind-up at the group's home
   page
 
http://groups.google.com/group/google-appengine-java/
 
   Did the group content get deleted?
 
   --
   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.

 --
 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.




-- 
*Felipe Teixeira*
*Coordenador de Desenvolvimento
*
IPNET Soluções
Tel.: 55 21 3553 2717 / 21- 93302489
Rua Visconde de Inhaúma, 134, Sala 615
Centro - RJ - CEP: 20091-007
*http://www.ipnetsolucoes.com.br** *

SCJP - Sun Certified Java Programmer
SCJA - Sun Certified Java Associate
*
*

-- 
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] Pull Queue with OAuth

2011-12-30 Thread B. Anderson
I am trying to pull a task from a pull queue using an external application 
that will eventually be automated.  It sounds like the way to do this is 
using OAuth.  I have created an access token and secret token using the 
code on this page:

http://fabiouechi.blogspot.com/2011/11/using-google-oauth-java-client-to.html

Now that I have the access token, how do I go about getting a task off of 
the queue?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/leEObRVZ-0wJ.
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] jersey/jackson/jaxb java.lang.NoClassDefFoundError

2011-12-30 Thread Chuck Lega
I have put together a simple json REST service using jersey, jaxb and
jackson. It works *almost* fine... Problem: the _first_ access of the
server always ends up with the exception:
java.lang.NoClassDefFoundError: org/codehaus/jackson/xc/
JaxbAnnotationIntrospector
So it seems that gae/jersey cannot find this class. However, all calls
after this works just fine, the class then seems to be in place.
Is there some kind of loading order I should be aware of? I am
clueless, please help! :o/
/CL

-- 
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.