DataNucleus: OK.
Jolam: how did you fix your problem?
--
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
goog
I have the default log4j.properties in WEB-INF/classes dir. but the warning
always comes up. the file is visible because I can change the log level to
ERROR to get rid of the warning.
-aj
On Fri, Feb 19, 2010 at 7:24 PM, Rusty Wright wrote:
> I think you can simply put the log4j.properties file
On Wed, Mar 10, 2010 at 7:39 PM, John Patterson wrote:
> On 11 Mar 2010, at 03:40, Jeff Schnitzer wrote:
>
> That is an empty claim with no example or evidence. Every comparison we
> have see so far is cleaner and more readable in Twig.
Nonsense. The only example that was "cleaner and more rea
Actually i have encounter new problems...I will ask for help in a new
post...
On Mar 11, 4:01 pm, Ian Marshall wrote:
> DataNucleus: OK.
>
> Jolam: how did you fix your problem?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To
I have defined two classes named TotalInformation and UrlInformation:
TotalInformation:
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key key;
@Persistent
private int urlNumber;
UrlInformation
What i'm gonna ask is how can i store two class with no reference to
each other in a single transaction and how can i retrieve them , edit
and store them in a single transaction.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To p
Thank you Ian Marshall,
I want to log all diagnostic messages in a file by specify file name
in Log4j.properties file
as below:
log4j.appender.myapp.file=C:/MyTestAppLogs.log
but its not working... any idea ?
Thanks,
MallikarjunBK
On Mar 11, 1:54 am, Ian Marshall wrote:
> I use both files
On 11 Mar 2010, at 16:27, Jeff Schnitzer wrote:
On Wed, Mar 10, 2010 at 7:39 PM, John Patterson
wrote:
On 11 Mar 2010, at 03:40, Jeff Schnitzer wrote:
That is an empty claim with no example or evidence. Every
comparison we
have see so far is cleaner and more readable in Twig.
Nonsense.
I think that the only way to do this is to have both of your instances
in the same entity group.
So, even though each instance will have no (direct) reference to each
other, they will need to share an entity ancestor (which will ensure
that your instances are in the same entity group (the same ent
In fact, I have two "log4j.properties" files: one for my build
environment and one for running GAE/J (either the development server
on my computer or in the production (cloud) environment). In my
earlier post I mentioned my running properties file only.
BUILD ENVIRONEMNT EXTRACT
-
Hi,
I manage the Google App Engine module for the Play! java web framework
(http://www.playframework.org). While generated applications run
correctly on the local and production runtimes, the precompilation
process always fail.
It seems that any war generated by play cannot be precompiled (So for
Hi,
Thanks for your response...I dont have my code with me right now..I
will post it in a day or two. Meanwhile, do you have any example of
handling two dimensional arrays into two separate lists of ArrayList?
-Thanks
Ganesh
On Mar 10, 5:17 pm, Robert Lancer wrote:
> Just use two separate lists
> I tried changing the string array object to java.util.arraylist (gave
> serizable = 'true' option). This time I was able to write the data
> successfully. But when I tried to retrieve it, I am facing null
> pointer exception.
Perhaps if you actually posted the NPE+stack trace, and code used to
r
Hi Everyone,
Cloud2db is pleased to announce the availability of Cloud2db JDBC
driver for Google Android platform. With this driver you will be able
to access your Cloud2db instance from the Android applications using
standard JDBC concepts. Please download the Cloud2db Server and JDBC
driver from
Hi blake,
could you give me simple example on how to use the @version, or any
reference material?
thanks!
On Mar 9, 11:35 pm, Blake wrote:
> You could also go with the sharded counter strategy. The more shards
> you have, the less the chance that you'll have a collision, and you'd
> use @Versi
Could someone confirm if my thinking is correct regarding the status
of datastore if the 30 seconds timeout occurs in the timeline below?
start of servlet
...
some process
...
transaction start
... <--- a) 30 second timeout!
some process
... <--- b) 30 second timeout!
commit transaction
... <---
If you have your log4j.properties file at the root of your source tree, it
should automatically be copied over to war/WEB-INF/classes whenever Eclipse
performs a build of your project; you should not have to copy it over
manually.
I'm not sure why you're getting the error with regard to
Datanucleu
I setup some pings of my add a few minutes ago, and I'm still seeing
recycling :(
My ping setup can't go lower than 60s intervals, so I have two running
concurrently. Here's a sample of 20 log entries over 10 minutes,
with . Three recyclings occur, and they happen less than 10s after a
previous
On Wed, Mar 10, 2010 at 8:05 PM, Spines wrote:
> Sorry, I don't think I really understood the task queue approach. To
> ensure no loss of data, would the task have to update in the datastore
> every time? And the benefit over just doing it directly in the
> servlet handler would be the faster re
> could you give me simple example on how to use the @version,
The DataNucleus docs define that, and much more
http://www.datanucleus.org/products/accessplatform/jdo/orm/versioning.html
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" gro
It's the kind-hearted man Ian Marshall again. :)
I have solved the problem mentioned above by setting the key of a
class to be stored a key with common ancestor like u said.
But there's one thing i think we should noticed that if we retrieve a
entity by a key with no parents ,say we create it by Ke
yes, log4j.properties is copied by the build. the app uses it. the warning
message is weird. thanks.
On Thu, Mar 11, 2010 at 8:10 AM, Rajeev Dayal wrote:
> If you have your log4j.properties file at the root of your source tree, it
> should automatically be copied over to war/WEB-INF/classes wh
Can you respond privately with your app id?
On Thu, Mar 11, 2010 at 10:10 AM, James wrote:
> I setup some pings of my add a few minutes ago, and I'm still seeing
> recycling :(
>
> My ping setup can't go lower than 60s intervals, so I have two running
> concurrently. Here's a sample of 20 log e
Setting:
List arrayDim1 = new ArrayList();
List arrayDim2 = new ArrayList();
entity.setUnindexedProperty("ArrayDim1", arrayDim1 );
entity.setUnindexedProperty("ArrayDim2", arrayDim2 );
Unless your looking to run queries against the lists use the
setUnindexedProperty.
Getting:
List arrayDim1 =
I've recently converted from JDO to Twig. I've been able to remove an
optimization hack that queried the datastore every 15 minutes to cache
data from a 1+ minute operation. I can now have end users execute
essentially that same logic in real time.
Have not tried Objectify so I can't comment on
I'm attempting to build a simple Java app, but as soon as I call
pm.makePersistent( entity ) I get this error. I've only seen a couple
other instances of this problem (here's one:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/ec3beda8fbd9c154
).
I don't believe this is
Hi All,
I am facing problem with a query
when i am adding filter with equality operator (== set) and providing
range, it gives all the records.
Please help me.
Thanks,
Abhi
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To pos
Hi there,
I've created a servlet, which simply reads requests using Apache
Commons FileUpload, and then if an image has been uploaded, it
converts it into a .pdf file using the PDFJet OS library. My question
is how do I feed back the client with the generated PDF? Thanks!
--
You received this mes
I have persistent object, with a string property that often is over
500 charachters. Google App Engine says I need to save it as a
com.google.appengine.api.datastore.Text.
How do I either convert a String type to a
com.google.appengine.api.datastore.Text type so I can use a
setMethod() on the prop
I started at:
http://code.google.com/appengine/docs/java/gettingstarted/usingusers.html
but am laughably stuck at
"To allow the user to sign out, provide a link to the sign-out screen,
generated by the method createLogoutURL()."
despite looking through the documentation at:
http://code.google.c
Hi All,
I have my own domain www.xyz.com , I have taken an google appengine
account of 7$ per week. As per this account I can send emails to more
than 2000 people,
I have created a group on my domain using Google Apps which has 3000
people, when I send mail to this group id it says , the group ex
Problem: I have an application built using GWT + GAE, it stores data
which I would like to be able to report on in the form of an excel
table.
Attempted solution: I thought that I could create a servlet which
would dump the data into an google spreadsheet and then export the
spreadsheet back to th
> when i am adding filter with equality operator (== set) and providing
> range, it gives all the records.
You don't quote the query, nor the query mechanism (local API, JDO,
JPA, who knows what) so am doubting you will get a reply without such
infos
--
You received this message because you are
All these approaches are great but they lack structure, standards and
interoperability required to build large scale enterprise systems. The
better persistance approach is to build a database engine on top of Google
Datastore (Bigtable) which could be managed via a standard data model and
accessed
Quick thing to try: run the server as "Debug" and not "Run". This
allows for hot class reloading.
On Thu, Mar 11, 2010 at 12:27 AM, Thanks in Advance
wrote:
> I started at:
> http://code.google.com/appengine/docs/java/gettingstarted/usingusers.html
> but am laughably stuck at
>
> "To allow the
I'm using the Eclipse Google plugin, and every once in a while after a
build I get the dreaded "this class is not enhanced!" errors for all
my entities (even when I don't edit any of them). Any idea why this
is? If I touch the files, they get built/enhanced again fine, but this
is getting to be a r
I'm having the exact same problem.
I added some new jars and they're not being uploaded.
And when I go to run the app I get a class not found exception which
is located in one of the new jars.
It just comes up with uploading 0 files.
I checked the temp folder and all the new jars are in there but
t
On Thu, Mar 11, 2010 at 4:59 AM, John Patterson wrote:
>
> Well then, where are your examples? I responded to the "edge cases" you
> asked about with a simple example. Now its your turn to show me how
> Objectify would code the example I asked about.
I can see you are proud of your OR implement
I've identified a bug in the precompilation process (well, another symptom
of a problem we were already working on fixing).
As a workaround, if you can stop providing play-gae.jar in both WEB-INF/lib
and WEB-INF/modules/gae/lib this issue should go away. Those two files just
need to not have iden
Here's some code I wrote a while ago. Note that I pulled this from
docs I was working on about saving attached Images in the datastore
and not a test case, so it may not work out of the box without some
tweaking. Give it a try (and if it's broken, fixes appreciated!):
http://pastie.org/865494
pub
This shouldn't take that long to run. Can you post any other code or
benchmarking code?
On Sun, Mar 7, 2010 at 6:33 PM, Karel Alvarez wrote:
> Hi guy,
> I hate to bother everybody again.
> I have a ver simple class, some fields, and an String primary key. One
> of the fields "lastTimeIndexed" is
Yes, you will have to specify your proxy settings.
On Tue, Mar 9, 2010 at 8:32 AM, WillSpecht wrote:
> I am getting the following error when trying to upload my app to app
> engine. What does the 302 Redirected mean? I am behind a proxy could
> this be part of the problem?
>
> Error
> Tue Mar 0
On 12 Mar 2010, at 02:49, Jeff Schnitzer wrote:
On Thu, Mar 11, 2010 at 4:59 AM, John Patterson
wrote:
Well then, where are your examples? I responded to the "edge
cases" you
asked about with a simple example. Now its your turn to show me how
Objectify would code the example I asked ab
Really nice to hear that Bob! I am also in the lazy developers camp :)
On 12 Mar 2010, at 01:02, Bob wrote:
I've recently converted from JDO to Twig. I've been able to remove an
optimization hack that queried the datastore every 15 minutes to cache
data from a 1+ minute operation. I can now
You're welcome!
Yes, I believe that, as you have done, the key has to hold the full
entity path, from the entity group root, through children, to the
entity. If the entity is its own root (not in your case) then only one
element is needed.
I believe that the key also has info about the app, so th
what kind of benchmarking you need? I could send you the local_db.bin
file? and the code, and you can debug it line by line, it is pretty
ovbious when that one line takes minutes to run...
thanks!
Karel
On Thu, Mar 11, 2010 at 3:16 PM, Ikai L (Google) wrote:
> This shouldn't take that long to ru
As I understand it, you never need (or can) prefix you appid to the
key. If you could it would open up the option to get data from other
appids, and that is not possible. That is also a huge security hole,
if it existed :(
You are correct that you need to include the full ancestry to define
the ke
Oh, this is slow locally? Yes, that makes sense. Our local datastore
stub isn't meant to run fast. We're thinking of replacing the flatfile
stub with SQLite, which would mitigate the pain slightly. How does it
run in production?
On Thu, Mar 11, 2010 at 1:25 PM, Karel Alvarez wrote:
> what kind of
Is cpu_ms is the only thing that is limited? Is api_cpu_ms in the
logs is just for our information?
With this:
7802cpu_ms 6500api_cpu_ms
The only quota used up is 7802ms of CPU time right?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java
wow!, seriously? is this in the docs?? I don't recall ever reading
about the dev server being significantly slower than production, for
only one user, one request?
No, I don't have the code in production, I would not put a code in
production that I know for sure (now I know better) is not going to
The dev appserver is a simulator, not a true emulator. It'll run much
slower locally than in production because in production Google uses
BigTable, scalable email service, scalable XMPP, scalable task
executor, etc.
On a side note, this is the lesser of two evils, anyway. Anyone that
has done iPho
I'm only able to delete 20 entities at a time, I have over 500
entities of a certain kind. Is there a way I can delete them all from
the admin console?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send e
I'll try to ignore the blatent trolls. But you want things easier to
do in Objectify than Twig, so here's a few:
-
How, in Twig, do you rename a field?
Objectify lets you import data from a variety of historical formats;
as you load and save data it will naturally be transformed in format:
i tried using gae sdk 1.3.1 but still got enhancer looping.
it seems to happen when i include spring 3.x libs i dunno giving
up and going for ant task.
-lp
On Mar 3, 1:43 am, Rajeev Dayal wrote:
> Seehttp://code.google.com/p/googleappengine/issues/detail?id=2115. This may
> be the issue tha
Lloyd,
String reallyLong = "It was the best of times, it was the worst of
times. (...) ..";
Text myText = new Text(reallyLong);
I don't understand your reference to "setMethod()".
Cheers!
On Mar 10, 10:53 pm, Lloyd wrote:
> I have persistent object, with a string property that often is ov
This is the class which I wanted to write into datastore:
import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import java.util.List;
import java.util.Arrays;
import java.util.
Did you try the GPE 1.3 preview release? It should have addressed this
looping problem.
On Thu, Mar 11, 2010 at 5:48 PM, lp wrote:
> i tried using gae sdk 1.3.1 but still got enhancer looping.
>
> it seems to happen when i include spring 3.x libs i dunno giving
> up and going for ant task.
Thanks for your help Don. Just one more question (hopefully :)).
I think just the request logs will be good enough for my purposes, and
I won't actually have to use the diagnostic logs. How much past data
is stored for the request logs?
On Mar 11, 8:16 am, Don Schwarz wrote:
> On Wed, Mar 10,
Anyone know of a reliable Java library for cryptography that works on
the app engine? I want to encrypt with AES.
--
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...@googlegro
Update:
This website (http://www.jscriptive.org/2009/08/jasperreports-and-
google-appengine.html) appears to confirm that it's a real issue
rather than simply something I've done wrong or overlooked.
This website (http://code.google.com/p/g2-report-engine/wiki/
AppEngineSupport) seems to be a bas
I think bouncy castle is a good library to use, does anyone know if it
works on the app engine?
--
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 unsubsc
On 12 Mar 2010, at 05:45, Jeff Schnitzer wrote:
How, in Twig, do you rename a field?
I'm glad you brought this up. I've found simple renames are better
handled at the low level - no need to rehydrate them into instances
just to rename a property.
But for typesafe changes large or small
I've also put the source for my layered cache here:
http://code.google.com/p/stick-cache/
You basically have one interface and 3 implementations: memcache,
datastore, in-memory (LRU ReadWrite locks)
One quite handy thing it does is handle blocking for expensive items.
You can pass a Cal
Okay, time to chime in. There are some pretty different philosophies
driving these frameworks.
On Fri, Mar 12, 2010 at 4:56 AM, John Patterson wrote:
>
> On 12 Mar 2010, at 05:45, Jeff Schnitzer wrote:
>
> How, in Twig, do you rename a field?
>
> I'm glad you brought this up. I've found simple r
in the admin console:clike the next 20 entity,then change the brower's
location.href set *size=200* and *offset=0*, enter^ ^
The offset's max is *1000*
Good luck!
2010/3/12 Spines
> I'm only able to delete 20 entities at a time, I have over 500
> entities of a certain kind. Is there a way I ca
On 12 Mar 2010, at 13:01, Scott Hernandez wrote:
We have a different idea about live systems and managing
upgrades/deployments. To answer the question below, you can always
upgrade the data in place because you will always need a way to load
that data into the current object representation. It j
Hi,
I've uploaded my app numerous times without any problems.
But now when I add a new jars to the WEB-INF/lib dir and then run
appcfg.sh it says "40% Uploading 0 files.".
I know for a fact these jars have never been uploaded as part of this
app before.
And when I run the app I get a ClassNotFound
67 matches
Mail list logo