Yea, I actually figured it out yesterday. I am using dynamic queries
and that seems to be the only solution as of now from my side. Thanks
for your time though.
public ListCollege getEntriesOnSearch(String location, String
btech) {
StringBuffer selectClause = new StringBuffer(select from
Thanks for a clue, Don.
I will change primitive long to Long, but anyway thats strange,
because I'm using increment()
version that should return initial value, in case there's no value
yet, which is zero for me.
On 15 мар, 19:39, Don Schwarz schwa...@google.com wrote:
It is not possible for
Hi,
In my application I have an exception (see stacktrace below) which
occurs in the same place but not every time (90% it works without any
problems).
What could be the reason of this?
Here's what I'm doing (this code gets invoked smultaniously using Task
Queue API on rate 6/m bucket size 5)
thank you.
--
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 email to
No one can help about expiration delay of the cache?
On 19 mar, 16:51, moissinac jcmoissi...@gmail.com wrote:
By replacing the line
cache.put(key, foo, exp, MemcacheService.SetPolicy.SET_ALWAYS);
by
cache.put(key, foo);
Thecacheworks, but I loose the 'expirationdelay'
Yeah, I tried there first but thought it may be a GAE question as
well. Response I got there was that the URLs would look more like
mysite.com/myapp.html#/customer1, mysite.com/myapp.html#/customer2,
etc.
http://groups.google.com/group/google-web-toolkit/browse_thread/thread/6a6b4576fe3aedf6#
My applications read an initialization file to prime themselves.
Overnight they both broke. The code
public static String[] loadFileAsStrings(String sFileName) {
try {
BufferedReader oR = new BufferedReader(new
FileReader(sFileName));
ArrayListString oLst = new ArrayList();
WORKING. Thanks.
As an education what is the recommended way to find the base file
location.
Thanks for the help.
Steve
On Mar 24, 12:07 pm, Steve Pritchard steve...@gmail.com wrote:
Oops, the last digit is missing. Always before there was a trailing
/. It is now gone. Let me fix my code
The recommended approach is just to use a relative path. If you need an
absolute path for some reason and you can't use File.getAbsolutePath(), then
either ServletContext.getRealPath() or System.getProperty(user.dir) should
be fine.
I definitely wouldn't trim the last character without checking
qexo - http://www.gnu.org/software/qexo/ ?
or even just kawa - http://www.gnu.org/software/kawa/index.html
--
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.
Why read JPOX docs when JPOX was replaced 2 years ago? by the same
DataNucleus software being used by GAE/J. It's website would make more
sense (and is linked to in various places from the GAE/J docs).
Well, I'm a JEE beginner (but not Java beginner) and I just read what I
found.
JDO2
On Mar 24, 3:53 am, Keith Platfoot kplatf...@google.com wrote:
It is still possible to
use the Google Plugin for Eclipse with an App Engine project, but it may
require a few hacks or manual steps in order to keep the runtime WAR
directory in sync with your changes.
I found this Eclipse
Hi,
Is there any lib for editing datastore? Similar to Datastore Viewer
with some additional features.
Editing means:
+ New entity: create a empty entity
+ Delete existing entity
+ Add a property to entity
+ Remove a property from entity
+ Change a property's value
Thanks,
--
You received
I am making an app that assembles a feed using the Rome RSS .jars and
it works fantastically on my local system. I've had to create my own
module because not all the elements I'm using are a part of the RSS
standard, and I did so following the really helpful tutorial here:
Where can I find way to specify the class list? I have found
http://www.datanucleus.org/products/accessplatform_1_0/jpa/persistenc...
, but it is for persistence.xml and JPA.
And this
http://www.datanucleus.org/products/accessplatform_1_1/jdo/persistence_unit.html
which is for JDO, and
Hello,
Yes I'm serving it out of WEB-INF/lib and I see that you're right - I
can try to place it as a static file elsewhere. All of my code/build
scripts, though, assume JAR files are in the /lib directory. At least
I have a workaround, though. And no, I'm not signing all of the jars
- the
Here is my test case and with output :
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse
resp) throws IOException {
PrintWriter out = resp.getWriter();
out.println(debug here... + new Date());
Hello,
I would very much appreciate an FAQ for GAE + Maven - there are
several blogs/plugins/etc that attempt to set it up in a haphazard
way, but I feel like there should be a stable, Google-approved
method. I personally have my own hacked together situation that works
about as well as anyone
I tried same test case with a boolean value
@NotPersistent
private Boolean bool = true;
and the value (bool) is not changing to null after detaching the
entity. why there is difference in behavior? Is detaching an entity is
necessary? What are the losses if I cache an entity
Is this related to this bug?
http://code.google.com/p/googleappengine/issues/detail?id=1284
What happens if you create a new instance of the Cache? If you're
worried about cost, this should be extremely cheap, as this really
only creates a short-lived client instance.
On Wed, Mar 24, 2010 at
anyone ?
--
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 email to
google-appengine-java+unsubscr...@googlegroups.com.
Try setting the system property, java.io.tmpdir, to a path that you are
allowed to write to.
On Wed, Mar 24, 2010 at 5:22 AM, fredrik fredrik.bok...@gmail.com wrote:
I am trying to run Google App Engine 1.3.1 from Eclipse 3.5 on a lab
computer where I don't have access to the local disk (C:),
I'd consider why you need them in the same entity group. If you don't
need transactions, for instance, you can just use a Key and reference
the Person in the Telephone.
On Tue, Mar 23, 2010 at 6:54 PM, dreamy dreamy2c...@gmail.com wrote:
Hello Ikai L thanks for your reply.
You just have to
You mean because the JDO spec defines this behaviour ? Familiarisation
with the persistence specification makes a lot of sense
--
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
Hi Tony,
Eclipse WST (Web Standard Tools) is a dependency of the Google Plugin for
Eclipse, but it looks like the Eclipse install process is having trouble
finding it. Make sure the Eclipse update site is enabled, as per the
instructions in this FAQ:
Within a jsp page, I am trying to use jsp:include page=/WEB-INF/
includes/Item1.html / . My problem is the Item1.html file is never
included. It will only get included if I rename it to Item1.jsp.
The include works fine in Jetty but not when deployed to appengine. I
tried listing Item1.html as a
Dear all,
I've found this in the FAQ:
http://code.google.com/intl/en/appengine/kb/java.html#Can_I_Pay_To_Reserve_My_JVM
Can I pay to keep a JVM reserved for my application?
We've seen this request from some developers with low-traffic
applications who'd like to reduce the percentage of loading
On Mon, Mar 22, 2010 at 7:21 AM, Guillermo Schwarz
guillermo.schw...@gmail.com wrote:
In order to load the app, a kind of core file must be read from disk
in order to represent the app state in RAM. That process takes too
long (used to be up to 3 secs, now it is up to 12 seconds AFAIK)
It makes sense because web server apps are staless anyway, so what
would be the point of storing the state?
The only problem would be that Spring apps take so long to start up.
Anyway, I think the problem is something else, because when loaded the
application is very fast and I'm not using Spring
Thanks, I will try that and get back with the results, unfortunately not
until next week when I get back to work. Obviously, I should read up on the
system variables, and java.io.File.createTempFile.
/Fredrik
2010/3/24 Toby Reyelts to...@google.com
Try setting the system property,
Hi,
I'd like to know whether a Java program can know the list of entity
KIND currently in the datastore.
Thanks in advance.
--
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
I have gone thru the Slim3 document.
Can we have this?
@MOdel
class Parent {
ListChild childs = new ArrayListChild();
}
@Model Child {
}
If so, how to get parents based on child's property in Slim3?
TQ.
On Mar 18, 3:13 pm, Yasuo Higa higaya...@gmail.com wrote:
Hi all,
We are pleased
Hi TQ,
Can we have this?
@MOdel
class Parent {
ListChild childs = new ArrayListChild();
}
@Model Child {
}
We can have bidirectional one to many relationships as follows:
@Model
public class Parent {
@Attribute(primaryKey = true);
private Key key;
@Attribute(persistent
Is using url as a string key for an entity really inefficient for
space?
Say if the url is long and it's 1k byte, each key is repeatedly stored
with each indexed property right? If you have a list property of 5000
items, will the keys of those 5000 index entries consume 5M?
Thanks.
--
You
my post may have been a waste of space --- i figured it out, in any case,
for anyone who is curious here is the answer to my question:
all static files that the client's browser needs to read such as a
jquery.form.js file need to be inside of /static
so the header of the html page should appear
Thanks Tim,
But I would like to see a more clean definition like an additional
flag in the class definition like auto_now or auto_now_add that
clearly defines the behavior of the object.
Best Regards,
On Mar 10, 10:21 am, Tim Hoffman zutes...@gmail.com wrote:
Hi
it appears that the
Hi
I am not sure I see the need myself.
I personally think you should store all dates as UTC and and normally
perform calculations as UTC
and then only on output apply the timezone.
Also you will probably find that the underlying mechanism is just
storing a long, and so comparisons and sorts
The xsl file's inside /war...
On Mar 23, 5:08 pm, Patrick Twohig patr...@namazustudios.com wrote:
Are they in war or on the classpath?
On Tue, Mar 23, 2010 at 4:49 AM, Iain Flynn trancedsha...@gmail.com wrote:
Thanks for that, but it's still getting null. I've tried changing the
URI
Hi Googlers,
I've a strange bug in my administration console : I get Server Errors
when I try to permanently delete an unused version (1) of my
application i-wands :
http://1.latest.i-wands.appspot.com/
Thanx for your help,
François Masurel
Bordeaux, France
--
You received this message
Static files/directories are hosted on different servers to the application
bits. Great for items that are both static *and* not needing to be accessed
directly by your app, only by the browser.
On 24 March 2010 01:46, Kenchu sweken...@gmail.com wrote:
yea, flash is a static directory. I tried
Hi
I have seen in a new pre-release you can use a serveral port but not
appear ftp (21) port. Do you think will be open in next release.?
thanks
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to
Hi Peter,
On Wed, Mar 24, 2010 at 6:01 AM, Peter Liu tinyee...@gmail.com wrote:
Is using url as a string key for an entity really inefficient for
space?
Say if the url is long and it's 1k byte, each key is repeatedly stored
with each indexed property right? If you have a list property of
I have been looking at the gadget documentation, and I do not see how
I can have a gadget automatically login to my App Engine application.
Has anyone done this yet? I assume so - but I am a bit unsure how to
proceed. I had hoped that just by being logged-in , and viewing your
iGoogle page,
Hi;
I have an app -engine application with a custom domain.
It works, no problem.
I want to let my users direct their own domains to my application.
This is a service like the blogger.
In blogger you can direct www.example.com to example.blogspot.com
adding a cname dns (www.example.com
On Mar 21, 8:08 pm, Emilis Kuke emilis.k...@gmail.com wrote:
Hello!
I spend more than few hours using google and reading django and
google app engine documentation, but I couldn't find solution for my
problem. So I expect maybe somebody could helps me.
So I have model:
class
Hi,
I currently have 0 applications remaining. I'm working on 3 new ones
right now and want to deploy them soon. Could someone from Google add
a few more on my account?
Thanks.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to
Hi,
Are you aware you can delete unused applications?
-Nick Johnson
On Wed, Mar 24, 2010 at 4:44 PM, A Hampton imnotgarycole...@gmail.comwrote:
Hi,
I currently have 0 applications remaining. I'm working on 3 new ones
right now and want to deploy them soon. Could someone from Google add
If I want to do one process on each entity in my datastore, how do you
think I can best set this up using task queues.
(each process requires a bit of latency)
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send
Thanks.
There is a chance of collision right? How do we handle those?
If the string is converted to:
domain +/ + md5(rest_of_url)
will the chance of collision be significantly lowered?
If the chance of collision is very small it's acceptable for me.
On Mar 24, 8:06 am, Nick Johnson
I have an application which is deployed and has customers.
I would like my app to be able to send emails. This only works if
the from address is the same as my appengine login account.
If I add email addresses to my account,
those addresses still cannot be used as the from address in a sent
Dear all,
Exceeded soft memory limit with 187.727 MB after servicing 1 requests
total
My application has run on GAE for 50+ days, everything is smooth.
But I got the GAE critical message continuously from last night.
I cannot find any solution from global google search.
Could you give me any
Hi,
I am considering using an external identity provider with my
application, for instance using protocols such as OpenID or Facebook
Connect. My question is whether it is possible to hook this up to App
Engine's user session features. For example, could I programmically
log a user on and create
Hi All reading this,
i have problems with using zk framework.
i am not able to call any .zs files and also not able to call
any of the component through its ID.
thanks in advance
--
You received this message because you are subscribed to the Google Groups
Google App Engine
I have a StringListProperty field that never passes validation when
submitted as part of a Django form, even though it has been assigned a
default as documented in various other posts. Why is this? How can I
have GAE/Django allow this field (text area) to be blank?
from appengine_django.models
Hi,
I am having real problems trying to understand the architecture of
google app engine database as I am coming from SQL / Access database
design. I have read all of your online documentation and watched
various videos on you tube but still not sure how to design it.
I am trying to replicate a
I'm trying to use GWT 2.0.3 together with GAE (using the Eclipse
plugin).
I have got the following exception on the server whenever I want to
make a RPC call:
Caused by: java.lang.RuntimeException: Unable to get Unsafe instance
at
please help about running google app engine in netbeans.
i have found following error when deploying to google app
engine
I have downloaded a sdk for java separately from google app engine,and
showed the to it.Is it causing some problem
Unable to update:
You will not get any accidental collisions of URL strings hashed with MD5 or
SHA1.
On Wed, Mar 24, 2010 at 1:13 PM, Peter Liu tinyee...@gmail.com wrote:
Thanks.
There is a chance of collision right? How do we handle those?
If the string is converted to:
domain +/ + md5(rest_of_url)
will
Hi,
The following from Google App Engine states,
..Application code only runs in response to a web request, a queued
task, or a scheduled task, and must return response data within 30
seconds in any case. A request handler cannot spawn a sub-process or
execute code after the response has been
I forgot to say that overall I like GAE and that I think it is
ingenius compared to the other cloud services.
I'm just suffering with this one issue.
On Mar 24, 9:15 am, Milk Run fr...@milkrun.com wrote:
I have an application which is deployed and has customers.
I would like my app to be able
Just doing some research on this topic, and found this:
http://www.eggheadcafe.com/software/aspnet/35761883/bookmarks-database-struct.aspx
Encouragingly, if a 128bit MD5 hash is used, then even for ten
billion bookmarks, there is only a 10^-18 chance of collison.
The chance 10^-18 is good
You'd probably pick a batch size, then iterate over it with Task
Queues and cursors, storing the cursor somewhere to be used by the
next executed task:
http://code.google.com/appengine/docs/java/datastore/queriesandindexes.html#Query_Cursors
On Wed, Mar 24, 2010 at 10:02 AM, prgmratlarge
Yes, queued tasks and scheduled tasks have an execution time limit as
well. You'll want to break your large tasks into smaller pieces. We've
committed to map/reduce support to help make this easier on our
roadmap for a future release.
On Wed, Mar 24, 2010 at 7:19 AM, S P T Krishnan
Hi Ikai,
Thanks for the reply.
Sure I will architecture my application this way. Is the limit for
queued/scheduled tasks also 30 seconds as well or is it some other figure ?
thanks,
--Kris
On Wed, Mar 24, 2010 at 10:53 AM, Ikai L (Google) ika...@google.com wrote:
Yes, queued tasks and
Nope. You won't be able to use an HTTP protocol with an FTP server.
Or, you shouldn't be able to, anyway.
On Wed, Mar 24, 2010 at 5:40 AM, alf alberto@gmail.com wrote:
Hi
I have seen in a new pre-release you can use a serveral port but not
appear ftp (21) port. Do you think will be open
No, this will not happen. A gadget is just a JavaScript widget.
gadgets.io.makeRequest will not pass a usable User ID or session
information.
On Wed, Mar 24, 2010 at 8:13 AM, redsox2005 mganley2...@gmail.com wrote:
I have been looking at the gadget documentation, and I do not see how
I can have
Yep.
On Wed, Mar 24, 2010 at 11:21 AM, S.P.T.Krishnan sptkrish...@gmail.com wrote:
Hi Ikai,
Thanks for the reply.
Sure I will architecture my application this way. Is the limit for
queued/scheduled tasks also 30 seconds as well or is it some other figure ?
thanks,
--Kris
On Wed, Mar 24,
Or would it make more sense to first use taskqueues to enqueue all the
entities into a separate taskqueue for the actual send. And then use
the second round of taskqueues to send?
Wouldn't this be faster, or am I not seeing the whole picture?
On Mar 24, 1:48 pm, Ikai L (Google) ika...@google.com
You could probably wire up a Jabber server and fake out the calls to
and from your servlets, but we don't ship this functionality out of
the box.
Instead, what you should probably do is take a look at our Unit
Testing guide and mock/stub your way through XMPP:
Hi,
Just today I released an article for precisely this use-case. More details
here:
http://blog.notdot.net/2010/03/Announcing-a-robust-datastore-bulk-update-utility-for-App-Engine
-Nick Johnson
On Wed, Mar 24, 2010 at 5:02 PM, prgmratlarge yossiele...@gmail.com wrote:
If I want to do one
Hi Frank,
On Wed, Mar 24, 2010 at 4:15 PM, Milk Run fr...@milkrun.com wrote:
I have an application which is deployed and has customers.
I would like my app to be able to send emails. This only works if
the from address is the same as my appengine login account.
If I add email addresses to
Are you seeing this under Total Stored Data or Datastore
Statistics? Some of our statistics may not be update in real-time, as
we need to iterate through your indexes/entities and count in a batch
job.
On Wed, Mar 24, 2010 at 3:09 AM, Kenneth goo...@kmacleod.ie wrote:
No, I'm not.
On Mar 23,
Have you tried required=False?
On Tue, Mar 23, 2010 at 7:15 PM, bliff bryan...@gmail.com wrote:
I have a StringListProperty field that never passes validation when
submitted as part of a Django form, even though it has been assigned a
default as documented in various other posts. Why is
We've put in a fix for the NPE and will release a new version of the
plugin (1.3.2) either today or tomorrow. You'll probably still get an
error, but this time it should be the one that actually caused the
problem with the enhancer, and we'll be able to easily figure out how
to resolve it.
Keith
No, it's impossible to add an appengine app to a domain that's not
using Google Apps. However, you don't need to add the domain
manually; the owner of the domain can add your app to it from Google
Apps.
On Mar 24, 11:58 am, enes akar enesa...@gmail.com wrote:
Hi;
I have an app -engine
I have in the last week posted about three unique posts in the Google
App Engine Python Group about different questions that I had but
somehow none of those are showing in the group and when I search for
them they appear to have dissappeared.
What's the problem?
Thanks.
--
You received this
Hello Niklasro! Thanks for response.
Does your pack and implementation work with verbose_name correctly. Is
it possible to change language for this property outside of system.py
configuration file. And if it you have a such implementation could you
share it with me?
I need to change language
I had the same problem when posting to the Python group.
I gave up and only post to the main group now...
On Wed, Mar 24, 2010 at 2:53 PM, Shedokan shedok...@gmail.com wrote:
I have in the last week posted about three unique posts in the Google
App Engine Python Group about different questions
You guys were getting spam moderated. I've whitelisted you both.
On Wed, Mar 24, 2010 at 1:31 PM, Scott Southworth
scott.southwo...@gmail.com wrote:
I had the same problem when posting to the Python group.
I gave up and only post to the main group now...
On Wed, Mar 24, 2010 at 2:53 PM,
Sometimes such simple query
release = Release.all().order('-pub_date').fetch(1)[0]
ends with exception DeadlineExceededError. Release has 28 records. Website
has more than 1000 pageviews daily.
Is it known(?) problem? Or I just so lucky?
--
You received this message because you are subscribed
Hello,
I have an idea for a web application and am starting to do research
on the design and implementation. I ran across GAE and it seems to fit
all the requirements. I have two quick questions though:
1) The application will require users to enter secure data. Assuming
the application is
Datastore retries happen on the datastore side now, the RPC call just
blocks.
I wish we had an option for the old way, so we could control the
retries in our code. I think this new rpc blocking retry hurts
advanced users.
-mike
On Mar 24, 3:34 pm, Vladimir Prudnikov pru...@gmail.com wrote:
--On Wednesday, March 24, 2010 11:21 AM -0700 S.P.T.Krishnan
sptkrish...@gmail.com wrote:
Hi Ikai,
Thanks for the reply.
Sure I will architecture my application this way. Is the limit for
queued/scheduled tasks also 30 seconds as well or is it some other figure
?
I'm sure that part of
On Wed, Mar 24, 2010 at 10:41 AM, Jason Funk jasonlf...@gmail.com wrote:
Hello,
I have an idea for a web application and am starting to do research
on the design and implementation. I ran across GAE and it seems to fit
all the requirements. I have two quick questions though:
1) The
Hi
You really should start by thinking about the realized entities and
how they relate to each other at a
an application level rather than a sql table layout. Even think of it
as a high level Entity model in UML
before its transformed into a datamodel. Thats probably a closer
representation of
Ok. Is there an alternative solution?
I use the same login to sign-in to iGoogle/Gmail/etc. as I do to sign-
in to my GAE application. In fact, when I sign-out of the GAE
application, I am also signed-out of iGoogle and my Gmail altogether.
I'm using the url module mode in my gadget. And, it
I have done exactly this - set up supp...@..., cont...@... and
accou...@... on my google apps account, and then invited them to be
developers. Works fine.
Cheers
Greg.
On Mar 25, 7:55 am, Nick Johnson (Google) nick.john...@google.com
wrote:
Hi Frank,
On Wed, Mar 24, 2010 at 4:15 PM, Milk
I also started seeing this just last night for the first time. I
haven't pushed any updates, so I don't believe it's an error on my
end.
Anyone else?
On Mar 23, 7:23 pm, Jackie Fei 3s4m...@gmail.com wrote:
Dear all,
Exceeded soft memory limit with 187.727 MB after servicing 1 requests
total
I noticed the Java forum is more active than the Python one: 19318 vs
6429 posts.
Is there any data available for the number of Python apps vs Java on
Google App Engine?
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group,
89 matches
Mail list logo