marklogic-community / marklogic-samplestack

A sample implementation of the MarkLogic Reference Architecture
Apache License 2.0
82 stars 56 forks source link

Sample-Stack Throwing Test Error #577

Closed reachlakstar closed 9 years ago

reachlakstar commented 9 years ago

I am running from command line gradelew appserver. java version 1.7 64 bit windows 7 :compileTestGroovy UP-TO-DATE :processTestResources UP-TO-DATE :testClasses :test

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testAcceptedSea rch F AILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationExcepti on Caused by: org.springframework.beans.factory.BeanCreationExc eption Caused by: org.springframework.beans.factory.BeanCreatio nException Caused by: com.marklogic.client.FailedRequestExcepti on

grechaw commented 9 years ago

Hello @lakstap , I've never seen this particular exception before -- it looks like the application just in general has not initialized correctly. Have you verified that MarkLogic is up and running on your machine?

reachlakstar commented 9 years ago

yes I am able to access the query console.

gghai commented 9 years ago

Just want to make sure you ran ./gradlew appserver as I see a typo in log above . You can retry the steps after doing a clean up with running gradlew dbteardown , gradlew clean and re - run gradlew appsever and see if that helps ?

gghai commented 9 years ago

Seems you are on windows then the command would be gradlew.bat appserver thanks

reachlakstar commented 9 years ago

Here are the steps I did.. downloaded the source zip and extracted it. just ran the bat file with appserver parameter. can you list the steps what you would like to try it.

reachlakstar commented 9 years ago

i tried dbteardown, clean and appserver ... again same issue.. warning: [options] bootstrap class path not set in conjunction with -source 1.6 .gradle\caches\modules-2\files-2.1\org.springframework\spring-c ontext\4.1.4.RELEASE\5c66d0962e89ee577627a526b6b299a5337072be\spring-context-4.1 .4.RELEASE.jar(org/springframework/context/annotation/PropertySource.class): war ning: Cannot find annotation method 'value()' in type 'Repeatable': class file f or java.lang.annotation.Repeatable not found 2 warnings

also i get lot of test cases failed.

laurelnaiad commented 9 years ago

@lakstap those warnings are expected.

This may sound silly, but have you installed MarkLogic 8? That is the only released version compatible with Samplestack.

Also, would you post the complete log? If you run gradlew.bat appserver > log.txt, it should generate a text file with the complete log in it.

reachlakstar commented 9 years ago

:buildSrc:compileJava UP-TO-DATE :buildSrc:compileGroovy UP-TO-DATE :buildSrc:processResources UP-TO-DATE :buildSrc:classes UP-TO-DATE :buildSrc:jar UP-TO-DATE :buildSrc:assemble UP-TO-DATE :buildSrc:compileTestJava UP-TO-DATE :buildSrc:compileTestGroovy UP-TO-DATE :buildSrc:processTestResources UP-TO-DATE :buildSrc:testClasses UP-TO-DATE :buildSrc:test UP-TO-DATE :buildSrc:check UP-TO-DATE :buildSrc:build UP-TO-DATE :compileJava UP-TO-DATE :compileGroovy UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :jar :bootRepackage :dbConfigureClean :dbInit Server already secured. Initialization skipped. Server already secured. Initialization skipped Creating users and roles... [errorResponse:[message:MANAGE-CONFLICTINGCONFIG: (err:FOER0000) A conflict has been detected: User exists., messageCode:MANAGE-CONFLICTINGCONFIG, status:Bad Request, statusCode:400]] [errorResponse:[message:MANAGE-CONFLICTINGCONFIG: (err:FOER0000) A conflict has been detected: User exists., messageCode:MANAGE-CONFLICTINGCONFIG, status:Bad Request, statusCode:400]] [errorResponse:[message:MANAGE-CONFLICTINGCONFIG: (err:FOER0000) A conflict has been detected: User exists., messageCode:MANAGE-CONFLICTINGCONFIG, status:Bad Request, statusCode:400]] [errorResponse:[message:Your bootstrap payload caused the server to throw an error. Underlying error message: REST-INVALIDPARAM: (err:FOER0000) Invalid parameter: Port 8006 is in use., messageCode:RESTAPI-INVALIDCONTENT, status:Bad Request, statusCode:400]] :dbConfigure Putting database configuration database-properties.json Success: 204 Looks like xxx\marklogic-samplestack-master\database\LICENSE is not a MarkLogic configuration file... skipping Looks like xxx\marklogic-samplestack-master\database\README.md is not a MarkLogic configuration file... skipping Success: 204 Putting search options contributors.json Success: 204 Putting search options questions.json null Putting search options single-question.json Success: 204 Putting search options tags.json null Putting service extension relatedTags.sjs Success: 204 Putting transform search-response.sjs Success: 204 Putting transform single-question.sjs Success: 204 :props UP-TO-DATE :compileTestJava UP-TO-DATE :compileTestGroovy UP-TO-DATE :processTestResources UP-TO-DATE :testClasses UP-TO-DATE :test

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testAcceptedSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > guestSearchSeesOnlyResolvedQuestions FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testResponseExtracts FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testConfiguredStringSearches FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testSingleGetTransform FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > defaultSearchOrdersByActivityDescending FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testActivitySearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > authenticatedSearchSeesUnresolvedQuestions FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DocumentSecurityIT > testDocumentSecurity FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.ContributorServiceIT > testContributorCRUD FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.ContributorServiceIT > testUserNameCardinality FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.QnAServiceIT > testAskAndAnswerFlow FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.QnAServiceIT > testCRUD FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.QnAServiceIT > testCommentsAndSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.QnAServiceIT > testVoting FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.TagsServiceIT > testStructuredTagSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.TagsServiceIT > testTagTwoSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.TagsServiceIT > testAllTagValues FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.TagsServiceIT > testTagSearchWithForTag FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.ContributorControllerIT > testContributorCRUD FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.LDAPIT > testFinds FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.LoginIT > loginBadCredentials FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.LoginIT > loginForbidden FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.LoginIT > loginNormalFlow FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAcceptAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnswerQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteUpAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > commentOnAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAskQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnonymousAccessToAccepted FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteDownQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testIncludeTimezoneAdjustsDateFacet FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnonymousCanSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAskMalformedQuestions FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteDownAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteUpQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnonymousCannotAsk FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testLoggedInCanSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsWithPageLength FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsNoArgs FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testBadSort FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testStartLimitOrder FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testRelatedTags FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsAnonymousOK FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsWithArgument FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testSortFrequency FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException 19:44:31.935 [Thread-32] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@209cccc1: startup date [Wed Feb 11 19:44:30 PST 2015]; root of context hierarchy 19:44:31.935 [Thread-31] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@24f98ad2: startup date [Wed Feb 11 19:44:27 PST 2015]; root of context hierarchy 19:44:31.940 [Thread-32] INFO o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown :test FAILED

BUILD FAILED

Total time: 1 mins 2.353 secs

laurelnaiad commented 9 years ago

[errorResponse:[message:Your bootstrap payload caused the server to throw an error. Underlying error message: REST-INVALIDPARAM: (err:FOER0000) Invalid parameter: Port 8006 is in use., messageCode:RESTAPI-INVALIDCONTENT, status:Bad Request, statusCode:400]]

This looks like the first problem. Do you have a different configured server (not samplestack) already on port 8006?

If not, then you should first try gradlew.bat dbTeardown which would clean up the samplestack app, then retry gradlew.bat appserver. But if you have anything other than Samplestack on the port, it's going to be a conflict.

reachlakstar commented 9 years ago

it is same please see the log now. :buildSrc:compileJava UP-TO-DATE :buildSrc:compileGroovy UP-TO-DATE :buildSrc:processResources UP-TO-DATE :buildSrc:classes UP-TO-DATE :buildSrc:jar UP-TO-DATE :buildSrc:assemble UP-TO-DATE :buildSrc:compileTestJava UP-TO-DATE :buildSrc:compileTestGroovy UP-TO-DATE :buildSrc:processTestResources UP-TO-DATE :buildSrc:testClasses UP-TO-DATE :buildSrc:test UP-TO-DATE :buildSrc:check UP-TO-DATE :buildSrc:build UP-TO-DATE :compileJava :compileGroovy UP-TO-DATE :processResources :classes :jar :bootRepackage :dbConfigureClean :dbInit Server already secured. Initialization skipped. Server already secured. Initialization skipped Creating users and roles... Success: 201 :dbConfigure Putting database configuration database-properties.json Success: 204 Looks like xxx\marklogic-samplestack-master\database\LICENSE is not a MarkLogic configuration file... skipping Looks like xxx\marklogic-samplestack-master\database\README.md is not a MarkLogic configuration file... skipping Success: 204 Putting search options contributors.json Success: 201 Putting search options questions.json null Putting search options single-question.json Success: 201 Putting search options tags.json null Putting service extension relatedTags.sjs Success: 204 Putting transform search-response.sjs Success: 204 Putting transform single-question.sjs Success: 204 :props UP-TO-DATE :compileTestJava :compileTestGroovy UP-TO-DATE :processTestResources :testClasses :test

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testAcceptedSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > guestSearchSeesOnlyResolvedQuestions FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testResponseExtracts FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testConfiguredStringSearches FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testSingleGetTransform FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > defaultSearchOrdersByActivityDescending FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testActivitySearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > authenticatedSearchSeesUnresolvedQuestions FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DocumentSecurityIT > testDocumentSecurity FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.ContributorServiceIT > testContributorCRUD FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.ContributorServiceIT > testUserNameCardinality FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.QnAServiceIT > testAskAndAnswerFlow FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.QnAServiceIT > testCRUD FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.QnAServiceIT > testCommentsAndSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.QnAServiceIT > testVoting FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.TagsServiceIT > testStructuredTagSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.TagsServiceIT > testTagTwoSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.TagsServiceIT > testAllTagValues FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.TagsServiceIT > testTagSearchWithForTag FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.ContributorControllerIT > testContributorCRUD FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.LDAPIT > testFinds FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.LoginIT > loginBadCredentials FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.LoginIT > loginForbidden FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.LoginIT > loginNormalFlow FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAcceptAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnswerQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteUpAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > commentOnAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAskQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnonymousAccessToAccepted FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteDownQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testIncludeTimezoneAdjustsDateFacet FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnonymousCanSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAskMalformedQuestions FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteDownAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteUpQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnonymousCannotAsk FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testLoggedInCanSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsWithPageLength FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsNoArgs FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testBadSort FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testStartLimitOrder FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testRelatedTags FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsAnonymousOK FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsWithArgument FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testSortFrequency FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException 20:05:18.994 [Thread-31] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@25c4eb0a: startup date [Wed Feb 11 20:05:14 PST 2015]; root of context hierarchy 20:05:19.006 [Thread-32] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@69907472: startup date [Wed Feb 11 20:05:17 PST 2015]; root of context hierarchy 20:05:19.007 [Thread-32] INFO o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown :test FAILED

BUILD FAILED

Total time: 1 mins 14.439 secs

reachlakstar commented 9 years ago

is there a way to turn off these test cases?

reachlakstar commented 9 years ago

would this help.. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'markLogicContributorService': Invocation of init method failed; nested exception is com.marklogic.client.FailedRequestException: Local message: search failed: Bad Request. Server Message: REST-INVALIDPARAM: (err:FOER0000) Invalid parameter: Invalid query: XDMP-VALIDATEUNEXPECTED: (err:XQDY0027) validate strict { $q } -- Invalid node: Found @type but expected () at fn:doc("")/search:query/search:value-query/@type using schema "search.xsd" at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:136) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1558) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1051) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533) ... 75 more Caused by: com.marklogic.client.FailedRequestException: Local message: search failed: Bad Request. Server Message: REST-INVALIDPARAM: (err:FOER0000) Invalid parameter: Invalid query: XDMP-VALIDATEUNEXPECTED: (err:XQDY0027) validate strict { $q } -- Invalid node: Found @type but expected () at fn:doc("")/search:query/search:value-query/@type using schema "search.xsd" at com.marklogic.client.impl.JerseyServices$JerseySearchRequest.getResponse(JerseyServices.java:2206) at com.marklogic.client.impl.JerseyServices.getBulkDocumentsImpl(JerseyServices.java:869) at com.marklogic.client.impl.JerseyServices.getBulkDocuments(JerseyServices.java:744) at com.marklogic.client.impl.DocumentManagerImpl.search(DocumentManagerImpl.java:500) at com.marklogic.client.impl.JSONDocumentImpl.search(JSONDocumentImpl.java:26) at com.marklogic.client.impl.PojoRepositoryImpl.search(PojoRepositoryImpl.java:340) at com.marklogic.client.impl.PojoRepositoryImpl.search(PojoRepositoryImpl.java:317) at com.marklogic.samplestack.dbclient.MarkLogicContributorService.getByUserName(MarkLogicContributorService.java:148) at com.marklogic.samplestack.dbclient.MarkLogicContributorService.store(MarkLogicContributorService.java:178) at com.marklogic.samplestack.dbclient.MarkLogicContributorService.store(MarkLogicContributorService.java:173) at com.marklogic.samplestack.dbclient.MarkLogicContributorService.storeJoeAndMary(MarkLogicContributorService.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:349) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:300) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133) ... 87 more

grechaw commented 9 years ago

Thanks for the info, I'm able to reproduce actually. This bug looks limited to the release downloads. We have thoroughly tested the git clone method documented in READMEs. While we investigate what's up with the .zip, you can give git a try to move forward.

reachlakstar commented 9 years ago

ok .. so you want me to use clone method?

reachlakstar commented 9 years ago

same issue no difference even with github direct url.

grechaw commented 9 years ago

That does help, thanks. It makes me think that zip file has the wrong code in it somehow.

grechaw commented 9 years ago

Thanks @lakstap for reporting -- I found the bug. We will pull the zipfile now and replace. If you start over with

git clone

then you can get samplestack running. In the meantime we'll work on a fix for the issue you found.

reachlakstar commented 9 years ago

i tried with git clone as well - no luck.

grechaw commented 9 years ago

OK well the nature of the bug is a bad regular expression in installing transform extensions to MarkLogic. We will have a fix out shortly -- we could workaround this, but might a well push forward at this point.

reachlakstar commented 9 years ago

can i take the latest code from download zip and test it?

grechaw commented 9 years ago

The issue you found prevents MarkLogic from being configured properly. It's exposed by the path to your checkout/project. The zip will not be correct until we update with a new release artifact.

reachlakstar commented 9 years ago

can you please provide me the url to download from subversion.

reachlakstar commented 9 years ago

please can you tell me. i am waiting for this so that i can proceed on this.. please can it happen today in either zip or subverison.

popzip commented 9 years ago

Hi there @lakstap, we're working on getting it tested and pushed as soon as we can. If you are familiar with git you should be able to clone the repository now, or test the pull request that @grechaw already submitted with the fix. We should have it today but not sure on timing yet.

grechaw commented 9 years ago

There's no bug in the codebase. If you ensure that your project path does not have a '.' in it, the project setup will work fine. In the meantime the team is preparing a hotfix release.

reachlakstar commented 9 years ago

may i know which path you are referring too?

reachlakstar commented 9 years ago

i really dont have "." in my path and please which path you were referring to.

laurelnaiad commented 9 years ago

@lakstap here is my understanding. @grechaw, please correct me if I'm wrong:

The problem arises because during the dbConfigure task, the absolute path to the project files is parsed, and the parsing does not take into account the possibility of dots (.) in the directory names. As such, when the project is zipped by github, and the directory "1.0.0" enters the path, that gradle step fails. We are correcting the gradle step to accomodate directory names with periods in them, and will have a new release ready shortly. In the meantime, you can work around it by changing the name of that directory to one that does not include dots (aka periods).

Once you have a path leading to the repository in your harddrive that doesn't have dots in the directory names, you may need to run gradlew.bat dbTeardown before gradlew.bat appserver in order to get the MarkLogic server back to a clean state before beginning.

reachlakstar commented 9 years ago

thank you nice explanation. i will wait for your fix.

reachlakstar commented 9 years ago

@popzip. is it possible to provide me the SVN url instead of git?

grechaw commented 9 years ago

Hi @lakstap this project doesn't use SVN.

laurelnaiad commented 9 years ago

@lakstap, we've pushed version 1.0.1 with a fix for this problem.

reachlakstar commented 9 years ago

where can i download the zip file from ?

laurelnaiad commented 9 years ago
reachlakstar commented 9 years ago

no luck.. same issue.. :buildSrc:compileJava UP-TO-DATE :buildSrc:compileGroovy UP-TO-DATE :buildSrc:processResources UP-TO-DATE :buildSrc:classes UP-TO-DATE :buildSrc:jar UP-TO-DATE :buildSrc:assemble UP-TO-DATE :buildSrc:compileTestJava UP-TO-DATE :buildSrc:compileTestGroovy UP-TO-DATE :buildSrc:processTestResources UP-TO-DATE :buildSrc:testClasses UP-TO-DATE :buildSrc:test UP-TO-DATE :buildSrc:check UP-TO-DATE :buildSrc:build UP-TO-DATE :compileJava :compileGroovy UP-TO-DATE :processResources :classes :jar :bootRepackage :dbConfigureClean :dbInit Server already secured. Initialization skipped. Server already secured. Initialization skipped Creating users and roles... Success: 201 :dbConfigure Putting database configuration database-properties.json Success: 204 Looks like zzz\marklogic-samplestack-master\database\LICENSE is not a MarkLogic configuration file... skipping Looks like zzz\marklogic-samplestack-master\database\README.md is not a MarkLogic configuration file... skipping Success: 204 Putting search options contributors.json Success: 201 Putting search options questions.json null Putting search options single-question.json Success: 201 Putting search options tags.json null Putting service extension relatedTags.sjs Success: 204 Putting transform search-response.sjs Success: 204 Putting transform single-question.sjs Success: 204 :props :compileTestJava :compileTestGroovy UP-TO-DATE :processTestResources :testClasses :test

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testAcceptedSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > guestSearchSeesOnlyResolvedQuestions FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testResponseExtracts FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testConfiguredStringSearches FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testSingleGetTransform FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > defaultSearchOrdersByActivityDescending FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testActivitySearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > authenticatedSearchSeesUnresolvedQuestions FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.database.DocumentSecurityIT > testDocumentSecurity FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.service.ContributorServiceIT > testContributorCRUD FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.service.ContributorServiceIT > testUserNameCardinality FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.service.QnAServiceIT > testAskAndAnswerFlow FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.service.QnAServiceIT > testCRUD FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.service.QnAServiceIT > testCommentsAndSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.service.QnAServiceIT > testVoting FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.service.TagsServiceIT > testStructuredTagSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.service.TagsServiceIT > testTagTwoSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.service.TagsServiceIT > testAllTagValues FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.service.TagsServiceIT > testTagSearchWithForTag FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.ContributorControllerIT > testContributorCRUD FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.LDAPIT > testFinds FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.LoginIT > loginBadCredentials FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.LoginIT > loginForbidden FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.LoginIT > loginNormalFlow FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAcceptAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnswerQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteUpAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > commentOnAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAskQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnonymousAccessToAccepted FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteDownQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testIncludeTimezoneAdjustsDateFacet FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnonymousCanSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAskMalformedQuestions FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteDownAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteUpQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnonymousCannotAsk FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testLoggedInCanSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsWithPageLength FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsNoArgs FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.TagControllerIT > testBadSort FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.TagControllerIT > testStartLimitOrder FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.TagControllerIT > testRelatedTags FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsAnonymousOK FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsWithArgument FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.sun.jersey.api.client.ClientHandlerException Caused by: org.apache.http.conn.HttpHostConnectException Caused by: java.net.ConnectException

reachlakstar commented 9 years ago

hold on few mins please..

grechaw commented 9 years ago

Hi @lakstap, now it looks like your MarkLogic server is not running, at least not on the regular samplestack port.. java.net.ConnectionExceptin

reachlakstar commented 9 years ago

sir no difference same issue.. :buildSrc:compileJava UP-TO-DATE :buildSrc:compileGroovy UP-TO-DATE :buildSrc:processResources UP-TO-DATE :buildSrc:classes UP-TO-DATE :buildSrc:jar UP-TO-DATE :buildSrc:assemble UP-TO-DATE :buildSrc:compileTestJava UP-TO-DATE :buildSrc:compileTestGroovy UP-TO-DATE :buildSrc:processTestResources UP-TO-DATE :buildSrc:testClasses UP-TO-DATE :buildSrc:test UP-TO-DATE :buildSrc:check UP-TO-DATE :buildSrc:build UP-TO-DATE :compileJava :compileGroovy UP-TO-DATE :processResources :classes :jar :bootRepackage :dbConfigureClean :dbInit Server already secured. Initialization skipped. Server already secured. Initialization skipped Creating users and roles... Success: 201 :dbConfigure Putting database configuration database-properties.json Success: 204 Looks like zzz\marklogic-samplestack-master\database\LICENSE is not a MarkLogic configuration file... skipping Looks like zzz\marklogic-samplestack-master\database\README.md is not a MarkLogic configuration file... skipping Success: 204 Putting search options contributors.json Success: 201 Putting search options questions.json null Putting search options single-question.json Success: 201 Putting search options tags.json null Putting service extension relatedTags.sjs Success: 204 Putting transform search-response.sjs Success: 204 Putting transform single-question.sjs Success: 204 :props UP-TO-DATE :compileTestJava :compileTestGroovy UP-TO-DATE :processTestResources :testClasses :test

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testAcceptedSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > guestSearchSeesOnlyResolvedQuestions FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testResponseExtracts FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testConfiguredStringSearches FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testSingleGetTransform FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > defaultSearchOrdersByActivityDescending FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > testActivitySearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DatabaseQnADocumentSearchIT > authenticatedSearchSeesUnresolvedQuestions FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.database.DocumentSecurityIT > testDocumentSecurity FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.ContributorServiceIT > testContributorCRUD FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.ContributorServiceIT > testUserNameCardinality FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.QnAServiceIT > testAskAndAnswerFlow FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.QnAServiceIT > testCRUD FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.QnAServiceIT > testCommentsAndSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.QnAServiceIT > testVoting FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.TagsServiceIT > testStructuredTagSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.TagsServiceIT > testTagTwoSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.TagsServiceIT > testAllTagValues FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.service.TagsServiceIT > testTagSearchWithForTag FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.ContributorControllerIT > testContributorCRUD FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.LDAPIT > testFinds FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.LoginIT > loginBadCredentials FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.LoginIT > loginForbidden FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.LoginIT > loginNormalFlow FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAcceptAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnswerQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteUpAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > commentOnAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAskQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnonymousAccessToAccepted FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteDownQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testIncludeTimezoneAdjustsDateFacet FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnonymousCanSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAskMalformedQuestions FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteDownAnswer FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testVoteUpQuestion FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testAnonymousCannotAsk FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.QnADocumentControllerIT > testLoggedInCanSearch FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsWithPageLength FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsNoArgs FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testBadSort FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testStartLimitOrder FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testRelatedTags FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsAnonymousOK FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testTagsWithArgument FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException

com.marklogic.samplestack.integration.web.TagControllerIT > testSortFrequency FAILED java.lang.IllegalStateException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: org.springframework.beans.factory.BeanCreationException Caused by: com.marklogic.client.FailedRequestException 15:28:03.443 [Thread-31] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@464ce20b: startup date [Thu Feb 12 15:27:59 PST 2015]; root of context hierarchy 15:28:03.443 [Thread-32] INFO o.s.w.c.s.GenericWebApplicationContext - Closing org.springframework.web.context.support.GenericWebApplicationContext@7212336: startup date [Thu Feb 12 15:28:02 PST 2015]; root of context hierarchy 15:28:03.450 [Thread-32] INFO o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown :test FAILED

BUILD FAILED

Total time: 1 mins 11.922 secs

gghai commented 9 years ago

can you please run below command and share what is id you get back ?

git rev-parse HEAD

reachlakstar commented 9 years ago

i dont have git in my system.. i am downloading the zip file

grechaw commented 9 years ago

hm please try ./gradlew dbteardown

verify how MarkLogic looks on http://localhost:8001. Is there a samplestack database?

If it's clean, start again with this link. https://github.com/marklogic/marklogic-samplestack/archive/master.zip

reachlakstar commented 9 years ago

/gradlew dbteardown i ran this and verified it in console - no samplestack db available. and ran clean as well. i am going to download the zip file.

reachlakstar commented 9 years ago

same issue after i download the zip file.. before i run again, i change 2 things in gradle properties file .. one marklogic.admin.password = xxxx and marklogic.rest.port = 8010... this is new port or is it something from console i need to provide? anything else i need to change.

grechaw commented 9 years ago

OK, following your instructions I also get some errors. I think you have found another issue. Please try to verify the gradle.properties file with no changes just so we know what we're looking at. I suspect we have another issue to fix here.

reachlakstar commented 9 years ago

ok can this be fixed today?

grechaw commented 9 years ago

I think that this issue is transient. it happens once and then not more -- in fact i think if you just run ./gradlew appserver again it will complete and start the middle tier.

reachlakstar commented 9 years ago

really no luck even i start again.

grechaw commented 9 years ago

OK one more try and then. You have verified that the password in gradle.properties matches that of the server.

gradlew clean
gradlew dbteardown
gradlew appserver
reachlakstar commented 9 years ago

let me know should i have to change in the properties

org.gradle.daemon=false
samplestackGroup=com.marklogic
samplestackVersion=1.0.0
samplestackSourceCompatibility=1.6

# dbInit secures the server with these credentials
# dbInit uses these credentials to create users and the REST instance
# dbConfigure uses these credentials to manage indexes and database properties
marklogic.admin.user=admin
marklogic.admin.password=xxx

# dbConfigure uses these credentials to manage the REST API instance
marklogic.rest.admin.user=samplestack-admin
marklogic.rest.admin.password=samplestack-admin-password

# dbLoad uses these credentials to load the database with seed data
# the Java runtime uses these credentials for "contributor" access
marklogic.writer.user=samplestack-contributor
marklogic.writer.password=sc-pass

# the Java runtime uses these credentials for "guest" access
marklogic.guest.user=samplestack-guest
marklogic.guest.password=sa-pass

# the host for dbInit, dbConfigure and the MarkLogic REST API
marklogic.rest.host=localhost
# the port for the MarkLogic REST API
marklogic.rest.port=8010
# the name of the MarkLogic REST API instance
marklogic.rest.name=samplestack
reachlakstar commented 9 years ago

no luck.. how do i turn of these test classes.