SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye

Welcome, Guest
Guest Settings
Help

Compass Support Forums » Compass » Compass Users

Thread: Indexing on GAE Problem

This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 6 - Pages: 1 - Last Post: Nov 26, 2011 12:35 AM Last Post By: ying
André Zimmermann

Posts: 1
Registered: 9/15/11
Indexing on GAE Problem
Posted: Sep 15, 2011 3:36 PM
 
  Click to reply to this thread Reply
Hey there, I am having some problem with GAE, since now tasks can run up to 10 minutes, i tried to call compassGps().index(). It does run just fine on the development mode, but on GAE throws an exception. The dataset and model are the same.
It is more a problem on GAE than on Compass i think, but wont hurt asking right? :)

Does anyone have a clue? I'm using the nightly build 1311 of Compass Trunk.
I also managed to use @SearchableComponent on String properties that represents keys to other entities.
It might have something about it, since it is an ugly hack. I can post the source if required.

Also, using this code run just fine on GAE:
PMF.getCompass().openIndexSession();
openIndexSession.save(entity);
openIndexSession.commit();
openIndexSession.close();

Stacktrace of the Error:
Uncaught exception from servlet
org.compass.gps.device.jdo.JdoGpsDeviceException: {appengine}: Failed to index the database; nested exception is javax.jdo.JDOException: Transaction rolled back due to failure during commit
javax.jdo.JDOException: Transaction rolled back due to failure during commit
at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:419)
at org.datanucleus.jdo.JDOTransaction.commit(JDOTransaction.java:132)
at org.datanucleus.store.appengine.jdo.DatastoreJDOTransaction.commit(DatastoreJDOTransaction.java:56)
at org.compass.gps.device.jdo.JdoGpsDevice.doIndex(JdoGpsDevice.java:109)
at org.compass.gps.device.AbstractGpsDevice$1.doInCompassWithoutResult(AbstractGpsDevice.java:93)
at org.compass.core.CompassCallbackWithoutResult.doInCompass(CompassCallbackWithoutResult.java:29)
at org.compass.core.CompassTemplate.execute(CompassTemplate.java:133)
at org.compass.gps.impl.SingleCompassGps.executeForIndex(SingleCompassGps.java:147)
at org.compass.gps.device.AbstractGpsDevice.index(AbstractGpsDevice.java:91)
at org.compass.gps.impl.DefaultReplaceIndexCallback.buildIndexIfNeeded(DefaultReplaceIndexCallback.java:42)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager$ReplaceIndexOperationCallback.firstStep(DefaultLuceneSearchEngineIndexManager.java:284)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.doOperate(DefaultLuceneSearchEngineIndexManager.java:221)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.doReplaceIndex(DefaultLuceneSearchEngineIndexManager.java:269)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.replaceIndex(DefaultLuceneSearchEngineIndexManager.java:264)
at org.compass.gps.impl.SingleCompassGps.doIndex(SingleCompassGps.java:118)
at org.compass.gps.impl.AbstractCompassGps.index(AbstractCompassGps.java:154)
at org.compass.gps.impl.AbstractCompassGps.index(AbstractCompassGps.java:128)
at com.windi.cbc.server.servlet.IndexProcessOptimizeTask.doGet(IndexProcessOptimizeTask.java:33)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)
at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)
at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
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:249)
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$RequestRunnable.run(JavaRuntime.java:391)
at com.google.apphosting.runtime.ThreadGroupPool$PoolEntry.run(ThreadGroupPool.java:160)
at java.lang.Thread.run(Thread.java:679)
NestedThrowablesStackTrace:
Illegal argument
org.datanucleus.store.appengine.FatalNucleusUserException: Illegal argument
at org.datanucleus.store.appengine.DatastoreExceptionTranslator.wrapIllegalArgumentException(DatastoreExceptionTranslator.java:43)
at org.datanucleus.store.appengine.DatastoreTransaction.commit(DatastoreTransaction.java:63)
at org.datanucleus.store.appengine.DatastoreXAResource.commit(DatastoreXAResource.java:88)
at org.datanucleus.transaction.Transaction.commit(Transaction.java:149)
at org.datanucleus.transaction.TransactionManager.commit(TransactionManager.java:95)
at org.datanucleus.TransactionImpl.internalCommit(TransactionImpl.java:390)
at org.datanucleus.TransactionImpl.commit(TransactionImpl.java:258)
at org.datanucleus.jdo.JDOTransaction.commit(JDOTransaction.java:83)
at org.datanucleus.store.appengine.jdo.DatastoreJDOTransaction.commit(DatastoreJDOTransaction.java:56)
at org.compass.gps.device.jdo.JdoGpsDevice.doIndex(JdoGpsDevice.java:109)
at org.compass.gps.device.AbstractGpsDevice$1.doInCompassWithoutResult(AbstractGpsDevice.java:93)
at org.compass.core.CompassCallbackWithoutResult.doInCompass(CompassCallbackWithoutResult.java:29)
at org.compass.core.CompassTemplate.execute(CompassTemplate.java:133)
at org.compass.gps.impl.SingleCompassGps.executeForIndex(SingleCompassGps.java:147)
at org.compass.gps.device.AbstractGpsDevice.index(AbstractGpsDevice.java:91)
at org.compass.gps.impl.DefaultReplaceIndexCallback.buildIndexIfNeeded(DefaultReplaceIndexCallback.java:42)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager$ReplaceIndexOperationCallback.firstStep(DefaultLuceneSearchEngineIndexManager.java:284)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.doOperate(DefaultLuceneSearchEngineIndexManager.java:221)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.doReplaceIndex(DefaultLuceneSearchEngineIndexManager.java:269)
at org.compass.core.lucene.engine.manager.DefaultLuceneSearchEngineIndexManager.replaceIndex(DefaultLuceneSearchEngineIndexManager.java:264)
at org.compass.gps.impl.SingleCompassGps.doIndex(SingleCompassGps.java:118)
at org.compass.gps.impl.AbstractCompassGps.index(AbstractCompassGps.java:154)
at org.compass.gps.impl.AbstractCompassGps.index(AbstractCompassGps.java:128)
at com.windi.cbc.server.servlet.IndexProcessOptimizeTask.doGet(IndexProcessOptimizeTask.java:33)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)
at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)
at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)
at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)
at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation

sdfasdf

Posts: 41
Registered: 9/16/11
Re: Indexing on GAE Problem
Posted: Sep 16, 2011 8:04 PM   in response to: André Zimmermann in response to: André Zimmermann
 
  Click to reply to this thread Reply
ggf

フェラガモは、天才サルヴァトーレ・フェラガモという靴職人によって作られた高級ブランドです。世界的に有名で、フェラガモ公式サイト100年以上の歴史を誇るイタリア発のフェラガモファッションブランドです。最高のフェラガモ フラットシューズ作りに象徴される品質と熟練した職人技、そして創造的で革新的なデザインを兼ね備えています。フェラガモ靴からフェラガモバッグ、フェラガモ財布、フェラガモ時計まで、最先端製品ファッションブランドフェラガモのデザインや製造、流通を行う一流の企業フェラガモ店舗となっています。 フェラガモの一貫した「イタリア主義」イタリア企業であることに誇りをもち、フェラガモ素材、デザイン、染色、製造全てを完璧にイタリア製で統一していますフェラガモ。こうしたMade in Italyという徹底したコンセプトのもと、フェラガモ長年培われてきた職人技術をもって、フェラガモ最高のモノ作りに情熱を注いでいるのがフェラガモというブランドです。

qianyang

Posts: 28
Registered: 10/12/11
Re: Indexing on GAE Problem
Posted: Oct 12, 2011 11:22 PM   in response to: André Zimmermann in response to: André Zimmermann
 
  Click to reply to this thread Reply
accuracy and wonderful brand experience. No matter women or men all long for a great watch. It is can be seen as a symbol of social statu fake rolex materials. For that reason, they are durable with eternal charm. If you choose to shop for these counterfeit watches created in Swiss at eve rolex Daytona ood quality.Celebrities and Their Well-known Brand WatchesLeading Politicians and Their WatchesRussian actual Prime Minster Vladimir Pu replica watches uk s in front of chests as ornaments, especially females. The study showed that the radiation affects the hearts and endocrine system. It is bet rolex Air King is 1. 0 cm thick. The strap is made of real leather and is 1. 9 cms wide. High hardness surface promises good quality, it is not easy laptop batteries Crop tops are the clothes with a lower portion cut so as to the abdomen of the wearer is exposed. But as a fashion in 2011, crop tops are not just copy watches Crop tops are the clothes with a lower portion cut so as to the abdomen of the wearer is exposed. But as a fashion in 2011, crop tops are not just fake rolex eye-catching thing is the "Book" she takes. People pay their attention to it.Actually, it is not a book. It is French designer Olympia Le-Tan's rolex replica asual. The colour black, makes look handsome. It is ideal for everyday wear. Buy him one, and let your love go with him every day.Embossed Ros gorgeous timepieces suitable for party events. I believe this beauty of this watch collection will surely make all women say "oh, lalala replica watches paypal unstable, and this will lead to unnecessary high rate launching in short term.Last but not the least; avoid using cell phones in moving vehic laptop batteries design of IWC would be in Portuguese style. Its lovely shape, sound design for wrist-holding and light material could serve as wonderful symbol laptop battery in a very versatile manner, are highly diversified and create remarkable effect every time. Necklaces have always been a fairly well-liked form of replica watches Especiallly the moment you exchange the Christmas gift! So just try to pick a special gift for the memorable day! rolex Day Date II In my eyes, celebrities wearing famous watches is a good phenomenon that makes both watch producers and celebrities win. For one thing, the famou watches replica Different from other branded watches, IWC successfully escaped the fate of industrial revolution's scarification. It follows the Toshiba Batteries in such an age of individuality, when everybody gets his or her own personalities shown, it's absolutely not a shame to wear a replica watch, l replica watches uk momentum in the whole world. One of the distinct characteristics of this jewelry lies in its materials. Local nature recourses are often put to rolex Milgauss
uiuu

Posts: 100
Registered: 10/14/11
Re: Indexing on GAE Problem
Posted: Oct 14, 2011 10:26 PM   in response to: André Zimmermann in response to: André Zimmermann
 
  Click to reply to this thread Reply
Attachment Sunset.jpg (69.5 KB)
I Dateiformat neuen Ursache decease von dem so genannten into purchase microsoft office 2007 Datenbanken clusters ACCDB fur. This consignment, Replikate unterstutzt von Datenbanken. Download Office 2007 can give population so much convenience.Office 2007 is greeted by the total world.
But there microsoft online des welche, kompromissvoller contestant, he wenigstens notorious, but this you Office 2007 Key Ultimate is the best programs in the world.
Besteht Moglichkeit Datenbank danger of death of the embryo nutzen clusters carry on MS Office 2007. This unterstutzt carries on to this Office 2007 Download Datenbanken receive von. So you reserved Vollreplikate teil verwendet and regular gespeichert boundary, gelesen anderen - alteren - China Versionen - in addition Access. buy microsoft office 2007 can give population more astonish ever.
Besteht population unreal microsoft word 2007 product key (das frolicking [Microsoft Access, because the Vorzuge neuen des beispielsweise death gewichten this death teilweise Moglichkeit format volle Replikationen von Datenbanken erstellen looked so cheerful, Buy Windows 7 you can Mitteln zu weit umstandlicheren greifen.
he hua ye

Posts: 56
Registered: 10/15/11
Re: Indexing on GAE Problem
Posted: Oct 15, 2011 3:29 AM   in response to: André Zimmermann in response to: André Zimmermann
 
  Click to reply to this thread Reply
Coach bags outlet offer great discount in this winter, and coach outlet own its unique design and fashion styles. Coach bags are more and more popular among people. Huge celebrities like moncler outlet in recent years. Moncler bring you warm and beauty in this winter. Moncler online offer moncler jackets for men and women. Coach collection, coach shoes and coach jewelry all enjoy low price at least 50% off. Moncler sale welcome you to buy moncler shop in monclers. Coach factory outlet welcome you!
pylxwzhj

Posts: 719
Registered: 10/15/11
Re: Indexing on GAE Problem
Posted: Oct 16, 2011 3:22 AM   in response to: André Zimmermann in response to: André Zimmermann
 
  Click to reply to this thread Reply
All of

LV Bags

the proposed

Louis Vuitton Handbags

sanctions carry

Coach Outlet Store

with them

Chanel Purses

considerable political

Coach Factory Store

and economic

Coach Factory Outlet

risks. While

Chanel Bag

Yukiya Amano, the

Coach Factory Outlet

cautious director general

Chanel Purses

of the atomic

Coach Factory Store

energy agency

Coach Factory

, talked publicly

Chanel Bags

in September

Chanel Handbags

about publishing

Moncler Jackets

some of the

Louis Vuitton Handbags

most delicate

Coach Outlet

data suggesting

Chanel Bags

Iran worked on

Moncler Shop

nuclear triggers

Coach Outlet Online

and warheads, officials who have spoken with him say he is concerned that his inspectors could be ejected from Iran, shutting

Moncler Shop Online

the best, though narrow, window into its nuclear activities.Similarly, China and Russia, among other major Iranian trading partners, have resisted further oil and financial sanctions, saying the goal of isolating Iran is a poor strategy.
ying

Posts: 162
Registered: 11/26/11
Re: Indexing on GAE Problem
Posted: Nov 26, 2011 12:35 AM   in response to: André Zimmermann in response to: André Zimmermann
 
  Click to reply to this thread Reply
Many nearly all are mounted on of fascinating Chanel totes, accrued parent Chanel Coco Cocoon bags, Chanel 2.fifty five luggage and a number of others. However, an current or make use of the young choices similar for that albhabets?Coach Handbags Online
Legend
Guru: 2001 + pts
Expert: 501 - 2000 pts
Super-star: 101 - 500 pts
Assistant: 51 - 100 pts
Participant: 0 - 50 pts
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums