Sounds like you may need a Log4j configuration file in your file structure
(under war) and tell appengine where to find it - via a config file
Don't have the details at hand here right now, so try looking at gae docs on
configuring logging and if no luck then let us know and we can try to he
Nulls (Java), if the object can have null as a value. E.g. Integer can be null,
int cannot.
I think this is explained in GAE/JDO documentation.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To view this discussion on the web vi
Yes. More votes for a Google response on this.
Anyone with a premium account and better support want to take up the cause on
all our behalf?
Submit a defect report we can all star?
Please post link to it here
--
You received this message because you are subscribed to the Google Groups
"Go
Good question!
For us, the feature is useless without this
All datastore admin tools and utilities need to be data space aware by
default.
On Feb 24, 3:50 am, Aswath Satrasala
wrote:
> Hello,
> In the Datastore Admin console, there is no UI to backup for the data
> containing in namespaces.
Also, I think there is a feature request for this in issue tracker.
I'd find it and star it.
On Feb 24, 3:50 am, Aswath Satrasala
wrote:
> Hello,
> In the Datastore Admin console, there is no UI to backup for the data
> containing in namespaces. It shows only the entities in no namespace.
> Whe
Good question!
For us, the feature is useless without this
All datastore admin tools and utilities need to be data space aware by
default.
On Feb 24, 3:50 am, Aswath Satrasala
wrote:
> Hello,
> In the Datastore Admin console, there is no UI to backup for the data
> containing in namespaces.
If you set a parent on the entity, and then query using the that parent as the
ancestor in the query, the data is sure to be returned.
There's more info here:
http://code.google.com/appengine/docs/java/datastore/queries.html#Ancestor_Queries
Sent from my mobile
On 19/02/2012, at 1:27 PM, sj w
Thanks. I was at the Issues page about to open it, when I saw your
update.
I have starred and added a comment regarding my need.
--
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
Does a feature request exist that we can star?
If not, let's create one?
--
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-java@googlegroups.com.
To unsubscribe from this group,
Hi Daniel.
That makes sense when internally you create Jars for modules to use in
multiple projects.
We are not using doing that. We inherit sub-modules in different ("top-
level") modules that we GWT compile.
So the Javac/GWT compile takes care of all that putting the .class
files into /war/
We had a similar need for serving font files cross-site,
as some versions of IE need the header, and didn't find anyway to do
it for a static file.
We need something like the mechanism for mapping file extensions to
mime types in web.XML
--
You received this message because you are subscrib
We use GWT in our GAE project for UI stuff, plus RPC to back-end.
In GWT you can use third party packages/modules that are packaged
into .jar files, and can include Java source for server side, client
side Java source (which is used during the GWT compile cycle to
produce javascript), native javas
Thanks Ikai. Appreciate the clarification!
All the best,
Andrew.
On 8 February 2012 11:42, Ikai Lan (Google) wrote:
> Andrew, multiple writes of entities in a single batch put to the same entity
> group count as 1 entity group write (but many more datastore write ops -
> this
Feb 7, 2012 at 4:43 PM, Andrew Myers wrote:
>> I'm sure this is a FAQ but I haven't been able to find the answer so far.
>>
>> I have read there's a limit of 2-3 writes per second per entry group. If
>> you batch out multiple entities that all have the same p
it is multiple writes in terms of
write quotas but am not sure if it's a problem in terms of the writes per group
per second?
Many thanks,
Andrew
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group,
Just an update on this. I've got it working by using the BlobStoreInputStream.
Regards,
Andrew.
On 4 February 2012 13:38, Andrew wrote:
> Hi,
>
> I'm trying to save a file to the blobstore similar to what is
> described in docs at this page:
>
> http://code.go
}
Key definitely gets populated. So I'm not sure why
readChannel = fileService.openReadChannel(file, false);
isn't working.
Can anyone see anything obviously wrong with my code? Or have any
suggestions as to how to get things working?
Many thanks in advance,
Andrew.
--
You received this mess
A FYI about alternating versions for deployment to production...
Our build script names the version according data from SVN (GIT would
be similar), as a working copy (name = data and time), revision
(name=r123), or tag (name = tag name = our release version number).
Then the uploaded versions in
You might want to look into the algorithm for scheduling workers, as
mentioned here
http://code.google.com/appengine/docs/java/config/queue.html#Queue_Definitions
(push queues only)
Task queues use a "token bucket" algorithm for dequeueing tasks. The
bucket size limits how fast the queue is proc
The problem with a cron every 30 seconds is that it will fire, and
start up instances if you have none running - or extra instances if
you have one busy - even where there is no "work" to be done.
Maybe you have this non-time-critical work to be done once a day (as
is my case also) and you don't
And we can submit an enhancement request and all star it.
Seems silly that isUserAdmin() works sometimes and others not.
Existing issue reported is fixed as "use the header".
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To
Ikai,
Any additional information available on the features of this new tool?
Specifically, support for copying all/multiple namespaces from one
datastore to another...
Thanks
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To p
Well, if Google guarantee to us that that header can never be set in
any other external request to your app - it is a rudimentary form of
security
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send emai
On Nov 30, 8:46 pm, Andrew Ducker wrote:
> I'm using the Apache XML-RPC modules to make calls to update a
> Wordpress blog. It's timing out after about 5 seconds with the
> following:
Never mind. It would have helped significantly if I'd set the timeout
in millisec
I'm using the Apache XML-RPC modules to make calls to update a
Wordpress blog. It's timing out after about 5 seconds with the
following:
Something unexpected has occurred. org.apache.xmlrpc.XmlRpcException:
Failed to create input stream: Timeout while fetching:
http://andrewducker.wordpress.com/x
If it's once a day, then have (one) crontask start and perform your
operation.
Another method would be to request the operation of a task queue that
would only handle one at a time, or one per day. But multiple wouldn't
coincideas the queue will handle them in order.
--
You received this message
Does the HRD migration tool migrate all namespaces from the old appid
to the new one (and off-course the data in each one)?
Thanks
--
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-appengi
On 16/10/2011 09:01, Martin Newstead wrote:
make sure your log4j.properties gets copied to your classes directory
when you build the application.
Yup, it's there.
Says:
# A default log4j configuration for log4j users.
#
# To use this configuration, deploy it into your application's
WEB-INF/cl
I have the default log4j.properties in the root of my src folder
(which is then copied to the war/WEB-INF/classes folder
automatically).
I have this in my appengine-web.xml:
If I do this:
Logger logger = Logger.getRootLogger();
logger.warn("Test
I've been trying to get it working in my GAE workspace, and I've got
it picking up my files and processing them, but it doesn't seem to be
picking up the tools.xml file from my WEB-INF folder.
(i.e. variables from the tools.xml file just appear as $whatever).
Is this something other people have e
I'm trying to get Velocity up and running with GAE, and the first
problem I'm bumping into is that servlet mapping doesn't seem to be
working as I'd expect.
I've cut down the Web.xml to its bare minimum:
velocity
org.apache.velocity.tools.view.VelocityViewServlet
velocit
Is there anyway to download logs that include the full log entry and
not just the summary line?
I'd like to every night down load warnings and exceptions from the
previous day, and send detail by email.
If there is not already an enhancement request, do others have this
need also? I would post on
Write a servlet that accepts a multi-part mime post with image as one
part. Parse out and save file part to blobstore.
In Android app, add Apache HTTP multi-part JAR to project and use
FileBody to add image file as a part and post to server.
--
You received this message because you are subscribe
notifications about it.
Have anybody also see the same errors
Thanks,
Andrew
--
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-java@googlegroups.com.
To unsubscribe from
I couldn't agree more with Jeff. JDO/JPA on GAE is pants for any real
project.
I am part of a 4 person development team that recently completed a
fairly hefty 6 month GAE project built using GAE, GWT and Guice. We
used JDO/Datanucleus for the persistence technology which caused
significant problem
We tried to debug and failed to understand it.
I discovered that if I Sign out from all my (various) Google accounts
and then retried, it worked as before.
We will try and post some more information to explain what was
happening, if not why.
--
You received this message because you are subscrib
Same here. First occurance was today March 2nd now stuck and can't
login to my app.
--
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-java@googlegroups.com.
To unsubscribe fro
Thank you Michael,
you are right this approach is too complex. I'll better copy uploaded image
to Blob completely.
On Tue, Feb 1, 2011 at 6:29 AM, Michael Weinberg wrote:
> I achieved this, but it's not trivial. I don't have a post about my
> solution, but this blog post was helpful
>
>
> http:
We are using servlet filters without any problem on app-engine for
logging and authentication of servlet.
The servlet filter spec states they can be applied to "any resource",
i.e. including html pages etc.
I have tried this on app engine without success, and when looking at
the app engine docs (
I added steps to my build to copy it.
If you want an evolving datastore, copy it out before clean. If you
have fixed contents you want, then copy out manually once when in the
state you want.
After clean, copy it back in to WEB-INF etc
I use eclipse, but netbeans builds I have seen provide p
can you show the parent class, with the field for for the Equipo
child?
It will no doubt have @Persistence annotations too...
--
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.
Is the child annotated as @persistence capable?
Is it serializable?
It also depends on the type of keys used and key generator strategy.
Show us the code defining each class and we'll let you know.
Quizas asi te ayudamos a poner tu equipo en primera división! :-)
--
You received this message be
You can find the bug reported in googleappengine Google Code Project
with Issue number 4230:
http://code.google.com/p/googleappengine/issues/detail?id=4230&q=isUserAdmin&colspec=ID%20Type%20Component%20Status%20Stars%20Summary%20Language%20Priority%20Owner%20Log
Votes in favor of fixing it are en
I submitted a bug on the subject, and it was accepted.
If you want the bug reference I can find it.
Andrew
--
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-a
esign these types of solutions.
Regards,
- Andrew.
--
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
Ikai / Google ??
Any official word on the expected/desired behavior of the UserService
for a cron task or task queue task, w.r.t. checking of the user
"isAdmin()" ??
thanks
Andrew
--
You received this message because you are subscribed to the Google Groups
"Google App Engine
Thanks Didier.
I will look into it while waiting to see if Google can respond on what
the UserService returns in this case and if it can be used.
My first thought was that it would be pretty easy for someone to
construct a request with those headers present and valid values
(especially for the "d
I am trying to debug some issues with task execution and have a
question.
Background
==
Documentation states that tasks (cron and task queue) are executed by
a system process with admin priviledges.
To protect task execution from unauthorized execution I originally
protected them with a s
using utf-8 but you need to use the content encoding of the
file, you could try latin_1 or windows-1252
Andrew Bailey
http://www.apps4u.co
Twitter @apps4uco
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to
Just to re-iterate:
the question is related to images stored in the BLOBSTORE (not the
datastore) and served via the ImageService using the
url = imagesService.getServingUrl(blobKey);
call.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Jav
Didier:
Forgot to clarify this in the previous post.
I have no problems to upload (and even delete) files to the blobstore
in local dev_server.
The problem is the URL returned by the call:
url = imagesService.getServingUrl(blobKey);
from the ImageService code when running in dev_server
it
Starman:
Unfortunately that solution won't work for the deployed code working
with the *real* blobstore/image service, as the serving URL returned
is a real URL for the ImageService on a different server to your
application, so you need to store the host and port.
I'd rather not have specific cod
if it could be done with that?
The original request: "I want to be able to programmatically detect a
new deployment" still stands if anyone has ideas.
thanks for the suggestions.
Andrew
--
You received this message because you are subscribed to the Google Groups
"Google App
Is it possible to access cron job scheduling programmatically from the
app engine Java API?
I wanted to have a servlet/task/cron be able to read the list of
scheduled cron jobs and to disable/delete one so that it is no longer
run in the future.
--
You received this message because you are subsc
I am having issues getting a url for an image to be served from the
ImageService when running locally on the dev server.
The code (which works fine when deployed) is this:
ImagesService imagesService =
ImagesServiceFactory.getImagesService();
String imageLocation =
seems clear, but it's a major hurdle for us, and so I just
want to make sure I've got it right.
This might be the trigger for me to investigate S3 and EC2....
Andrew
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" gr
s so I
don't get duplicate entities when I re-upload a file that's failed
partway through, but it'd be great to know why the bulk uploader
doesn't work out of the box.
Is anyone else having this problem and is there a simple solution or
workaround?
Thanks in advance
Andrew.
[E
Hi Muhammad,
here is a quick response:
- read the datanucleus documentation on JDO for a general background
- read the Datastore, Queries, Indexes and Relationships documentation
from App Engine (we use Java API) for the set of restrictions they
place on using JDO with the GAE datastore.
- avoid
Just to reply to the point about persistence:
> 1, GAE
> The benefits are obvious. However, it is also locking you inyou
> don't have much control over it. If you are unhappy later, you will
> have to redo the persistence layer and migrate data etc.
If you are careful, and set it as a design
Is there a supported/included XMLSerializer that I can use on GAE-JAVA
for generating XML responses, without doing it all by hand in our own
code.
It's for XML output from Java objects, which are NOT dom documents or
likewise.
If it performs XML entity encoding, then even better.
I have searched
We use JDO on top of datastore and also on MySQL (for Tomcat for
example).
Had to work through a few limitations for complete JDO portability
across both, but it works and we release and test same cide on mysql/
Tomcat also.
Have to work on JMail setup on Linux when we get time for email
sending
As mentioned, IF you are changing version number you will need to set
latest as default. Check "versions" page in dashboard.
I have seen some slight delays after default is changed for switchover
to new version to occur. A minute maybe.
Also, on browser, while on your app page, hit Control F5 to
Anyone out there got an implementation of the TaskQueue working on
other app servers (jetty, tomcat)?
We would like this as an option to ensure portability of our
application between app engine and other options.
Either the same Google TaskQueue code configured to run on another
server, or a comp
Similar here.
Now only logs WARNING and ERROR.
Logging properties set to INFO and prior to 1.3.8 upgrade INFO logged
fine.
Have configuration procedures been changed or something?
Window 7 32bit
Eclipse 3.5 and 3.6
--
You received this message because you are subscribed to the Google Groups
Solved, and my (obvious) error
The task worker was being invoked with the (default it seems) POST
method, but I had only implemented GET.
The Dashboard log showed the servlet being invoked with no error and
no output, but in fact it was trying to do the POST with no post
doPost() method imple
I am trying to debug an issue with a worker url (servlet) of a
TaskQueue.
I seem to be able to enqueue tasks to it fine, and it get's invoked.
The logs show the invokation:
10-21 08:03AM 34.074 /inspections/processor 405 19ms 38cpu_ms 0kb
AppEngine-Google; (+http://code.google.com/appengine)
0.1
VERY prompt reply Don.
Thanks.
I see another post here on a related subject.
Maybe for future releases the JARs in the SDK that ARE present in the
cloud could be separated from the JARs that must be uploaded with the
app (separate folders under lib?)?
Just an idea. Would help make our build scr
same version of
this jar (1.3.8) as the version of the production environment (1.3.8).
thanks
Andrew
--
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...@googleg
Hi,
I have a problem that I have a model where there are two hierarchys
A---*B---*C
D---*E---*F
(---* = one to many relationships)
B has a Key with A as its parent etc So the keys grow to be fairly
large
Everything was working fine until I added the extra condition (a
unidirectional many to many
eat if
it could.
Your thoughts would be appreciated.
- Andrew.
--
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 gr
While debugging e-mail reception and sending in a deployed application
on GAE I thought it might be an interesting enhancment to have some
visibility of emails received and/or sent from the application in the
dashboard?
Off course I can log all reception and sending myself and then inspect
in the
Our use case in general is:
We plan to allow users to openly login (which creates their initial
account) to our app using google account, google apps domain account
or openid.
We plan to allow some users to be given "super-user" permissions for
the application instance. They in turn will be able t
time, without success.
Any suggestions anyone?
thanks
Andrew
--
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, sen
Hi Ian,
Thanks for your reply. I expect I only had the server running for a
minute or so at the time so that could well explain it.
I have not seen it happen again today so I will assume this is the
case and keep pushing ahead with what i'm doing.
Regards,
Andrew
On 11/06/2010, at
elopment server they reappear.
I've pasted my DAO code here if anyone is able to give me some advice
on what I may have done wrong:
http://java.pastebin.com/Jr23cMTc
Best regards,
Andrew.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine fo
Hi,
I have set up struts using the method described at this page:
http://whyjava.wordpress.com/2009/08/30/creating-struts2-application-on-google-app-engine-gae/
Everything I have tried so far works fine, except for one little
thing.
If I try this code from the Struts Tutorial (https://cwiki.apa
Hi Bill,
I can see what you mean now. I have actually jumped over to a Struts
2 app at the moment, and whenever I change Java code I need to stop
the development server and restart it. Very painful.
Is this just the way it is, or are we missing something?
Regards,
Andrew.
On Jun 3, 10:32 am
Hi Bill,
Can you send me the steps to reproduce it so I can see if I am
observing the same thing please?
Regards,
Andrew.
On Jun 3, 10:32 am, Bill Milligan wrote:
> If you've gotten past point 2, I'd love to see it. Redeploying every time I
> make a change is driving me
to
the hello world file and it gave me the expected output so it appeared
the errors actually hadn't stopped anything from working.
If you would like me to send you my eclipse project in a zip file
please let me know and I'm happy to do so.
Best regards,
Andrew.
On Jun 3, 12:04 am, B
-
does anyone have any advice on where I may find it?
Best regards,
Andrew.
--
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 fro
I recently got my hands dirty getting Spring Javaconfig working on
GAE. The lessons are summarized in the following blog post:
http://blog.xebia.com/2010/01/17/using-springs-java-configuration-on-google-app-engine/
Thought this might prove useful...
Andrew
--
You received this message because
And, ban this repeat offender Suren already.
∞ Andy Badera
∞ +1 518-641-1280
∞ This email is: [ ] bloggable [x] ask first [ ] private
∞ Google me: http://www.google.com/search?q=andrew%20badera
On Tue, Oct 20, 2009 at 4:07 PM, Peter Ondruska
wrote:
>
> Please, would you turn on mode
Hey,
Im getting java.lang.ArrayIndexOutOfBoundsException when trying to
retrieve from the datastore! The status page says that things are
supposed to be ok now (after the issues), but they arent for me!! Is
it just a case of taking time before everything is ok or?
--~--~-~--~~-
I just setup a non-AppEngine server that redirects all non-www
requests to the same URL but with "www." added on the front. The
server is setup to do this for any request, not just my domains, so
anyone can use it.
You don't need to mess with CNAMEs, just point the A record for the
base (naked/@
84 matches
Mail list logo