[ https://issues.apache.org/jira/browse/CONNECTORS-1535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16745817#comment-16745817 ]
James Thomas commented on CONNECTORS-1535: ------------------------------------------ {quote}Can you put dfc.properties in the same directory as the other DFC files and have it be found? {quote} It doesn't appear so. I experimented with that approach when I first reported the issue, but here's what I've just tried as a quick check for you... (FYI, I did this using MCF 2.12) I reverted my run.sh to have CLASSPATH="" Then I did the following to (a) confirm the location of dfc.jar and (b) put dfc.properties in the same place {code:java} $ ls ../processes/documentum-server/lib-proprietary/dfc.jar ../processes/documentum-server/lib-proprietary/dfc.jar $ cp ../processes/documentum-server/dfc.properties ../processes/documentum-server/lib-proprietary{code} I restarted the ManifoldCF server and made a new Documentum repository connector. On save, the UI shows, as before: {code:java} Connection failed: Documentum error: [DM_DOCBROKER_E_NO_DOCBROKERS]error: "No DocBrokers are configured" {code} Reverting to CLASSPATH="." in document-server/run.sh, restarting MCF, and then in the UI refreshing the connector I just made brings back {noformat} Connection workin{noformat} > Documentum Connector cannot find dfc.properties > ----------------------------------------------- > > Key: CONNECTORS-1535 > URL: https://issues.apache.org/jira/browse/CONNECTORS-1535 > Project: ManifoldCF > Issue Type: Bug > Components: Documentum connector > Affects Versions: ManifoldCF 2.10, ManifoldCF 2.11 > Environment: Manifold 2.11 > CentOS Linux release 7.5.1804 (Core) > OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode) > > Reporter: James Thomas > Assignee: Karl Wright > Priority: Major > Fix For: ManifoldCF 2.13 > > > I have found that when installing a clean MCF instance I cannot get > Documentum repository connectors to connect to Documentum until I have added > this line to the processes/documentum-server/run.sh script before the call to > Java: > > {code:java} > CLASSPATH="$CLASSPATH""$PATHSEP""$DOCUMENTUM"{code} > Until I do this, attempts to save the connector will result in this output to > the console: > > {noformat} > 4 [RMI TCP Connection(2)-127.0.0.1] ERROR > com.documentum.fc.common.impl.preferences.PreferencesManager - > [DFC_PREFERENCE_LOAD_FAILED] Failed to load persistent preferences from null > java.io.FileNotFoundException: dfc.properties > at > com.documentum.fc.common.impl.preferences.PreferencesManager.locateMainPersistentStore(PreferencesManager.java:378) > at > com.documentum.fc.common.impl.preferences.PreferencesManager.readPersistentProperties(PreferencesManager.java:329) > at > com.documentum.fc.common.impl.preferences.PreferencesManager.<init>(PreferencesManager.java:37) > at > com.documentum.fc.common.DfPreferences.initialize(DfPreferences.java:64) > ..{noformat} > and this message in the MCF UI: > > {noformat} > Connection failed: Documentum error: No DocBrokers are configured{noformat} > > > I mentioned this in #1512 for MCF 2.10 but it got lost in the other work done > in that ticket. While setting up 2.11 from scratch I encountered it again. > > Once I have edited the run.sh script I get this in the console, showing that > (for whatever reason) the change is significant: > > {noformat} > Reading DFC configuration from > "file:/opt/manifold/apache-manifoldcf-2.11/processes/documentum-server/dfc.properties" > {noformat} > -- This message was sent by Atlassian JIRA (v7.6.3#76005)