You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "James Thomas (JIRA)" <ji...@apache.org> on 2019/01/17 17:54:00 UTC
[jira] [Commented] (CONNECTORS-1535) Documentum Connector cannot
find dfc.properties
[ https://issues.apache.org/jira/browse/CONNECTORS-1535?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16745336#comment-16745336 ]
James Thomas commented on CONNECTORS-1535:
------------------------------------------
I have found an alternative fix.
If you are prepared to call run.sh by cd-ing into the directory in which it exists, you can modify in a less intrusive way than I initially suggested.
change
{code:java}
CLASSPATH=""{code}
to
{code:java}
CLASSPATH ="."{code}
This makes the script more like the run.bat equivalent for Windows, which already has the working directory on the CLASSPATH.
> 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
> Priority: Major
>
> 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)