ok, Thanks Alot Andy .

On Sep 18, 8:08 pm, andy stevko <[email protected]> wrote:
> Managing datastore indexes are an unexpected bump in the road to using a
> production GAE but the documentation is very concise and fairly complete.
>
> Did the deployment console report "Uploading index definitions." and
> complete successfully?
> Did the dashboard "Datastore Indexes"  page report the index is defined?
> being built?
>
> You should set autoGenerate="false"  if you want to manually define the
> indexes.
>
> On Fri, Sep 17, 2010 at 5:24 PM, Ahmed Shoeib <[email protected]
>
> > wrote:
> > but i wanna to tell you another query for this Table
> > done successfully
>
> > i don't know why this problem done ??
>
> > On Sep 18, 3:20 am, Ahmed Shoeib <[email protected]>
> > wrote:
> > > i removed the datastore-indexes-auto.xml
>
> > > and replaced it by datastore-indexes.xml
> > > and make these indexes
>
> > > <?xml version="1.0" encoding="utf-8"?>
>
> > > <datastore-indexes autoGenerate="true">
>
> > >     <!-- Used 4 times in query history -->
> > >     <datastore-index kind="Quote" ancestor="false">
> > >         <property name="state" direction="asc"/>
> > >         <property name="formattedDate" direction="asc"/>
> > >     </datastore-index>
>
> > > </datastore-indexes>
>
> > > and nothing done ?
>
> > > what can i do else ???
>
> > > On Sep 18, 1:43 am, andy stevko <[email protected]> wrote:
>
> > > > Perhaps you can figure this out by understanding way in which these
> > files
> > > > are used as described athttp://
> > code.google.com/appengine/docs/java/config/indexconfig.html#Us...
>
> > > > On Fri, Sep 17, 2010 at 3:36 PM, Ahmed Shoeib <
> > [email protected]
>
> > > > > wrote:
> > > > > i found these indexes for quote
>
> > > > > <datastore-index kind="Quote" ancestor="false" source="auto">
> > > > >         <property name="state" direction="asc"/>
> > > > >        <property name="formattedDate" direction="asc"/>
> > > > >    </datastore-index>
>
> > > > > what is the problem in it ??
>
> > > > > On Sep 18, 12:51 am, andy stevko <[email protected]> wrote:
> > > > > > Seems pretty straight forward.... You need to define an index for
> > 'Quote'
> > > > > > I suggest looking at
> > > > > > .../war/WEB-INF/appengine-generated/datastore-indexes.xml and
> > > > > > datastore-indexes-auto.xml
> > > > > > and correct the settings.
>
> >http://code.google.com/appengine/docs/java/datastore/queriesandindexe...
>
> > > > > > There could also be a chance that the Quote index is still being
> > built.
> > > > >https://appengine.google.com/datastore/indexes
>
> > > > > > On Fri, Sep 17, 2010 at 2:05 PM, Ahmed Shoeib <
> > > > > [email protected]
>
> > > > > > > wrote:
> > > > > > > my code work very well in my localhost
> > > > > > > after a time from uploading the code on appspot
> > > > > > > i face this problem
>
> > > > > > > what is this problem ????????
> > > > > > > how i can solve it ?????????
>
> > > > > > > ################################
> > > > > > > 1 - First This is Warning                ###
> > > > > > > ################################
>
> > > > > > > W 09-17 01:38PM 17.629
>
> > > > > > > /api/quote
> > > > > > > com.google.appengine.api.datastore.DatastoreNeedIndexException:
> > no
> > > > > > > matching index found..      <datastore-index kind="Quote"
> > > > > > > ancestor="false" source="manual">
> > > > > > >        <property name="state" direction="asc"/>
> > > > > > >        <property name="formattedDate" direction="asc"/>
> > > > > > >    </datastore-index>
>
> > > > > > >        at
>
> > com.google.appengine.api.datastore.DatastoreApiHelper.translateError(DatastoreApiHelper.java:
> > > > > > > 40)
> > > > > > >        at
>
> > com.google.appengine.api.datastore.DatastoreApiHelper.makeSyncCall(DatastoreApiHelper.java:
> > > > > > > 67)
> > > > > > >        at
>
> > com.google.appengine.api.datastore.PreparedQueryImpl.runQuery(PreparedQueryImpl.java:
> > > > > > > 127)
> > > > > > >        at
>
> > com.google.appengine.api.datastore.PreparedQueryImpl.asIterator(PreparedQueryImpl.java:
> > > > > > > 87)
> > > > > > >        at com.google.appengine.api.datastore.PreparedMultiQuery
>
> > $DedupingMultiQueryIterator.getNextIterator(PreparedMultiQuery.java:
> > > > > > > 154)
> > > > > > >        at com.google.appengine.api.datastore.PreparedMultiQuery
>
> > $DedupingMultiQueryIterator.computeNext(PreparedMultiQuery.java:173)
> > > > > > >        at com.google.appengine.api.datastore.PreparedMultiQuery
>
> > $DedupingMultiQueryIterator.computeNext(PreparedMultiQuery.java:98)
> > > > > > >        at
>
> > com.google.appengine.api.datastore.AbstractIterator.tryToComputeNext(AbstractIterator.java:
> > > > > > > 52)
> > > > > > >        at
>
> > com.google.appengine.api.datastore.AbstractIterator.hasNext(AbstractIterator.java:
> > > > > > > 47)
> > > > > > >        at com.google.appengine.api.datastore.BasePreparedQuery
> > > > > > > $UncompilablePreparedQuery$1.hasNext(BasePreparedQuery.java:78)
> > > > > > >        at
>
> > org.datanucleus.store.appengine.query.RuntimeExceptionWrappingIterator.hasNext(RuntimeExceptionWrappingIterator.java:
> > > > > > > 44)
> > > > > > >        at
>
> > org.datanucleus.store.appengine.query.LazyResult.resolveAll(LazyResult.java:
> > > > > > > 115)
> > > > > > >        at
>
> > org.datanucleus.store.appengine.query.LazyResult.size(LazyResult.java:
> > > > > > > 110)
> > > > > > >        at
>
> > org.datanucleus.store.appengine.query.StreamingQueryResult.size(StreamingQueryResult.java:
> > > > > > > 124)
> > > > > > >        at
>
> > com.fuoeg.dailyquote.api.DailyQuoteService.doGet(DailyQuoteService.java:
> > > > > > > 39)
> > > > > > >        at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> > > > > > >        at
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> > > > > > >        at
>
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
> > > > > > > 511)
> > > > > > >        at org.mortbay.jetty.servlet.ServletHandler
> > > > > > > $CachedChain.doFilter(ServletHandler.java:1166)
> > > > > > >        at
>
> > com.google.apphosting.utils.servlet.ParseBlobUploadFilter.doFilter(ParseBlobUploadFilter.java:
> > > > > > > 97)
> > > > > > >        at org.mortbay.jetty.servlet.ServletHandler
> > > > > > > $CachedChain.doFilter(ServletHandler.java:1157)
> > > > > > >        at
>
> > com.google.apphosting.runtime.jetty.SaveSessionFilter.doFilter(SaveSessionFilter.java:
> > > > > > > 35)
> > > > > > >        at org.mortbay.jetty.servlet.ServletHandler
> > > > > > > $CachedChain.doFilter(ServletHandler.java:1157)
> > > > > > >        at
>
> > com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
> > > > > > > 43)
> > > > > > >        at org.mortbay.jetty.servlet.ServletHandler
> > > > > > > $CachedChain.doFilter(ServletHandler.java:1157)
> > > > > > >        at
>
> > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
> > > > > > > 388)
> > > > > > >        at
>
> > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
> > > > > > > 216)
> > > > > > >        at
>
> > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
> > > > > > > 182)
> > > > > > >        at
>
> > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
> > > > > > > 765)
> > > > > > >        at
> > > > > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
> > > > > > > 418)
> > > > > > >        at
>
> > com.google.apphosting.runtime.jetty.AppVersionHandlerMap.handle(AppVersionHandlerMap.java:
> > > > > > > 238)
> > > > > > >        at
>
> > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
> > > > > > > 152)
> > > > > > >        at org.mortbay.jetty.Server.handle(Server.java:326)
> > > > > > >        at
>
> > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
> > > > > > > 542)
> > > > > > >        at org.mortbay.jetty.HttpConnection
> > > > > > > $RequestHandler.headerComplete(HttpConnection.java:923)
> > > > > > >        at
>
> > com.google.apphosting.runtime.jetty.RpcRequestParser.parseAvailable(RpcRequestParser.java:
> > > > > > > 76)
> > > > > > >        at
> > > > > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> > > > > > >        at
>
> > com.google.apphosting.runtime.jetty.JettyServletEngineAdapter.serviceRequest(JettyServletEngineAdapter.java:
> > > > > > > 135)
> > > > > > >        at
>
> > com.google.apphosting.runtime.JavaRuntime.handleRequest(JavaRuntime.java:
> > > > > > > 251)
> > > > > > >        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> > > > > > > $6.handleBlockingRequest(RuntimePb.java:6784)
> > > > > > >        at com.google.apphosting.base.RuntimePb$EvaluationRuntime
> > > > > > > $6.handleBlockingRequest(RuntimePb.java:6782)
> > > > > > >        at
>
> > com.google.net.rpc.impl.BlockingApplicationHandler.handleRequest(BlockingApplicationHandler.java:
> > > > > > > 24)
> > > > > > >        at
> > > > > com.google.net.rpc.impl.RpcUtil.runRpcInApplication(RpcUtil.java:
> > > > > > > 398)
> > > > > > >        at com.google.net.rpc.impl.Server$2.run(Server.java:852)
> > > > > > >        at
>
> > com.google.tracing.LocalTraceSpanRunnable.run(LocalTraceSpanRunnable.java:
> > > > > > > 56)
> > > > > > >        at
>
> > com.google.tracing.LocalTraceSpanBuilder.internalContinueSpan(LocalTraceSpanBuilder.java:
> > > > > > > 576)
> > > > > > >        at
> > com.google.net.rpc.impl.Server.startRpc(Server.java:807)
> > > > > > >        at
> > > > > com.google.net.rpc.impl.Server.processRequest(Server.java:369)
> > > > > > >        at
>
> > com.google.net.rpc.impl.ServerConnection.messageReceived(ServerConnection.java:
> > > > > > > 442)
> > > > > > >        at
>
> > com.google.net.rpc.impl.RpcConnection.parseMessages(RpcConnection.java:
> > > > > > > 319)
> > > > > > >        at
>
> > com.google.net.rpc.impl.RpcConnection.dataReceived(RpcConnection.java:
> > > > > > > 290)
> > > > > > >        at
>
> ...
>
> read more »

-- 
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 [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-java?hl=en.

Reply via email to