0
votes
c:\windows\system32>"C:\Users\as\epmp test\mlcp-8.0.6-bin\mlcp-8.0.6\bin\m
lcp.bat" -options_file "C:\Users\as\epmp test\ML Training\training-session
s\training-1-local-marklogic-setup\training-project-data-import.options"
Picked up JAVA_TOOL_OPTIONS: -Djava.vendor="Sun Microsystems Inc."
17/05/04 15:23:10 INFO contentpump.LocalJobRunner: Content type: XML
17/05/04 15:23:11 INFO contentpump.FileAndDirectoryInputFormat: Total input path
s to process : 1
17/05/04 15:23:11 ERROR contentpump.LocalJobRunner: Error checking output specif
ication:
17/05/04 15:23:11 ERROR contentpump.LocalJobRunner: java.io.IOException: com.mar
klogic.xcc.exceptions.RequestPermissionException: Authorization failed for user
'admin'.
 [Session: user=admin, cb=content-v11 [ContentSource: user=admin, cb=content-v11
 [provider: address=localhost/127.0.0.1:8907, pool=1/64]]]
 [Client: XCC/8.0-1, Server: XDBC/8.0-3.2]

I am facing this problem while loading the data on local MarkLogic setup, I have also setup the path in the options file located. I want to know where I am going wrong. I am using windows 7.

1

1 Answers

3
votes

the error suggests that you are using an incorrect username/password combination to connect.

java.io.IOException: com.marklogic.xcc.exceptions.RequestPermissionException: Authorization failed for user'admin'.

It'd definitely help if could also share your mlcp options file here so that I can take a look. In that options file for now make sure that:

  1. the host & port that you connect to exist and they are correct
  2. the username / password combination is also correct

I hope this helps.