[appengine-java] Re: How to show the Google Development Tools dropdown?

2011-05-03 Thread Lina Qu
Hi David,

Thank you so much!

I just updated Eclipse and all works now.


On Apr 28, 8:53 am, David Chandler  wrote:
> Hi Lina,
>
> The GPE 2.3 docs were mistakenly pushed live a bit early. You can
> access the new features in the 2.3 beta version of the plugin, which
> is installed through a separate update site in Eclipse. You can find
> more info and a link to the beta plugin in this post on the GWT blog:
>
> http://googlewebtoolkit.blogspot.com/2011/04/gwtgpe-23-cloud-connecti...
>
> Or you can wait another day or two for the GWT/GPE 2.3 release, after
> which "check for updates" will work.
>
> /dmc
>
> On Apr 26, 9:55 pm, Lina Qu  wrote:
>
>
>
>
>
>
>
> > This page (link below) shows there are several new features in Google
> > App Engine.http://code.google.com/eclipse/docs/signin.html
>
> > But I can't find the sign in and other like Google API Support in my
> > Eclipse 3.6, even after "check for 
> > Updates".http://code.google.com/eclipse/docs/googleapis.html
>
> > In the first page, I cannot find the "Sign in to Google..." and the
> > Note below shows the reason, but how to fix it?
>
> > "
> > Note: On some platforms (for example, 32-bit Eclipse on 64-bit Linux),
> > signing in using the window shown above may not work. In this case, a
> > message box will appear explaining that a browser window will be
> > opened. Sign in using that browser. Once you have signed in, the
> > message box will close. Clicking cancel will abort signing in.
>
> > Thanks,
> > Lina

-- 
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]: transactional tasks cannot be named ??

2011-05-03 Thread Aswath Satrasala
Any pointers for this...

Thanks
-Aswath

On Thu, Apr 21, 2011 at 11:43 AM, Santosh kumar  wrote:

> Hi,
>
> When i run mapper, i am getting an exception, please can you suggest why it
> is throwing exception ??
>
> java.lang.IllegalArgumentException: transactional tasks cannot be named:
> TaskOptions[taskName=worker-attempt-1303365412875-0001-m-00-1--45,
> headers={}, method=POST,
> params=[com.google.appengine.api.labs.taskqueue.TaskOptions$StringValueParam@5d66aca3,
> com.google.appengine.api.labs.taskqueue.TaskOptions$StringValueParam@609a998,
> com.google.appengine.api.labs.taskqueue.TaskOptions$StringValueParam@58710f7b],
> url=/admin/mapreduce/mapperCallback, countdownMillis=null,
> etaMillis=nullretryOptions=null]
> at
> com.google.appengine.api.labs.taskqueue.QueueImpl.fillAddRequest(QueueImpl.java:146)
> at
> com.google.appengine.api.labs.taskqueue.QueueImpl.add(QueueImpl.java:352)
> at
> com.google.appengine.api.labs.taskqueue.QueueImpl.add(QueueImpl.java:335)
> at
> com.google.appengine.api.labs.taskqueue.QueueImpl.add(QueueImpl.java:320)
> at
> com.google.appengine.tools.mapreduce.MapReduceServlet.scheduleWorker(MapReduceServlet.java:815)
> at
> com.google.appengine.tools.mapreduce.MapReduceServlet.handleMapperWorker(MapReduceServlet.java:614)
> at
> com.google.appengine.tools.mapreduce.MapReduceServlet.doPost(MapReduceServlet.java:174)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
> at
> com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:66)
> at
> com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
> at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.veersoft.filter.ResetUserMessagesAndErrorsFilter.doFilter(ResetUserMessagesAndErrorsFilter.java:28)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:58)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:43)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:122)
> at
> org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
> at
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> at
> org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
> at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
> at
> com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:70)
> at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at
> com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:349)
> at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> at org.mortbay.jetty.Server.handle(Server.java:326)
> at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> at
> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> at
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
> at
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
>
> Thanks in advance...
>
> -- Santosh
>
>  --
> 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-appen

[appengine-java] Re: GAE Teams Content-Transfer-Encoding: base64 data uploads don't work.

2011-05-03 Thread Brandon Donnelson
I'm wondering if I am having operator error?

-- 
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] Help Me..!

2011-05-03 Thread Rambo
Hi friends..!
I am doing a small project in java using spreadsheet api to read
and write data's in the Google spreadsheet. I finished it
successfully.
Now i wanna to upload it to GAE



Please give me some suggestions.




Thanks in Advance

-- 
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] Help Me..!

2011-05-03 Thread Felipe Teixeira
i´m not understand,

a simple deploy to google appengine , in eclipse..

your application going to GAE.

2011/5/3 Rambo 

> Hi friends..!
>I am doing a small project in java using spreadsheet api to read
> and write data's in the Google spreadsheet. I finished it
> successfully.
>Now i wanna to upload it to GAE
>
>
>
>Please give me some suggestions.
>
>
>
>
> Thanks in Advance
>
> --
> 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*
*Desenvolvedor Java
*
IPNET - Soluções  em Informática
Tel.: 55 21 3553 2717 / 21-7805-6867
Rua Visconde de Inhaúma, 134, Sala 615
Centro - RJ - CEP: 20091-007
*http://www.ipnetsolucoes.com.br *

-- 
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] Emulating KeyFactory.keyToString in gwt?

2011-05-03 Thread Gal Dolber
Can be done?

-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
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: Objectify: IllegalAccessError

2011-05-03 Thread GeneralSlaine
Jeff,
I'm using 1.3.8 I think reading from this Jar file: appengine-api-1.0-
sdk-1.3.8.jar.
However, this version dates from october 2010, not that old!
So I have to upgrade?

BR


On 3 mei, 04:04, Jeff Schnitzer  wrote:
> Are you running with a very old GAE SDK... something before 1.4.0,
> perhaps?  Make sure you are using the latest.
>
> Jeff
>
>
>
>
>
>
>
> On Mon, May 2, 2011 at 3:16 PM, GeneralSlaine  
> wrote:
> > Hi all,
>
> > I'm a first time user of objectify and  I'm implementing the
> > intorduction (with slightly modified classes). When calling
> > ObjectifyService.begin() I already run into trouble: an
> > IllegalAccessError is thrown:
>
> >        //Some objectify Test code
> >        ObjectifyService.register(Website.class);
>
> >        Objectify ofy = ObjectifyService.begin();
>
> > Exception:
>
> > java.lang.IllegalAccessError: tried to access method
> > com.google.appengine.api.datastore.DatastoreServiceFactory.getAsyncDatastor 
> > eService(Lcom/
> > google/appengine/api/datastore/DatastoreServiceConfig;)Lcom/google/
> > appengine/api/datastore/AsyncDatastoreService; from class
> > com.googlecode.objectify.ObjectifyFactory
> >        at
> > com.googlecode.objectify.ObjectifyFactory.getRawAsyncDatastoreService(Objec 
> > tifyFactory.java:
> > 159)
> >        at
> > com.googlecode.objectify.ObjectifyFactory.getAsyncDatastoreService(Objectif 
> > yFactory.java:
> > 138)
> >        at
> > com.googlecode.objectify.ObjectifyFactory.begin(ObjectifyFactory.java:
> > 185)
> >        at
> > com.googlecode.objectify.ObjectifyFactory.begin(ObjectifyFactory.java:
> > 176)
> >        at
> > com.googlecode.objectify.ObjectifyService.begin(ObjectifyService.java:
> > 29)
> >        at com.fourture.catalog.server.UserServlet.doGet(UserServlet.java:
> > 23)\
> > 
>
> > Any idea ?
>
> > BTW: I'm implementing Objectify in the context of the following
> > discussion on avoiding Data Transfer Objects:
> >http://groups.google.com/group/google-appengine-java/browse_thread/th...
>
> > BR
>
> > --
> > 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 
> > athttp://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] Objectify: IllegalAccessError

2011-05-03 Thread Felipe Teixeira
Hi, Brother,

Your solution ;

Objectify ofy = ObjectifyService.begin();
 ObjectifyService.register(AutorizacaoDAO.class);
com.googlecode.objectify.Query q =
ofy.query(AutorizacaoDAO.class).filter("email",
email).filter("senhaautorizada", senha);

2011/5/2 GeneralSlaine 

> Hi all,
>
> I'm a first time user of objectify and  I'm implementing the
> intorduction (with slightly modified classes). When calling
> ObjectifyService.begin() I already run into trouble: an
> IllegalAccessError is thrown:
>
>//Some objectify Test code
>ObjectifyService.register(Website.class);
>
>Objectify ofy = ObjectifyService.begin();
>
>
> Exception:
>
> java.lang.IllegalAccessError: tried to access method
>
> com.google.appengine.api.datastore.DatastoreServiceFactory.getAsyncDatastoreService(Lcom/
> google/appengine/api/datastore/DatastoreServiceConfig;)Lcom/google/
> appengine/api/datastore/AsyncDatastoreService; from class
> com.googlecode.objectify.ObjectifyFactory
>at
>
> com.googlecode.objectify.ObjectifyFactory.getRawAsyncDatastoreService(ObjectifyFactory.java:
> 159)
>at
>
> com.googlecode.objectify.ObjectifyFactory.getAsyncDatastoreService(ObjectifyFactory.java:
> 138)
>at
> com.googlecode.objectify.ObjectifyFactory.begin(ObjectifyFactory.java:
> 185)
>at
> com.googlecode.objectify.ObjectifyFactory.begin(ObjectifyFactory.java:
> 176)
>at
> com.googlecode.objectify.ObjectifyService.begin(ObjectifyService.java:
> 29)
>at com.fourture.catalog.server.UserServlet.doGet(UserServlet.java:
> 23)\
> 
>
>
> Any idea ?
>
> BTW: I'm implementing Objectify in the context of the following
> discussion on avoiding Data Transfer Objects:
>
> http://groups.google.com/group/google-appengine-java/browse_thread/thread/9daa7a6d104554a5/aefa84dbd316b650#aefa84dbd316b650
>
>
> BR
>
> --
> 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*
*Desenvolvedor Java
*
IPNET - Soluções  em Informática
Tel.: 55 21 3553 2717 / 21-7805-6867
Rua Visconde de Inhaúma, 134, Sala 615
Centro - RJ - CEP: 20091-007
*http://www.ipnetsolucoes.com.br *

-- 
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] A couple of datastore questions!

2011-05-03 Thread Muhammad Ijaz Khan
Hi,
I am building an application and have used JDO for datastore for
implementing use cases. Now when I am implementing the backend machine which
is a bit complex in relationships among objects then I am facing hard times
with JDO (May be due to lack of my knowledge). I have following questions to
ask,

1. Can I use reference of objects in more than one classes? For example,
Class A is persistent and being used as foreign key in Class B and Class C.
Do I need to create unowned relationships through Key or can I use some
annotation (or something) to mark a field of type A as foreign key? When I
make a field of type A in class B, and assign an object of class A to it, it
is stored as new object as child of B :s

2. Can I use objectify for this use case only (mixing with jdo) and will it
simplify stuff or not, any experience comment?

Thanks in advance.

regards
Ijaz

-- 
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] A couple of datastore questions!

2011-05-03 Thread Luca Matteis
Owned relationships are a bit weird in my opinion. I was having your
same issue. I had a `MyImage` class that was defined inside two
different classes. This didn't work... I didn't quite understand why
and so to avoid all weirdness I decided that for more complex
relationship cases I would always use unowned relationships (defining
the Key of the reference object instead of the object itself).

So I only use owned relationships when the child object can only exist
under 1 (and only 1) parent.

Hope this helped... it's only what I experienced... I'm not a JDO expert.

Luca

On Tue, May 3, 2011 at 10:51 PM, Muhammad Ijaz Khan  wrote:
> Hi,
> I am building an application and have used JDO for datastore for
> implementing use cases. Now when I am implementing the backend machine which
> is a bit complex in relationships among objects then I am facing hard times
> with JDO (May be due to lack of my knowledge). I have following questions to
> ask,
> 1. Can I use reference of objects in more than one classes? For example,
> Class A is persistent and being used as foreign key in Class B and Class C.
> Do I need to create unowned relationships through Key or can I use some
> annotation (or something) to mark a field of type A as foreign key? When I
> make a field of type A in class B, and assign an object of class A to it, it
> is stored as new object as child of B :s
> 2. Can I use objectify for this use case only (mixing with jdo) and will it
> simplify stuff or not, any experience comment?
> Thanks in advance.
> regards
> Ijaz
>
> --
> 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] A couple of datastore questions!

2011-05-03 Thread Muhammad Ijaz Khan
This is exactly what I am doing for now but was wondering if there is a
better way and better way of loading the actual object from key. Thanks for
your comment as it reduced my loneliness :)

On Wed, May 4, 2011 at 12:03 AM, Luca Matteis  wrote:

> Owned relationships are a bit weird in my opinion. I was having your
> same issue. I had a `MyImage` class that was defined inside two
> different classes. This didn't work... I didn't quite understand why
> and so to avoid all weirdness I decided that for more complex
> relationship cases I would always use unowned relationships (defining
> the Key of the reference object instead of the object itself).
>
> So I only use owned relationships when the child object can only exist
> under 1 (and only 1) parent.
>
> Hope this helped... it's only what I experienced... I'm not a JDO expert.
>
>Luca
>
> On Tue, May 3, 2011 at 10:51 PM, Muhammad Ijaz Khan 
> wrote:
> > Hi,
> > I am building an application and have used JDO for datastore for
> > implementing use cases. Now when I am implementing the backend machine
> which
> > is a bit complex in relationships among objects then I am facing hard
> times
> > with JDO (May be due to lack of my knowledge). I have following questions
> to
> > ask,
> > 1. Can I use reference of objects in more than one classes? For example,
> > Class A is persistent and being used as foreign key in Class B and Class
> C.
> > Do I need to create unowned relationships through Key or can I use some
> > annotation (or something) to mark a field of type A as foreign key? When
> I
> > make a field of type A in class B, and assign an object of class A to it,
> it
> > is stored as new object as child of B :s
> > 2. Can I use objectify for this use case only (mixing with jdo) and will
> it
> > simplify stuff or not, any experience comment?
> > Thanks in advance.
> > regards
> > Ijaz
> >
> > --
> > 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.



Re: [appengine-java] Re: GAE Teams Content-Transfer-Encoding: base64 data uploads don't work.

2011-05-03 Thread Ikai Lan (Google)
Could just be blobstore weirdness. I don't have a chance to get to this
soon, but can you file an issue in the issues tracker? We'll categorize it
and check it out during our next scrub.

It could be operator error, but if that were the case it would mean 1. our
SDK needs to be updated to reflect behavior in production 2. We need to
update the docs.

Ikai Lan
Developer Programs Engineer, Google App Engine
Blog: http://googleappengine.blogspot.com
Twitter: http://twitter.com/app_engine
Reddit: http://www.reddit.com/r/appengine



On Tue, May 3, 2011 at 6:29 AM, Brandon Donnelson
wrote:

> I'm wondering if I am having operator error?
>
> --
> 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: GAE Teams Content-Transfer-Encoding: base64 data uploads don't work.

2011-05-03 Thread Brandon Donnelson
Thanks for looking :)

-- 
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] NoSuchMethodError totalMemory()

2011-05-03 Thread emurmur
My app started throwing exceptions right after the latest maintenance; 
 apparently Runtime.getRuntime().totalMemory() is now actually removed from 
the server runtime?  Couldn't you just return zero?

java.lang.NoSuchMethodError: 
com.google.apphosting.runtime.security.shared.intercept.java.lang.Runtime_.totalMemory(Ljava/lang/Runtime;)J
at 
com.conceptualcalculations.util.MemoryUtils.formatMemoryLog(MemoryUtils.java:23)

-- 
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] Index Names now throwing an error

2011-05-03 Thread Matt Farnell
Hi there,

I have an app in production which has been working for over a year with an
index defined like so

   






I went to make a modification to another unrelated part of the app and tried
to deploy it however it now throws the following error.

   Unable to update app: Error posting to URL: xxx

400 Bad Request

Error when parsing index.yaml:

Unable to assign value '201012' to attribute 'name':

Value 201012 for name is not of the expected type str



So existing index names that did work are now preventing app deploys??




-- 
thanks,
*Matt Farnell*
*follow on twitter *

-- 
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: NoSuchMethodError totalMemory()

2011-05-03 Thread Didier Durand
Hi,

An answer from google is needed as Runtime still is in the whitelist:
http://code.google.com/appengine/docs/java/jrewhitelist.html

So, it should provide all the methods of the regular jre class.

regards

didier

On May 4, 4:40 am, emurmur  wrote:
> My app started throwing exceptions right after the latest maintenance;
>  apparently Runtime.getRuntime().totalMemory() is now actually removed from
> the server runtime?  Couldn't you just return zero?
>
> java.lang.NoSuchMethodError: 
> com.google.apphosting.runtime.security.shared.intercept.java.lang.Runtime_.totalMemory(Ljava/lang/Runtime;)J
>         at 
> com.conceptualcalculations.util.MemoryUtils.formatMemoryLog(MemoryUtils.java:23)

-- 
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: GAE Teams Content-Transfer-Encoding: base64 data uploads don't work.

2011-05-03 Thread Brandon Donnelson
I thought I'd try maximum encoded line length and put a CR/LF at the end of 
each line of base64, so far no luck on GAE side. 

I'm changing directions for now, I'm going send my base64 images from canvas 
through RPC in chunks, and decode and write to blob on the server side. This 
will allow me track the upload and retransmit sections on failure. 

Brandon Donnelson
http://gwt-examples.googlecode.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-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] Where does the OAuth java example code go?

2011-05-03 Thread July
Hi guys:

As title, there was once a OAuth example for java at :
http://code.google.com/p/googleappengine/source/browse/#svn/trunk/java/demos/oauth

unfortunately now it's empty, so anyone know where did it go?
thanks very much.


-- 
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: Help Me..!

2011-05-03 Thread Rambo
My project is not a web application project, its purely java
project,
I want to deploy it in GAE..

On May 3, 7:17 pm, Felipe Teixeira
 wrote:
> i´m not understand,
>
> a simple deploy to google appengine , in eclipse..
>
> your application going to GAE.
>
> 2011/5/3 Rambo 
>
>
>
>
>
>
>
>
>
> > Hi friends..!
> >    I am doing a small project in java using spreadsheet api to read
> > and write data's in the Google spreadsheet. I finished it
> > successfully.
> >    Now i wanna to upload it to GAE
>
> >    Please give me some suggestions.
>
> > Thanks in Advance
>
> > --
> > 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*
> *Desenvolvedor Java
> *
> IPNET - Soluções  em Informática
> Tel.: 55 21 3553 2717 / 21-7805-6867
> Rua Visconde de Inhaúma, 134, Sala 615
> Centro - RJ - CEP: 20091-007
> *http://www.ipnetsolucoes.com.br*

-- 
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: Help Me..!

2011-05-03 Thread kartik kudada
Hi Rambo,

Have you installed  google plugin for eclipse?
If it is installed, you can upload your application from eclipse.

Regards,
kartik



On Wed, May 4, 2011 at 11:04 AM, Rambo  wrote:

> My project is not a web application project, its purely java
> project,
> I want to deploy it in GAE..
>
> On May 3, 7:17 pm, Felipe Teixeira
>  wrote:
> > i´m not understand,
> >
> > a simple deploy to google appengine , in eclipse..
> >
> > your application going to GAE.
> >
> > 2011/5/3 Rambo 
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > > Hi friends..!
> > >I am doing a small project in java using spreadsheet api to read
> > > and write data's in the Google spreadsheet. I finished it
> > > successfully.
> > >Now i wanna to upload it to GAE
> >
> > >Please give me some suggestions.
> >
> > > Thanks in Advance
> >
> > > --
> > > 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*
> > *Desenvolvedor Java
> > *
> > IPNET - Soluções  em Informática
> > Tel.: 55 21 3553 2717 / 21-7805-6867
> > Rua Visconde de Inhaúma, 134, Sala 615
> > Centro - RJ - CEP: 20091-007
> > *http://www.ipnetsolucoes.com.br*
>
> --
> 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.