cancel
Showing results for 
Search instead for 
Did you mean: 

Indexing monitor shows error

Former Member
0 Kudos
96

Hi,

I have succesfully installed EP 6.0 and TREX

I have made some indexes that work just fine

Now, I wanted to create an index of my dmsrm connector (SAP connector to DMS)

I get an error in the index monitor

When I go to my error log I see the following message

(<b>indexManagementService</b>):

Lookup failed: java.lang.RuntimeException: User is missing credentials for connecting to alias SAP_DMS. Contact your system administrator. at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMConnection.<init>(DMSRMConnection.java:123) at com.sap.pct.plm.dmsrm

(<b>XCrawlerService</b>)

Crawler DMS_Public Documents failed - com.sapportals.wcm.service.xcrawler.XCrawlerException: Lookup failed: java.lang.RuntimeException: User is missing credentials for connecting to alias SAP_DMS. Contact your system administrator. at com.sap.pct.plm.dm

Also, when I create a new index, it takes a long time to jump from status pending to active

What can I do to solve these issues? What credentials do I need to connect SAP_DMS through an index?

<b>Points will be awarded for helpfull answers!!!!!</b>

Message was edited by:

Vicky Liesens

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Vicky,

Try mapping the 'index_service' user to a valid user in your DMS. To access user mapping, to go User Administration > User Mapping. Search for the index_service user, click Edit, find the DMS system in the drop-down list, and enter credentials. Make sure the DMS system connector in the portal is configured for user mapping!

Hope this helps,

Fallon

Former Member
0 Kudos

Hi,

If I map my user to the index_service user is that OK too? How can I make sure that the DMS system Connector in the portal is configured for user mapping?

I think I have mapped the index_service user correctly but I still get the error, any idea?

Former Member
0 Kudos

Hi Vicky,

You shouldn't map your user id to the 'index_service' user in the Portal. The user id and password that is mapped is the one used to get into the R/3 system. So if you have a user id and password in the DMS in R/3, map your Portal user id to those credentials.

The same with the 'index_service' user. Map that Portal user id to a user id and password that has at least read access to all of the documents in the DMS. This user id and password should exist in the R/3 system. Does this make sense?

To ensure that the DMS system connector in the Portal is configured for user mapping, make sure that a system alias has been defined for it, and that the property "user mapping type" has been filled in (I usually set "admin,user" for this property). Keep in mind that if the property "Logon Method" is set to SAPLOGONTICKET, it will be trying to single sign you into that R/3 system, instead of using the user mapping credentials. Set this to UIDPW if you want to use user mapping.

Hope this helps,

Fallon

Former Member
0 Kudos

Ok, I've copied my current system because my other applications such as webgui uses sap logontickets for authentication and it works just fine...

In the new system, i've changed the logon method to user mapping, and the logon method type to UIDPW

I've also changed the permissions of the new system to everyone (read)

I've mapped my current portal user to my user in de backend (Is that necessary because all the users are linked!?)

I've mapped the index_service user to a user that has at least reading access in the DMS system

I've restarted the portal

I read somewhere that the index_service user is to long (+12characters) to be used for classification so I've taken a search index instead of a search and classification index

Hope this solves my problem

Will refer back

Message was edited by:

Vicky Liesens

Former Member
0 Kudos

It still doesn't work

It doesn't show any errors but the index jumps right from pending to active to idle without indexing a single document

Any idea how to resolve this?

Former Member
0 Kudos

Hi,

for my understanding:

You have to log on to your DMS?

If so, which method?

Is it possible to upload Portal-Certificates to the DMS?

Greetingz

Lars

Former Member
0 Kudos

The connection is fine now

The previous problem still occurs but i saw that my index only indexes the folder I've chosen, not the underlying documents and folders

I've used the standard crawler with all items to index

Former Member
0 Kudos

so, problem is solved?

Former Member
0 Kudos

Not at all!!

I find the following in my log files

<b>TREXPreprocessor:</b>

[00336] 2006-12-28 12:01:16.439 e preprocessor Preprocessor.cpp(00739) : HTTPHEAD failed for URL with Httpstatus 404

[00320] 2006-12-28 12:01:16.470 e preprocessor Preprocessor.cpp(00739) : HTTPHEAD failed for URL with Httpstatus 404

[00320] 2006-12-28 12:01:16.767 e preprocessor Preprocessor.cpp(03109) : HANDLE: DISPATCH - Processing Document with key '/dmsrm/EDIPUBLICROOTFOLDER#FOL#000#00/0000000000000010000000295#FOL#000#00/0000000000000010000000297#Y01#000#01B92DC8E809BD0144AF1C94CB7F86412E' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6404)

[00336] 2006-12-28 12:01:16.767 e preprocessor Preprocessor.cpp(03109) : HANDLE: DISPATCH - Processing Document with key '/dmsrm/EDIPUBLICROOTFOLDER#FOL#000#00/0000000000000010000000295#FOL#000#00/0000000000000010000000297#Y01#000#00B92DC8E809BD0144AF1C94CB7F86412E' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6404)

[00320] 2006-12-28 12:01:17.158 e preprocessor Preprocessor.cpp(00739) : HTTPHEAD failed for URL with Httpstatus 404

[00320] 2006-12-28 12:01:17.189 e preprocessor Preprocessor.cpp(03109) : HANDLE: DISPATCH - Processing Document with key '/dmsrm/EDIPUBLICROOTFOLDER#FOL#000#00/0000000000000010000000295#FOL#000#00/0000000000000010000000297#Y01#000#00B92DC8E809BD0144AF1C94CB7F86412E' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6404)

[00336] 2006-12-28 12:01:17.486 e preprocessor Preprocessor.cpp(00739) : HTTPHEAD failed for URL with Httpstatus 404

[00336] 2006-12-28 12:01:17.517 e preprocessor Preprocessor.cpp(03109) : HANDLE: DISPATCH - Processing Document with key '/dmsrm/EDIPUBLICROOTFOLDER#FOL#000#00/0000000000000010000000295#FOL#000#00/0000000000000010000000297#Y01#000#01B92DC8E809BD0144AF1C94CB7F86412E' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6404)

[00320] 2006-12-28 12:01:17.548 e preprocessor Preprocessor.cpp(00739) : HTTPHEAD failed for URL with Httpstatus 404

[00320] 2006-12-28 12:01:17.548 e preprocessor Preprocessor.cpp(03109) : HANDLE: DISPATCH - Processing Document with key '/dmsrm/EDIPUBLICROOTFOLDER#FOL#000#00/0000000000000010000000295#FOL#000#00/0000000000000010000000297#Y01#000#00B92DC8E809BD0144AF1C94CB7F86412E' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6404)

[00336] 2006-12-28 12:01:17.720 e preprocessor Preprocessor.cpp(00739) : HTTPHEAD failed for URL with Httpstatus 404

[00336] 2006-12-28 12:01:17.720 e preprocessor Preprocessor.cpp(03109) : HANDLE: DISPATCH - Processing Document with key '/dmsrm/EDIPUBLICROOTFOLDER#FOL#000#00/0000000000000010000000295#FOL#000#00/0000000000000010000000297#Y01#000#01B92DC8E809BD0144AF1C94CB7F86412E' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6404)

<b>TREXPreprocessorAllert:</b>

[00336] 2006-12-28 12:01:16.439 e preprocessor Preprocessor.cpp(00739) : HTTPHEAD failed for URL with Httpstatus 404

[00320] 2006-12-28 12:01:16.470 e preprocessor Preprocessor.cpp(00739) : HTTPHEAD failed for URL with Httpstatus 404

[00320] 2006-12-28 12:01:16.767 e preprocessor Preprocessor.cpp(03109) : HANDLE: DISPATCH - Processing Document with key '/dmsrm/EDIPUBLICROOTFOLDER#FOL#000#00/0000000000000010000000295#FOL#000#00/0000000000000010000000297#Y01#000#01B92DC8E809BD0144AF1C94CB7F86412E' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6404)

[00336] 2006-12-28 12:01:16.767 e preprocessor Preprocessor.cpp(03109) : HANDLE: DISPATCH - Processing Document with key '/dmsrm/EDIPUBLICROOTFOLDER#FOL#000#00/0000000000000010000000295#FOL#000#00/0000000000000010000000297#Y01#000#00B92DC8E809BD0144AF1C94CB7F86412E' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6404)

[00320] 2006-12-28 12:01:17.158 e preprocessor Preprocessor.cpp(00739) : HTTPHEAD failed for URL with Httpstatus 404

[00320] 2006-12-28 12:01:17.189 e preprocessor Preprocessor.cpp(03109) : HANDLE: DISPATCH - Processing Document with key '/dmsrm/EDIPUBLICROOTFOLDER#FOL#000#00/0000000000000010000000295#FOL#000#00/0000000000000010000000297#Y01#000#00B92DC8E809BD0144AF1C94CB7F86412E' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6404)

[00336] 2006-12-28 12:01:17.486 e preprocessor Preprocessor.cpp(00739) : HTTPHEAD failed for URL with Httpstatus 404

[00336] 2006-12-28 12:01:17.517 e preprocessor Preprocessor.cpp(03109) : HANDLE: DISPATCH - Processing Document with key '/dmsrm/EDIPUBLICROOTFOLDER#FOL#000#00/0000000000000010000000295#FOL#000#00/0000000000000010000000297#Y01#000#01B92DC8E809BD0144AF1C94CB7F86412E' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6404)

[00320] 2006-12-28 12:01:17.548 e preprocessor Preprocessor.cpp(00739) : HTTPHEAD failed for URL with Httpstatus 404

[00320] 2006-12-28 12:01:17.548 e preprocessor Preprocessor.cpp(03109) : HANDLE: DISPATCH - Processing Document with key '/dmsrm/EDIPUBLICROOTFOLDER#FOL#000#00/0000000000000010000000295#FOL#000#00/0000000000000010000000297#Y01#000#00B92DC8E809BD0144AF1C94CB7F86412E' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6404)

[00336] 2006-12-28 12:01:17.720 e preprocessor Preprocessor.cpp(00739) : HTTPHEAD failed for URL with Httpstatus 404

[00336] 2006-12-28 12:01:17.720 e preprocessor Preprocessor.cpp(03109) : HANDLE: DISPATCH - Processing Document with key '/dmsrm/EDIPUBLICROOTFOLDER#FOL#000#00/0000000000000010000000295#FOL#000#00/0000000000000010000000297#Y01#000#01B92DC8E809BD0144AF1C94CB7F86412E' failed, returning PREPROCESSOR_ACTIVITY_ERROR (Code 6404)

Former Member
0 Kudos

Trex can´t access this documents

"dmsrm/EDIPUBLICROOTFOLDER#FOL#000#00/0000000000000010000000295#FOL#000#00/0000000000000010000000297#Y01#000#01B92DC8E809BD0144AF1C94CB7F86412E"

Perhaps u exclude this folder, or it doesn´t exist?

Former Member
0 Kudos

You are right, the index_service user is unable to connect to the dms repository

Because my user is, I have added the index_user to the usergroup where I am in so that the index user has the same roles than me

When I look to the log file I see the following when I start a new index:

[01820] 2006-12-28 12:45:33.034 e CLIENT_TRACE TRexApiAdmin.cpp(04241) : TNS: getServer failed for index 'dynamicfoldms', function: 'getAttributeList'

[01820] 2006-12-28 12:45:33.034 e CLIENT_TRACE TRexApiAdmin.cpp(04321) : Index does not exist;index=dynamicfoldms : return code: 2007

According to threads:

https://www.sdn.sap.com/irj/sdn/thread?threadID=140965

https://www.sdn.sap.com/irj/sdn/thread?threadID=129663

I have to create a new content management system and assign it to the Index Management Task Queue Reader

I find that very odd because I cannot enter any credentials in the new content management system to link it to the DMS repository (dms connector)

Any idea how to solve this issue?

Former Member
0 Kudos

But when I log in on the portal with the index_service user I can open the documents in the DMS connector explorer

Why is the index service giving me the error? He can access the resources without a problem

Former Member
0 Kudos

Hi,

perhaps the authentication method you had chose is not right.

How do u log on by opening a document in the portal?

Former Member
0 Kudos

my problem is solved

Thank you very much for your help

The problem was the user in the backend system who had not enough permissions

Answers (2)

Answers (2)

ufarooq176
Explorer
0 Kudos

Dear Vicky Liesens,

I am searching some thread how can we create the indexes of document and then found your thread. I know this thread is very old. I am new in SAP DMS, I have installed the TREX server and create the RFC connection, I have seen you query that you have create the index of document. Can you guide me how we create the index of document. Looking forward to your helpfull answer.

Thanks & Regards,

Umar

Former Member
0 Kudos

SAP_DMS is an alias for my DMSRepositoryManager and my DMSRMRepositoryManager

How can I give my user the right credentials?

Former Member
0 Kudos

Hi,

I've just noticed that the error hasn't anything to do with my index but with my setup of the DMS connector

When I try to change a document in de document explorer I get the following error:

<i>System Error

An exception occurred during the program execution. Below you will find technical information pertaining to this exception that you might want to forward to your system administrator.</i>

Exception Class <i> java.lang.runtimeException</i>

Exception Message : <i>User is missing credentials for connection to alias SAP_DMS. Contact your system administrator</i>

Call Stack java.lang.RuntimeException:

<i>User is missing credentials for connecting to alias SAP_DMS. Contact your system administrator.

at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMConnection.(DMSRMConnection.java:123)

at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getGenericValueList(DMSRMR3FunctionCalls.java:6532)

at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMR3FunctionCalls.getWSApplicationList(DMSRMR3FunctionCalls.java:6407)

at com.sap.pct.plm.dmsrmconnectorforkm.DMSRMWSApplicationValueProvider.getAllowedValues(DMSRMWSApplicationValueProvider.java:79)

at com.sapportals.wcm.service.propertyconfig.config.MetaName.getAllowedValues(MetaName.java:781)

at com.sapportals.wcm.service.propertyconfig.config.MetaName.hasAllowedValues(MetaName.java:545)

at com.sapportals.wcm.control.util.PropertyRendererAllowedValues.renderMetaProperty(PropertyRendererAllowedValues.java:27)

at com.sapportals.wcm.control.util.propertystructure.StandardGroupRenderer.render(StandardGroupRenderer.java:244)

at com.sapportals.wcm.control.util.propertystructure.StandardGroupRenderer.render(StandardGroupRenderer.java:191)

at com.sapportals.wcm.control.edit.PropertiesControl.renderPropertyStructure(PropertiesControl.java:1537)

at com.sapportals.wcm.control.edit.PropertiesControl.render(PropertiesControl.java:1221)

at com.sapportals.wdf.layout.HorizontalLayout.renderControls(HorizontalLayout.java:42)

at com.sapportals.wdf.stack.Pane.render(Pane.java:155)

at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)

at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)

at com.sapportals.wdf.stack.Pane.render(Pane.java:158)

at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)

at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)

at com.sapportals.wcm.control.layout.HorizontalGroupLayout.renderPanes(HorizontalGroupLayout.java:49)

at com.sapportals.wdf.stack.Pane.render(Pane.java:158)

at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)

at com.sapportals.wdf.layout.VerticalLayout.renderPanes(VerticalLayout.java:74)

at com.sapportals.wdf.stack.Pane.render(Pane.java:158)

at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)

at com.sapportals.wdf.layout.HorizontalLayout.renderPanes(HorizontalLayout.java:73)

at com.sapportals.wcm.control.layout.HorizontalGroupLayout.renderPanes(HorizontalGroupLayout.java:49)

at com.sapportals.wdf.stack.Pane.render(Pane.java:158)

at com.sapportals.wdf.stack.PaneStack.render(PaneStack.java:67)

at com.sapportals.wdf.WdfCompositeController.internalRender(WdfCompositeController.java:696)

at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:664)

at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)

at com.sapportals.htmlb.Container.preRender(Container.java:120)

at com.sapportals.htmlb.Container.preRender(Container.java:120)

at com.sapportals.htmlb.Container.preRender(Container.java:120)

at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:414)

at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:237)

at com.sapportals.wcm.portal.component.base.KMControllerDynPage.doOutput(KMControllerDynPage.java:130)

at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)

at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)

at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:74)

at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)

at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)

at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)

at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)

at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)

at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)

at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)

at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)

at java.security.AccessController.doPrivileged(Native Method)

at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)

at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)

at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)

at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)

at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)

at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)

at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)

at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)

at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)

at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)

at java.security.AccessController.doPrivileged(Native Method)

at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)

at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)</i>