Ive just had this error myself, can you clarify how you solved this problem, i cant seem to find a persistence.xml file (im using java)
On Sep 7, 4:25 am, Sekhar <[email protected]> wrote: > Turned out this didn't have anything to do with enhancer: my > persistence.xml excluded some of the classes. What threw me off was > that it's been working for months now with this - I guess GAE has been > ignoring this field and only now started processing it. Time gone down > the drain, but at least the thing's resolved. > > On Sep 6, 12:36 pm, Sekhar <[email protected]> wrote: > > > I have some JPA entities on a GAE site and have been using them > > without any issues. Today I made a change to my cron file (didn't > > touch the entity files at all) and now GAE throws the below error. Any > > ideas what's going on? > > > This is the first upload after I updated to 1.2.5, but switching back > > to 1.2.2 is not helping. Also, if I delete the source folder and > > create again, I see the enhancer messages on the console; but if I > > modify an entity class, there arenomessages on the console (just > > some transient flashes at the bottom mentioning the enhancer). > > > Would appreciate any help, right now the site is broken. :( > > > [RPC Fault faultString="Nometadatafor > > com.allurefx.sdnari.data.Organization. Perhaps you need to run the > > enhancer on this class?" > > faultCode="DefaultServiceExceptionHandler.Call.Failed" faultDetail=" > > - destination: SDNari > > - method: public com.allurefx.sdnari.data.Organization > > com.allurefx.sdnari.data.SDNari.getOrganization() > > - exception: javax.persistence.PersistenceException:Nometadatafor > > com.allurefx.sdnari.data.Organization. Perhaps you need to run the > > enhancer on this class? > > org.granite.messaging.service.ServiceException:Nometadatafor > > com.allurefx.sdnari.data.Organization. Perhaps you need to run the > > enhancer on this class? > > at > > org.granite.messaging.service.AbstractServiceExceptionHandler.getServiceExc > > eption > > (AbstractServiceExceptionHandler.java:59) > > at > > org.granite.messaging.service.AbstractServiceExceptionHandler.getServiceExc > > eption > > (AbstractServiceExceptionHandler.java:46) > > at > > org.granite.messaging.service.DefaultServiceExceptionHandler.handleInvocati > > onException > > (DefaultServiceExceptionHandler.java:64) > > at org.granite.messaging.service.ServiceInvoker.invoke > > (ServiceInvoker.java:173) > > at > > org.granite.messaging.amf.process.AMF3MessageProcessor.processRemotingMessa > > ge > > (AMF3MessageProcessor.java:136) > > at org.granite.messaging.amf.process.AMF3MessageProcessor.process > > (AMF3MessageProcessor.java:59) > > at org.granite.messaging.amf.process.AMF0MessageProcessor.process > > (AMF0MessageProcessor.java:71) > > at org.granite.messaging.webapp.AMFMessageServlet.doPost > > (AMFMessageServlet.java:59) > > 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 org.granite.messaging.webapp.AMFMessageFilter.doFilter > > (AMFMessageFilter.java:100) > > 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:237) > > 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.serviceReques > > t > > (JettyServletEngineAdapter.java:139) > > at com.google.apphosting.runtime.JavaRuntime.handleRequest > > (JavaRuntime.java:235) > > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > > $6.handleBlockingRequest(RuntimePb.java:4950) > > at com.google.apphosting.base.RuntimePb$EvaluationRuntime > > $6.handleBlockingRequest(RuntimePb.java:4948) > > at com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest > > (BlockingApplicationHandler.java:24) > > at com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java: > > 359) > > at com.google.net.rpc.impl.Server$2.run(Server.java:823) > > at com.google.tracing.LocalTraceSpanRunnable.run > > (LocalTraceSpanRunnable.java:56) > > at com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan > > (LocalTraceSpanBuilder.java:516) > > at com.google.net.rpc.impl.Server.startRpc(Server.java:778) > > at com.google.net.rpc.impl.Server.processRequest(Server.java:351) > > at com.google.net.rpc.impl.ServerConnection.messageReceived > > (ServerConnection.java:437) > > at com.google.net.rpc.impl.RpcConnection.parseMessages > > (RpcConnection.java:319) > > at com.google.net.rpc.impl.RpcConnection.dataReceived > > (RpcConnection.java:290) > > at com.google.net.async.Connection.handleReadEvent(Connection.java: > > 428) > > at com.google.net.async.EventDispatcher.processNetworkEvents > > (EventDispatcher.java:762) > > at com.google.net.async.EventDispatcher.internalLoop > > (EventDispatcher.java:207) > > at com.google.net.async.EventDispatcher.loop(EventDispatcher.java: > > 101) > > at com.google.net.rpc.RpcService.runUntilServerShutdown > > (RpcService.java:251) > > at com.google.apphosting.runtime.JavaRuntime$RpcRunnable.run > > (JavaRuntime.java:392) > > at java.lang.Thread.run(Unknown Source) > > Caused by: javax.persistence.PersistenceException:Nometadatafor > > com.allurefx.sdnari.data.Organization. Perhaps you need to run the > > enhancer on this class? > > at > > org.datanucleus.jpa.NucleusJPAHelper.getJPAExceptionForNucleusException > > (NucleusJPAHelper.java:264) > > at org.datanucleus.jpa.JPAQuery.getSingleResult(JPAQuery.java:224) > > at com.allurefx.sdnari.data.SDNari.getOrganization(SDNari.java:22) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > > at java.lang.reflect.Method.invoke(Method.java:40) > > at org.granite.messaging.service.ServiceInvocationContext.invoke > > (ServiceInvocationContext.java:71) > > at org.granite.messaging.service.ServiceInvoker.invoke > > (ServiceInvoker.java:146) > > ... 47 more > > Caused by: org.datanucleus.exceptions.NucleusUserException:Nometa > >datafor com.allurefx.sdnari.data.Organization. Perhaps you need to > > run the enhancer on this class? > > at > > org.datanucleus.store.appengine.query.DatastoreQuery.performExecute > > (DatastoreQuery.java:187) > > at org.datanucleus.store.appengine.query.JPQLQuery.performExecute > > (JPQLQuery.java:77) > > at org.datanucleus.store.appengine.query.JPQLQuery.performExecute > > (JPQLQuery.java:30) > > at org.datanucleus.store.query.Query.executeQuery(Query.java:1489) > > at org.datanucleus.store.query.Query.executeWithMap(Query.java:1398) > > at org.datanucleus.jpa.JPAQuery.getSingleResult(JPAQuery.java:203) > > ... 54 more > > "] > > at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/ > > internal::faultHandler() > > at mx.rpc::Responder/fault() > > at mx.rpc::AsyncRequest/fault() > > at NetConnectionMessageResponder/statusHandler() > > at mx.messaging::MessageResponder/status() --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
