[google-appengine] regex in log search
I can't seem to get any regex patterns to work in the dashboard logs search, in particular /b, /s, /w, and /W. Is this a known issue? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] logs search bug
I just had a case where searching for logs with min severity ERROR returned records, but changing to INFO returned none. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] missing indexes
I'm seeing some serious anomalies with queries not returning some records, and in my "Datastore Indexes" dashboard view an entire entity is missing. Can someone help me with this ASAP? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] dropped indexes
In my app wordwisegame, the indexes for table GameDataV1 have disappeared. Explanation? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] gql count in java
Is there a way to count the results of a query in Java, or through the dashboard? All I I see in the docs is GqlQuery.count in python. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] logging malfunctioning
I'm hitting version 7 of my server at http://7.wordwisegame.appspot.com right now, but no logs are showing in the console. I do see logs on the default version (6). I've never hit this issue before, is this a known bug? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: logging malfunctioning
D'oh! Thank you. Why does "7." even work? On Jun 8, 1:25 pm, Onestone wrote: > The correct URL for version 7 would > behttp://7.latest.wordwisegame.appspot.com/ > > On Jun 8, 7:17 pm, Philip Tucker wrote: > > > > > I'm hitting version 7 of my server athttp://7.wordwisegame.appspot.com > > right now, but no logs are showing in the console. I do see logs on > > the default version (6). I've never hit this issue before, is this a > > known bug? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] selecting by key with KEY() function
What's the format of selecting by key with kind and ID? Docs say this: KEY('kind', 'name'/ID [, 'kind', 'name'/ID...]) But I've tried about every combo I can think of and it doesn't work, at least not from the console. It works if I put in the full result of KeyFactory.keyToString. Is kind just the entity name in quotes? Should name/ID be in quotes? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] NucleusObjectNotFoundException
I'm getting a NucleusObjectNotFoundException in my app. The odd thing is I don't get it on the query, I get on first access to a field in the object. I'm guessing this means an entity was deleted but the index was not properly updated. Here's the stack: org.datanucleus.state.JDOStateManagerImpl isLoaded: Exception thrown by StateManager.isLoaded Could not retrieve entity of kind GameDataV1 with key GameDataV1(569016) org.datanucleus.exceptions.NucleusObjectNotFoundException: Could not retrieve entity of kind GameDataV1 with key GameDataV1(569016) at org.datanucleus.store.appengine.DatastoreExceptionTranslator.wrapEntityNotFoundException(DatastoreExceptionTranslator.java: 60) at org.datanucleus.store.appengine.DatastorePersistenceHandler.get(DatastorePersistenceHandler.java: 100) at org.datanucleus.store.appengine.DatastorePersistenceHandler.get(DatastorePersistenceHandler.java: 106) at org.datanucleus.store.appengine.DatastorePersistenceHandler.fetchObject(DatastorePersistenceHandler.java: 464) at org.datanucleus.state.JDOStateManagerImpl.loadUnloadedFieldsInFetchPlan(JDOStateManagerImpl.java: 1627) at org.datanucleus.state.JDOStateManagerImpl.isLoaded(JDOStateManagerImpl.java: 1920) at com.honkentuber.wordwise.db.GameDataV1.jdoGetname(GameDataV1.java) at com.honkentuber.wordwise.db.GameDataV1.getName(GameDataV1.java: 257) at com.honkentuber.wordwise.db.WordwiseDatabase.fetchGamesDataByMember(WordwiseDatabase.java: 152) -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: selecting by key with KEY() function
That's fine for selecting from Java code, but I'm interested in selecting from the Data Viewer console. On Jun 15, 4:43 am, "Nick Johnson (Google)" wrote: > If you know the key, there's no need to do a query: Just use > getObjectById:http://code.google.com/appengine/docs/java/datastore/creatinggettinga... > > -Nick Johnson > > > > > > On Sun, Jun 13, 2010 at 7:37 PM, Philip Tucker wrote: > > What's the format of selecting by key with kind and ID? Docs say this: > > > KEY('kind', 'name'/ID [, 'kind', 'name'/ID...]) > > > But I've tried about every combo I can think of and it doesn't work, > > at least not from the console. It works if I put in the full result of > > KeyFactory.keyToString. Is kind just the entity name in quotes? Should > > name/ID be in quotes? > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" group. > > To post to this group, send email to google-appeng...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-appengine+unsubscr...@googlegroups.com > e...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine?hl=en. > > -- > Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. :: > Registered in Dublin, Ireland, Registration Number: 368047 > Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number: > 368047 -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] selecting by enum
How can you select by an enumerated type value in the Data Viewer console? The only way I can do it in Java is to parameterize the value. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] can't operate on multiple entity groups in a single transaction
Would it be possible for AppEngine to spit out in the logs WHICH entity groups it's failing on for "can't operate on multiple entity groups in a single transaction" errors? These can be a pain to track down. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] missing index
I have a bug where 2 different queries select a row, but the combination of the 2 queries doesn't. This occurs both from the Data Viewer console and from Java. These both return row agx3b3Jkd2lzZWdhbWVyFQsSDVR1cm5TdW1tYXJ5VjEY0M5ODA: SELECT * FROM TurnSummaryV1 where userKey = KEY('agx3b3Jkd2lzZWdhbWVyDgsSBk15VXNlchjJwQwM') SELECT * FROM TurnSummaryV1 where score > 0 and state = 'VALID' and type = 'PLAY' order by score desc But this doesn't return it: SELECT * FROM TurnSummaryV1 where score > 0 and state = 'VALID' and type = 'PLAY' and userKey = KEY('agx3b3Jkd2lzZWdhbWVyDgsSBk15VXNlchjJwQwM') order by score desc All the queries succeed, and the latter returns most of the proper results. Do I have any recourse other than dropping and re-adding the index? From what I've read the vacuum process is kind of a pain with a Java app. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] Re: can't operate on multiple entity groups in a single transaction
Oddly, on a local build I see exactly which ones collide, but they don't show up in server logs. On Jun 30, 8:01 pm, Philip Tucker wrote: > Would it be possible for AppEngine to spit out in the logs WHICH > entity groups it's failing on for "can't operate on multiple entity > groups in a single transaction" errors? These can be a pain to track > down. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] slow datastore access in GAE
I've got a very simple application with very little data in it. It's a simple chat app with 2 tables, Room and Message. Each server requests stores a message and returns the most recent n messages, where n is on the order of 1-5. Each request is taking 2-3 seconds. I'm doing 3 datastore transactions; look up room by ID, insert message, look up most recent n message by room ID. I know there's some optimization I could do to skip the room lookup, but this is still way slower than I would expect. I've also been getting a few of these errors, maybe 1/20 requests or so: com.honkentuber.Servlet doIt: error on ChatServlet com.google.appengine.api.datastore.DatastoreTimeoutException: Unknown at com.google.appengine.api.datastore.DatastoreApiHelper.translateError (DatastoreApiHelper.java:42) at com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall (DatastoreApiHelper.java:60) at com.google.appengine.api.datastore.DatastoreServiceImpl$2.run (DatastoreServiceImpl.java:173) at com.google.appengine.api.datastore.TransactionRunner.runInTransaction (TransactionRunner.java:30) at com.google.appengine.api.datastore.DatastoreServiceImpl.put (DatastoreServiceImpl.java:161) at com.google.appengine.api.datastore.DatastoreServiceImpl.put (DatastoreServiceImpl.java:141) at com.google.appengine.api.datastore.DatastoreServiceImpl.put (DatastoreServiceImpl.java:133) at org.datanucleus.store.appengine.RuntimeExceptionWrappingDatastoreService.put (RuntimeExceptionWrappingDatastoreService.java:93) at org.datanucleus.store.appengine.DatastorePersistenceHandler.put (DatastorePersistenceHandler.java:165) at org.datanucleus.store.appengine.DatastorePersistenceHandler.put (DatastorePersistenceHandler.java:112) at org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObjects (DatastorePersistenceHandler.java:239) at org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObject (DatastorePersistenceHandler.java:225) at org.datanucleus.state.JDOStateManagerImpl.internalMakePersistent (JDOStateManagerImpl.java:3185) at org.datanucleus.state.JDOStateManagerImpl.makePersistent (JDOStateManagerImpl.java:3161) at org.datanucleus.ObjectManagerImpl.persistObjectInternal (ObjectManagerImpl.java:1298) at org.datanucleus.ObjectManagerImpl.persistObject (ObjectManagerImpl.java:1175) at org.datanucleus.jdo.JDOPersistenceManager.jdoMakePersistent (JDOPersistenceManager.java:669) at org.datanucleus.jdo.JDOPersistenceManager.makePersistent (JDOPersistenceManager.java:694) at com.honkentuber.chat.ChatServlet.persistMessage(ChatServlet.java: 83) at com.honkentuber.chat.ChatServlet.newJspResponse(ChatServlet.java: 21) at com.honkentuber.Servlet.doIt(Servlet.java:42) at com.honkentuber.Servlet.doPost(Servlet.java:29) at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java: 487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1093) at com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter (ParseBlobUploadFilter.java:97) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1084) at com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter (SaveSessionFilter.java:35) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1084) at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter (TransactionCleanupFilter.java:43) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter (ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle (ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle (SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle (SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle (ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java: 405) at com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle (AppVersionHandlerMap.java:238) at org.mortbay.jetty.handler.HandlerWrapper.handle (HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java: 506) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete (HttpConnection.java:830) at com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable (RpcRequestParser.java:76) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.se
[google-appengine] Re: slow datastore access in GAE
Sorry for the late response, somehow I missed your reply. No, just using the default GAE stuff with annotations on the persisted objects. Code is under http://code.google.com/p/appengine-closure-chat/, app ID is ptucker. Code: Persisted objects: http://code.google.com/p/appengine-closure-chat/source/browse/trunk/src/com/honkentuber/chat/Room.java http://code.google.com/p/appengine-closure-chat/source/browse/trunk/src/com/honkentuber/chat/Message.java See selectMessages and persistMessage here: http://code.google.com/p/appengine-closure-chat/source/browse/trunk/src/com/honkentuber/chat/ChatServlet.java All other classes under http://code.google.com/p/appengine-closure-chat/source/browse/trunk/src. Thanks for taking a look, Philip On Dec 23 2009, 5:46 pm, "Jason (Google)" wrote: > This is definitely odd. Are you using any frameworks or libraries aside from > the App Engine-supplied JDO/JPA implementation? I assume you're using a > query to fetch the most recent n messages sorted by a date -- can you reply > with your app ID, a snippet of your fetching and persisting code, and any > extra information that might be relevant? > > Thanks, > - Jason > > > > On Mon, Dec 21, 2009 at 11:51 PM, Philip Tucker wrote: > > I've got a very simple application with very little data in it. It's a > > simple chat app with 2 tables, Room and Message. Each server requests > > stores a message and returns the most recent n messages, where n is on > > the order of 1-5. > > > Each request is taking 2-3 seconds. I'm doing 3 datastore > > transactions; look up room by ID, insert message, look up most recent > > n message by room ID. I know there's some optimization I could do to > > skip the room lookup, but this is still way slower than I would > > expect. > > > I've also been getting a few of these errors, maybe 1/20 requests or > > so: > > > com.honkentuber.Servlet doIt: error on ChatServlet > > com.google.appengine.api.datastore.DatastoreTimeoutException: Unknown > > at > > com.google.appengine.api.datastore.DatastoreApiHelper.translateError > > (DatastoreApiHelper.java:42) > > at > > com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall > > (DatastoreApiHelper.java:60) > > at com.google.appengine.api.datastore.DatastoreServiceImpl$2.run > > (DatastoreServiceImpl.java:173) > > at > > com.google.appengine.api.datastore.TransactionRunner.runInTransaction > > (TransactionRunner.java:30) > > at com.google.appengine.api.datastore.DatastoreServiceImpl.put > > (DatastoreServiceImpl.java:161) > > at com.google.appengine.api.datastore.DatastoreServiceImpl.put > > (DatastoreServiceImpl.java:141) > > at com.google.appengine.api.datastore.DatastoreServiceImpl.put > > (DatastoreServiceImpl.java:133) > > at > > > org.datanucleus.store.appengine.RuntimeExceptionWrappingDatastoreService.pu > > t > > (RuntimeExceptionWrappingDatastoreService.java:93) > > at org.datanucleus.store.appengine.DatastorePersistenceHandler.put > > (DatastorePersistenceHandler.java:165) > > at org.datanucleus.store.appengine.DatastorePersistenceHandler.put > > (DatastorePersistenceHandler.java:112) > > at > > org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObjects > > (DatastorePersistenceHandler.java:239) > > at > > org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObject > > (DatastorePersistenceHandler.java:225) > > at org.datanucleus.state.JDOStateManagerImpl.internalMakePersistent > > (JDOStateManagerImpl.java:3185) > > at org.datanucleus.state.JDOStateManagerImpl.makePersistent > > (JDOStateManagerImpl.java:3161) > > at org.datanucleus.ObjectManagerImpl.persistObjectInternal > > (ObjectManagerImpl.java:1298) > > at org.datanucleus.ObjectManagerImpl.persistObject > > (ObjectManagerImpl.java:1175) > > at org.datanucleus.jdo.JDOPersistenceManager.jdoMakePersistent > > (JDOPersistenceManager.java:669) > > at org.datanucleus.jdo.JDOPersistenceManager.makePersistent > > (JDOPersistenceManager.java:694) > > at com.honkentuber.chat.ChatServlet.persistMessage(ChatServlet.java: > > 83) > > at com.honkentuber.chat.ChatServlet.newJspResponse(ChatServlet.java: > > 21) > > at com.honkentuber.Servlet.doIt(Servlet.java:42) > > at com.honkentuber.Servlet.doPost(Servlet.java:29) > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:713) > > at javax.servlet.http.HttpServlet.
[google-appengine] Re: slow datastore access in GAE
Gah! I'm an idiot, I had a Thread.sleep in there from some earlier testing. Sorry for the false alarm. - Philip On Jan 10, 1:03 pm, Philip Tucker wrote: > Sorry for the late response, somehow I missed your reply. > > No, just using the default GAE stuff with annotations on the persisted > objects. > > Code is underhttp://code.google.com/p/appengine-closure-chat/, app ID > isptucker. > > Code: > > Persisted > objects:http://code.google.com/p/appengine-closure-chat/source/browse/trunk/s...http://code.google.com/p/appengine-closure-chat/source/browse/trunk/s... > > See selectMessages and persistMessage > here:http://code.google.com/p/appengine-closure-chat/source/browse/trunk/s... > > All other classes > underhttp://code.google.com/p/appengine-closure-chat/source/browse/trunk/src. > > Thanks for taking a look, > Philip > > On Dec 23 2009, 5:46 pm, "Jason (Google)" wrote: > > > > > This is definitely odd. Are you using any frameworks or libraries aside from > > the App Engine-supplied JDO/JPA implementation? I assume you're using a > > query to fetch the most recent n messages sorted by a date -- can you reply > > with your app ID, a snippet of your fetching and persisting code, and any > > extra information that might be relevant? > > > Thanks, > > - Jason > > > On Mon, Dec 21, 2009 at 11:51 PM, Philip Tucker wrote: > > > I've got a very simple application with very little data in it. It's a > > > simple chat app with 2 tables, Room and Message. Each server requests > > > stores a message and returns the most recent n messages, where n is on > > > the order of 1-5. > > > > Each request is taking 2-3 seconds. I'm doing 3 datastore > > > transactions; look up room by ID, insert message, look up most recent > > > n message by room ID. I know there's some optimization I could do to > > > skip the room lookup, but this is still way slower than I would > > > expect. > > > > I've also been getting a few of these errors, maybe 1/20 requests or > > > so: > > > > com.honkentuber.Servlet doIt: error on ChatServlet > > > com.google.appengine.api.datastore.DatastoreTimeoutException: Unknown > > > at > > > com.google.appengine.api.datastore.DatastoreApiHelper.translateError > > > (DatastoreApiHelper.java:42) > > > at > > > com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall > > > (DatastoreApiHelper.java:60) > > > at com.google.appengine.api.datastore.DatastoreServiceImpl$2.run > > > (DatastoreServiceImpl.java:173) > > > at > > > com.google.appengine.api.datastore.TransactionRunner.runInTransaction > > > (TransactionRunner.java:30) > > > at com.google.appengine.api.datastore.DatastoreServiceImpl.put > > > (DatastoreServiceImpl.java:161) > > > at com.google.appengine.api.datastore.DatastoreServiceImpl.put > > > (DatastoreServiceImpl.java:141) > > > at com.google.appengine.api.datastore.DatastoreServiceImpl.put > > > (DatastoreServiceImpl.java:133) > > > at > > > > org.datanucleus.store.appengine.RuntimeExceptionWrappingDatastoreService.pu > > > t > > > (RuntimeExceptionWrappingDatastoreService.java:93) > > > at org.datanucleus.store.appengine.DatastorePersistenceHandler.put > > > (DatastorePersistenceHandler.java:165) > > > at org.datanucleus.store.appengine.DatastorePersistenceHandler.put > > > (DatastorePersistenceHandler.java:112) > > > at > > > org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObjects > > > (DatastorePersistenceHandler.java:239) > > > at > > > org.datanucleus.store.appengine.DatastorePersistenceHandler.insertObject > > > (DatastorePersistenceHandler.java:225) > > > at org.datanucleus.state.JDOStateManagerImpl.internalMakePersistent > > > (JDOStateManagerImpl.java:3185) > > > at org.datanucleus.state.JDOStateManagerImpl.makePersistent > > > (JDOStateManagerImpl.java:3161) > > > at org.datanucleus.ObjectManagerImpl.persistObjectInternal > > > (ObjectManagerImpl.java:1298) > > > at org.datanucleus.ObjectManagerImpl.persistObject > > > (ObjectManagerImpl.java:1175) > > > at org.datanucleus.jdo.JDOPersistenceManager.jdoMakePersistent > > > (JDOPersistenceManager.java:669) > > > at org.datanucleus.jdo.JDOPersistenceManager.makePersistent > > > (JDOPersistenceManager
[google-appengine] failure responding to XMPP messages
Issue #1, the crowdguru svn directory appears empty. http://code.google.com/p/googleappengine/source/browse/#svn%2Ftrunk%2Fjava%2Fdemos%2Fcrowdguru%2Fsrc%2Fcom%2Fgoogle%2Fappengine%2Fdemos%2Fcrowdguru Issue #2, I've built a simplified version of XmppReceiverServlet from the crowdguru example (http://code.google.com/appengine/articles/ using_xmpp.html) but it doesn't work. Here's my source code: public class XmppReceiverServlet extends HttpServlet { private static final Logger LOG = Logger.getLogger(XmppServlet.class.getName()); private static final XMPPService xmppService = XMPPServiceFactory.getXMPPService(); public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException { Message message = xmppService.parseMessage(request); replyToMessage(message, "ack [" + message.getBody() + "]"); } private void replyToMessage(Message message, String body) { JID jid = message.getFromJid(); LOG.info("jid " + jid + " is available? " + xmppService.getPresence(jid).isAvailable()); LOG.info("body = " + body); xmppService.sendMessage(new MessageBuilder() .withRecipientJids(jid) .withMessageType(MessageType.NORMAL) .withBody(body) .build()); } } The message is received just fine, isAvailable is always true, and there are no exceptions. If I send from GMail or WIndows desktop Google Talk, I get the ack response successfully. If I send from my Android talk client or iGoogle, I get no response. I've invited my app as a chat contact in all environments. crowdg...@appspot.com works, though, so I'm sure I'm missing something, but I can't see the full source. Here are the formats of the JIDs. The 1st 2 work, the 2nd 2 don't. f...@gmail.com/gmail.8F4CB7A5 f...@gmail.com/Talk.v104A6A18605 f...@gmail.com/android59c54037eadf f...@gmail.com/iGoogle5D250A2D - Philip -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.