unsubscribe
Michael Jackson, Susan Boyle, Black Eyed Peas ... Retrouvez leurs derniers
titres sur http://musiline.voila.fr
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To
Thanks for filing that Max.
I'm kind of interested in your findings because there is another place
where I'm doing about the same thing (i.e. making a RatePlan instance
a direct child of an Entity other than Activity) and it works fine in
that case most of the time. Sometimes it gives me the "oid
Hi,
My application takes over 10 seconds on loading requests to output its
log messages. During this time, simultaneous requests are aborted
because they cannot be serviced within the 10 second limit.
What is the best way to optimise startup time? I have already turned
on precompilation. Is th
I’m using the Force.com Web service connector for GAE. When logging
into sfdc using this SDK, more often than not of late, the connection
times out from my development server after 5 seconds.
Looking at the SDK code in question:
http://code.google.com/p/sfdc-wsc/source/browse/branches/gae/java/s
I'll bet you could if you were using maven. It has this thing where it filters
the configuration files (e.g., web.xml) before it puts them in the war file.
Read all about it in the free book, "Maven: The Definitive Guide",
http://www.sonatype.com/documentation/books
Prashant wrote:
> Hi,
>
Thanks for your reply, Ikai.
> Entity groups are distributed based on the key and not necessarily the root
> entity. Thus, it is possible to place entities in the same entity group
> without an entity parent. Something similar to what you have done is also
> possible by creating a root entity, add
Finally found a way in case anybody was curious... Unfortunately, I
have to loop through all of my pertinent records until I have a match
on the keys. If anyone can suggest a different way (that works)
that's more efficient than below, do tell...
Query query = pm.newQuery(Categories.class, "u
Filed http://code.google.com/p/datanucleus-appengine/issues/detail?id=170
On Tue, Dec 8, 2009 at 6:18 PM, Max Ross (Google)
> wrote:
> Ok I think I know what's going on. First here's a stripped down version of
> your object model with the bare minimum needed to reproduce the exception:
>
> @P
Ok I think I know what's going on. First here's a stripped down version of
your object model with the bare minimum needed to reproduce the exception:
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class RatePlan {
@PrimaryKey
@Persistent(valueStrategy = IdGenerato
after I found out that javax.el.ElContext is in geronimo-
el._1.0_spec-1.0.1.jar, I did another test by including the jar in my
war/WEB-INF/lib.
Then, I got the 404 "Error: NOT_FOUND" problem and the log posted in
my ealier post.
I don't get any problem when running locally within eclipse. I only
This line:
java.security.
AccessControlException: access denied (java.io.FilePermission
/base/data/home/apps/go2ppp/2.338276405331081395/WEB-INF/work write)
Seems to imply you may have a permissions error writing. Can you look into
this?
On Mon, Dec 7, 2009 at 1:31 AM, Li Kong wrote:
> Hi all,
Can you post example values that cause this error? Are you saving anything
with special characters?
In the meantime, you have a few options:
- Wire up a Python version and use the remote shell
- Write a handler that removes these values
What is your application ID?
On Sat, Dec 5, 2009 at 3:03 P
Entity groups are distributed based on the key and not necessarily the root
entity. Thus, it is possible to place entities in the same entity group
without an entity parent. Something similar to what you have done is also
possible by creating a root entity, adding descendants, then removing the
roo
You'll need to partition the data at the application level. We don't provide
global ACLs for the datastore. You may be able to use Entity Groups for a
lightweight version of this, but ultimately it'll be up to your application
to decide who has the rights to see which data.
On Sat, Dec 5, 2009 at
Are you using the development server? The easiest thing to do here is to
blow away your old datastore. App Engine will recreate your schema. I
believe if you just blow away your output directory and rebuild, this should
work. Look for an output directory under WEB-INF/appengine-generated. You
shoul
Got it. Thanks!
On Dec 9, 12:40 am, Don Schwarz wrote:
> ImagesService.applyTransform() and ImagesService.composite() take an
> optional OutputEncoding argument.
>
> On Tue, Dec 8, 2009 at 10:07 AM, hzqtc wrote:
> > In the documents, it says:
>
> > The service accepts image data in the JPEG, PNG
That's great news Max! Thanks so much for looking into this and getting a
solution in the works so fast.
Thanks,
-bryce
On Dec 8, 2009 5:20 PM, "Max Ross (Google)"
>
wrote:
I've filed bug
http://code.google.com/p/datanucleus-appengine/issues/detail?id=169 to track
the problem with non-persistent
I've filed bug
http://code.google.com/p/datanucleus-appengine/issues/detail?id=169 to track
the problem with non-persistent base classes. I have a fix in the works.
I'll be posting a release candidate with this fix and hopefully a few others
in the next day or two.
Thanks,
Max
On Tue, Dec 8, 200
Hi,
Follow this thread.
http://groups.google.com/group/google-appengine-java/browse_thread/thread/ef91a0e8c32c576e/3358e5877c6ef30e?lnk=gst&q=FileInputStream#3358e5877c6ef30e
thanks.
On 12月9日, 午前7:49, mattkrae34 wrote:
> I'm using 1.2.8 SDK and on both local and the app engine I get the
> fol
Hi,
I have a problem when I try to inherit a one-to-many relation ship
from a base entity class.
The following model works fine :
@PersistenceCapable(identityType = IdentityType.APPLICATION)
@Inheritance(strategy = InheritanceStrategy.SUBCLASS_TABLE)
public abstract class BaseEntity {
@
I'm using 1.2.8 SDK and on both local and the app engine I get the
following exception:
java.security.AccessControlException: access denied
(java.io.FilePermission file.xml read)
When I ever I try to open a FileInputStream
XMLEventReader r = factory.createXMLEventReader(new FileInputStream("/
te
I have a simple application that I use for our load testing. The
servlet simply sleeps for 300ms and returns a small HTML response back
to the calling program. There is nothing else involved here. No DB
calls as well.
Response time under extremely moderate load - 10 simultaneous requests
is in 2-3
I'd recommend Google Guice. Your web.xml becomes a stub, and
you can write beautiful module configurations such as:
protected void configureServlets() {
serve("*.html").with(MyServlet.class);
filter("/my/*").through(MyFilter.class);
...
}
see http://code.google.com/p/google-
My understanding is that the persistence manager factory can be a single
instance that's shared, but the persistence manager, which the persistence
manager factory produces, must not be shared. Your DaoBase can have a setter
for the persistence manager factory, but not for the persistence manag
Do you have an EL jar in your lib directory? For example, the
geronimo-el_1.0_spec-1.0.1.jar that comes with the app engine sdk?
Wong wrote:
> Hi,
>
> I should have said "no error log" but on my browser "Error: NOT_FOUND"
> gets displayed.
>
> Below is my log with serverity set to DEBUG
> #
>
I have 3 admins for my GAE/J site. I am trying to specify one of those
admins as the FROM address for outbound emails. I cannot get it to
work! Emails still send out using my personal gmail account (I am one
of the admins). I have removed my gmail address from my codebase
entirely, and I am now upl
It's all good, we're just trying to get to the bottom of the issue. I'm sure
the use of the word "enhancer" was just contextual. You have indeed
demonstrated that datanucleus isn't complaining. We're all friends here :)
thanks for helping us narrow the the root cause of the problem down.
Thanks,
-
> 1) why the enhancer complains that BaseObject need to be enhanced even
> though it does not declare any fields ?
There is no problem presented here with the "enhancer" complaining.
All is at runtime actually, thrown from a call by GAE/J's DN plugin,
as shown by the stack trace above. As I've alr
Max,
> "attempted to deregister a transaction that is not currently registered" is
> an error thrown by the datastore api when a call is made to commit a txn and
> there is no txn to commit. Is it possible you have some path through your
> code that would result in calling commit() more than once
I am using Spring and OpenPersistenceManagerInView as well.
I experienced various problems. I am now using
pmf.getPersistenceManagerProxy() (instead of pmf.getPersistenceManager
()) and it works quite fine.
regards,
andreas
On 8 Dez., 17:30, tal wrote:
> I might be having the same problem.
> t
I just did some tests and it looks like limit is around 100MB as I
start getting OutOfMemory exceptions in the java heap space around
that point.
Len
On Dec 7, 5:09 pm, lent wrote:
> Hi,
>
> Jason (Google) has mentioned that there is a limit on the amount of
> memory an application can consume i
Hi Len,
"attempted to deregister a transaction that is not currently registered" is
an error thrown by the datastore api when a call is made to commit a txn and
there is no txn to commit. Is it possible you have some path through your
code that would result in calling commit() more than once or c
No worries Max, I'm using 1.2.6 right now, so the "multiple instance" bug
isn't an issue right now. Whenever you get to it is fine. As always I
appreciate your input.
Thanks
-bryce
On Dec 8, 2009 10:14 AM, "Max Ross (Google)"
>
wrote:
Hi Bryce,
I started digging into you issue and quickly bumpe
Hi Bryce,
I started digging into you issue and quickly bumped into the "Multiple
relationships of the same type" bug for which I posted the workaround. Then
I got bogged down with unrelated stuff. I have definite plans to get back
to your example today. Thanks for being patient, and sorry this
hi,
It's lucky to see this thread.
I have been spent two days struggling with exactly the same problem as
Bryce.
Basically, two problems:
1) why the enhancer complains that BaseObject need to be enhanced even
though it does not declare any fields ?
2) if I declare BaseObject as PersistenceCapa
I have encountered this problem in my project.
I got two applications, one is an GAE Java, another is normal Java
app. The normal Java app will provide Restful web service to invoke.
Now I would like to invoke those web services in one of my GAE app's
servlet.
The working process is like: I call
I might be having the same problem.
took me a while to find the consistency: i have 2 unrelated model
classes (User and Category). creating or updating Category objects
initially works, but when i read users from the datastore, creating
and updating of Category stops working until I restart my serv
On Tue, Dec 8, 2009 at 2:41 AM, SCMSoft wrote:
> This seems very weird, as the pricing is all dependent on CPU time,
> and is similarly prices as for instance Amazon EC2. Now when the CPU
> seconds are not actually CPU seconds but some bogus unit (that happens
> to increase much faster than actual
On Tue, Dec 8, 2009 at 1:26 AM, Toby wrote:
> Reading the doc carefully it tells me that indexes are created based
> on the queries I make. Hence if I never query an entity on a certain
> property there should be no index.
That's not exactly what it says. Only the development servers
"creates" in
Sure thing!
http://nicanorcristian.blogspot.com/2009/11/apache-fop-on-google-application-engine.html
On Dec 8, 5:57 pm, Toby Reyelts wrote:
> Neat! Care to elaborate?
>
> On Tue, Dec 8, 2009 at 11:44 AM, nicanor.babula
> wrote:
>
> > I got FOP working.
>
> > On Oct 19, 6:37 pm, Stakka wrote:
>
Neat! Care to elaborate?
On Tue, Dec 8, 2009 at 11:44 AM, nicanor.babula wrote:
> I got FOP working.
>
> On Oct 19, 6:37 pm, Stakka wrote:
> > I've tried to get ApacheFOPworking on GAE, using java.awt.* classes
> > from Harmony.
> > I came to the conclusion it's just to much work.
> >
> > Proble
I got FOP working.
On Oct 19, 6:37 pm, Stakka wrote:
> I've tried to get ApacheFOPworking on GAE, using java.awt.* classes
> from Harmony.
> I came to the conclusion it's just to much work.
>
> Problems:
> * Implement the required java.awt.* and javax.imageio.* classes.
> * Implement a complete G
Sorry for the delay, but I canceled my subscription to this group on
nov 2 and therefore I saw your answer just now.
Anyway, the problem is still present. I haven't solved this issue, as
I preferred going on by implementing other functionalities and hoping
that in a successive GAE release it would
ImagesService.applyTransform() and ImagesService.composite() take an
optional OutputEncoding argument.
On Tue, Dec 8, 2009 at 10:07 AM, hzqtc wrote:
> In the documents, it says:
>
> The service accepts image data in the JPEG, PNG, GIF (including
> animated GIF), BMP, TIFF and ICO formats.
>
> It
In the documents, it says:
The service accepts image data in the JPEG, PNG, GIF (including
animated GIF), BMP, TIFF and ICO formats.
It can return transformed images in the JPEG and PNG formats. If the
input format and the output format are different, the service converts
the input data to the ou
I've created an interface PMF:
PMF.java
package com.turbomanage.gwt.server;
import javax.jdo.PersistenceManager;
public interface PMF
{
PersistenceManager getPersistenceManager();
}
and a default implementation that I inject via Guice into my service
classes:
DefaultPMF.java
package co
If you encounter the same problem, please vote for issue
http://code.google.com/p/googleappengine/issues/detail?id=965
On 8 déc, 12:16, mably wrote:
> Hi Ikai,
>
> Effectively the code you provided seems to work but not exactly as I
> hoped.
>
> Before 1.2.8, I was able to send an html email with
target-rooms
On Dec 8, 1:07 am, Don Schwarz wrote:
> What's your app id?
>
>
>
> On Sun, Dec 6, 2009 at 10:19 AM, jd wrote:
> > Hi,
>
> > I am getting errors on every other request like this:
>
> > Request was aborted after waiting too long to attempt to service your
> > request. Most likely, th
Hi Ikai,
Effectively the code you provided seems to work but not exactly as I
hoped.
Before 1.2.8, I was able to send an html email with inline images
using the previous code.
Now the image is sent as an external attachment.
It's really sad we can't send nice html messages with images anymore.
> Hi Shawn,
>
> My apologies, but ...
> pm.getObjectById(TestDN.class, key) will fail if the persistent type of the
> entity referenced by key is not TestDN.class.
Hey no problem. All is well. We can determine the class by the key
(key.getKind()) and use that to do the lookup
if(key.getKind().
This seems very weird, as the pricing is all dependent on CPU time,
and is similarly prices as for instance Amazon EC2. Now when the CPU
seconds are not actually CPU seconds but some bogus unit (that happens
to increase much faster than actual CPU usage), this suddenly makes
appengine a lot less at
Hello Eric,
Thank you for you explanation. It sounds kind of logical but still I
am confused about the index thing.
Reading the doc carefully it tells me that indexes are created based
on the queries I make. Hence if I never query an entity on a certain
property there should be no index.
Also in
I took a look at the log entries more closely and it looks like the
cron job which is to run daily got kicked off twice for some reason.
Instead of one chain of 500 sequential tasks being started up two
chains of 500 were running in parallel. This may explain the errors I
was getting though I don'
Hello,
I have a daily cron job which kicks off a sequential 500 tasks
(chained). These usually run successfuly but a few days ago, on the
first task, I got the following error:
[xxx/1.338222621935386721].:
java.lang.IllegalStateException: Attempted to deregister a transaction
that is not
Sorry, it is dmczum.
FYI redeploy of the app helps for a few hours.
Martin
On Dec 8, 2:20 am, "Ikai L (Google)" wrote:
> Martin,
>
> Can you provide your app ID? I'm not able to look up czumdm.
>
> On Sun, Dec 6, 2009 at 4:40 PM, Martin Caslavsky wrote:
>
>
>
> > Hi,
>
> > my java app (czumdm) w
55 matches
Mail list logo