[Building Sakai] Build source Sakai - Error ???
Anthony Whyte
arwhyte at umich.edu
Sun Mar 15 03:53:16 PDT 2009
Search occasionally throws test errors during startup; in this case,
a REST-style HTTP Post request failed. If you simply want to start
Sakai you can prevent Maven from throwing build errors when the
Surefire test plugin encounters a test failure by adding the
parameter -Dmaven.test.skip=true to your set of mvn goals when
running maven from the command line:
mvn clean install -Dmaven.test.skip=true sakai:deploy
If you want more info on the error add the "-e" switch:
mvn -e clean install sakai:deploy
Cheers,
Anthony
> 10:25:20,375 main ERROR SearchListResponseImpl:310 - Error Message
> found from r
> emote search java.lang.Exception: Invalid Request
> at
> org.sakaiproject.search.component.service.impl.SearchServiceImpl.searc
> hXML(Se
> archServiceImpl.java:846)
> at org.sakaiproject.search.tool.RestSearchServlet.execute
> (RestSearchServlet.java
> :103)
> at org.sakaiproject.search.tool.RestSearchServlet.doPost
> (RestSearchServlet.java:
> 78)
> 10:25:20,384 main ERROR SearchListResponseImpl:108 - Failed to
> perform remote r
> equest, remote exception was:
> java.lang.Exception: Invalid Request
> at
> org.sakaiproject.search.component.service.impl.SearchServiceImpl.searc
> hXML(Se
> archServiceImpl.java:846)
> at org.sakaiproject.search.tool.RestSearchServlet.execute
> (RestSearchServlet.java
> :103)
> at org.sakaiproject.search.tool.RestSearchServlet.doPost
> (RestSearchServlet.java:
> 78)
On Mar 15, 2009, at 12:30 AM, de men wrote:
> Dear all,
> I followed the instruction of Installation guide. But I got the
> error as following:
> -----------------------------
> ....
> 10:25:18,327 main INFO FileUtils:388 - d-rw F:\sakai-src-2.5.4
> \search\search-
> impl\impl\m2-target\OptimizeOperationTest\local\index-import\39
> 10:25:18,327 main INFO FileUtils:389 -
> ---------------------------------------
> -----------------
> 10:25:18,330 main INFO FileUtils:353 - f-rw 4B deletable
> 10:25:18,333 main INFO FileUtils:353 - f-rw 44B deleteOnClose
> 10:25:18,334 main INFO FileUtils:353 - f-rw 918B sakai_tx
> 10:25:18,335 main INFO FileUtils:353 - f-rw 27B segments
> 10:25:18,336 main INFO FileUtils:353 - f-rw 306B _1.cfs
> 10:25:18,337 main INFO FileUtils:397 - Total :1299B F:\sakai-
> src-2.5.4\search\
> search-impl\impl\m2-target\OptimizeOperationTest\local\index-import\39
> 10:25:18,337 main INFO FileUtils:400 -
> ---------------------------------------
> -----------------
> 10:25:18,338 main INFO FileUtils:388 - d-rw F:\sakai-src-2.5.4
> \search\search-
> impl\impl\m2-target\OptimizeOperationTest\local\index-import\40
> 10:25:18,338 main INFO FileUtils:389 -
> ---------------------------------------
> -----------------
> 10:25:18,340 main INFO FileUtils:353 - f-rw 4B deletable
> 10:25:18,341 main INFO FileUtils:353 - f-rw 44B deleteOnClose
> 10:25:18,342 main INFO FileUtils:353 - f-rw 908B sakai_tx
> 10:25:18,344 main INFO FileUtils:353 - f-rw 27B segments
> 10:25:18,345 main INFO FileUtils:353 - f-rw 306B _1.cfs
> 10:25:18,345 main INFO FileUtils:397 - Total :1289B F:\sakai-
> src-2.5.4\search\
> search-impl\impl\m2-target\OptimizeOperationTest\local\index-import\40
> 10:25:18,346 main INFO FileUtils:400 -
> ---------------------------------------
> -----------------
> 10:25:18,346 main INFO FileUtils:388 - d-rw F:\sakai-src-2.5.4
> \search\search-
> impl\impl\m2-target\OptimizeOperationTest\local\index-import\41
> 10:25:18,347 main INFO FileUtils:389 -
> ---------------------------------------
> -----------------
> 10:25:18,349 main INFO FileUtils:353 - f-rw 4B deletable
> 10:25:18,349 main INFO FileUtils:353 - f-rw 44B deleteOnClose
> 10:25:18,351 main INFO FileUtils:353 - f-rw 918B sakai_tx
> 10:25:18,353 main INFO FileUtils:353 - f-rw 27B segments
> 10:25:18,354 main INFO FileUtils:353 - f-rw 306B _1.cfs
> 10:25:18,355 main INFO FileUtils:397 - Total :1299B F:\sakai-
> src-2.5.4\search\
> search-impl\impl\m2-target\OptimizeOperationTest\local\index-import\41
> 10:25:18,356 main INFO FileUtils:400 -
> ---------------------------------------
> -----------------
> 10:25:18,358 main INFO FileUtils:388 - d-rw F:\sakai-src-2.5.4
> \search\search-
> impl\impl\m2-target\OptimizeOperationTest\local\index-import\42
> 10:25:18,358 main INFO FileUtils:389 -
> ---------------------------------------
> -----------------
> 10:25:18,360 main INFO FileUtils:353 - f-rw 4B deletable
> 10:25:18,361 main INFO FileUtils:353 - f-rw 44B deleteOnClose
> 10:25:18,362 main INFO FileUtils:353 - f-rw 918B sakai_tx
> 10:25:18,363 main INFO FileUtils:353 - f-rw 27B segments
> 10:25:18,364 main INFO FileUtils:353 - f-rw 306B _1.cfs
> 10:25:18,365 main INFO FileUtils:397 - Total :1299B F:\sakai-
> src-2.5.4\search\
> search-impl\impl\m2-target\OptimizeOperationTest\local\index-import\42
> 10:25:18,365 main INFO FileUtils:400 -
> ---------------------------------------
> -----------------
> 10:25:18,367 main INFO FileUtils:388 - d-rw F:\sakai-src-2.5.4
> \search\search-
> impl\impl\m2-target\OptimizeOperationTest\local\index-import\43
> 10:25:18,368 main INFO FileUtils:389 -
> ---------------------------------------
> -----------------
> 10:25:18,370 main INFO FileUtils:353 - f-rw 4B deletable
> 10:25:18,371 main INFO FileUtils:353 - f-rw 44B deleteOnClose
> 10:25:18,372 main INFO FileUtils:353 - f-rw 904B sakai_tx
> 10:25:18,373 main INFO FileUtils:353 - f-rw 27B segments
> 10:25:18,373 main INFO FileUtils:353 - f-rw 306B _1.cfs
> 10:25:18,374 main INFO FileUtils:397 - Total :1285B F:\sakai-
> src-2.5.4\search\
> search-impl\impl\m2-target\OptimizeOperationTest\local\index-import\43
> 10:25:18,374 main INFO FileUtils:400 -
> ---------------------------------------
> -----------------
> 10:25:18,375 main INFO FileUtils:388 - d-rw F:\sakai-src-2.5.4
> \search\search-
> impl\impl\m2-target\OptimizeOperationTest\local\index-import\44
> 10:25:18,375 main INFO FileUtils:389 -
> ---------------------------------------
> -----------------
> 10:25:18,377 main INFO FileUtils:353 - f-rw 4B deletable
> 10:25:18,378 main INFO FileUtils:353 - f-rw 44B deleteOnClose
> 10:25:18,378 main INFO FileUtils:353 - f-rw 95B sakai_tx
> 10:25:18,379 main INFO FileUtils:353 - f-rw 27B segments
> 10:25:18,384 main INFO FileUtils:353 - f-rw 306B _1.cfs
> 10:25:18,385 main INFO FileUtils:397 - Total :476B F:\sakai-
> src-2.5.4\search\s
> earch-impl\impl\m2-target\OptimizeOperationTest\local\index-import\44
> 10:25:18,385 main INFO FileUtils:400 -
> ---------------------------------------
> -----------------
> 10:25:18,386 main INFO FileUtils:388 - d-rw F:\sakai-src-2.5.4
> \search\search-
> impl\impl\m2-target\OptimizeOperationTest\local\index-optimize
> 10:25:18,388 main INFO FileUtils:389 -
> ---------------------------------------
> -----------------
> 10:25:18,390 main INFO FileUtils:397 - Total :0B F:\sakai-
> src-2.5.4\search\sea
> rch-impl\impl\m2-target\OptimizeOperationTest\local\index-optimize
> 10:25:18,390 main INFO FileUtils:400 -
> ---------------------------------------
> -----------------
> 10:25:18,391 main INFO FileUtils:388 - d-rw F:\sakai-src-2.5.4
> \search\search-
> impl\impl\m2-target\OptimizeOperationTest\local\indexer-work
> 10:25:18,391 main INFO FileUtils:389 -
> ---------------------------------------
> -----------------
> 10:25:18,393 main INFO FileUtils:397 - Total :0B F:\sakai-
> src-2.5.4\search\sea
> rch-impl\impl\m2-target\OptimizeOperationTest\local\indexer-work
> 10:25:18,393 main INFO FileUtils:400 -
> ---------------------------------------
> -----------------
> 10:25:18,394 main INFO OptimizeOperationTest:421 - shared
> 10:25:18,397 main INFO FileUtils:388 - d-rw F:\sakai-src-2.5.4
> \search\search-
> impl\impl\m2-target\OptimizeOperationTest\shared
> 10:25:18,398 main INFO FileUtils:389 -
> ---------------------------------------
> -----------------
> 10:25:18,399 main INFO FileUtils:397 - Total :0B F:\sakai-
> src-2.5.4\search\sea
> rch-impl\impl\m2-target\OptimizeOperationTest\shared
> 10:25:18,399 main INFO FileUtils:400 -
> ---------------------------------------
> -----------------
> 10:25:18,400 main INFO FileUtils:388 - d-rw F:\sakai-src-2.5.4
> \search\search-
> impl\impl\m2-target\OptimizeOperationTest\shared\searchjournal
> 10:25:18,400 main INFO FileUtils:389 -
> ---------------------------------------
> -----------------
> 10:25:18,403 main INFO FileUtils:353 - f-rw 7336B 1.zip
> 10:25:18,404 main INFO FileUtils:353 - f-rw 5034B 10.zip
> 10:25:18,405 main INFO FileUtils:353 - f-rw 1838B 11.zip
> 10:25:18,407 main INFO FileUtils:353 - f-rw 1867B 12.zip
> 10:25:18,407 main INFO FileUtils:353 - f-rw 1870B 13.zip
> 10:25:18,408 main INFO FileUtils:353 - f-rw 1856B 14.zip
> 10:25:18,409 main INFO FileUtils:353 - f-rw 1870B 15.zip
> 10:25:18,411 main INFO FileUtils:353 - f-rw 1858B 16.zip
> 10:25:18,411 main INFO FileUtils:353 - f-rw 1870B 17.zip
> 10:25:18,412 main INFO FileUtils:353 - f-rw 1860B 18.zip
> 10:25:18,413 main INFO FileUtils:353 - f-rw 1870B 19.zip
> 10:25:18,414 main INFO FileUtils:353 - f-rw 7424B 2.zip
> 10:25:18,415 main INFO FileUtils:353 - f-rw 1871B 20.zip
> 10:25:18,416 main INFO FileUtils:353 - f-rw 1857B 21.zip
> 10:25:18,417 main INFO FileUtils:353 - f-rw 940B 22.zip
> 10:25:18,417 main INFO FileUtils:353 - f-rw 7024B 23.zip
> 10:25:18,418 main INFO FileUtils:353 - f-rw 7079B 24.zip
> 10:25:18,419 main INFO FileUtils:353 - f-rw 7120B 25.zip
> 10:25:18,420 main INFO FileUtils:353 - f-rw 7089B 26.zip
> 10:25:18,430 main INFO FileUtils:353 - f-rw 7101B 27.zip
> 10:25:18,431 main INFO FileUtils:353 - f-rw 7116B 28.zip
> 10:25:18,440 main INFO FileUtils:353 - f-rw 7119B 29.zip
> 10:25:18,441 main INFO FileUtils:353 - f-rw 7417B 3.zip
> 10:25:18,450 main INFO FileUtils:353 - f-rw 7123B 30.zip
> 10:25:18,451 main INFO FileUtils:353 - f-rw 7091B 31.zip
> 10:25:18,460 main INFO FileUtils:353 - f-rw 4828B 32.zip
> 10:25:18,461 main INFO FileUtils:353 - f-rw 1719B 33.zip
> 10:25:18,471 main INFO FileUtils:353 - f-rw 1749B 34.zip
> 10:25:18,471 main INFO FileUtils:353 - f-rw 1751B 35.zip
> 10:25:18,480 main INFO FileUtils:353 - f-rw 1737B 36.zip
> 10:25:18,490 main INFO FileUtils:353 - f-rw 1751B 37.zip
> 10:25:18,491 main INFO FileUtils:353 - f-rw 1739B 38.zip
> 10:25:18,501 main INFO FileUtils:353 - f-rw 1751B 39.zip
> 10:25:18,510 main INFO FileUtils:353 - f-rw 7421B 4.zip
> 10:25:18,511 main INFO FileUtils:353 - f-rw 1741B 40.zip
> 10:25:18,520 main INFO FileUtils:353 - f-rw 1751B 41.zip
> 10:25:18,521 main INFO FileUtils:353 - f-rw 1751B 42.zip
> 10:25:18,521 main INFO FileUtils:353 - f-rw 1737B 43.zip
> 10:25:18,531 main INFO FileUtils:353 - f-rw 928B 44.zip
> 10:25:18,540 main INFO FileUtils:353 - f-rw 7407B 5.zip
> 10:25:18,541 main INFO FileUtils:353 - f-rw 7448B 6.zip
> 10:25:18,550 main INFO FileUtils:353 - f-rw 7436B 7.zip
> 10:25:18,551 main INFO FileUtils:353 - f-rw 7419B 8.zip
> 10:25:18,560 main INFO FileUtils:353 - f-rw 7425B 9.zip
> 10:25:18,561 main INFO FileUtils:397 - Total :177K F:\sakai-
> src-2.5.4\search\s
> earch-impl\impl\m2-target\OptimizeOperationTest\shared\searchjournal
> 10:25:18,570 main INFO FileUtils:400 -
> ---------------------------------------
> -----------------
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 74.487 sec
> Running org.sakai.search.index.impl.test.SearchListResponseTest
> 10:25:20,375 main ERROR SearchListResponseImpl:310 - Error Message
> found from r
> emote search java.lang.Exception: Invalid Request
> at
> org.sakaiproject.search.component.service.impl.SearchServiceImpl.searc
> hXML(Se
> archServiceImpl.java:846)
> at org.sakaiproject.search.tool.RestSearchServlet.execute
> (RestSearchServlet.java
> :103)
> at org.sakaiproject.search.tool.RestSearchServlet.doPost
> (RestSearchServlet.java:
> 78)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationF
> ilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterCha
> in.java:173)
> at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:
> 540)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationF
> ilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterCha
> in.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.jav
> a:213)
> at org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.jav
> a:178)
> at org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:126)
>
> at org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:105)
>
> at org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:
> 107)
> at org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.java:148)
> at org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:869)
> at org.apache.coyote.http11.Http11BaseProtocol
> $Http11ConnectionHandler.processCo
> nnection(Http11BaseProtocol.java:664)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> (PoolTcpEndpoint.java
> :527)
> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
> (LeaderFollowerWor
> kerThread.java:80)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool.java
> :684)
> at java.lang.Thread.run(Thread.java:613)
> 10:25:20,384 main ERROR SearchListResponseImpl:108 - Failed to
> perform remote r
> equest, remote exception was:
> java.lang.Exception: Invalid Request
> at
> org.sakaiproject.search.component.service.impl.SearchServiceImpl.searc
> hXML(Se
> archServiceImpl.java:846)
> at org.sakaiproject.search.tool.RestSearchServlet.execute
> (RestSearchServlet.java
> :103)
> at org.sakaiproject.search.tool.RestSearchServlet.doPost
> (RestSearchServlet.java:
> 78)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationF
> ilterChain.java:252)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterCha
> in.java:173)
> at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:
> 540)
> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationF
> ilterChain.java:202)
> at org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterCha
> in.java:173)
> at org.apache.catalina.core.StandardWrapperValve.invoke
> (StandardWrapperValve.jav
> a:213)
> at org.apache.catalina.core.StandardContextValve.invoke
> (StandardContextValve.jav
> a:178)
> at org.apache.catalina.core.StandardHostValve.invoke
> (StandardHostValve.java:126)
>
> at org.apache.catalina.valves.ErrorReportValve.invoke
> (ErrorReportValve.java:105)
>
> at org.apache.catalina.core.StandardEngineValve.invoke
> (StandardEngineValve.java:
> 107)
> at org.apache.catalina.connector.CoyoteAdapter.service
> (CoyoteAdapter.java:148)
> at org.apache.coyote.http11.Http11Processor.process
> (Http11Processor.java:869)
> at org.apache.coyote.http11.Http11BaseProtocol
> $Http11ConnectionHandler.processCo
> nnection(Http11BaseProtocol.java:664)
> at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket
> (PoolTcpEndpoint.java
> :527)
> at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt
> (LeaderFollowerWor
> kerThread.java:80)
> at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run
> (ThreadPool.java
> :684)
> at java.lang.Thread.run(Thread.java:613)
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 0.655 sec
> Running
> org.sakaiproject.search.indexer.impl.test.LoadSaveSegmentListTest
> 10:25:21,670 main INFO JournaledFSIndexStorage:189 - Segment List
> File Exists,
> using it
> 10:25:21,716 main INFO JournaledFSIndexStorage:202 - No Segment
> List File Exis
> ts
> 10:25:21,718 main WARN JournaledFSIndexStorage:213 - Found
> Existing Search Dir
> ectory with no local segment list, I will delete F:\sakai-src-2.5.4
> \search\searc
> h-impl\impl\m2-target\LoadSaveSegmentListTest\local\index
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 0.56 sec
> Running org.sakaiproject.search.indexer.impl.test.DbJournalManagerTest
> 10:25:22,679 main INFO TDataSource:85 - Using Derby DB
> 10:25:29,994 main INFO DbJournalManagerTest:80 -
> =============================
> =====
> org.sakaiproject.search.indexer.impl.test.DbJournalManagerTest.testGet
> Next
> SavePoint
> 10:25:30,585 main INFO DbJournalManagerTest:99 -
> ==PASSED=====================
> =====
> org.sakaiproject.search.indexer.impl.test.DbJournalManagerTest.testGet
> Next
> SavePoint
> 10:25:30,599 main INFO TDataSource:85 - Using Derby DB
> 10:25:31,818 main INFO DbJournalManagerTest:108 -
> ============================
> ======
> org.sakaiproject.search.indexer.impl.test.DbJournalManagerTest.testPre
> par
> eSave
> 10:25:32,014 main INFO DbJournalManagerTest:121 -
> ==PASSED====================
> ======
> org.sakaiproject.search.indexer.impl.test.DbJournalManagerTest.testPre
> par
> eSave
> 10:25:32,029 main INFO TDataSource:85 - Using Derby DB
> 10:25:33,182 main INFO DbJournalManagerTest:130 -
> ============================
> ======
> org.sakaiproject.search.indexer.impl.test.DbJournalManagerTest.testCom
> mit
> Save
> 10:25:33,270 main INFO DbJournalManagerTest:148 -
> ==PASSED====================
> ======
> org.sakaiproject.search.indexer.impl.test.DbJournalManagerTest.testCom
> mit
> Save
> 10:25:33,284 main INFO TDataSource:85 - Using Derby DB
> 10:25:34,521 main INFO DbJournalManagerTest:157 -
> ============================
> ======
> org.sakaiproject.search.indexer.impl.test.DbJournalManagerTest.testRol
> lba
> ckSave
> 10:25:35,790 main INFO DbJournalManagerTest:172 -
> ==PASSED====================
> ======
> org.sakaiproject.search.indexer.impl.test.DbJournalManagerTest.testRol
> lba
> ckSave
> Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 13.535 sec
>
> Results :
>
> Tests in error:
>
> Tests run: 27, Failures: 0, Errors: 1, Skipped: 0
>
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] There are test failures.
>
> Please refer to F:\sakai-src-2.5.4\search\search-impl\impl\m2-target
> \surefire-re
> ports for the individual test results.
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 48 minutes 56 seconds
> [INFO] Finished at: Sun Mar 15 10:25:35 ICT 2009
> [INFO] Final Memory: 125M/254M
> [INFO]
> ----------------------------------------------------------------------
> --
> ......
> ---------------------------------------------------------------
> Can you tell me why ???
>
> Phuc Bui
>
>
> Chọn ngay địa chỉ email bạn thích!
> Giờ đã có @ymail.com và @rocketmail.com.
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-
> unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
More information about the sakai-dev
mailing list