Where to put local-dfs-runtime.properties?
Hi there,
I tried to change the timeouts for registered contexts in DFS. According to the developer guide this can be done by changing the settings
dfs.crs.cache_expiration_after_x_minutes=5
dfs.crs.perform_cleanup_every_x_minutes=4
in dfs-runtime.properties. So I decided to copy this file from the emc-dfs-rt.jar of my EAR file, rename it to local-dfs-runtime.properties, copy it to my Composer project (/etc) and change those settings accordingly.
I exported my Documentum project to an EAR file (Export Service Archive) and I added the local-dfs-runtime.properties file to the list of Runtime Resources. The resulting EAR file clearly contains the local-dfs-runtime.properties in APP-INF/classes but DFS is still using the session for more than 5 minutes (default is 60 minutes ... and after 60 minutes it disposes the session).
How can I change those settings? Can I even disable them (like using 0 for the values)?
Comments
-
I found out that changing the default dfs-runtime.properties file from the EAR (in /lib/emc-dfs-rt.jar) and repackaging it into the EAR does the trick. But this is far from being handy.
There should be an easy way to do it with the local-dfs-runtime.properties
0 -
Hi,
"DFS also supports the use of an external configuration file that can be specified in the classpath or by a
Java Virtual Machine (‑D) parameter. The parameter name is ʺdfs.runtime.properties.file.ʺ
For example:
C:\java\bin\java -Ddfs.runtime.properties.file=C:\\DFS\\config\\dfsruntime.properties
"
Regards,
Jukka
0 -
So, I found the emc-dfs-rt.jar file in the DocumentumCoreProject in Composer. I managed to update it there (by repackaging the dfs-runtime.properties). Now it's being deployed automatically with every export.
But please: Does someone know the correct way to have the configuration in the local-dfs-runtime.properties as mentioned in the deployment guide?
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 145 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management