[appengine-java] Re: Uploading to blobstore gives OutOfMemoryError

2010-06-22 Thread Mouseclicker
Did you try to upload a binary object like an image? It seems that app- engine has hard-coded to parse the content for multipart/form-data. The error appears when your message body is not formatted to the multipart rules and parsing fails. The stacktrace gives an indication:

[appengine-java] Re: Parent child joins in JDO queries

2010-06-22 Thread Ian Marshall
Have you looked at the new-ish GAE datastore join capability at: http://gae-java-persistence.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

[appengine-java] Re: Necessity for Java graphics

2010-06-22 Thread dflorey
This one works for me: http://www.tinyline.com/ I had to implement an app engine graphics context to make it work though. But it is fast (not too much CPU consumption) and easy to use - but it is not free. On Jun 22, 6:42 am, moissinac jcmoissi...@gmail.com wrote: On 21 juin, 11:17, dflorey

[appengine-java] Re: memcache best practice or framework

2010-06-22 Thread Toby
Hello John, Thank you for your message. I was looking at your project and indeed it does pretty much what I was looking for. I think memcache is good for basic caching problems but it could be made more efficient if it would keep most used data on the local machine memory to cut the costs for

[appengine-java] Re: Loading request timings

2010-06-22 Thread jd
BTW, should it not be necessary to minimise dependencies? Would love some more details on how this should work! e.g. do you load an entire jar on demand from some shared repo based on a hash - or individual classes? On Jun 22, 10:39 am, John Patterson jdpatter...@gmail.com wrote: Hi Toby,

[appengine-java] Regarding Entity Group

2010-06-22 Thread MANISH DHIMAN
Hi All Please provide me some detail information about entity group. -- 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

Re: [appengine-java] Re: memcache best practice or framework

2010-06-22 Thread John Patterson
Hey Toby, yes that is exactly what Stick tries to do - by storing in the datastore your data can survive memcache restarts while having the speed of in-memory access for some data. I have always hated with a passion the APIs of JCache and EHCache. On 22 Jun 2010, at 14:43, Toby wrote:

Re: [appengine-java] Parent child joins in JDO queries

2010-06-22 Thread John Patterson
If you are not required to use JDO consider one of the GAE specific persistence libraries. Both Twig and Objectify support embedding collections of entities in a single container entity which gives the ability to query using properties of the container or the contained. I believe Twig is

[appengine-java] Re: Creation of SQLite on AppEngine

2010-06-22 Thread Maulik Gordhandas
I am able to create in memory sqlite database. Now my concern is how do I send the in-memory db to http stream. Is it possible to retrieve the db from the memory? Thanks On Jun 21, 10:38 pm, Ikai L (Google) ika...@google.com wrote: *It's not clear what you are doing here. If you need

[appengine-java] Re: Regarding Entity Group

2010-06-22 Thread Simon
I suggest you read the documentation for storing data, in both the Python and Java sections. For example, the Python sections gives a good overview of Entity Groups here - http://code.google.com/appengine/docs/python/datastore/keysandentitygroups.html On Jun 22, 9:49 am, MANISH DHIMAN

[appengine-java] Appache Commons StringEscapeUtils - NoClassDefFoundError

2010-06-22 Thread klonq
I am using org.apache.commons.lang.StringEscapeUtils in my project and running into errors on the development server. The exception I receive is java.lang.NoClassDefFoundError, from what I understand this error is thrown when the class is found at compiletime but cannot be found at runtime.

Re: [appengine-java] Appache Commons StringEscapeUtils - NoClassDefFoundError

2010-06-22 Thread John Patterson
Make sure the jar is also in your war/WEB-INF/lib directory On 22 Jun 2010, at 21:41, klonq wrote: I am using org.apache.commons.lang.StringEscapeUtils in my project and running into errors on the development server. The exception I receive is java.lang.NoClassDefFoundError, from what I

Re: [appengine-java] How to make Eclipse AppEngine+GWT plugin use proxy for update check.

2010-06-22 Thread Rajeev Dayal
Can you file an issue for this (passing DevAppServer arguments when running with GWT)? As for a workaround, can you try adding the following JVM arguments to your launch configuration: -Dhttp.proxyHost=http proxy hostname -Dhttp.proxyPort=http proxy port -Dhttps.proxyHost=https proxy hostname

[appengine-java] HttpClient is not supported?

2010-06-22 Thread Lu
Hi, I am trying to use HttpClient to extract the urls. It works in normal java application but not under the context of web application. HttpClient client = new HttpClient(); GetMethod method = new GetMethod(url); I will get error says 'java.lang.NoClassDefFoundError: java.net.Socket is a

Re: [appengine-java] Re: Regarding Entity Group

2010-06-22 Thread Dormand
If u want to perform one more different entity save,update,delete operation in a single transaction then you need to set a parent key to create same entity group. In java you can use KeyFactory Example: tx.begin(); // Here root is a saved entity. You have to load that entity when you want to

[appengine-java] Administration Console Custom Pages

2010-06-22 Thread WillNa
Hello, I'm trying to add an admin page to the admin console, following http://code.google.com/appengine/docs/java/config/appconfig.html#Administration_Console_Custom_Pages Unfortunatly, whatever I try, nothing more is visible on /_ah/admin This is what I added to my appengine-web admin-console

Re: [appengine-java] DataStore, ApplicationError: 3: Unexpected error, please try again

2010-06-22 Thread Alfred Fuller
This can happen when you add the same entity to the put(or delete) request more than once (same by .equals). If this is the case, your put actually succeeded. This should be fixed soon, however I would suggest checking your code to figure out why you are putting the same entity multiple times (if

[appengine-java] Local Persistance of Data

2010-06-22 Thread Prateek
Dear GAE Team, I have been running my server locally and there are lots of data that has been persisted using the persistance manager. Now that i want to have a look @ them and deleted those Local ones. How do i do that? I can view , and delete the one i upload to the app server but not the one i

[appengine-java] junit and local_db.bin

2010-06-22 Thread Acerezo
Hello all, I have been running my server locally with JUNIT all is ok but when I want to see the data of the local_db.bin file from localhost: I don´t see the data (entities, etc) Anyone can help me, please? Thanks. -- You received this message because you are subscribed to the Google

Re: [appengine-java] junit and local_db.bin

2010-06-22 Thread Ronmell Fuentes
Hi Acerezo remember the Data stored in dataStore is schemaless so, as far as I know, only GAE knows how to deal with it. When I want to see the data from the dataStore I use the classes written in java in order to manage the data in Data Store. in the other hand, you can use Restlets running on

Re: [appengine-java] junit and local_db.bin

2010-06-22 Thread Andrés Cerezo
But I can see the data created with the servlets with http://localhost:/_ah/admin, but not when I the data are created with junit. 2010/6/22 Ronmell Fuentes ringe...@gmail.com Hi Acerezo remember the Data stored in dataStore is schemaless so, as far as I know, only GAE knows how to deal

Re: [appengine-java] junit and local_db.bin

2010-06-22 Thread Ronmell Fuentes
is your JUnit well configured?? 2010/6/22 Andrés Cerezo acerezoguil...@gmail.com But I can see the data created with the servlets with http://localhost:/_ah/admin, but not when I the data are created with junit. 2010/6/22 Ronmell Fuentes ringe...@gmail.com Hi Acerezo remember the

Re: [appengine-java] junit and local_db.bin

2010-06-22 Thread Andrés Cerezo
I think so, When I executed all is right, however I don't execute teardown method because If I executed this the data are deleted. Also everytime I executed JUNIT the local_db.bin file is bigger than the last time so It has the data. 2010/6/22 Ronmell Fuentes ringe...@gmail.com is your JUnit

Re: [appengine-java] junit and local_db.bin

2010-06-22 Thread Andrés Cerezo
No, perhaps have yout got an example? 2010/6/22 Ronmell Fuentes ringe...@gmail.com have you tried to retrieve the data from your app, I mean, not using the http/_ah/admin console but using your own application, a class written in java to show the data, does it work?? 2010/6/22 Andrés

Re: [appengine-java] junit and local_db.bin

2010-06-22 Thread Ronmell Fuentes
Yup, for sure. Let's suppose you have an entity called domain which has the following attributes: 1. Key 2. Name public void listAllDomain(){ List Domain results; Query query=factory.newQuery(Domain.class); try{ results=(ListDomain) query.execute();

Re: [appengine-java] Re: Creation of SQLite on AppEngine

2010-06-22 Thread Ikai L (Google)
You'll have to consult the library you used to create the in-memory database to figure out how to do that. As far as creating an outputstream - this is just a matter of setting a content type and outputstream. Standard servlet:

[appengine-java] Problem JDO

2010-06-22 Thread lisandrodc
Hi! I have a problem with JDO at persist a class: 1. La clase model.Empleado no es s epuede hacer persistente. Esto significa que no esta analizada, o que la version analizada no esta en el CLASSPATH (o antes se encuentra una version que no esta analizada), o que el Meta-Data/Annotaciones de

[appengine-java] Signing into multiple Apps Simultaneously

2010-06-22 Thread terran
Hey fellas, I've created multiple applications for basic functions, blog/forums/ chat that I want to share across 3 or 4 domain specific applications. Is there a way that I can have a user sign into one application and also automatically sign them into the other applications? So that way if

[appengine-java] how to set cookie policy?

2010-06-22 Thread mingbo
I need a crawler, but when I use URL fetch service I got below warning, and I cannot access the website 22-Jun-2010 4:38:43 PM org.apache.commons.httpclient.HttpMethodBase processCookieHeaders WARNING: Cookie rejected: $Version=0; PhoLIVEServerID=1025; $Path=/; $Domain=.wiley.com. Domain

[appengine-java] BD in Appgoogle

2010-06-22 Thread lisandrodc
I have a doubt for use the bd. Some way exists for view the local_db(without dates binaries). Regards Lisandro -- 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

Re: [appengine-java] HttpClient is not supported?

2010-06-22 Thread Ikai L (Google)
Take a look at URLFetch: http://code.google.com/appengine/docs/java/urlfetch/overview.html On Tue, Jun 22, 2010 at 9:36 AM, Lu chenglu.annal...@gmail.com wrote: Hi, I am trying to use HttpClient to extract the urls. It works in normal java application but not under the context of web

Re: [appengine-java] Problem JDO

2010-06-22 Thread Andrés Cerezo
Si estás en eclipse tienes que ir a las propiedades de appengine y en la opción ORM añadir o las carpetas que tienen la clase que quieres hacer persistente o cada clase individualmente. Saludos. If you are in eclipse you have to go to the properties of appengine and ORM option to add or folders

Re: [appengine-java] Signing into multiple Apps Simultaneously

2010-06-22 Thread Patrick Cornelißen
Hi! 2010/6/22 terran terran.le...@gmail.com: Hey fellas, I've created multiple applications for basic functions, blog/forums/ chat that I want to share across 3 or 4 domain specific applications. Is there a way that I can have a user sign into one application and also automatically sign