[appengine-java] Re: Google checkout and GAE

2011-04-28 Thread Patrick Jackson
I'm just having problems getting the custom order processing tutorial to 
work.
  Has 
anyone had luck with this?  I get the following errors:

Error for /myapp
java.lang.NoClassDefFoundError: 
com/google/checkout/sdk/commands/EnvironmentInterface
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2406)
at java.lang.Class.getConstructor0(Class.java:2716)
at java.lang.Class.newInstance0(Class.java:343)
at java.lang.Class.newInstance(Class.java:325)..

Any suggestions?  Just trying to receive notifications of new purchases at this 
point.

-- 
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: Google checkout and GAE

2011-03-22 Thread Jeff Schnitzer
Take a step back for a second:

Can someone explain why the SDK doesn't work *at all*?  The last
checkin was September 2010.  There are several missing classes; it's
broken out of the box.

Jeff

On Tue, Mar 22, 2011 at 8:31 AM, WillSpecht  wrote:
> Can someone explain why the SDK doesn't work on app engine.  Does it
> use a library that's not on the white list? Is it just broken in
> general and doesn't work well anywhere?
>
> On Mar 22, 7:02 am, Tarun Jain  wrote:
>> Hello Will,
>>
>> I am assuming you are using the Google Checkout integration java API. Though
>> I don't remember the exact details but I recall having run into similar
>> issues with Google Checkout when I was doing some work for
>> Exxtensions and
>> it turned out that it was the JAXB context creation that accounted for
>> almost all the delay. So it is not really an issue with checkout being slow,
>> but the client library just isn't optimized. Ultimately, I had to move the
>> creation of the context to the static block apart from several other minor
>> changes here and there.
>>
>> Hope that helps.
>>
>> Tarun
>>
>> On Mon, Mar 21, 2011 at 10:34 PM, WillSpecht  wrote:
>> > I am trying to integrate Google checkout with my GAE app.  I am
>> > hitting 2 big bottle necks.  exampleNotificationServelet is using a
>> > ton of CPU and usually fails with a time out if starting a new
>> > instance.  I'm reading a few values from the merchant data and then
>> > doing one write to the data store.  I don't see what can be taking
>> > that much time.
>>
>> > It is also taking forever to create a cart and redirect to the Google
>> > checkout page.  It takes almost 15 seconds once pressing the checkout
>> > button.  I have narrowed this down to the build and postCart methods.
>> > When I step through while debugging on my local host, these methods
>> > take about 10-12 seconds to complete.  Is this normal?
>>
>> > I am having trouble debugging exampleNotificationServelet, since I
>> > don't know what checkout is sending to my server.  Can anyone explain
>> > a good way to fake a notification to the localhost running
>> > exampleNotificationServelet? So I can set break points and see what is
>> > taking up so much CPU.
>>
>> > --
>> > 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.
>
>

-- 
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: Google checkout and GAE

2011-03-22 Thread WillSpecht
Can someone explain why the SDK doesn't work on app engine.  Does it
use a library that's not on the white list? Is it just broken in
general and doesn't work well anywhere?

On Mar 22, 7:02 am, Tarun Jain  wrote:
> Hello Will,
>
> I am assuming you are using the Google Checkout integration java API. Though
> I don't remember the exact details but I recall having run into similar
> issues with Google Checkout when I was doing some work for
> Exxtensions and
> it turned out that it was the JAXB context creation that accounted for
> almost all the delay. So it is not really an issue with checkout being slow,
> but the client library just isn't optimized. Ultimately, I had to move the
> creation of the context to the static block apart from several other minor
> changes here and there.
>
> Hope that helps.
>
> Tarun
>
> On Mon, Mar 21, 2011 at 10:34 PM, WillSpecht  wrote:
> > I am trying to integrate Google checkout with my GAE app.  I am
> > hitting 2 big bottle necks.  exampleNotificationServelet is using a
> > ton of CPU and usually fails with a time out if starting a new
> > instance.  I'm reading a few values from the merchant data and then
> > doing one write to the data store.  I don't see what can be taking
> > that much time.
>
> > It is also taking forever to create a cart and redirect to the Google
> > checkout page.  It takes almost 15 seconds once pressing the checkout
> > button.  I have narrowed this down to the build and postCart methods.
> > When I step through while debugging on my local host, these methods
> > take about 10-12 seconds to complete.  Is this normal?
>
> > I am having trouble debugging exampleNotificationServelet, since I
> > don't know what checkout is sending to my server.  Can anyone explain
> > a good way to fake a notification to the localhost running
> > exampleNotificationServelet? So I can set break points and see what is
> > taking up so much CPU.
>
> > --
> > 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.