http://code.google.com/appengine/docs/java/memcache/overview.html
Values can expire from the memcache at any time, and may be expired prior to
the expiration deadline set for the value.
All looks fine, but like it says, cached value can go away at any
time.
Which is probably what's happening
I think you're confusing entity *group* with actual entities stored in
datastore, as I doubt you'll have thousands of related entities.
--
http://code.google.com/appengine/docs/java/datastore/transactions.html#Using_Transactions
see Entity groups
On Oct 20, 7:39 pm, nicanor.babula
The solution is here:
MailService.Message msg = new MailService.Message();
msg.setSender(sender);
msg.setSubject(subject);
msg.setTextBody(textBody);
mailService.sendToAdmins(msg);
On Oct 18, 12:11 am, alesj ales.jus...@gmail.com wrote:
Reading
Any idea why this happens?
javax.servlet.ServletContext log: unavailable
com.google.appengine.api.memcache.InvalidValueException: IO exception
parsing value of '1'
at
com.google.appengine.api.memcache.MemcacheServiceImpl.get(MemcacheServiceImpl.java:
289)
at
Is there a way to clear memcache from admin console?
On Oct 17, 3:26 pm, alesj ales.jus...@gmail.com wrote:
Any idea why this happens?
javax.servlet.ServletContext log: unavailable
com.google.appengine.api.memcache.InvalidValueException: IO exception
parsing value of '1
Any idea why this happens?
To answer things myself.
This one is actually pretty obvious, if the error reporting would be
less confusing / better.
It's a plain simple issue of forgetting to change serialVersionUID
when changing entity's class signature.
--
You received this message because you
Experimenting a bit more, I'm now even more confused ...
SetSubscription set = new HashSetSubscription();
Query query = getEM().createQuery(select s from Subscription s
where s.clientId = ?1);
Long cid = client.getId();
query.setParameter(1, cid);
List list =
I have this query:
Query query = getEM().createQuery(select s from Subscription s
where s.clientId = ?1 and s.topicId = ?2);
query.setParameter(1, client.getId());
query.setParameter(2, topic.getId());
return getSingleResult(query);
I'm pretty sure it should return some
A missing info -- the matching data is persisted before, in a separate/
different transaction.
--
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
It's been a while since I reported this odd ClassLoading (and EL)
behavior:
*
http://groups.google.com/group/google-appengine-java/browse_thread/thread/e9c9578f034dd1f9
Any plans on fixing this?
Or, are there perhaps valid reasons why EL is included in GAE
distribution AND loaded by the app's
Related post:
*
http://groups.google.com/group/google-appengine-java/browse_thread/thread/67c8c345d386eaec
--
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.
OK, got a bit further.
After adding dummy Environment and Delegate, I now get this:
com.google.appengine.repackaged.com.google.protobuf.UninitializedMessageException:
Message missing required fields: StatusCode
at com.google.appengine.repackaged.com.google.protobuf.AbstractMessage
I've added this just after the server is started, but no luck. :-(
ApiProxy.Environment env = new DelegatingEnvironment(new
DummyEnvironment())
{
@Override
public String getAppId()
{
return archive.getName();
}
};
,
Joel
On Wed, Apr 7, 2010 at 5:10 AM, alesj ales.jus...@gmail.com wrote:
While this finds the right jar
URL url = cl.getResource(META-INF/maven/javax.el/el-api/
pom.properties);
String info = url.toExternalForm();
System.out.println(info = + info
I'm trying to use new EL api - version 2.2. - which knows how to deal
with parameterized invocations; e.g. #{FooBarDAO.getInfos('alesj')}.
Hence I'm bundling this new EL jars with my app.
At runtime I get this
java.lang.NoSuchMethodError: javax.el.ELResolver.invoke(Ljavax/el/
ELContext;Ljava
While this finds the right jar
URL url = cl.getResource(META-INF/maven/javax.el/el-api/
pom.properties);
String info = url.toExternalForm();
System.out.println(info = + info);
// jar:file:/foobar/projects/foobar/trunk/server/target/
to re-enable it.
On Tue, Mar 9, 2010 at 9:52 AM, alesj ales.jus...@gmail.com wrote:
Does GAE use JettyWebXmlConfiguration to allow for WebAppContext
custom configuration - via jetty-web.xml?
I see that class in appengine-local-runtime.jar, but is it part of
Jetty' default Configuration
Does GAE use JettyWebXmlConfiguration to allow for WebAppContext
custom configuration - via jetty-web.xml?
I see that class in appengine-local-runtime.jar, but is it part of
Jetty' default Configuration instances?
My guess would be no, as putting invalid jetty-web.xml in WEB-INF
doesn't output any
18 matches
Mail list logo