[appengine-java] Re: How to stop development server from command line?

2010-06-10 Thread shekhar
Thank you IKai Lan for taking time to answer my question, but I know how to kill a process and currently I am stopping server by doing the same. I usually dont like to KILL anyone (even a process) . So is there any command to stop development server? Or is that google forgot to provide any command

[appengine-java] Re: How to workaround inequality and sort order limitations with JDO query?

2010-06-10 Thread dflorey
When I face such a problem I try to solve them with synthetic properties. If you want to be able to find the top ratings from a given timeframe you could concat timestamp+rating and store this into a single property and do a query on this property restricting to a certain timeframe with converting

[appengine-java] MD5 Hash

2010-06-10 Thread Michael
Hi, I am pretty new to app engine (and Java) and I am seem to have run in to a wall. I want to do an MD5 hash and I was trying to use the java.security package, but I get: [ERROR] Line 3: The import java.security cannot be resolved I am thinking that it is because app engine can't use

Re: [appengine-java] Re: Date based sorting and result pagination

2010-06-10 Thread RAVINDER MAAN
I am using JDO .So which option is best cursors or setRange? On Wed, Jun 9, 2010 at 1:47 PM, Nacho Coloma icol...@gmail.com wrote: You should specify if you are using JDO, JPA or other. SimpleDS has a PagedQuery implementation that can be ported to your own environment. Look for

[appengine-java] SQL Like operator with %

2010-06-10 Thread RAVINDER MAAN
Hello all how we can we implement SQL like operator in java JDO query. how can I write this query in JDO select * from employee where name like '%james%'; Employee is entity with property name. -- You received this message because you are subscribed to the Google Groups Google App Engine

[appengine-java] __unapplied_write__?

2010-06-10 Thread Philip Tucker
I'm seeing some entities in my data store named __unapplied_write__entity. I couldn't find any documentation on this. What is it? -- 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] What is the best option for RPC (web services) on App engine?

2010-06-10 Thread dilbert
First I'd like to explain what I mean by RPC. I'd like to be able to write interfaces like this (simple Java interface): public interface EchoService { String echo(String message); } The framework would allow the creation of client classes that would handle the serialization from/to the RPC

Re: [appengine-java] Re: How to stop development server from command line?

2010-06-10 Thread Ikai L (Google)
It's probably a bug. Can you look for a similar issue here? http://code.google.com/p/googleappengine/issues/list If it doesn't exist, please file reproduction steps. Using kill on a process is less than ideal, but it's a development server so there shouldn't be any detrimental effects. You

[appengine-java] Re: Date based sorting and result pagination

2010-06-10 Thread Nacho Coloma
Cursors is the best choice, but they can only be used to paginate forward. You will have to use your own hacks to allow more than one page. setRange() is more flexible, but should give you worse performance. On Jun 10, 3:27 pm, RAVINDER MAAN rsmaan...@gmail.com wrote: I am using JDO .So which

[appengine-java] App Engine Scalability

2010-06-10 Thread ADRA
Hello all, I'd like your opinions on the reality of App Engine scalability. I'm not so concerned about the the high end, since I'm nowhere near creating a substantial amount of traffic. In fact, I'm just starting out at the bottom, and that seems to be a problem with the system. Today I looked at

[appengine-java] Re: MD5 Hash

2010-06-10 Thread Nacho Coloma
That should not be your problem: http://code.google.com/appengine/docs/java/jrewhitelist.html I am using MD5 in AppEngine without issues. On Jun 10, 3:17 pm, Michael mrher...@gmail.com wrote: Hi, I am pretty new to app engine (and Java) and I am seem to have run in to a wall.  I want to do

[appengine-java] Re: How to workaround inequality and sort order limitations with JDO query?

2010-06-10 Thread Billy
Good idea. I've already done something similar to allow for full text search. I can append the rating to the timestamp to create a longer numeric value that can be sorted. Thanks! On Jun 10, 4:40 am, dflorey daniel.flo...@gmail.com wrote: When I face such a problem I try to solve them with

[appengine-java] Re: MD5 Hash

2010-06-10 Thread Michael
Any ideas on what is wrong then? On Jun 10, 1:03 pm, Nacho Coloma icol...@gmail.com wrote: That should not be your problem:http://code.google.com/appengine/docs/java/jrewhitelist.html I am using MD5 in AppEngine without issues. On Jun 10, 3:17 pm, Michael mrher...@gmail.com wrote: Hi,

Re: [appengine-java] How active is GAE team in fixing bugs?

2010-06-10 Thread Ikai L (Google)
Pretty active. We don't use that issue tracker, so we occasionally have to scrub it. It's all a question of balancing priorities. On Wed, Jun 9, 2010 at 12:57 AM, Marc Guillemot mguille...@yahoo.fr wrote: Hi, I wonder how active GAE team is to fix bugs. I see only a very very limited

Re: [appengine-java] Disable URLFetchService cache

2010-06-10 Thread Ikai L (Google)
How quickly are you making requests? One thing to try - I can't guarantee it'll work - is to append a timestamp parameters to the URL like this: http://www.somedomain.com?v=sometimestamp. You'll have to balance this against your latency requirements, as the cache is several orders of magnitude

Re: [appengine-java] Using jar file with google app engine

2010-06-10 Thread Ikai L (Google)
Can you clarify your question? What do you mean when you say multiple instances of a JAR file? On Wed, Jun 9, 2010 at 4:13 AM, Mahendra Liya liyamahend...@gmail.comwrote: Hello, Would like to have comments regarding the use of Jar files with google app engine. Is there any way to

Re: [appengine-java] Restricted class in Google Apps Engine - java.awt.*

2010-06-10 Thread Ikai L (Google)
This means that you won't be able to use this class, since it's not on the whitelist. On Wed, Jun 9, 2010 at 2:22 AM, TsEMaNN andres.westerm...@googlemail.comwrote: Hey developers, I am currently building an application to transform coordinates between different coordinate reference systems.

[appengine-java] Re: Disable URLFetchService cache

2010-06-10 Thread Fabrizio
I had the same problem. I solved with: ... URL urlObj = new URL(url); HttpURLConnection connection = (HttpURLConnection) urlObj.openConnection(); connection.addRequestProperty(Cache-Control, no-cache,max-age=0); connection.addRequestProperty(Pragma, no-cache); ... fabrizio On Jun 9, 2:29 pm,

Re: [appengine-java] Re: Date based sorting and result pagination

2010-06-10 Thread RAVINDER MAAN
Thanks Ravi .. So nice of you. On Fri, Jun 11, 2010 at 12:37 AM, Ravi Sharma ping2r...@gmail.com wrote: you are already sorting on date..and that can be best candidate for paging too but u may need indexes in both direction(asc,desc) for creation date. lets say ur entity has fololowing

Re: [appengine-java] Ctrl+C doesnt stop development server

2010-06-10 Thread Ikai L (Google)
We're seeing reports of this for folks using Windows. What version of Windows are you using? Are you using a JRE or JDK, and what versions or releases are you using? What version of GAE? On Wed, Jun 9, 2010 at 11:06 PM, shekhar shekhar.kote...@gmail.com wrote: Hi, Anyone knows how to stop

Re: [appengine-java] runtime implications of JDO @PersistenceCapable( detachable=true)

2010-06-10 Thread Ikai L (Google)
It shouldn't have a performance impact, since nothing really happens except the object is decoupled from the persistence manager. In general, I recommend being very careful when doing this. There are a lot of places where it is working as intended even if behavior is unintuitive. You may want to

[appengine-java] Re: MD5 Hash

2010-06-10 Thread Michael
I am using eclipse, do I need to add it to my build path? I don't think I need to since it is not an external library? I'll play around with it some more. Hopfully I can find something. Michael On Jun 10, 3:35 pm, Jake jbrooko...@cast.org wrote: Hey, The method below works fine for me.  No

[appengine-java] Re: How active is GAE team in fixing bugs?

2010-06-10 Thread Greg
Not sure I understand this answer. Ikai, are you saying you don't use the issues tracking list provided on googleappengine/issues ? If not, is there a real list we can use somewhere? If not, why not? On Jun 10, 2:00 pm, Ikai L (Google) ika...@google.com wrote: Pretty active. We don't use that

Re: [appengine-java] Re: Date based sorting and result pagination

2010-06-10 Thread Ravi Sharma
you are already sorting on date..and that can be best candidate for paging too but u may need indexes in both direction(asc,desc) for creation date. lets say ur entity has fololowing prooerty on which u will fliter propA propB creationData so u will write basic query like select * from

[appengine-java] Re: __unapplied_write__?

2010-06-10 Thread Dmitriy T.
http://groups.google.com/group/google-appengine/browse_thread/thread/9be2ed9c6afce856 On Jun 10, 6:51 pm, Philip Tucker ptuc...@gmail.com wrote: I'm seeing some entities in my data store named __unapplied_write__entity. I couldn't find any documentation on this. What is it? -- You received

[appengine-java] Re: MD5 Hash

2010-06-10 Thread Jake
Hey, The method below works fine for me. No extra dependencies. Just worked. So, not at all helpful other than perhaps something wonky with your java install? Jake import java.security.MessageDigest; private static String md5Hex (String email) { try { MessageDigest

Re: [appengine-java] Re: How active is GAE team in fixing bugs?

2010-06-10 Thread Ikai L (Google)
It's internal. You should continue to use the public tracker. On Thu, Jun 10, 2010 at 1:50 PM, Greg gmstanl...@gmail.com wrote: Not sure I understand this answer. Ikai, are you saying you don't use the issues tracking list provided on googleappengine/issues ? If not, is there a real list we

[appengine-java] Re: App Engine Scalability

2010-06-10 Thread Thomas
Hi: Please see http://groups.google.com/group/google-appengine-java/browse_thread/thread/f4a4bee6af04ba26 for more detail. -- 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: rewrite behavior changes in dev vs. production

2010-06-10 Thread nearmars
WOW! that was uber stupid. Localhost is hard coded into the rule. DOH! -- 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

[appengine-java] update_indexes error

2010-06-10 Thread keyurva
I have a Java app deployed on app engine and I use appcfg.py of the Python SDK to vacuum and update my indexes. Today I first ran vacuum_indexes and that completed successfully - i.e. it en-queued tasks to delete my existing indexes. The next step was probably a mistake on my part - I then ran

[appengine-java] Re: Disable URLFetchService cache

2010-06-10 Thread mar_novice
How quickly? Not that fast. I'm still testing my app and upon refreshing the page, sometimes what I get are the cached results. I even get sometimes the result that was supposed to be yesterday's result, meaning, a day old result. Can you somehow explain how the urlfetchservice cache works

[appengine-java] Netbeans: Unable to Update Log while using Google app Engine

2010-06-10 Thread arun
When i tried to deploy my application it is logging some exceptions as follows: Pls help me out Unable to update: java.net.UnknownHostException: appengine.google.com at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at

[appengine-java] Spring JPA problems

2010-06-10 Thread Cleber Dantas Silva
Hi everybody ! Im using SDK 1.3.4 Spring ORM 3.0.2 Im with some problems using on GAE. Im with the follow config:(applicationContext-dao.xml) bean class=org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor/ bean id=myEmf

[appengine-java] Manually create entity table and add rows using the dashboard.

2010-06-10 Thread mar_novice
Is there a way to use the dashboard dataviewer to manually create an entity table and add entities in it? So far, what I know is I can add an entity in a given kind if there are already existing entities of that kind. What if I am about to add the very first entity of that kind? -- You received

[appengine-java] Re: What is the best option for RPC (web services) on App engine?

2010-06-10 Thread niraj
I have implemented a JSON based RPC framework - refer http://code.google.com/p/amazingapis/wiki/JsonServlet_JsonClient_mechanism So basically , This is cmd framework where you can send request string as Json streams on HTTP and your JSONServlet on the server will read client requests and pass

Re: [appengine-java] Spring JPA problems

2010-06-10 Thread Sudhir Ramanandi
I remember I had encountered the same error.. I don't remember what I did. But here's a part of my application context.. and yest It works :) !-- Enable support for @Repository components -- context:component-scan base-package=org.ramanandi.matri.domain / context:component-scan