Hi Guys,
I tried Betwixt from apache(http://commons.apache.org/betwixt/index.html).
And it works out of box. I only got into some problems as i downloaded some
older version of dependecies(Digester and beanutils).
So when using Betwixt make sure you have latest version of all dependecnies.
Also
Hi,
Following is a snippet of JDO class:
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class _Contact{
@Persistent(primaryKey = true)
private String EmailID;
@Persistent
private String Name;
@Persistent
private ListString Groups;
I am trying
Great, thank you for the clarification.
Craig
On Nov 23, 10:32 pm, Timothy Spear tsp...@green20now.com wrote:
Craig,
The short answer is. No threads may not be spawned. Use the datastore
to update/change status for the users. Only use memcache for reference
information or
I had the same problem and came up with this snippet of code to work
around the issue. Use it when you are updating your object:
/**
* Iterates through the object and makes any persistent annotated
objects that are serialized = true
* dirty using
this is surely a bug following is my test case
PersistenceManager pm = pmf.getPersistenceManager();
Query query = pm.newQuery(_Contact.class);
query.setOrdering(EmailID);
query.setFilter(Groups.contains(\mygroup\));
int i = 1;
for(_Contact
Or use a Listener as described here
http://marceloverdijk.blogspot.com/2009/10/determining-runtime-environment-on.html
On 23 nov, 15:58, Nacho Coloma icol...@gmail.com wrote:
To answer my own question, this has been my best shot this far:
SecurityManager sm = System.getSecurityManager();
Hello:
I am having trouble retrieving a collection of child objects
(PackageEntry) in my parent class(Student). The PackageEntry objects
are persisting correctly and I can see that they are in the same
entity group as their associated student, but when I retrieve the
parent parent Student, the
Hello
I am working on java google app engine. When I try to upload my application,
I receive following error
Error Details:
Nov 24, 2009 10:18:11 PM org.apache.jasper.JspC processFile
INFO: Built File: \addressbook.jsp
java.lang.IllegalStateException: cannot find javac executable based on
Max please help me out, it is killing my app. :(
On Tue, Nov 24, 2009 at 8:45 PM, Prashant antsh...@gmail.com wrote:
this is surely a bug following is my test case
PersistenceManager pm = pmf.getPersistenceManager();
Query query = pm.newQuery(_Contact.class);
There appears to be a memory leak with the memcache implementation on the
dev server; I've opened a new issue for this:
http://code.google.com/p/googleappengine/issues/detail?id=2428
I have some testcases that make heavy use of memcache that are failing due
to this issue.
Vince
--
You
You are using a Java Runtime Environment (JRE) which does not include a
compiler.
You have to use a JDK instead.
Regards,
Stephan
sahil mahajan schrieb:
Hello
I am working on java google app engine. When I try to upload my
application, I receive following error
Error Details:
Nov
Toby's email is correct. The correct way to read from an InputStream is to
create a buffer of bytes, then iterate over it. You should be doing
something like this:
while ((len = stream.read(buffer, 0, buffer.length)) != -1) {
output.write(buffer, 0, len);
}
As far as your question goes, per
Here is a subset of the code. It doesn't run or have the logic that changes
the values. I have included the ChallengeDao, which highlights what I had
to do to make work correctly. If I remove the PM.closePersistentManager()
it fails in many different ways. I can even get a failure about can't
What is going on?
So you didn't put them in the fetch group then, so they weren't
fetched. aka lazy loading. Read up on fetch groups and JDO
--
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
When receiving email I get an out of memory error when calling
getCount on the MimeMultipart object.
Heres the stack trace:
Error for /_ah/mail/rev...@reviewengine.appspotmail.com
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at
My apologies Vince,
I didn't take a close enough look to notice that you were using the same
key. There's certainly something unusual going on there.
On Tue, Nov 24, 2009 at 1:42 PM, Vince Bonfanti vbonfa...@gmail.com wrote:
But in the testcase I attached to the issue report, I'm doing a put
This actually makes more sense. JPA does not write to the data store until
either the EntityManager is closed or the transaction is flushed. Here's an
example using transactions:
EntityManager em = EMF.get().createEntityManager();
PrintWriter out = response.getWriter();
ListDog
%...@tag isElIgnored=false % didn't compile to me
%...@tag isELIgnored=false % with capital L did
--
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
for some context on my request,
first, and foremost, it sure is hard to find complete, and contemporary
examples of the numerous open source advancements since the first, and
seemingly only literature of gwt was rushed out in the 2007-2008 timeframe.
there is 0 literature for purchase about
Peter,
The recommended approach is to create a new app per Google Apps domain. This
won't be a violation of the terms of service.
On Sun, Nov 22, 2009 at 7:32 AM, Peter Ondruska peter.ondru...@gmail.comwrote:
This is less technical question and I am not sure if it can be
answered.
I have a
I've tried the following in Groovy Web Console (http://
groovyconsole.appspot.com/):
println Closure.getClassLoader()
println Closure.getPackage()
println Closure.getPackage().getImplementationVersion()
Output:
com.google.apphosting.runtime.security.userclassloa...@4bb369
package groovy.lang
If the classes are being loaded from UserClassLoader from a jar in your
WEB-INF/lib containing a manifest, they should get package information from
that manifest. If that's not what you're seeing, please file an issue in the
tracker for us with a simple reproducing webapp.
On Tue, Nov 24, 2009 at
Hi,
I want you to teach the value of
[javax.mail.internetMimeMessage.getContentType() ]
for confirmation.
thanks.
On 11月25日, 午前3:57, david ruescas fastn...@gmail.com wrote:
When receiving email I get an out of memory error when calling
getCount on the MimeMultipart object.
Heres the stack
Erem,
You can use the makePersistentAll() method of PersistenceManager to batch
put items. See here:
http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Making_Objects_Persistent
This was introduced in SDK 1.2.5.
On Mon, Nov 23, 2009 at 2:37 PM, Erem
Attached is a modified version of that class that lets you define any
path you want for the servlet and lets you specify which queue to use
like this: Deferred.defer(task, queueName);
(I needed this for my own purposes)
Do with it as you wish :-)
The only other major change I would make is to
Did you enable sessions?
http://code.google.com/appengine/docs/java/config/appconfig.html
See the section near the end, Enabling Sessions.
Steph wrote:
I also have the same issue when retrieving session objects from a
servlet filter, and running in the local sandbox.
On Nov 21, 10:11 pm,
Hello App Engine Developers,
As part of our ongoing efforts to improve release quality and
transparency, we will start prereleasing SDKs for early testing. We
hope this gives developers a chance to participate in our release
process by trying out new changes and sending feedback. As of this
(In case anyone is searching for this topic in the archives.)
There's also Simple:
http://simple.sourceforge.net/
http://www.ibm.com/developerworks/xml/library/x-simplexobjs/
Ravi Sharma wrote:
Hi Guys,
I tried Betwixt from apache(http://commons.apache.org/betwixt/index.html).
And it works
The filesystem is read only on app engine; would trying to create a file, in
WEB-INF for example, work? I'm wondering if there are corner cases I'm not
thinking of where that might fail and falsely report that you're on app engine;
for example, if you were doing integration tests under Hudson.
Looking through my logs, it seems like just about every call for
UUID.randomUUID() takes about 5 seconds. Is there a better way to
generate UUID's than this when using the app engine?
I know at least some of this is from an inactive app (there are a few
minutes between most requests), but it
Ikai,
Thanks for the response. The issue is that I have two types of objects
that need to be persisted:
(1) a bunch of JDO managed objects
(2) a bunch of low-level Entity objects.
Is there any way that I could batch put all of them at once through
the same API rather then calling the JDO api
Do you have actual timing code around that one single call, or is other
stuff going on during your request? If you can create a trivial webapp that
consistently shows 5 seconds just to call UUID.randomUUID() please file an
issue for it, and we can look into it.
On Tue, Nov 24, 2009 at 9:19 PM,
No, there is no easy way to throw them all in. If this is a performance
bottleneck, you could always write converters for each of your JDO managed
entities.
On Tue, Nov 24, 2009 at 6:48 PM, Erem ehb...@gmail.com wrote:
Ikai,
Thanks for the response. The issue is that I have two types of
33 matches
Mail list logo