Re: [appengine-java] How to handle schema change on JDO data model class?

2010-02-22 Thread Esteban Masoero
The only thing we could do was to write some special low-level api code to update the schema properly (low-level api is more flexible and doesn't have issues abou querying old or new data, they are all entities with list of fields). For example, when adding a field that uses a primitve type to

Re: [appengine-java] Re: Problems using a ThreadLocal variable

2010-02-18 Thread Esteban Masoero
ttached to current thread Runtime Network Thread ". Regards, Esteban El 17/02/2010 11:41, Esteban Masoero escribió: Thanks for the response. I must clarify that my app was already running smoothly on GAE (both in development and deployment environments), event with a file upload implementat

Re: [appengine-java] Re: Problems using a ThreadLocal variable

2010-02-17 Thread Esteban Masoero
I have not used Wicket myself, but have you seenhttp://groups.google.com/group/google-appengine-java/web/will-it-play... ? It looks like Wicket must be massaged a little to work... On Feb 16, 3:36 pm, Esteban Masoero wrote: Hi there: Since today, my app started to have p

[appengine-java] Problems using a ThreadLocal variable

2010-02-16 Thread Esteban Masoero
Hi there: Since today, my app started to have problems when using a ThreadLocal variable. I'm using wicket framework, and it happens that the first request to the page is fine, but sometimes I get an exception caused by wicket saying that the app (which is stored in a threadlocal variable) is

Re: [appengine-java] delete log and entities

2010-02-16 Thread Esteban Masoero
Hi, I'm also interested in a both features, mainly the datastore one. Are we going to have something like this soon? Thanks, Esteban El 30/01/2010 6:08, Andrés Cerezo escribió: Hello!! Ho can I delete the logs and the entities of my project in app engine? I need it to initializate all the syst

Re: [appengine-java] Re: Handling HardDeadlineExceededError

2010-02-16 Thread Esteban Masoero
om files), or c) sleeping. On Mon, Feb 15, 2010 at 10:58 AM, Esteban Masoero mailto:emaso...@getsense.com.ar>> wrote: yes, I'm sure I'm not catching anything. In fact, I did some tests and find out that most of the time the deadline exception is not thrown when executin

Re: [appengine-java] Re: Handling HardDeadlineExceededError

2010-02-15 Thread Esteban Masoero
yes, I'm sure I'm not catching anything. In fact, I did some tests and find out that most of the time the deadline exception is not thrown when executing some code (untill now the deadline exception only happened once), but It is always thrown when you are doing something like sleep(). If you

[appengine-java] Re: How to make a query searching by an "@PrimaryKey String" field from the console using GQL

2010-02-15 Thread Esteban Masoero
Sorry to bother with this again, but I think this feature should work without problems. Hasn't anybody tried to to something alike? El 11/02/2010 16:03, Esteban Masoero escribió: Hi there, I have something like: public class User { @PrimaryKey @Persistent private String use

Re: [appengine-java] Cannot deploy - Version not ready

2010-02-11 Thread Esteban Masoero
I'm having the same problem. As I saw in another emails some time ago, the system might be experimenting some technical dificulties, an if you see the system status ( http://code.google.com/status/appengine ) the datastore doesn't look good. So I guess we'll have to wait... El 11/02/2010 18:3

[appengine-java] How to make a query searching by an "@PrimaryKey String" field from the console using GQL

2010-02-11 Thread Esteban Masoero
Hi there, I have something like: public class User { @PrimaryKey @Persistent private String username; But I couln't find a way of making work a query like "select * from User where username = 'someUserName'" from the admin console. It's driving me nuts!, Anyone has any idea

Re: [appengine-java] Re: My indexes are stuck in "BUILDING" state after deploying my app for the first time (i.e. on an empty datastore)

2009-12-01 Thread Esteban Masoero
I think the biggest problem is not knowing approximately how long your app will be down. In our case, it took 24 hours (http://groups.google.com/group/google-appengine-java/browse_thread/thread/5dace4efbd0e45bd). Apparently it doesn't depend on the size of your database. To my knowledge, the ind

Re: [appengine-java] Re: Is AppEngine down? My site is super-slow, static resources not loading

2009-11-18 Thread Esteban Masoero
There was some problems yesterdar, according to this: http://code.google.com/status/appengine/detail/serving-java/2009/11/17#ae-trust-detail-helloworld-get-java-latency Jim McCabe escribió: > I have more information on this now. > > If I navigate to the active version from the App Engine control

[appengine-java] Re: once per deployment?

2009-11-09 Thread Esteban Masoero
Normally, this is done by using the | property in the web.xml file. However, this feature behaves differently in GAE ( |http://code.google.com/intl/en/appengine/docs/java/config/webxml.html#web_xml_Features_Not_Supported ). Regards, Esteban Prashant escribió: > Hi, > > I want to run a piece

[appengine-java] Re: permissions in multipart file upload

2009-11-09 Thread Esteban Masoero
Have a look at this section: http://code.google.com/intl/en/appengine/docs/java/runtime.html#The_Sandbox black_13 escribió: > when i try to upload a file i get > The server is running at http://localhost:8080/ > java.security.AccessControlException: access denied > (java.io.FilePermission C:\Use

[appengine-java] Re: Updating Text columns

2009-11-09 Thread Esteban Masoero
I've used Text type with JDO and had no problems. Yogi escribió: > I have a String attribute which is more that 500 length. So I am using > com.google.appengine.api.datastore.Text class to store it in > datastore. In my local datastore the call datastore.put() just hangs. > Has anyone encountered

[appengine-java] Re: AccessControlException (SerializablePermission enableSubclassImplementation) - Wicket on GAE

2009-10-21 Thread Esteban Masoero
everything its located at one place and can be reused by others. For the record, we haven't experienced any issues related to the back/foward button behavior (although I must tell that our app is still a small one and maybe that has something to do with it). Regards, Esteban a.maza escri

[appengine-java] Re: having problems with JDO query serialization to memcache...

2009-10-21 Thread Esteban Masoero
You're right, I just misunderstood your comment. Thanks, Esteban datanucleus escribió: >> Thanks!. Although it wouldn't be a distributed cache, right? >> > > Why? It will be exactly the same cache as what Google provide ... > since DataNucleus puts things into it and gets them out, saving

[appengine-java] Re: having problems with JDO query serialization to memcache...

2009-10-21 Thread Esteban Masoero
Thanks!. Although it wouldn't be a distributed cache, right? datanucleus escribió: > Just to mention, JDO (and DataNucleus) supports a Level2 cache, and > can use "javax.cache" (GAE/J memcached) and is a single PMF property > to turn it on. That way you don't need to play around putting objects >

[appengine-java] Re: AccessControlException (SerializablePermission enableSubclassImplementation) - Wicket on GAE

2009-10-21 Thread Esteban Masoero
Hi there: We've been running a wicket app on gae since last month, but without the need of implement memcache-based implementation of Wicket's IPageStore. Why are you doing that? (our wicket version is 1.3.7) Regards, Esteban a.maza escribió: > Hi, > > I am trying to get Apache Wicket runnin

[appengine-java] Re: java.lang.AbstractMethodError at com.google.appengine.tools.development.DevAppServerImpl.getUserPermissions() moving from SDK 1.2.5 to 1.2.6

2009-10-20 Thread Esteban Masoero
Toby: Any comments about this? An issue about it was created here: http://code.google.com/p/googleappengine/issues/detail?id=2280 Thanks, Esteban Miguel Méndez escribió: > You have the javaagent on the command line so that it's definitely not > missing. It looks like you have your project s

[appengine-java] Re: How to view log file locally?

2009-10-20 Thread Esteban Masoero
ly. > > Would it be possible to run the Google admin console locally and read > the log files? > > On 15 okt, 20:48, Rusty Wright wrote: > >> Think long term; maven is a mountain worth climbing. >> >> >> >> Esteban Masoero wrote: >>

[appengine-java] Re: Logging in GAE/J

2009-10-19 Thread Esteban Masoero
Have you tried using jdk14 to get the logger instance? ( java.util.logging.Logger.getLogger(getClass().getName()) ) If you're not forced to use commons logging, you could change to that. If you are forced and trying util logging works fine, at least you'll be getting closer to the problem. Jas

[appengine-java] Re: A GAE_HOME eclipse variable that points to the default app engine sdk location

2009-10-19 Thread Esteban Masoero
Thanks, here's the issue in case anyone feels the same: http://code.google.com/p/googleappengine/issues/detail?id=2282 Regards, Esteban Jason Parekh escribió: > Hi Esteban, > > This sounds like something the plugin should definitely do, I saw the > feature request you've opened, thanks! > > j

[appengine-java] Re: Location of Datastore/JDO (physical) file

2009-09-16 Thread Esteban Masoero
Hi pion: In my case it's located at \war\WEB-INF\appengine-generated\local_db.bin Esteban Pion escribió: > I am looking at the guestbook tutorial. The “Using the Datastore with > JDO” section has the following code: > … > Date date = new Date(); > Greeting greeting = new

[appengine-java] Re: Exhaustive JPA/JDO tutorial

2009-09-14 Thread Esteban Masoero
This should help: http://www.datanucleus.org/products/accessplatform_1_1/index.html Regards, Esteban Java_GAE escribió: > Hi, > Please anybody can post a link to exhaustive and intensive tutorial on > JPA/JDO. I got head and tail from the google app engine tutorial but > need to understand muc

[appengine-java] Updating detached objects only works when fetched within a transaction (JDO)

2009-09-03 Thread Esteban Masoero
Hi there, I'm having a problem similar to the one described here http://groups.google.com/group/google-appengine-java/browse_thread/thread/54c5c1e1ec1b3ff0/bcb54506ed134654?l, but using JDO instead of JPA. Instead of fetching the object in a "normal" way, I fetched it inside a transaction and