[appengine-java] Re: 1.2.5 memcache error

2009-09-08 Thread kayjean
I find some useful infomation about this topic.It works search title test unit doesn't work more kayjean On 9月8日, 上午11時07分, kayjean kayj...@gmail.com wrote: I try to upgrade eclipse sdk to 1.2.5 , something wrong ?? java.lang.NoSuchMethodError: com.google.apphosting.api.ApiProxy

[appengine-java] http://localhost:8080/_ah/admin encoding problem ?

2009-09-08 Thread kayjean
How to set the encoding of http://localhost:8080/_ah/admin ? Default encoding is ASCII. I can't read the chinese content in appengine-generated using http://localhost:8080/_ah/admin kayjean --~--~-~--~~~---~--~~ You received this message because you are

[appengine-java] FetchGroup / detach broken

2009-09-08 Thread dflorey
Hi, I tried to optimize my code by using FetchGroups. But this is not working as expected. Example from docs, Employee/ContactInfo. Make both detachable. Add ContactInfo to a separate FetchGroup, add it to the FetchPlan and try to load the Employee with its contactInfos. They will not get loaded/

[appengine-java] Re: deploy a java web service application on Google App Engine.

2009-09-08 Thread Sena Gbeckor-Kove
You can't run JBoss on App engine. Look into the Web Service API's. S --- Sena Gbeckor-Kove CTO/Founder - imKon Mobile: +31 62 434 1290 s...@imkon.com|www.imkon.com Asia (Singapore) : 35 Selegie Road, #09-14/15 Parklane Shopping Mall, 188307 Singapore, Singapore Europe (London)

[appengine-java] Startup takes forever

2009-09-08 Thread David Given
If I make a request to my app, and (I assume) AppEngine decides it needs to start up a new servlet instance for me, then warming up the server can take about 5000ms. Is this normal? For example, the first two items in my log for a request will be: 09-08 12:57AM 30.917 [standard notification

[appengine-java] regording to change the port number

2009-09-08 Thread mahesh
hi, i am running the sample application in googleappengine with java using eclipse. the application is not running in default port number like 8080.But it is running in unused port number.i want to know how to change the port number in dev app server.i am not running in any other servers

[appengine-java] Re: regording to change the port number

2009-09-08 Thread Sreekanth Raju R
right click on the project, go to Run As/ Run Configurations under 'Web Application' select the project and change the port number. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java group.

[appengine-java] Is it possible to host a Restful Web Service on GAE.

2009-09-08 Thread shradha
hi, Since SOAP web service is not working on Google App Engine. Is it possible to host a Restful Web Service on GAE. Can we use Restlet API for that --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine

[appengine-java] Entity ID and keyName identification scope

2009-09-08 Thread iker98
One detail I haven't read about is the different scope of the identification function of ID and keyName. According to my tests the ID generation counter has datastore scope, not kind scope like we are used to with RDBs. Otherwise the keyName identifies an entity in a kind. Am I right with my

[appengine-java] Re: GAE takes 28 sec to read just 200 records

2009-09-08 Thread Vik
hie any updates on this please? Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Sat, Sep 5, 2009 at 8:07 PM, Vik vik@gmail.com wrote: Hie yeah I did that.. and what I get are two different values from this block At first time of app startup

[appengine-java] Restlet authentication doesn't work in GAE

2009-09-08 Thread patrizio.munzi
Hi all, I've got the following exception when using Restlet authentication into GAE... Could anybody give me some information about that, so that I can take the right direction... -- SEVERE: Unhandled exception or error intercepted java.security.AccessControlException:

[appengine-java] Re: Appengine Jetty Stuck at checking for update

2009-09-08 Thread Don Schwarz
You can disable this check in a few different ways. If you're running from Eclipse then the easiest thing to do is probably to create a file named .appcfg_no_nag in your home directory (i.e. the value of the user.home Java system property). The contents of this file do not matter. On Tue, Sep

[appengine-java] Re: Is it possible to host a Restful Web Service on GAE.

2009-09-08 Thread patrizio.munzi
Yes, I've done something similar even though very simple. On Sep 8, 1:56 pm, shradha shradh...@gmail.com wrote: hi, Since SOAP web service is not working on Google App Engine. Is it possible to host a Restful Web Service on GAE. Can we use Restlet API for that

[appengine-java] Re: Appengine Jetty Stuck at checking for update

2009-09-08 Thread Miguel Méndez
I think that there is some confusion here. The update configuration UI exposed by the Google Plugin for Eclipse is for the plugin. However, the DevAppServer has its own checks. If you are not using GWT then you should be able to add the --disable_update_check flag as a command line argument. If

[appengine-java] JDOs not updating.

2009-09-08 Thread Glyph
I'm using JDO. Trying to update an object once it's been saved. It appears to save, but when the persistence manager is closed and then a new one is opened, the object does not not have the saved values in it. It contains the original values that were inserted. Below is a simple JDO(MyJDO),

[appengine-java] Re: One-to-many relationships and saving

2009-09-08 Thread Dobromir
Hi Max, I updated my code to use getters setters and set both children and parent relationships. The tests still fail as before: public class RelationshipTest extends LocalServiceTestCase { @Test // PASSES public void saveParentWithChildAdded() throws Throwable { Child child = new

[appengine-java] Re: problem in updating to 1.2.5 in eclipse

2009-09-08 Thread Jason Parekh
Hey Vik, Dug around a bit deeper with Rajeev and found an Eclipse bug that sounds what you've run into (at https://bugs.eclipse.org/bugs/show_bug.cgi?id=236437 .) The solution they propose is to remove the update site, and re-add it. Please let us know if that fixes your problem. Thanks, jason

[appengine-java] Re: Eclipse 3.3 plugin missing from update site

2009-09-08 Thread James H
Please disregard this issue...I've decided to install Eclipse Galileo instead of trying to figure out what is wrong with this older version and the GAE update. On Sep 7, 9:44 am, Anne van der Bom annes.datam...@gmail.com wrote: James, My situation is a bit different from yours. I did not

[appengine-java] Re: new stack traces after upgrading to SDK 1.2.5

2009-09-08 Thread anjolight
I've got the same stack trace. I reveted back to 1.2.2 due and this exception disappeared. On Sep 4, 3:14 pm, Vince Bonfanti vbonfa...@gmail.com wrote: That's fine. :) I just wanted to make sure someone was aware of this, since it appeared to be something new introduced with the latest SDK.

[appengine-java] Re: new stack traces after upgrading to SDK 1.2.5

2009-09-08 Thread Don Schwarz
I would recommend setting: com.google.appengine.repackaged.com.google.common.base.FinalizableReferenceQueue.level=WARNING in your logging.properties file to disable this log message. It's harmless, but annoying. On Tue, Sep 8, 2009 at 12:49 PM, anjolight anjoli...@gmail.com wrote: I got the

[appengine-java] Chat Time transcript for September 2, 2009

2009-09-08 Thread Jason (Google)
Last Wednesday, the App Engine team hosted the latest session of its bimonthly IRC office hours. A transcript of the session and a summary of the topics covered is provided below. The next session will take place on Wednesday, September 16th from 9:00-10:00 a.m. PDT in the #appengine channel on

[appengine-java] Re: problem in updating to 1.2.5 in eclipse

2009-09-08 Thread Vik
yeah that worked for me as well.. Thankx and Regards Vik Founder www.sakshum.com www.sakshum.blogspot.com On Tue, Sep 8, 2009 at 10:10 PM, Jason Parekh jasonpar...@gmail.com wrote: Hey Vik, Dug around a bit deeper with Rajeev and found an Eclipse bug that sounds what you've run into (at

[appengine-java] Re: JDO BUG !?

2009-09-08 Thread Jason (Google)
It's hard to say without seeing your query. I realize you're using a wrapper, but the JDO query itself should only be a few lines of code -- can you post it? - Jason On Fri, Sep 4, 2009 at 4:01 AM, Cornel corneliu.lupu...@gmail.com wrote: Hello! I have some objects in the database that have

[appengine-java] Re: JDOs not updating.

2009-09-08 Thread datanucleus
Am I doing something wrong here? Updating fields of an object directly has always been a dodgy practice IMHO, and in this case you bypass JDO's mechanism for knowing if fields are updated or not. Use setters, or mark the updating class as PersistenceAware

[appengine-java] Re: How to make a query using low level API using the 'key' property?

2009-09-08 Thread Jason (Google)
A key is a complex object -- you can't query on it using a simple string literal. Also, you shouldn't be changing an entity's key after it's persisted -- once a key is set, that key is associated with the entity for its lifetime. If you want to query by key, you should use the __key__ syntax and

[appengine-java] Re: Java memcache increment with initial value

2009-09-08 Thread Jason (Google)
Hi Vince. I'm pretty certain that the Python method is for convenience and not necessarily any more efficient than the three calls you would have to make with the Java API. Feel free to do your own benchmarking. - Jason On Fri, Sep 4, 2009 at 12:27 PM, Vince Bonfanti vbonfa...@gmail.com wrote:

[appengine-java] Re: support for task queues in development environment?

2009-09-08 Thread Max Ross
Interesting. We were planning on getting rid of manual task execution so that dev would completely match prod, but if your experience is shared by others it sounds like we should consider leaving the door open for manual task execution as well. Thanks, Max On Mon, Sep 7, 2009 at 8:52 AM, Vince

[appengine-java] Re: Seeing different (incorrect?) JDO behavior after upgrading to 1.2.5

2009-09-08 Thread Jason (Google)
Hi David. I believe this is expected behavior -- unindexed properties, including Text, Blob, and reference properties as well as descendants (PrivilegedUser in this case) are not retrieved by default. There is an easier way to add a field to the default fetch group: @Persistent(defaultFetchGroup

[appengine-java] Re: Simplest web framework + ORM for GAE/J?

2009-09-08 Thread Thomas Wiradikusuma
you mean more to the web framework thing? try Grails or Gaelyk. On Sep 8, 12:02 am, Chris xop...@gmail.com wrote: What's the simplest web framework + ORM combination that works well on GAE/J? --~--~-~--~~~---~--~~ You received this message because you are

[appengine-java] Re: JDO Relationships (Primary key for object of type XXX is null)

2009-09-08 Thread Jason (Google)
Can you post your full stack trace? Does this error get generated with the makePersistent call or some other call? Your sample looks relatively straightforward aside from your employee instance's masterData field -- since you're setting up an owned relationship with the data field, why do you

[appengine-java] Re: java developers and hot deployment

2009-09-08 Thread James H
Yep, you nailed it...in under 4 minutes! Thanks, it was driving me nuts! On Sep 8, 3:28 pm, Rajeev Dayal rda...@google.com wrote: What version of the JDK are you using? There is a known issue with JDK 1.6.0_14 that causes breakpoints to be skipped. If you're using this JDK, either downgrade

[appengine-java] Re: java developers and hot deployment

2009-09-08 Thread Rajeev Dayal
Glad everything is working for you. As an FYI, in case this bites you in other situations, this is a general issue with the JDK. It is not a specific bug in App Engine, GWT, the Plugin, or Eclipse. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6862295 for more information. On Tue, Sep 8,

[appengine-java] Re: Bulk writes to datastore

2009-09-08 Thread Jason (Google)
Yes. If you need to be able to rollback in case one or more entities don't get written, you'll need to use transactions. If you use transactions, your entities must belong to the same entity group or else an exception will be thrown. You'll get better performance if you do this outside of a

[appengine-java] Re: is not persistable

2009-09-08 Thread Jason (Google)
Make sure to close your PersistenceManager instance in getCategories(). Are you seeing the original error or a different stack trace? - Jason On Sun, Sep 6, 2009 at 7:06 AM, Bob L. bob.net2...@gmail.com wrote: Oh mine! It occurred again. JDO looks quite fragile. Is there any wrong with

[appengine-java] Re: JDOs not updating.

2009-09-08 Thread Ashley Messer
Good call getters/setters worked. I realize it's 'bad form' to not use getters/setter But when the docs say, This class defines getters and setters for the properties. These are used only by the application, and are not needed for JDO.

[appengine-java] Re: java developers and hot deployment

2009-09-08 Thread James H
What is going on with Debugging anyway? I had been running fine with 1.2.2 GAE plugin an Eclipse 3.3, and was able to debug nicely except for signature changes, additions. Then the 1.2.5 upgarde blew my environment up so I decided to load Eclipse 3.5 Galileo and the latest GAE plugin. But,

[appengine-java] Re: QueueFactory.getQueue( String )

2009-09-08 Thread Vince Bonfanti
Done (#2089). BTW, I've opened two issues on the Task Queue API that I consider fairly serious (at least for what I'm trying to accomplish): #2088. A datastore Key that has a parent does not survive a round-trip through keyToString and stringToKey and still be usable as a memcache key. The

[appengine-java] Re: 500 Internal Server Error when uploading to GAE

2009-09-08 Thread Jason (Google)
How often are you seeing this? Is there any discernible pattern when this occurs, e.g. after adding a new static file or updating a large class/JSP, changing a version, certain time of day, etc.? Also, what is your application's ID? - Jason On Sun, Sep 6, 2009 at 12:19 PM, barak

[appengine-java] Re: Query a collection of entities with their IDs

2009-09-08 Thread Jason (Google)
http://groups.google.com/group/google-appengine-java/browse_thread/thread/e881ba0220ed8e9a/5a46b73f435f342a Please try not to double-post in the future. Thanks, - Jason 2009/9/6 Zhi Le Zou zouzh...@gmail.com Hi, I have a class Foo defined as below: public

[appengine-java] Re: Entity ID and keyName identification scope

2009-09-08 Thread Max Ross
I'm guessing your tests were run locally because the counter in the local datastore does indeed have datastore scope. The scope of the counter in the prod datastore, however, is parent key + kind. This is described here:

[appengine-java] Re: QueueFactory.getQueue( String )

2009-09-08 Thread Jason (Google)
Hi Vince. I think this sounds reasonable. Please open a new issue. - Jason On Sat, Sep 5, 2009 at 11:48 AM, Vince Bonfanti vbonfa...@gmail.com wrote: I found the answer to this: the Queue.add() method throws IllegalArgumentException if the specified queue isn't configured (BTW, the message

[appengine-java] Re: confuse on Whitelist

2009-09-08 Thread Jason (Google)
Your applications will run if they import java.lang.Thread but an exception will be thrown if your applications attempt to spawn a new thread. - Jason On Sun, Sep 6, 2009 at 9:07 AM, asianCoolz second.co...@gmail.com wrote: I saw white list

[appengine-java] are quotas per Application or total?

2009-09-08 Thread BigMax
It is not clear from documentation, the quotas imposed on my account, are they per-application or total per-account? So if I have 6.5 CPU hours per day, is it for all my applications (up to 10) or for each? Storage, 1GB per application or total? thanks

[appengine-java] Re: Warning message about junit plugin from datanucleus in my logs when running Junit tests

2009-09-08 Thread Erem
I just found out that it all gets spammed as a response to JDOHelper.getPersistenceManagerFactory(). It only happens when running the Local Service implementation as specified on the AppEngine wiki On Sep 8, 3:34 pm, Erem ehb...@gmail.com wrote: Hi Rajeev, Thanks for the response! It's a

[appengine-java] Re: Warning message about junit plugin from datanucleus in my logs when running Junit tests

2009-09-08 Thread Erem
The root problem unsurprisingly turns out to be logging configuration. Stop this from happening by setting the following DataNucleus loggers PRIOR to your JDOHelper.getPersistenceManagerFactory() calls: //This one caused all the WARNING and SEVERE logs about eclipse UI elements

[appengine-java] Re: Problem with encoding on production environment

2009-09-08 Thread Jason (Google)
I don't have a good test case on-hand to reproduce this with, unfortunately. Are you seeing any exceptions in your logs? I ask because I usually pass the string UTF-8 into InputStreamReader whereas you're passing in utf8 -- it's possible (probable?) that both are supported, but the documentation

[appengine-java] Re: Access Appengine Datastore Remotely using AEJTools

2009-09-08 Thread Erdinc Yilmazel
Thanks Jason, I sent an email to the group admin. On Tue, Sep 8, 2009 at 9:16 PM, Jason (Google) apija...@google.com wrote: Thanks for sharing, Erdinc. If you're interested in having your project listed on our open source App Engine projects wiki page, please follow the process at the bottom

[appengine-java] Re: support for task queues in development environment?

2009-09-08 Thread Vince Bonfanti
Being able to examine the task queue, and release tasks manually--and in different order than they were queued--is proving quite valuable. It would be nice to keep this as an option when you add automatic execution. Vince On Tue, Sep 8, 2009 at 2:42 PM, Max Rossmaxr+appeng...@google.com wrote:

[appengine-java] Re: Can I provide a web service using Google App Engine for java?

2009-09-08 Thread Jason (Google)
The only SOAP web services solution compatible with App Engine (that I'm aware of) is located here: http://code.google.com/p/sfdc-wsc/ Check the Downloads tab for a pre-built JAR that should work out-of-the-box with App Engine. - Jason On Mon, Sep 7, 2009 at 3:52 AM, shradha

[appengine-java] Re: JDO Sequences in AppEngine

2009-09-08 Thread Jason (Google)
You may also want to look into sharded counters, which is the approach we've traditionally recommended for implementing hit counters or other monotonically increasing data: http://code.google.com/appengine/articles/sharding_counters.html The article is in Python, but there is a Java demo

[appengine-java] Re: GWT RPC Problem with JDP

2009-09-08 Thread Jason (Google)
You can't pass a query result directly to GWT because the object that contains the results does not implement Serializable. For a workaround, see the last post in this thread: http://groups.google.com/group/google-appengine-java/browse_thread/thread/bce6630a3f01f23a - Jason On Mon, Sep 7, 2009

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

2009-09-08 Thread king
I have the same problem. I sent out 3 email and have been waiting for hours, still no email arrived at my inbox, there is no error message either. Does anyone have any update on this issue? On Aug 20, 12:00 pm, DrMorten morten.dalgaard.niel...@gmail.com wrote: Nothing in the log about failed

[appengine-java] Task Queue Limits

2009-09-08 Thread hansamann
I know the Task Queue is just experimental for now and things will change, but could we get an estimate by what degree the limits of the API will be affected? The current daily task insertion limit is 10 000 - not much if you do for example think about a twitter-related app that polls for new

[appengine-java] Re: Deleting indexes

2009-09-08 Thread Matthew Farmell
search the group as I wrote some instructions on how to delete indexes in a java app using the python sdk Sent from my iPhone On Sep 9, 2009, at 10:22 AM, klong86 klon...@gmail.com wrote: Is there a way to delete indexes? I have old index on my deployed server that are no longer used.

[appengine-java] Initializing Datastore

2009-09-08 Thread gopalkalasa
hi, I want to write an application to load the static data to the datastore and make use the same datastore for real application. Is there any tools for that? For example if i use JDBC connection we can connect to the database using database name, drivers , and make use of the database for