Does anyone have tried to implement an app in GAE having both java and
python?
I have an existing app and my front end is in java. Now I want to use
the existing datastore to be interfaced by python. My problem is i
don't know how to define the relationships and model that would be
equivalent
The objects have been detached.
Ok. So the objects *have* been read from the datastore, since to
detach them you obviously have to retrieve them first ... then detach
them. And the exception is presumably coming from GWT, but then I
don't see your stack trace so have no way more than guessing.
Hi!
It is pretty common usecase for public sites - admin uploads some
static html+css+images via and it is served from some servlet in
application in structured way.
Of course in GAE it is imposible directly, but could be simulated.
We could store hierarchical info in some entity structure
It depends why you're making the tweaks - if you are just testing the
CSS to make sure a certain tweak has the desired affect, then you
could use something like Firebug to change the CSS on a particular
page until it's correct. However, if you want that change to persist
across multiple pages
Jasper?
--
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.
Hello,
I was developing a web application and I needed to add chart
visualization with google visualization api and then the servlet that
I was using was modified to inherit from DataSourceServlet instead of
HttpServlet.
I tried to deploy but now I have 404 http error when I am testing to
pass
Hey all,
I have a signed java applet (voice recorder) that I've been using on
GAE/J for the past few months. I use maven-jar-signer to do the
signing. Everything had been working great but I upgraded to SDK
1.3.1 and saw that precompilation was causing the following error:
failed wicket.google
Are you serving the applet out of WEB-INF/lib somehow? We should only be
processing jars in that directory.
If you're serving this files to clients you should be able to either place
it outside of WEB-INF and let it be served as any other static file, or
store it somewhere other than WEB-INF/lib
I have a class College declared with location and fName String fields.
I am trying to retrieve values from that table using the following
query. On execution it says that SQL construct is not supported by the
JDO in googe app engine.
Query query = pm.newQuery(javax.jdo.query.SQL, select * from
Hi,
Can we generate excel sheets using the google app engine? I have seen
some posts and support for Python but nothing on the Java side.
Is it possible to generate an Excel report using the google app
engine? Or shud we rely on the streams to generate a workbook.
Thanks.
--
You received this
That would be great if you could post your workaround!
Thanks
On Mar 23, 6:13 pm, moca jwein...@gmail.com wrote:
I have a fix for this that i will share later this evening, but i also
ran into this issue. It would be good to have this fixed.
My fix basically entails parsing the native stream
I've been scratching my head over this one for a while...
I have a parent object that participates in an owned one-to-many
relationship with a child object. After the parent object is created,
it is retrieved with its collection of children in the selected fetch
group, and then detached. Then,
MODEL OBJECTS:
@PersistenceCapable(detachable = true)
@FetchGroup(name = children, members = { @Persistent(name =
_Children) })
public class Parent {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key _ID;
@Persistent
private String
hello
how can I get URIINFO object in Google app engine from jersey API.we
use this class object by context inject annotation in JEE container but app
engine it produces exception.
*InitialContext* is a restricted class. Please see the Google *App
Engine*developer's
guide for more details
I am trying to remove an object from the datastore without and I want
to know if my approach can be made to work with transactions.
I have a collection of entities that all participate in owned
relationships. However, one entity has an unowned collection of keys
that refer to another entity.
has anyone got this running? Even i want my application to generate a
report in the form of an excel. Can this be done on the GAE platform?
I dont see any threads in Java. However looks like python supports it.
On Mar 11, 7:57 am, Just A Guy Trying to Get By
mr.joseph.ha...@gmail.com wrote:
You'll need to deploy the GWT app once per domain, unless you use a
proxy. The browser security model won't let you make XHR calls to a
different domain.
On Tue, Mar 23, 2010 at 5:54 AM, Kyle Baley kyle.ba...@gmail.com wrote:
We're building a GWT app that I think will be a multi-tenant one,
The snippet I posted works fine outside of GAE. Anybody know what is
going on?
On Mar 19, 12:18 pm, fletcher fle...@fletchowns.net wrote:
Anyone? This is really frustrating!
On Mar 17, 1:10 pm, fletcher fle...@fletchowns.net wrote:
I'm using the following method to fetch a page that I need
I get values around 100, but according to the doc the value should
be in seconds. But I guess it's rather 1 / 10 seconds or 1 /
100 seconds (where the latter one seems to be more reasonable).
following code:
long start = qs.getCpuTimeInMegaCycles();
//do something long running
long
Not sure I follow. We plan on deploying it only once, on AppEngine.
We'd like to use a single instance of the app but differentiate one
customer's implementation from another's via the URL. It's similar to
twitter where each user is differentiated like twitter.com/user1,
twitter.com/user2, etc.
I
I think you have to use two queries and merge the results afterwards
in your code. As you said, datastore does not allow you to use
inequality filters and logical or operators on more than one
property. I guess from a performance perspective this doesn't make
much difference. Appengine would have
Is TestEntity.position a primitive datatype? Primitive datatypes can't
be null so that's probably your problem.
On Mar 23, 2:49 pm, sree sraj...@gmail.com wrote:
when a new property is added for an existing entity, new entity will
be created along with the new property,
whereas the old entity
Ah, I see. I misunderstood your original question: I thought you
wanted to deploy a single GWT frontend and have it talk to multiple
App Engine backends.
On Tue, Mar 23, 2010 at 5:32 PM, Kyle Baley kyle.ba...@gmail.com wrote:
Not sure I follow. We plan on deploying it only once, on AppEngine.
I'm not exactly sure what you mean when you say GWT applications go to
a single URL. Have you asked on the Google Web Toolkit groups
(https://groups.google.com/group/google-web-toolkit?pli=1)? This is a
generic servlet question, so any answer you are given should also
apply to App Engine.
On Tue,
If you're using GWT, you can at least skip the GWT compile on deploy
by using appcfg update instead of the deploy button in Eclipse.
/dmc
http://turbomanage.wordpress.com
On Mar 22, 4:38 pm, Steve Pritchard steve...@gmail.com wrote:
Hi all,
Is there any way to tweak or add a static file (such
Is TestEntity.position a primitive datatype? Primitive datatypes can't
be null so that's probably the problem. Use Integer instead of int,
Double instead of double etc. And be aware that the property will be
null for all your existing entities.
Cheers, Chris
On Mar 23, 2:49 pm, sree
Hello Ikai L thanks for your reply.
You just have to persist the Person first, or create a Person, attach
Telephone
entities, then call pm.makePersistent() on the Person.
but this is problem. Telephone must not belong to Person.
Telephone module manaer telephone create/update/delete/query
Hi Damob,
They work perfectly together because your data models are *pure* POJOs
with no dependencies on the datastore at all.
In contrast, in JDO, JPA, Objectify and SimpleDS your data models
usually use low-level Keys and possibly other types. This means that
you either need to make
Yes, a lot actually. I was asking myself that question since I introduced in
my POJO's some TWIG annotation and didn't know if those information are
compatible with GWT-RPC Mecanism.
I'll give a deeper look into twig tomorow.
Thanks
Christian
On Tue, Mar 23, 2010 at 10:03 PM, John Patterson
I'm getting this exception trying to use GAE to login in my local
environment.
java.lang.NullPointerException
at
com.google.appengine.api.users.dev.LoginCookieUtils.encodeEmailAsUserId(LoginCookieUtils.java:
89)
at
Yeah the annotations are fine. The GWT compiler does not include them
in the compiled JS code.
On 24 Mar 2010, at 09:09, Christian Goudreau wrote:
Yes, a lot actually. I was asking myself that question since I
introduced in my POJO's some TWIG annotation and didn't know if
those
Feel free to post back if you make any improvements. Code follows:
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.util.Properties;
import java.util.logging.Logger;
import javax.mail.MessagingException;
import javax.mail.Session;
import
Ok! I'll try that and report back ASAP! Thanks!
On Mar 23, 6:47 am, Simon qila...@gmail.com wrote:
Your relationship looks to be unidirectional (unless you didn't post
all of the XYZMusicList class).
Looking at the document link you posted it would seem to suggest that
you need to either use
Ok Thanks your advices solved my problem with lowercase Comparison.
I still faces issues with these one-character Strings problem, do
you know why, when i try to compare a String Attribute in Datastore to
a one-character String, it throws this java.lang.Character cannot
be cast to
Are you trying to access the file from python? The static files are
not served from the same servers, and as such are not accessible on
the file system.
On Mar 23, 2:05 am, Glenn Blackler glenn_black...@yahoo.com wrote:
Hello --
My very simple app works fine on the dev server, but once
I know there have been few threads around about the size inflation on
the datastore. This one is a bit different.
Last week I was around 0.52gb of total stored data. It was climbing
on a steady basis as my usage increased. Then over the weekend it
jump to 0.96. There was no large amount of
Good suggestion but my observations are from a version that has been
deployed for several days.
On Mar 21, 10:03 am, djidjadji djidja...@gmail.com wrote:
Are you aware that after an update of the code the cron jobs get a
reset of the timer.
Maybe the time before cron gets back after an
I want to store and retrieve key/value pairs that may vary between
environments (development server, GAE application #1, GAE application
#2, ...). What's the best way to do this?
I feel that a small GAE configuration library that allows these
settings to be administrated in the dashboard would be
Hi Glenn,
Are you developing in Windows? If so, check the capitalization of your
filenames: Windows is case-insensitive, but all other platforms, including
production App Engine, are case sensitive.
-Nick Johnson
On Tue, Mar 23, 2010 at 1:05 AM, Glenn Blackler glenn_black...@yahoo.comwrote:
I'd like to add to my expando solution that I would cache the settings
either (or both) in memcache and the global variables of the
application. It would still be pretty inefficient, but I think it
would be usable.
On Mar 23, 10:55 am, Blixt andreasbl...@gmail.com wrote:
I want to store and
On Mar 22, 3:48 pm, Nick Johnson (Google) nick.john...@google.com
wrote
On Mon, Mar 22, 2010 at 8:45 PM, homunq jameson.qu...@gmail.com wrote:
OK, after hashing it out on IRC, I see that I have to erase my data
and start again.
Why is that? Wouldn't updating the data be a better option?
Could someone explain me how the authorisation cookie behaves ?
I've seen the following parameter in the GAE administration tool /
Application settings:
Cookie Expiration: 1 day / 1 week / 2 weeks
App Engine uses a cookie to keep users logged in to your
application.
You can control
Hi,
On Tue, Mar 23, 2010 at 10:25 AM, homunq jameson.qu...@gmail.com wrote:
On Mar 22, 3:48 pm, Nick Johnson (Google) nick.john...@google.com
wrote
On Mon, Mar 22, 2010 at 8:45 PM, homunq jameson.qu...@gmail.com wrote:
OK, after hashing it out on IRC, I see that I have to erase my data
Hi,
The only valid value for 'required' is 'True'. If you don't want it to be
required, simply omit the argument altogether.
-Nick Johnson
On Tue, Mar 23, 2010 at 3:09 AM, dhruvbird dhruvb...@gmail.com wrote:
Hello,
I have a model with a single attribute that is a StringListProperty.
I get
Hi Nick,
Thanks, thats the problem. I'm trying to put around 60 objects in
memcache using set_multi
and its failing for all the objects so in case of failure I'm deleting
the objects in memcache
then splitting the dict and updating, and its working.
I don't know, after posting the problem I
Hi Brian,
Are you using single db.put() for all the entities?
Thanks
Adhi
On Mar 10, 5:36 pm, bFlood bflood...@gmail.com wrote:
hello
maybe you should try 11 parts so each would be below the max 1MB api
limit. You definitely need separate entities for each part
--
You received this
Hi Karl,
You're correct that it is indeed the cartesian product in this case - it
produces one index entry for every unique tuple of values from the indexed
columns.
This gets slightly more complicated in the situation where the same column
is being indexed multiple times. In that situation, the
Thanks for that, but it's still getting null. I've tried changing the
URI and the file's location around (and triple-checking that I've
spelled it correctly), but still nothing. I've included these lines in
the appengine-web.xml file, as the tutorial says. Can you please say
if you see anything
I will try to explain my problem
explaple we have entities recorded with a timespan in the moment it
have been put. Now I would lik retrieve entities with = 2 hours or
2hour 4 hours acording moment you perform the request, using not-
equal filter is easy but my questions is:
how can get
On Mar 23, 6:32 am, pca pierre.carbonne...@gmail.com wrote:
Could someone explain me how the authorisation cookie behaves ?
I've seen the following parameter in the GAE administration tool /
Application settings:
Cookie Expiration: 1 day / 1 week / 2 weeks
App Engine uses a cookie
On Mar 22, 11:09 pm, dhruvbird dhruvb...@gmail.com wrote:
Hello,
I have a model with a single attribute that is a StringListProperty.
I get an error if I define it as such:
class Test(db.Expando):
people = db.StringListProperty(required=False, indexed=True)
However, on changing it
Watching my deletion process start to get trapped in molasses, as Eli
Jones mentions above, I have to ask two things again:
1. Is there ANY ANY way to delete all indexes on a given property
name? Without worrying about keeping indexes in order when I'm just
paring them down to 0, I'd
On Tue, Mar 23, 2010 at 1:57 PM, homunq jameson.qu...@gmail.com wrote:
Watching my deletion process start to get trapped in molasses, as Eli
Jones mentions above, I have to ask two things again:
1. Is there ANY ANY way to delete all indexes on a given property
name? Without
All,
I am building an application where I need to model a 1-many
relationship. The many side of the relationship needs to scale to
about 1 million items at maximum. In his talk, Building Scalable and
Complex Apps, Brett Slatkin suggests using ListProperty to model this
type of relationship;
Thanks for the clarification, Nick.
Karl
On Mar 23, 5:58 am, Nick Johnson (Google) nick.john...@google.com
wrote:
Hi Karl,
You're correct that it is indeed the cartesian product in this case - it
produces one index entry for every unique tuple of values from the indexed
columns.
This gets
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 and the file's location around (and triple-checking that I've
spelled it correctly), but still nothing.
Thanks for your feedback. Any googlers want to weigh in on this?
On Mon, Mar 22, 2010 at 12:58 PM, Patrick Twohig
patr...@namazustudios.com wrote:
On Mon, Mar 22, 2010 at 5:47 AM, Wooble geoffsp...@gmail.com wrote:
On Mar 22, 12:36 am, Iap iap...@gmail.com wrote:
My concern is that the
On Mar 23, 12:09 pm, jpuopolo puop...@gmail.com wrote:
1. If I could make it so that the many side of the relationship did
not need indexing, can a ListProperty deal with 1 million (non-
indexed) items?
No; the whole entity has to be smaller than 1MB, and you'll need
considerably more than a
Hi,
I'm trying to deploy a GWT/GAE application with Google Authentication,
via UserService. My application allows to login and logout from my
Google accounts, and now, I want to login/logout with my Google Apps
domain accounts (and, at the end, deploy this app on Apps
MarketPlace).
To do this,
Is there a way to test my application without uploading the
application to server.
I want to test reply to XMPP Messages
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
Hi,
I've just uploaded the code for my app to a fresh new app instance.
The app includes some index definitions, but there is no data in the
datastore whatsoever -- it is completely empty.
Over 40 minutes later, I still cannot run or test anything because the
app is still building indexes. Why
Hi,
I've just started to play around with Google App Engine and have run
into an issue that you guys may be able to help me with. I want to
expose a Java web service for exchanging data with clients and was
hoping to do this with a standard SOAP web service using something
like AXIS2. After a
Can i use the lxml.html this object in google app engine
tell me,pleasethx
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send
Can you file a bug in our issue tracker and list which JARs you
removed to fix this?
http://code.google.com/p/googleappengine/issues/list
Mark it as an Eclipse plugin issue.
On Mon, Mar 22, 2010 at 9:34 AM, haole mejoe...@gmail.com wrote:
after updating to the newest release (20100319) of the
Are you using sessions?
On Tue, Mar 23, 2010 at 12:43 AM, Kenneth goo...@kmacleod.ie wrote:
I know there have been few threads around about the size inflation on
the datastore. This one is a bit different.
Last week I was around 0.52gb of total stored data. It was climbing
on a steady
We don't have any plans to build this, but we're fully supportive of
the folks who work on TyphoonAE (Python) and AppScale (Java). The
AppScale folks gave a talk at a recent Silicon Valley App Engine
Meetup we held at the Googleplex, and we're trying to invite the
students and their professor to
On Mar 23, 7:11 am, Ka-Ping Yee zestyp...@gmail.com wrote:
Hi,
I've just uploaded the code for my app to a fresh new app instance.
The app includes some index definitions, but there is no data in the
datastore whatsoever -- it is completely empty.
Over 40 minutes later, I still cannot run
I use both Hessian and REST/JSON (using Resteasy).
Hessian is by far the easiest approach, and the most idiomatically
Java-friendly on both client and server.
REST/JSON is by far the most universally compatible approach.
Resteasy works on GAE without issues.
Jeff
On Tue, Mar 23, 2010 at 3:08
Did you try vacuum_indexes? If you already did, sometimes the app
engine gets stuck in creating indexes. In that case it never creates
your indexes.
If you wait for a few hours more and still no luck, you basically have
2 options, I think.
1. Ask Google to fix the problem
2. Create another
Any chance we can get the Java api proxy opensourced like the Python one?
Jeff
On Tue, Mar 23, 2010 at 11:54 AM, Ikai L (Google) ika...@google.com wrote:
We don't have any plans to build this, but we're fully supportive of
the folks who work on TyphoonAE (Python) and AppScale (Java). The
You can have multiple indexes on the many side. Decouple the ListProperty
in its own model and use a key only query to find the ancestor key. Then a
db.get will get you what you want.
Example:
class Dude(db.Model):
name = db.StringProperty()
class DudeIndex(db.Model):
relates_to =
Hi there,
at the moment I have a Google Apps Standard Edition. Everything works
fine.
Now I want to add a new App Engine application to my account. I have
used the following link: https://appengine.google.com/start . After
creation of the application I constantly be redirected to the same url
I have a simple app with a single static dir called statics.
In that static dir there are 2 files, a JS file and a CSS file. Ive
been making changes to both (and other files in other folders) and
updating - but my CSS file never changes. The only other file in the
statics folder is a javascript
I've confirmed that this is a bug in the 1.3.1 version of the Google
Plugin for Eclipse. It will be fixed in the next public release. In
the meanwhile, unfortunately, it's not possible to determine the
actual cause of the error via the Eclipse error log, because the
actual exception is being
Maybe, though I wonder if there's a good reason besides resources why
it is not. Can you fill out an issue?
http://code.google.com/p/googleappengine/issues/list?cursor=1867q=apiproxy
On Tue, Mar 23, 2010 at 2:02 PM, Jeff Schnitzer j...@infohazard.org wrote:
Any chance we can get the Java api
Can you post the URL to the CSS file as well as what it should be?
On Tue, Mar 23, 2010 at 1:00 PM, im_a_computer
jordansterli...@gmail.com wrote:
I have a simple app with a single static dir called statics.
In that static dir there are 2 files, a JS file and a CSS file. Ive
been making
Done:
http://code.google.com/p/googleappengine/issues/detail?id=3006
Jeff
On Tue, Mar 23, 2010 at 3:14 PM, Ikai L (Google) ika...@google.com wrote:
Maybe, though I wonder if there's a good reason besides resources why
it is not. Can you fill out an issue?
Thanks - I should have thought of that. Really appreciate it.
On Mar 23, 2:56 am, Nick Johnson (Google) nick.john...@google.com
wrote:
Hi Glenn,
Are you developing in Windows? If so, check the capitalization of your
filenames: Windows is case-insensitive, but all other platforms, including
No
lxml has c dependencies
You can only run pure python.
T
On Mar 23, 11:55 pm, shin-chieh hung natsu0...@gmail.com wrote:
Can i use the lxml.html this object in google app engine
tell me,pleasethx
--
You received this message because you are subscribed to the Google Groups
As expected, it was my own fault :). Disregard!
On Mar 23, 12:09 am, Blake blakecaldw...@gmail.com wrote:
My crontabs have been taking around 500-600 cpu seconds, but today
have been up over 1000 cpu seconds. I'm not asserting that there's an
issue - it's possible it was a change I made,
yea, flash is a static directory. I tried using a nonstatic directory,
and that seems to work. So I suppose you're not allowed to have
templates in static directories then. :)
On Mar 17, 10:47 pm, Wooble geoffsp...@gmail.com wrote:
Have you defined flash as a static directory?
On Mar 17, 3:12
It seems to be issue querying with Key param
Please check another article from Max and see if it help:
http://gae-java-persistence.blogspot.com/2010/01/querying-with-key-parameters.html
On Mar 23, 1:47 pm, vchalmel groupeprojeten...@gmail.com wrote:
Ok Thanks your advices solved my problem with
ok~~
thank you ^^
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For
So I know that if I want to use jquery I write this in the header of
my html page:
script src=http://ajax.googleapis.com/ajax/libs/jquery/1.3/
jquery.min.js type=text/javascript/script
But what do I do if I also want to use jquery's form plugin:
http://jquery.malsup.com/form/
I am guessing that
84 matches
Mail list logo