[appengine-java] Re: Robot copy to clipboard

2009-12-28 Thread m seleron
Hi, I think that I should evade using the one not explained in the whitelist. Please refer to this link. http://code.google.com/intl/us/appengine/docs/java/jrewhitelist.html I think it's possible to request the following links helpful. http://groups.google.com/group/google-appengine-java/browse_

Re: [appengine-java] Newbie HttpSession questions

2009-12-28 Thread Jess Evans
The memcache is volatile without a well defined contract for expiration, so it alone is not sufficient to support session behavior. A memcached entity is more like a SoftReference in contract. Well a globally shared SoftReference with, presumably, some cross JVM network serialization overhead (t

Re: [appengine-java] Wrong calculation of week in App Engine

2009-12-28 Thread Don Schwarz
No problem. And yeah, I used the word "bug" loosely -- I agree that this is just missing functionality. On Mon, Dec 28, 2009 at 6:02 PM, Raphael André Bauer < raphael.andre.ba...@gmail.com> wrote: > On Mon, Dec 28, 2009 at 11:34 PM, Don Schwarz wrote: > > The bug I referenced is definitely stil

Re: [appengine-java] Wrong calculation of week in App Engine

2009-12-28 Thread Raphael André Bauer
On Mon, Dec 28, 2009 at 11:34 PM, Don Schwarz wrote: > The bug I referenced is definitely still present up to at least Java > 1.6.0_10 .  I get "200901" when I run this code on my local Sun Java > 1.6.0_10 JDK with a timezone of CST for 1262000152901L. > The bug is that it's returning a value of "

[appengine-java] Newbie HttpSession questions

2009-12-28 Thread Paul Jacobs
HttpSession seems to be using the datastore by default in my app. Can it be made to use memcache? I have not used memcache yet, so I hope this isn't a daft question... -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to th

[appengine-java] Using UserService credentials with a SpreadsheetService

2009-12-28 Thread zackmac
In my GAE/J web application, users authenticate via their google account. I check to see they've signed into google via this code in my jsp: UserService userService = UserServiceFactory.getUserService(); User user = userService.getCurrentUser(); if (user == null) response.sendRedi

Re: [appengine-java] Entity copy/duplication/replication

2009-12-28 Thread Ikai L (Google)
You have a couple of options here: - Bulk export/import using the Python bulkloader - Create an administrative action that invokes the task queue App Engine datastore is not backed by SQL, so you don't have a lot of the convenience statements you would otherwise have. You'll have to solve the pro

Re: [appengine-java] Some suggestions regarding the "not support multiple parent key provider fields" JDOexception

2009-12-28 Thread Ikai L (Google)
Hi Mike, Can you file an issue with our issue tracker? http://code.google.com/p/googleappengine/issues/list On Tue, Dec 22, 2009 at 3:39 PM, Mike wrote: > Hi, > > I am playing about with JDO, creating objects, relationship, etc. I > have a set of unit tests to make sure that what I am creatin

Re: [appengine-java] Error in Production Datastore Explorer

2009-12-28 Thread Ikai L (Google)
What is your application ID? On Tue, Dec 22, 2009 at 2:18 PM, David Fuelling wrote: > Hello, > > I am getting an error in the Datastore Explorer (in the GAE control > panel: https://appengine.google.com/datastore/explorer) when I try to > browse Entities of a certain kind. > > Wierdly, it's only

Re: [appengine-java] Re: Strange exception from JDO - Please help

2009-12-28 Thread Ikai L (Google)
Can you post a stack trace? On Sun, Dec 20, 2009 at 11:43 AM, Michael Chan wrote: > Sorry I forgot to say that I get No such object exception when the > test is ran. > > Michael > > On 20 Dec 2009, at 18:53, Mike wrote: > > > Hi, > > > > I am a newbie to GAE and it's the first time I try out the

Re: [appengine-java] How to architect the following persistence problem

2009-12-28 Thread Ikai L (Google)
Is there a reason you want to avoid hard coding roles? I can certainly understand from an OO purists perspective why that can leave a nasty aftertaste, but if you have a finite set of roles, it isn't the worst thing in the world. In fact, it may simplify your overall design. To me, join classes whe

Re: [appengine-java] Wrong calculation of week in App Engine

2009-12-28 Thread Don Schwarz
The bug I referenced is definitely still present up to at least Java 1.6.0_10 . I get "200901" when I run this code on my local Sun Java 1.6.0_10 JDK with a timezone of CST for 1262000152901L. The bug is that it's returning a value of "200901" instead of "201001" for time points that occur in 200

Re: [appengine-java] JavaMail: AccessControlException warning

2009-12-28 Thread Ikai L (Google)
No, this is a harmless exception that seems to fire off when an app is loaded from a cold start. There's some chatter about this here: https://groups.google.com/group/google-appengine-java/browse_thread/thread/e01814b8ceaf3e59?pli=1 On Sun, Dec 20, 2009 at 7:56 AM, Pion wrote: > I am following t

[appengine-java] Re: Datastore W/O JDO or JPA??

2009-12-28 Thread Iqbal Yusuf Dipu
@jd and @ vbart thanks for your input. I have also found Objectify, it feels RESTful. http://code.google.com/p/objectify-appengine/ People please post more projects (if there are more) so that we can create a list of JDO/JPA alternatives here. Thanks. Iqbal -- You received this message becau

Re: [appengine-java] Wrong calculation of week in App Engine

2009-12-28 Thread Raphael André Bauer
On Mon, Dec 28, 2009 at 6:04 PM, Don Schwarz wrote: > I suspect that WEEK_OF_YEAR and YEAR do not generally behave the way you > want.  See this bug for more details: > http://bugs.sun.com/view_bug.do?bug_id=4267450 > As for why this works for you locally and not when deployed to App Engine, I > d

[appengine-java] Testing mail service in development mode

2009-12-28 Thread Marcel Overdijk
As GAE does not send out mails in development server, I'm wondering how others are testing this. Just go live and hope it works? -- 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-

[appengine-java] Re: hijacked domain

2009-12-28 Thread Didier Girard
The workaround works for me. Thanks, Didier On Dec 28, 4:49 pm, Don Schwarz wrote: > Here's an update that includes a workaround: > > http://www.google.com/support/forum/p/Google+Apps/thread?tid=66513228... > > > > On Mon, Dec 28, 2009 at 4:55 AM, Roman wrote: > > I just fixed it and my sitehttp

[appengine-java] "A server error has occurred." message in GAE console

2009-12-28 Thread Nikolay Gorylenko
http://appengine.google.com/datastore/explorer?app_id=sz-dashboard&viewby=kind&kind=PersonEntity - this URL still causes an error "Server Error A server error has occurred. Return to Applications screen »" Hi Nikolay. What are your application IDs? - Jason On Tue, Oct 20, 2009 at 12:34 AM, Nikola

[appengine-java] Re: 401 error

2009-12-28 Thread Max
I made mistake in subject line. 405 not 401 On Dec 28, 9:45 pm, Max wrote: > I am developing bulk uploader. > I delete all objects from datastore and upload data then delete and > upload again. > > Recently I reached limit. > > So I was invited to join new "paid" application created on another >

[appengine-java] 401 error

2009-12-28 Thread Max
I am developing bulk uploader. I delete all objects from datastore and upload data then delete and upload again. Recently I reached limit. So I was invited to join new "paid" application created on another google account. I uploaded my project but my servlet returns 405 (Method Not Allowed) erro

Re: [appengine-java] Re: GAE roadmap for 2010

2009-12-28 Thread Ikai L (Google)
Not at all. As Phillipe mentions, voting on issues helps us a lot when prioritizing fixes. As far as "big targets" go, we'll announce them and update the roadmap when it becomes clear what they are. This'll likely happen sometime in Q1 2010. There are a few things which we are always looking at but

Re: [appengine-java] Code does not run server side.

2009-12-28 Thread Ikai L (Google)
Do you have a stack trace or an error? What are the visible symptoms of your problems running in production? On Thu, Dec 24, 2009 at 7:50 AM, Bert Peters wrote: > Some code, that i created and tested using Eclipse and the google > plugin, seems not to run while installed on the App Engine, no mat

Re: [appengine-java] JDO Mapping issue : A parent cannot be established or changed once an object has been persisted.

2009-12-28 Thread Ikai L (Google)
Parent relationships cannot be established after an object has been saved because the parent Key information is saved in the Child Key as a prefix. If an Artist is the parent of a Song, your Song key will looking something like this unencoded (this is just a pseudo-key): Artist(Madonna):Song(Papa

Re: [appengine-java] Re: JDO Query for properties with null values

2009-12-28 Thread Ikai L (Google)
You should be able to query for a null value, but you will not be able to query for an empty value. What is the query you are issuing? What is this returning? On Wed, Dec 23, 2009 at 8:29 AM, dantuluri wrote: > I am new GAE and I need some help. Is it possible to query for > entities with a prop

Re: [appengine-java] 1K results query limit removed?

2009-12-28 Thread Don Schwarz
You can get more than 1K entities as long as you iterate over them. You just can't fetch more than 1K entities in a single batch (e.g. via PreparedQuery.asList()). On Mon, Dec 28, 2009 at 3:54 AM, Stas Chizhov wrote: > Hi, > > I'm able to get much more than just 1K entities in one query (I was

[appengine-java] Re: What's the right way to use PersistenceManager?

2009-12-28 Thread patr...@kodova.com
I playing around with GWT RPC & App Engine and was wondering the same thing today and I ended up using a ThreadLocal.Also I am going to do some refactoring it to make it work with dependency injection so I can reuse it in the future. Pros: * I have one PersistenceManager per RPC request. * Less

[appengine-java] Cannot install app engine plugin in eclipse 3.5 (Galileo)

2009-12-28 Thread Uros
Hello, When I try to install app engine plugin in eclipse I get the following error: An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=). Unable to re

[appengine-java] Using Castor with GAE

2009-12-28 Thread marwen
Hello, I'm trying to use Castor in the server side of an appengine application in order to initialize the datastore with xml-performed data. I put the xml init file in the war directory and I add castor jars and its dependencies in the war/lib directory. But I got something like that : AccessDenied

Re: [appengine-java] AppEngine Blob data type limits

2009-12-28 Thread Don Schwarz
Datastore Blob fields are limited to approximately 1M each: http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/datastore/Blob.html If you need to store data larger than 1M, you'll need to use the new Blobstore API: http://code.google.com/appengine/docs/java/blobstore/ Y

Re: [appengine-java] Wrong calculation of week in App Engine

2009-12-28 Thread Don Schwarz
I suspect that WEEK_OF_YEAR and YEAR do not generally behave the way you want. See this bug for more details: http://bugs.sun.com/view_bug.do?bug_id=4267450 As for why this works for you locally and not when deployed to App Engine, I don't have a satisfactory answer. Have you verified that the

Re: [appengine-java] Re: hijacked domain

2009-12-28 Thread Don Schwarz
Here's an update that includes a workaround: http://www.google.com/support/forum/p/Google+Apps/thread?tid=66513228ad68b941&hl=en On Mon, Dec 28, 2009 at 4:55 AM, Roman wrote: > I just fixed it and my site http://www.dailydev.org is back! > > What I did was, that I disabled Web Pages service in

Re: [appengine-java] Re: wrong redirection to google sites

2009-12-28 Thread Don Schwarz
Here's an update on this issue that includes a workaround: http://www.google.com/support/forum/p/Google+Apps/thread?tid=66513228ad68b941&hl=en On Mon, Dec 28, 2009 at 4:53 AM, Roman wrote: > I just fixed it and my site http://www.dailydev.org is back! > > What I did was, that I disabled Web Pag

Re: [appengine-java] Re: Scope of datastores -- accessible across multiple GAE applications?

2009-12-28 Thread Sandeep Sathaye
An abstraction layer is required on top of Google Bigtable to achieve this kind of functionality. We are trying to achieve this through JDBC & SQL route. Please check out this link (http://www.cloud2db.com). On Sun, Dec 27, 2009 at 11:29 PM, Riyad wrote: > Michael, > > I'm not sure I follow -- I

Re: [appengine-java] Way to enforce Appengine Whitelist in Eclipse?

2009-12-28 Thread Miguel Méndez
The Google Plugin for Eclipse provides that feature. On Sat, Dec 26, 2009 at 11:47 PM, Dieter Krachtus < dieter.krach...@googlemail.com> wrote: > Hi, > > is there a way to enforce the Appengine Whitelist in Eclipse? I would > like to get a little Error-Icon as so

Re: [appengine-java] Re: Data Nucleus Enhancer Exception

2009-12-28 Thread Vik
Hie so i see below exceptions. Please reply how can i make sure to avoid this issue. I tried deleting all the libs from WEB-INF/lib folder and when i restart eclipse i get to see all appearing again automatically and the below exception in the log. java.lang.RuntimeException: Unexpected exception

[appengine-java] AppEngine Blob data type limits

2009-12-28 Thread Miroslav Genov
Hello, Does anyone knows why I'm getting the following exception when Blob field is used ? The documentation doesn't mention any limits for that data type. java.lang.IllegalArgumentException: string property content is too long. It cannot exceed 100 characters. at com.google.appengi

[appengine-java] Re: Datastore W/O JDO or JPA??

2009-12-28 Thread jd
Twig http://code.google.com/p/twig-persist/ I think its the only one that doesn't make you deal with Keys (including JDO) ... correct me if Im wrong here. You just use normal object references to other entities and define them as @Parent's @Child'ren or even @Component's so that its properties ar

[appengine-java] Wrong calculation of week in App Engine

2009-12-28 Thread Raphael André Bauer
Hi, I am currently using this code to calculate the week of the year: ===snip Calendar calendar = Calendar.getInstance(); calendar.setTimeInMillis(millisecs); DateFormat formatter = new SimpleDateFormat("ww"); String timeStamp = formatter.format(calendar.getTime()); ===snap Using the tim

[appengine-java] Re: hijacked domain

2009-12-28 Thread Roman
I just fixed it and my site http://www.dailydev.org is back! What I did was, that I disabled Web Pages service in Google Apps, which is already not supported and Google is just trying to get rid of it migrating existing web pages to Sites. Then I was able to remove www mapping in Sites without err

[appengine-java] Re: wrong redirection to google sites

2009-12-28 Thread Roman
I just fixed it and my site http://www.dailydev.org is back! What I did was, that I disabled Web Pages service in Google Apps, which is already not supported and Google is just trying to get rid of it migrating existing web pages to Sites. Then I was able to remove www mapping in Sites without err

[appengine-java] 1K results query limit removed?

2009-12-28 Thread Stas Chizhov
Hi, I'm able to get much more than just 1K entities in one query (I was observing up to 8K rows). AFAIK there query result set is supposed to be limited by 1K entities. So I'm a bit confused - was this limit relaxed recently or am I getting something wrong? Thank you, Stas. -- You received this

[appengine-java] Re: Datastore W/O JDO or JPA??

2009-12-28 Thread vbart
You can try AuDAO which generates a DAO layer. More info at http://audao.spoledge.com Vaclav On Dec 28, 3:01 am, Iqbal Yusuf Dipu wrote: > We have Siena and SimpleDS as alternative to JDO and JPA. Are there > any other libraries exist? > > Thanks. -- You received this message because you are s