Git Product home page Git Product logo

Comments (10)

sastafford avatar sastafford commented on June 16, 2024

I've seen this occasionally with ml-gradle projects. I've never been able to pinpoint why this happens. @rjrudin have you seen this before?

from marklogic-spring-batch.

rjrudin avatar rjrudin commented on June 16, 2024

I just ran mlDeploy locally on master, and it worked fine. Ran mlReloadModules a few times, worked fine.

@sammefford Was there anything in ErrorLog.txt that reported an error?

@sastafford Do you need this file? This is just for setting up a REST API server for testing purposes, right?

from marklogic-spring-batch.

sastafford avatar sastafford commented on June 16, 2024

I am setting the update policy to VERSION_OPTIONAL because I am utilizing DocumentDescriptors in the Java Client API. Worst case, I could just set that through the Java Client API.

from marklogic-spring-batch.

sammefford avatar sammefford commented on June 16, 2024

I wonder if the problem is associated with me running ml-gradle from cygwin

from marklogic-spring-batch.

sammefford avatar sammefford commented on June 16, 2024

Nevermind, I get the same error when running it from windows 'cmd' window

from marklogic-spring-batch.

sammefford avatar sammefford commented on June 16, 2024

Nope, @rjrudin , my ErrorLog.txt is empty:

-rw-r--r-- 1 daemon daemon 0 May 19 00:00 /var/opt/MarkLogic/Logs/8201_ErrorLog.txt
-rw-r--r-- 1 daemon daemon 0 May 19 00:00 /var/opt/MarkLogic/Logs/8200_ErrorLog.txt

and my root ErrorLog.txt doesn't show anything interesting

2016-05-19 08:45:24.413 Info: Saving /var/opt/MarkLogic/Forests/Security/0000006c
2016-05-19 08:45:25.797 Info: Saved 1 MB in 1 sec at 1 MB/sec to /var/opt/MarkLogic/Forests/Security/0000006c
2016-05-19 08:45:25.881 Info: Merging 2 MB from /var/opt/MarkLogic/Forests/Security/0000006b and /var/opt/MarkLogic/Forests/Security/0000006c to /var/opt/MarkLogic/Forests/Security/0000006d, timestamp=14636721233703300
2016-05-19 08:45:27.659 Info: Merged 1 MB in 2 sec at 1 MB/sec to /var/opt/MarkLogic/Forests/Security/0000006d
2016-05-19 08:45:30.435 Info: Deleted 1 MB in 1 sec at 21 MB/sec /var/opt/MarkLogic/Forests/Security/0000006b
2016-05-19 08:45:30.485 Info: Deleted 1 MB in 1 sec at 20 MB/sec /var/opt/MarkLogic/Forests/Security/0000006c
2016-05-19 08:48:33.538 Info: Saving /var/opt/MarkLogic/Forests/App-Services/00000012
2016-05-19 08:48:34.035 Info: Saved 15 MB in 1 sec at 30 MB/sec to /var/opt/MarkLogic/Forests/App-Services/00000012
2016-05-19 08:48:34.083 Info: Merging 16 MB from /var/opt/MarkLogic/Forests/App-Services/00000012 and /var/opt/MarkLogic/Forests/App-Services/00000011 to /var/opt/MarkLogic/Forests/App-Services/00000013, timestamp=14636722805609100
2016-05-19 08:48:34.887 Info: Merged 1 MB in 1 sec at 1 MB/sec to /var/opt/MarkLogic/Forests/App-Services/00000013
2016-05-19 08:48:37.454 Info: Deleted 15 MB in 1 sec at 562 MB/sec /var/opt/MarkLogic/Forests/App-Services/00000012
2016-05-19 08:48:37.471 Info: Deleted 1 MB in 1 sec at 59 MB/sec /var/opt/MarkLogic/Forests/App-Services/00000011
2016-05-19 08:48:39.543 Info: Saving /var/opt/MarkLogic/Forests/spring-batch-modules-1/00000006
2016-05-19 08:48:40.067 Info: Saved 15 MB in 1 sec at 29 MB/sec to /var/opt/MarkLogic/Forests/spring-batch-modules-1/00000006
2016-05-19 08:48:40.107 Info: Merging 16 MB from /var/opt/MarkLogic/Forests/spring-batch-modules-1/00000006 and /var/opt/MarkLogic/Forests/spring-batch-modules-1/00000005 to /var/opt/MarkLogic/Forests/spring-batch-modules-1/00000007, timestamp=14636722805609100
2016-05-19 08:48:40.836 Info: Merged 1 MB in 1 sec at 1 MB/sec to /var/opt/MarkLogic/Forests/spring-batch-modules-1/00000007
2016-05-19 08:48:43.445 Info: Deleted 15 MB in 1 sec at 924 MB/sec /var/opt/MarkLogic/Forests/spring-batch-modules-1/00000006
2016-05-19 08:48:43.462 Info: Deleted 1 MB in 1 sec at 59 MB/sec /var/opt/MarkLogic/Forests/spring-batch-modules-1/00000005
(END)

from marklogic-spring-batch.

rjrudin avatar rjrudin commented on June 16, 2024

@sammefford Maybe try removing a couple of the fields from rest-api.json. Just grasping here.

from marklogic-spring-batch.

sastafford avatar sastafford commented on June 16, 2024

Concur with @rjrudin. Try moving rest-properties.json to finish the deployment and then add it back in. I seem to remember that's how I got through initially.

from marklogic-spring-batch.

sastafford avatar sastafford commented on June 16, 2024

OBE, closed in #63

from marklogic-spring-batch.

sparnell avatar sparnell commented on June 16, 2024

I've run into this issue before when the REST server has to use BASIC auth (for example, when using external-security). I find that setting mlAppConfig { restAuthentication="BASIC" } makes this error go away. I have no idea why it points to rest-properties.json as the issue, but I've noticed that several unrelated errors return this same error message.

from marklogic-spring-batch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.