[appengine-java] how to save and read large content of strings to GAE JDO object

2009-12-13 Thread noelo
As the limitated use of String in GAE,only contain 500 characters,the long text could only save as the type of (com.google.appengine.api.datastore.Text).How to convert them each other while shift from read to show and read to save?There seems no so many cases or demos for us,the beginer to learn.Wh

[appengine-java] com.google.appengine.api.datastore.DatastoreNeedIndexException

2009-12-13 Thread Dmitry Anipko
Hello, our application recently started producing exceptions like: com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found.. or Server error 1: com.google.appengine.api.datastore.DatastoreNeedIndexException: no matching index found..

Re: [appengine-java] JSF 2.0.1 on GAE | java.lang.RuntimeException: java.io.NotSerializableException: com.sun.faces.context.flash.ELFlash

2009-12-13 Thread Derek Berube
What does the web page where you get the java.io.NotSerializableException look like? I tried playing around with the javax.faces.context.Flash features on the http://jsf2gae.appspot.com/ site. The first page, flash.xhtml, has the following source: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict

[appengine-java] Re: where I should put the Task Queue code?

2009-12-13 Thread jd
Hi, task queues are just a way to call a url some time in the future. As Jason mentioned above, for a tasks "handler" you should probably just create a servlet (extend HttpServlet) because you do not need to generate a nice webpage as the result of the call - no one will see it. In the HttpServlet

Re: [appengine-java] SQL front end

2009-12-13 Thread Shawn Brown
> I'd like to use the GAE more like a conventional database, eg., I'd > like to be able to send very simple INSERT, UPDATE, DELETE and even > CREATE TABLE statements to my app via HTTP and have them processed. > Does anyone know of available product or code that does anything > similar, or is anyon

Re: [appengine-java] GAE for few requests & high processing

2009-12-13 Thread Shawn Brown
> My Java App anticipates few requests, but a lot of processing. Hence > it was designed to be multi-threaded. Since the multiple threads are > not allowed in GAE & max request processing time is only 30 secs with > Task Queues, I'm looking at my options: > 1. How do you develop high background pro

[appengine-java] Log time offset configuration?

2009-12-13 Thread Jorge
My GAE logs are timestamped with a -0800 offset. Is there a way to control the offset? For instance, I'd prefer my logs -0600 (my local time) or - (UTC). How/Where would I configure that? Thanks, Jorge Gonzalez -- You received this message because you are subscribed to the Google Groups "G

[appengine-java] Re: where I should put the Task Queue code?

2009-12-13 Thread John V Denley
Well put Rusty, thats exactly the frustration im having!!! LOL On Dec 13, 9:42 pm, Rusty Wright wrote: > What method gets called in your code when your app receives a GET request?   > Or a POST request?  I think that's what you're looking for.  Unfortunately > the documentation for these framewo

Re: [appengine-java] Re: How to define parent persistent class without identity field

2009-12-13 Thread Rusty Wright
Another way you could look at is that by using things like customerId and accountId as your database primary keys you're mixing your business stuff with the database persistence stuff. If you create a primary key in the base class and call it something like id, you can still have the accountId

Re: [appengine-java] Re: where I should put the Task Queue code?

2009-12-13 Thread Rusty Wright
What method gets called in your code when your app receives a GET request? Or a POST request? I think that's what you're looking for. Unfortunately the documentation for these frameworks sometimes tries to sugar coat things and hide ("abstract away") these low level details, or they assume it

[appengine-java] Re: where I should put the Task Queue code?

2009-12-13 Thread John V Denley
LOL - damn... though it shouldnt matter whats being used for the front end reallymaybe Im asking the wrong question!! Does anyone else have any idea how to explain what the entry point is within the java code, or where the code is that actually executes what the task queue is supposed to do? D

[appengine-java] Re: How to define parent persistent class without identity field

2009-12-13 Thread Yegor
Thanks for your reply. I guess that's what I will do in my next app. However, in the existing app the identity fields are already defined in the subclasses, and they have different names too, e.g. Account would have accountId, Customer would have customerId, so I cannot move the ID field to the roo

Re: [appengine-java] How to query user in the datastore

2009-12-13 Thread Rusty Wright
The USER('a...@gmail.com') part looks strange to me. That syntax says to me that there's a database function USER(), which I'm guessing there is not. I'm thinking you want to do something like select ... where user.email = 'aaa.gmail.com' Leon wrote: > Hi All, > > I stored an entity in

Re: [appengine-java] Re: where I should put the Task Queue code?

2009-12-13 Thread Rusty Wright
Heh, I'm on the flip side; I don't know anything about GWT. John V Denley wrote: > Thanks for this Rusty, Im not sure I understand all of it right away > (perhaps with more investigation I will work it out) > However Its worth mentioning that as far as I know Im not using Spring > or Stripes or S

Re: [appengine-java] Re: eclipse plugin and maven?

2009-12-13 Thread Rusty Wright
Thanks; I looked at that as well. If I remember correctly it hasn't been updated since May of this year. Yoichi wrote: > Google App Engine has a Maven Plugin project. > > http://code.google.com/p/maven-gae-plugin/ > > Unfortunately there is no manual and I can't figure out how to use it, > wh

[appengine-java] Re: Blacklist creation error on boot

2009-12-13 Thread Yoichi
I have the same problem, after Apple's Software Update suggested that a new update for Java 1.6.0 is available and I have told it to update. I have restarted the system just in case, but there is no difference. I am using Eclipse Galileo with GAE SDK and Mac OS X 10.6.1. After the update, when I

[appengine-java] GAE for few requests & high processing

2009-12-13 Thread Ronin
hi, My Java App anticipates few requests, but a lot of processing. Hence it was designed to be multi-threaded. Since the multiple threads are not allowed in GAE & max request processing time is only 30 secs with Task Queues, I'm looking at my options: 1. How do you develop high background processi

[appengine-java] Problem uploading App: 403 Forbidden You do not have permission to modify

2009-12-13 Thread Tej
I am new to App Engine I am trying to upload my application to App Engine Using Eclipse. I getr this error :) I read all the document I have made necessary changes to appengine- web.xml. But I get this error :( I am administrator, I am entering my password is correct, in the site it list me as an

[appengine-java] Problem uploading App: 403 Forbidden You do not have permission to modify

2009-12-13 Thread Tej
I am new to App Engine I am trying to upload my application to App Engine Using Eclipse. I getr this error :) I read all the document I have made necessary changes to appengine- web.xml. But I get this error :( I am administrator, I am entering my password is correct, in the site it list me as an

[appengine-java] Re: Blacklist creation error on boot

2009-12-13 Thread raymund
Same problem here. Since I am very "green" here, I have no ideas how it happened. raymund On Dec 10, 8:30 pm, Josh Moore wrote: > After upgrading to the latest gems I get this message in my log files: > > Dec 10, 2009 12:22:44 PM > com.google.appengine.tools.development.agent.impl.BlackListini

[appengine-java] Re: eclipse plugin and maven?

2009-12-13 Thread Yoichi
Google App Engine has a Maven Plugin project. http://code.google.com/p/maven-gae-plugin/ Unfortunately there is no manual and I can't figure out how to use it, what else may be necessary, how to configure them, what's the relationship with Apache Eclipse Maven plugins. There are sample Project t

[appengine-java] Re: Sending mail with the mail api

2009-12-13 Thread GregD
I'm having the exact same problem. Can someone from gae help out here? On Dec 11, 2:41 pm, Werner Kok wrote: > Hi, > > Any news on this issue, I'm having the same problem in my deployed > application. > > Thanks! > Werner > > On Dec 2, 5:30 pm, Ray wrote: > > > > > Hi Jason, > >           i hav

[appengine-java] Cloud2db (Universal database for cloud computing)

2009-12-13 Thread Sandeep
Dear member, My name is Sandeep Sathaye. I am a founder of a company called Cloud2db. We have developed a product, which allows for an immediate adaption of cloud database technologies into your enterprise technology stack. This is truly a plug-and-play into the cloud database technologies. What

Re: [appengine-java] JSF 2.0.1 on GAE | java.lang.RuntimeException: java.io.NotSerializableException: com.sun.faces.context.flash.ELFlash

2009-12-13 Thread Derek Berube
Joe, Your web.xml looks good and a quick look at the JSF RI source code shows that it is not Serializable (I just peeked at the JSF 2.0.2 code which was released on the 10th and the class isn't Serializable there). As described in the source code for the javax.faces.context.Flash (http://www.

[appengine-java] How to query user in the datastore

2009-12-13 Thread Leon
Hi All, I stored an entity in the datastore and it has a property whose type is "User". I am trying to query all the records belongs to a specific user. However, I cannot get it done. In the data viewer, the User property seems have string content but it is not! In data viewer, I can use the follo

[appengine-java] Re: where I should put the Task Queue code?

2009-12-13 Thread John V Denley
Thanks for this Rusty, Im not sure I understand all of it right away (perhaps with more investigation I will work it out) However Its worth mentioning that as far as I know Im not using Spring or Stripes or Struts (not even sure what any of these are!) I am using native GWT (v2.0)/GAE (v1.2.8) and

[appengine-java] Re: Logging in JUnit tests

2009-12-13 Thread a.maza
I just checked the DN docs and was able to answer this (dumb) question myself. DN's logging can be configured using its logging categories. On 13 Dez., 11:34, "a.maza" wrote: > thanks for your help. using logback for everything through the slf4j > bridges is really an improvement. > > I just a s

[appengine-java] Re: Why not use integer primary keys?

2009-12-13 Thread Hershiv Haria
Thanks for the feedback guys. I'll try with a long and assign it using integers, hopefully this should work. Hershiv -- 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...@google

[appengine-java] Re: Logging in JUnit tests

2009-12-13 Thread a.maza
thanks for your help. using logback for everything through the slf4j bridges is really an improvement. I just a slight problem remaining: now datanucleus logs everything through org.datanucleus.util.Log4JLogger.debug.58: ... which does not allow for a fine-grained configuration. has anybody exp

[appengine-java] Re: How to define parent persistent class without identity field

2009-12-13 Thread datanucleus
With all persistence standards, the identity field(s)/property(s) have to be in the base persistent class. -- 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.