Monday, January 11, 2010

Tuning the Performance of UCF Content Transfer

Introduction
In Documentum applications, the speed at which users can retrieve or add content to the system plays a big part in the overall end user experience. Network latency and bandwidth restrictions, physical architecture and client configuration all have an impact on the time it takes between initiating a content transfer, performing the upload or download, and returning control back to the user.



This document will discuss various tuning options available to achieve the best possible performance for UCF content transfer in your network environment.



Overview of UCF
UCF (Unified Client Facilities) is the EMC Documentum framework for performing content transfer between the client and content servers over HTTP. It provides many features that extend beyond simple file transfer protocol, such as:

Content compression to optimize transfers of larger files over the network
Support for complex documents, such as XML files
Support for compound document types, such as OLE objects inside a Microsoft Office document
Awareness of locally downloaded files, and the ability to avoid downloading the same content twice
Registry support, to allow checkout from one application and check in from another
Recoverability in the case of a brief network interruption
Location aware, to allow users to transfer content from the closest ACS or BOCS server
High-Level UCF Operations
When a content transfer is initiated, the UCF client running on the end user machine is initiated if it is not already running. The applet loads the UCF client jars and initiates contact with the UCF server, running on the application server.



The UCF client and server pass information back and forth about the environment and requested action before content is transferred between the two machines. Depending on the architecture and configuration, content may be transferred through the application server, directly to or from an ACS server on the content server, or a BOCS server located near the user.



After the content transfer is complete, there will be some additional communication from server to client to provide instructions on registry entries to be added or modified, directions on how to launch the appropriate application for view or edit operations, or instructions on how to delete the local file on check in.





Optimizing UCF for Best Performance



Tip #1 - Use ACS and BOCS for Content Transfer Whenever Possible



The introduction of ACS and BOCS servers in 5.3 SP1 have allowed content transfer to be performed directly from the content server, rather than requiring that the content always pass through the application server. This not only removes the double-hop that is required (which is very costly for small files) but also reduces the load on the application server.



In the 5.3 timeframe, ACS and BOCS could only be used for download operations such as checkout, export and view. All upload operations still passed through the application server.



From D6 onward, ACS and BOCS servers can also be used for upload operations.



Note that not all applications are network location aware and able to take advantage of remote ACS and BOCS servers.



Tip #2 - Optimize UCF Client Initialization



In 5.3 SP1 through SP5, D6 and D6SP1, the UCF client engine will time out after one minute of inactivity, and the javaw.exe process would be terminated. This means that if a user initiates another content transfer request after the timeout has occurred, the browser must re-initialize the UCF client and restart javaw.exe.



This value can be increased in the ucf.client.config.xml file as follows:



Edit the ucf.client.config.xml file (located at C:\Documents and Settings\\Documentum\ucf\\shared\config\ucf.client.config.xml) and add the following option to extend the UCF Client Timeout.

Thursday, October 1, 2009

Administration node disappears

This is a bug in D6.0 Sp1

Clear the cache files under App server

for e.g : bea/user_projects/domains/dev/documentum/presets

Restart the DA managed server.

Friday, April 24, 2009

DCO Installation-Unable to view all cabinets or permmitted folders/cabinets in documentum

Issue:
Unable to view all cabinets or permmitted folders/cabinets in documentum

Resolution:

We need to create profile and browse the specific cabinet or select all cabinets and enable few check boxes in the properties window

DCO Installation - Documentum Lost & Found

Symptoms
Client seeing new folder created in Outlook called "Documentum Lost & Found".

Cause
The folder is created only if an import operation fails. This means that an object you intended to import into a repositiry through DCO failed to import correctly.

Resolution
The way the Lost & Found is used is as follows:

Managing failed move/copy operations:

1. If DCO does not respond properly when you try to drag-and-drop an item from the right pane to your profile, you might see the following error message: Documentum Client for Outlook has found some messages that failed to be imported, and moved them to the "Documentum Lost & Found" folder.
2. The first time such an operation fails, DCO creates a new folder called Documentum Lost and Found in your Outlook Personal Folders. The next time you log in to Outlook (that is, once you exit Outlook and start it up again) items that failed to move or copy appear in the Documentum Lost and Found folder as unread items.
3. In the Documentum Lost and Found folder, you can perform any task normally available to you, such as moving, deleting, forwarding, replying, and so on.
4. DCO never automatically deletes messages in the Documentum Lost and Found folder; they remain there until you perform some action on them

DCO Error: Documentum Folders doesn't show in Outlook Tree Viewer

Documentum Folders doesn't show in Outlook Tree Viewer after installing DCO Client.
When opening Outlook, you will get an error that says,

The file C:\Documents and Settings\\Application Data\Documentum\DCO\Documentum.pst could not be found.

If this occurs, there is a problem with the PST file that is create. To create this file again

1.Close Documentum Folders in Outlook
2.Close Outlook.
3. Verify that Outlook and the DCOAddin process is closed in the Task Manager.
4. Restart Outlook.

When Outlook is restarted the DCOAddin will recreate the PST file.

If there error continues and the PST file is not created. Then something is preventing the DCOAddin from creating the PST file. Make sure that the directory is not mapped and that the user has rights to add to that directory.

DCO Installation - There is no valid docbases specified on the DCO server

Error:
There is no valid docbases specified on the DCO server.
The docbase can be down. Please contact the administrator.

Resolution:

It seems you do not have valid docbase in custom/app.xml









XXXXX
YYYYY

....

The login component used by dco/outlook is not the same as the one used when you login through the browser!

Wednesday, April 1, 2009

UcfSesionManager$ClientException

Error: UcfSesionManager$ClientException
in DA 6.5 or Webtop 6.5 with Weblogic 9.2 Sp3 and Sql Server 2005

Check the exact version in ucf.installer.config.xml located at D:\bea\weblogic92\server\da.war\wdk\contentXfer and install the respective version or update the version here!!!

Download it from http://java.sun.com/products/archive/

here is what I have in my ucf.installer.config.xml:

exePath="jre1.5.0_06\bin\java.exe">

- Intall jdk-1_5_0_06-windows-i586-p.exe in the Application Server or the system where u have UCF Errors

- Set JAVA_HOME in System Variables
JAVA_HOME --> D:\Program Files\Java\jdk1.5.0_06\bin

- Clear the cache

- Restart the Application Server

Thursday, March 12, 2009

DCM Error - [DM_DFC_E_CLASS_NOT_FOUND] Unable to instantiate the necessary java class: com.documentum.compliance.type.DmiRegistry

How to resolve the error in Queue Manager log? [DM_DFC_E_CLASS_NOT_FOUND]

How to resolve the error in Queue Manager log" [DM_DFC_E_CLASS_NOT_FOUND] Unable to instantiate the necessary java class: com.documentum.compliance.type.DmiRegistry; ERRORCODE: 202; NEXT: null

Symptoms

You will not able to promote document or send TBR. This is what you will see in the queue manager log:

10:12:11,812 DEBUG [ Thread-12] DcmCustomTaskProcessor - Calling execute() on DcmQueueManager
10:12:16,164 ERROR [ Thread-12] DcmAuditManager - unable to create audit, action - object
DfException:: THREAD: Thread-12; MSG: [DM_DFC_E_CLASS_NOT_FOUND] Unable to instantiate the necessary java class: com.documentum.compliance.type.DmiRegistry; ERRORCODE: 202; NEXT: null
at com.documentum.fc.bof.compoundclass.CompoundClassMgr.getTboClass(CompoundClassMgr.java:321)
at com.documentum.fc.bof.compoundclass.CompoundClassMgr.getImpClass(CompoundClassMgr.java:94)
at com.documentum.fc.bof.compoundclass.CompoundClassMgr.getInterfaceExtClass(CompoundClassMgr.java:156)
at com.documentum.fc.client.DfPersObjFactoryWithAspects.makeObjectWithInterface(DfPersObjFactoryWithAspects.java:55)
at com.documentum.fc.client.DfSession.getObjectWithInterface(DfSession.java:1645)
at com.documentum.dcm.app.AuditHelper.findDmiRegistry(AuditHelper.java:493)
at com.documentum.dcm.app.AuditHelper.getDmiRegistryForEvent(AuditHelper.java:49)
at com.documentum.dcm.app.AuditHelper.createAuditTrail(AuditHelper.java:279)
at com.documentum.dcm.app.security.DcmAuditManager.createObjAuditTrail(DcmAuditManager.java:608)
at com.documentum.dcm.app.security.DcmAuditManager.createAudit(DcmAuditManager.java:224)
at com.documentum.dcm.app.security.DcmAuditManager.postExecute(DcmAuditManager.java:210)
at com.documentum.dcm.services.DcmManagerImpl.createAudit(DcmManagerImpl.java:747)
at com.documentum.dcm.app.signoff.TBRHelper.sendTbrEventToUser(TBRHelper.java:576)
at com.documentum.dcm.app.signoff.TBRHelper.sendTbrEventToPerformers(TBRHelper.java:395)
at com.documentum.dcm.app.signoff.TBRHelper.sendTBRNotification(TBRHelper.java:165)
at com.documentum.dcm.queue.impl.SendTBRCmd.sendTBR(SendTBRCmd.java:57)
at com.documentum.dcm.queue.impl.SendTBRCmd.process(SendTBRCmd.java:41)
at com.documentum.dcm.queue.impl.DcmQueueManagerImpl.execute(DcmQueueManagerImpl.java:164)
at com.documentum.impl.services.task.dcm.DcmCustomTaskProcessor.processCommand(DcmCustomTaskProcessor.java:121)
at com.documentum.impl.services.task.dcm.DcmCustomTaskProcessor.execute(DcmCustomTaskProcessor.java:266)
at com.documentum.impl.services.task.TaskBase.doExecute(TaskBase.java:416)
at com.documentum.impl.services.task.TaskBase.run(TaskBase.java:393)
at com.documentum.impl.services.thread.ThreadPoolManagerImpl$TaskThread.run(ThreadPoolManagerImpl.java:272)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.ClassNotFoundException: Unable to load class
at com.documentum.fc.bof.classmgmt.InheritanceManagingClassLoader.loadClass(InheritanceManagingClassLoader.java:95)
at com.documentum.fc.bof.compoundclass.CompoundClassMgr.getTboClass(CompoundClassMgr.java:317)
... 23 more
Caused by: DfException:: THREAD: Thread-12; MSG: ; ERRORCODE: ff; NEXT: null
at com.documentum.fc.bof.classmgmt.BaseClassModifier.replaceSuperClass(BaseClassModifier.java:57)
at com.documentum.fc.bof.classmgmt.InheritanceManagingClassLoader.loadClass(InheritanceManagingClassLoader.java:72)
... 24 more
Caused by: com.documentum.thirdparty.javassist.NotFoundException: com.documentum.compliance.type.DmiRegistry
at com.documentum.thirdparty.javassist.ClassPool.get(ClassPool.java:301)
at com.documentum.fc.bof.classmgmt.BaseClassModifier.replaceSuperClass(BaseClassModifier.java:45)
... 25 more
10:12:17,508 DEBUG [ Thread-12] DcmCustomTaskProcessor - DcmQueueManager execute() returned

Cause
The reference is to DmiRegistry. In this particular case it is old version dbor.properties, com.documentum.compliance. It should be com.documentum.dcm.

Resolution

The correct mapping should be: com.documentum.dcm.type.IDmiRegistry=type,com.documentum.dcm.type.DmiRegistry,5.0

DCM Error : Access denied when trying to execute the service script failed to execute

Why do I get error when installing DCM Queue Manager?

Symptoms

While installing DCM Queue Manager you get - Access denied when trying to execute the service script failed to execute: "D:\PROGRA~1\DOCUME~1\DCMQUE~1\smaster\srunner.exe" "D:\PROGRA~1\DOCUME~1\DCMQUE~1\scripts\svcStartMediaServer_NCGMP_QAS.txt" - Access is denied.

Resolution

To install DCM Queue Manager,

1. Disable Antivirus software.
2. Install the application
3. Start the service
4. Enable Antivirus software.

The DCM Queue Manager service is enabled using the srunner.exe utility. This utility allows java programs to be installed as a windows services.
Antivirus application can see this executable as a threat and if so, will deny access to starting the service.

Stopping the antivirus software and installing and starting the service enables the service to be installed and started.

DTS Error - [DM_DFC_E_CLASS_NOT_FOUND] for Controlled Documents)

Unexpected error: [DM_DFC_E_CLASS_NOT_FOUND] Unable to instantiate the necessary java class: com.documentum.dcm.aspect.impl.DcmControlledDocAspect

This also explains how to Configure DTS for DCM Applications

If you see the above error in ur DTS log file, please check the below:

1) Copy the jars from the Application Server box to DTS/MTS box

dcm.jar,dcmSupport.jar,dcmSupportImpl.jar,dcmQueue.jar,dcmQueueImpl.jar

2) In My Computer --> Environmental Variables .. set the classpath (add Jars: D:\Program Files\Documentum\Shared\dcm.jar;D:\Program Files\Documentum\Shared\dcmSupport.jar;)

ClassPath : - D:\Program Files\Documentum\dctm.jar;D:\Documentum\config;D:\Program Files\Documentum\Shared\dcm.jar;D:\Program Files\Documentum\Shared\dcmSupport.jar;

JAVA_HOME : -> D:\j2sdk1.4.2_11

Path : -> D:\PROGRA~1\DOCUME~1\CTS\lib;D:\Program Files\Documentum\CTS\lib;D:\Program Files\Documentum\Shared;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

3) Regedit (Add the jars: D:\PROGRA~1\DOCUME~1\Shared\dcm.jar;D:\PROGRA~1\DOCUME~1\Shared\dcmSupport.jar;D:\PROGRA~1\DOCUME~1\Shared\dcmSupportImpl.jar;D:\PROGRA~1\DOCUME~1\Shared\dcmQueue.jar;D:\PROGRA~1\DOCUME~1\Shared\dcmQueueImpl.jar)

My Computer\Hkey_Local_machine\System\CurrentControlSet\Services\DocumentumCTS\Parameters

-Xbootclasspath:D:\PROGRA~1\DOCUME~1\java\1.4.2_11\jre\lib\rt.jar -Xms64m -Xmx256m -Djava.protocol.handler.pkgs=sun.net.www.protocol -Djava.ext.dirs=D:\PROGRA~1\DOCUME~1\java\1.4.2_11\jre\lib -Djava.library.path=D:\PROGRA~1\DOCUME~1\Shared;D:\PROGRA~1\DOCUME~1\CTS\lib -XJVMDir:D:\PROGRA~1\DOCUME~1\java\1.4.2_11\jre\bin\server\jvm.dll -DCTS_CONFIG_DIR=D:\PROGRA~1\DOCUME~1\CTS\config -Dlog4j.configuration=file:D:\DOCUME~1\config\log4j.properties -DOUTPUT_DIR=D:\PROGRA~1\DOCUME~1\CTS\logs -DOUTPUT_TEST_FILES=true -DCLEAN_TEST_FILES=false -DMAX_WAIT_INTERVALS=5 -Djava.class.path=D:\PROGRA~1\DOCUME~1\CTS\lib\cts.jar;D:\PROGRA~1\DOCUME~1\dctm.jar;D:\PROGRA~1\DOCUME~1\Shared\dcm.jar;D:\PROGRA~1\DOCUME~1\Shared\dcmSupport.jar;D:\PROGRA~1\DOCUME~1\Shared\dcmSupportImpl.jar;D:\PROGRA~1\DOCUME~1\Shared\dcmQueue.jar;D:\PROGRA~1\DOCUME~1\Shared\dcmQueueImpl.jar;D:\DOCUME~1\config;D:\PROGRA~1\DOCUME~1\CTS\lib;D:\PROGRA~1\DOCUME~1\java\1.4.2_11\jre\lib\jce.jar;D:\PROGRA~1\DOCUME~1\java\1.4.2_11\jre\lib\ext\sunjce_provider.jar -mainclass=com/documentum/cts/services/ctsserver/CTSServerStartup -servicename=DocumentumCTS -displayname=Documentum Content Transformation Services -wrkdir=D:\PROGRA~1\DOCUME~1\CTS\lib

4) Edit startCTS.bat (location : D:\Program Files\Documentum\CTS\server_install\CTSService ) - add the jars

cd D:\PROGRA~1\DOCUME~1\CTS\lib

"D:\PROGRA~1\DOCUME~1\java\1.4.2_11\bin\java.exe" -server -Xrs -Xms64m -Xmx256m -Dlog4j.configuration="file:D:\DOCUME~1\config\log4j.properties" -DCTS_CONFIG_DIR="D:\PROGRA~1\DOCUME~1\CTS\config" -DOUTPUT_DIR="D:\PROGRA~1\DOCUME~1\CTS\logs" -DOUTPUT_TEST_FILES=true -DCLEAN_TEST_FILES=false -DMAX_WAIT_INTERVALS=5 -Djava.library.path=D:\PROGRA~1\DOCUME~1\Shared;D:\PROGRA~1\DOCUME~1\CTS\lib -Djava.class.path="D:\PROGRA~1\DOCUME~1\CTS\lib\cts.jar;D:\PROGRA~1\DOCUME~1\dctm.jar;D:\PROGRA~1\DOCUME~1\Shared\dcm.jar;D:\PROGRA~1\DOCUME~1\Shared\dcmSupport.jar;D:\PROGRA~1\DOCUME~1\Shared\dcmSupportImpl.jar;D:\PROGRA~1\DOCUME~1\Shared\dcmQueue.jar;D:\PROGRA~1\DOCUME~1\Shared\dcmQueueImpl.jar;D:\DOCUME~1\config;D:\PROGRA~1\DOCUME~1\CTS\lib;D:\PROGRA~1\DOCUME~1\java\1.4.2_11\jre\lib\jce.jar" com.documentum.cts.services.ctsserver.CTSServerStartup -servicename="DocumentumCTS" -displayname="Documentum Content Transformation Services" -wrkdir="D:\PROGRA~1\DOCUME~1\CTS\lib"

==>

Stop the Services in the order

Documentum Content Transformation Services
Documentum Content Transformation Monitor Services
Documentum CTS Admin.Agent

Delete the log content in D:\Documentum\logs log4j.log

- Start the 'startCTS.bat'
- Documentum CTS Admin.Agent
- Documentum Content Transformation Services
- Documentum Content Transformation Monitor Services

From Next time onwards... its only required to start the below 3 services
- Start the 'startCTS.bat'
- Documentum CTS Admin.Agent
- Documentum Content Transformation Services
- Documentum Content Transformation Monitor Services

DCM Error :-- [DM_DFC_E_CLASS_NOT_FOUND] Unable to instantiate the necessary java class: com.documentum.dcm.aspect.impl.DcmControlledDocAspect

Unexpected error: [DM_DFC_E_CLASS_NOT_FOUND] Unable to instantiate the necessary java class: com.documentum.dcm.aspect.impl.DcmControlledDocAspect

Resolution : dcmsupport.jar is not copied or has mismatch in classpath or may be duplicated.

Make sure the following for no duplications:

1) dcmSupport.jar and dmcSupportImpl.jar should be in only 1 location when u do a simple search in DCM application and the path should be

Cabinets/System/Applications/DCM/com.documentum.dcm.aspect.IDcmControlledDocAspect
- dcmSupport.jar
- dcmSupportImpl.jar
- RuntimeEnvironment.xml


2) Classpath Settings in My computer --> Environmental variables

UserVariables for dmadmin
CLASSPATH - > D:\Program Files\Documentum\dctm.jar;D:\Documentum\config;C:\Program Files\Altova\xmlspy\XMLSpyInterface.jar;D:\bea\user_projects\domains\abraxis\myserver\upload\dcm\dcm\WEB-INF\lib\mail.jar;D:\Program Files\Documentum\Shared\dcm.jar;D:\Program Files\Documentum\Shared\dcmSupport.jar

System Variables
ClassPath - > D:\Program Files\Documentum\dctm.jar;D:\Documentum\config;D:\Program Files\Documentum\Shared\dcm.jar;D:\Program Files\Documentum\Shared\dcmSupport.jar;D:\bea\user_projects\domains\abraxis\myserver\upload\dcm\dcm\WEB-INF\lib\mail.jar;D:\Program Files\Documentum\Shared\dfc.jar;D:\Program Files\Documentum\Shared\admin.jar

DFC_DATA -> D:\Documentum

JAVA_HOME -> D:\j2sdk1.4.2_11\bin

Path -> D:\Program Files\Documentum\Shared;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

3) No changes for StartManagedWeblogic.cmd

4) StartWeblogic.cmd (Make sure the paths are matching or change accdly)

set CLASSPATH=%CLASSPATH%;D:\bea\user_projects\domains\Abraxis\AdminServer\upload\dcm\dcm\dcm\strings;D:\Program Files\Documentum\shared\PDFsignClient.jar;D:\Program Files\Documentum\shared\jbossall-client.jar;D:\Program Files\Documentum\shared\jnet.jar;D:\Program Files\Documentum\shared\DmcRecords.jar;D:\Program Files\Documentum\shared\messageArchive.jar;D:\Program Files\Documentum\shared\messageService.jar;D:\Program Files\Documentum\shared\dcmQueueImpl.jar;D:\Program Files\Documentum\shared\dcmQueue.jar;D:\Program Files\Documentum\shared\bpmutil.jar;D:\Program Files\Documentum\shared\dcm.jar;D:\Program Files\Documentum\shared\dcmSupport.jar;D:\Program Files\Documentum\shared\dcmSupportImpl.jar;D:\Program Files\Documentum\shared\ctsTransformImpl.jar;D:\Program Files\Documentum\shared\ctsTransform.jar;D:\Program Files\Documentum\shared\collaboration.jar;D:\Program Files\Documentum\shared\ci.jar;D:\Program Files\Documentum\shared\castor-0.9.5.2.jar;D:\Program Files\Documentum\shared\commons-jxpath-1.1.jar;D:\Program Files\Documentum\shared\XformsCommon.jar;D:\Program Files\Documentum\shared\xforms.jar;D:\Program Files\Documentum\shared\subscription.jar;D:\Program Files\Documentum\shared\workflow.jar;D:\Program Files\Documentum\shared\xml-apis.jar;D:\Program Files\Documentum\shared\xalan.jar;D:\Program Files\Documentum\shared\log4j.jar;D:\Program Files\Documentum\shared\All-MB.jar;D:\Program Files\Documentum\shared\xtrim-api.jar;D:\Program Files\Documentum\shared\bsf.jar;D:\Program Files\Documentum\shared\dfcbase.jar;D:\Program Files\Documentum\shared\dfc.jar;D:\Documentum\config;D:\Program Files\Documentum\shared\admin.jar;D:\Documentum\config\dfc.properties;%CLASSPATH%;

5) StartDocumentum.cmd
set CLASSPATH=%WEBLOGIC_CLASSPATH%;%POINTBASE_CLASSPATH%;%JAVA_HOME%\jre\lib\rt.jar;%WL_HOME%\server\lib\webservices.jar;%CLASSPATH%;D:\bea\user_projects\domains\abraxis\myserver\upload\dcm\dcm\dcm\strings;D:\Program Files\Documentum\shared\PDFsignClient.jar;D:\Program Files\Documentum\shared\jbossall-client.jar;D:\Program Files\Documentum\shared\jnet.jar;D:\Program Files\Documentum\shared\DmcRecords.jar;D:\Program Files\Documentum\shared\messageArchive.jar;D:\Program Files\Documentum\shared\messageService.jar;D:\Program Files\Documentum\shared\dcmQueueImpl.jar;D:\Program Files\Documentum\shared\dcmQueue.jar;D:\Program Files\Documentum\shared\bpmutil.jar;D:\Program Files\Documentum\shared\dcm.jar;D:\Program Files\Documentum\shared\dcmSupport.jar;D:\Program Files\Documentum\shared\dcmSupportImpl.jar;D:\Program Files\Documentum\shared\ctsTransformImpl.jar;D:\Program Files\Documentum\shared\ctsTransform.jar;D:\Program Files\Documentum\shared\collaboration.jar;D:\Program Files\Documentum\shared\ci.jar;D:\Program Files\Documentum\shared\castor-0.9.5.2.jar;D:\Program Files\Documentum\shared\commons-jxpath-1.1.jar;D:\Program Files\Documentum\shared\XformsCommon.jar;D:\Program Files\Documentum\shared\xforms.jar;D:\Program Files\Documentum\shared\subscription.jar;D:\Program Files\Documentum\shared\workflow.jar;D:\Program Files\Documentum\shared\xml-apis.jar;D:\Program Files\Documentum\shared\xalan.jar;D:\Program Files\Documentum\shared\log4j.jar;D:\Program Files\Documentum\shared\All-MB.jar;D:\Program Files\Documentum\shared\xtrim-api.jar;D:\Program Files\Documentum\shared\bsf.jar;D:\Program Files\Documentum\shared\dfcbase.jar;D:\Program Files\Documentum\shared\dfc.jar;D:\Program Files\Documentum\shared\ctsTransformImpl.jar;D:\Program Files\Documentum\shared\ctsTransform.jar;D:\Program Files\Documentum\shared\collaboration.jar;D:\Program Files\Documentum\shared\ci.jar;D:\Program Files\Documentum\shared\castor-0.9.5.2.jar;D:\Program Files\Documentum\shared\commons-jxpath-1.1.jar;D:\Program Files\Documentum\shared\XformsCommon.jar;D:\Program Files\Documentum\shared\xforms.jar;D:\Program Files\Documentum\shared\subscription.jar;D:\Program Files\Documentum\shared\workflow.jar;D:\Program Files\Documentum\shared\xml-apis.jar;D:\Program Files\Documentum\shared\xalan.jar;D:\Program Files\Documentum\shared\log4j.jar;D:\Program Files\Documentum\shared\All-MB.jar;D:\Program Files\Documentum\shared\xtrim-api.jar;D:\Program Files\Documentum\shared\bsf.jar;D:\Program Files\Documentum\shared\dfcbase.jar;D:\Program Files\Documentum\shared\dfc.jar;D:\Documentum\config;D:\Program Files\Documentum\shared\admin.jar;

6) In dbor.properties

com.documentum.services.workflow.inbox.IInbox=service,com.documentum.services.workflow.inbox.Inbox,1.0
com.documentum.services.workflow.startworkflow.IStartWorkflow=service,com.documentum.services.workflow.startworkflow.StartWorkflow,1.0
com.documentum.services.workflow.report.IWorkflowReportBuilder=service,com.documentum.services.workflow.report.WorkflowReportBuilder,1.0

com.documentum.services.subscriptions.ISyncList=service,com.documentum.services.subscriptions.Subscriptions,1.1
com.documentum.services.subscriptions.ISubscriptions=service,com.documentum.services.subscriptions.Subscriptions,1.0

dm_docset=type,com.documentum.ci.imp.Docset,1.0
dm_docset_run=type,com.documentum.ci.imp.DocsetRun,1.0
com.documentum.ci.ICiService=service,com.documentum.ci.imp.CiService,1.0
dm_category_assign=type,com.documentum.ci.imp.CategoryAssign,1.0
dm_ci_config=type,com.documentum.ci.imp.CiConfig,1.0
ci_config=type,com.documentum.ci.imp.CiConfig,1.0
dm_category=type,com.documentum.ci.imp.Category,1.0
dm_category_class=type,com.documentum.ci.imp.CategoryClass,1.0
dm_taxonomy=type,com.documentum.ci.imp.Taxonomy,1.0

dm_xfm_form=type,com.documentum.xforms.docbase.DctmForm,1.0
dm_xfm_instance=type,com.documentum.xforms.docbase.XMLInstance,1.0
dm_xfm_schema=type,com.documentum.xforms.docbase.XMLSchema,1.0
com.documentum.xforms.docbase.IDctmFormService=service,com.documentum.xforms.docbase.DctmFormService,1.0
com.documentum.tools.docbase.IDctmDataModelService=service,com.documentum.tools.docbase.DctmDataModelService,1.0

dmc_comment=type,com.documentum.services.collaboration.Comment,1.0
dmc_topic=type,com.documentum.services.collaboration.Topic,1.0
dmc_notepage=type,com.documentum.services.collaboration.NotePage,1.0
dmc_room=type,com.documentum.services.collaboration.Room,1.0
com.documentum.services.richtext.IRichTextManager=service,com.documentum.services.richtext.RichTextManager,1.0
com.documentum.services.collaboration.ICommentManager=service,com.documentum.services.collaboration.CommentManager,1.0

dm_media_profile=type,com.documentum.services.dam.impl.transform.MediaProfile,1.1
dm_transform_request=type,com.documentum.services.dam.impl.transform.TransformRequest,1.1
com.documentum.services.dam.df.transform.IProfileService=service,com.documentum.services.dam.impl.transform.ProfileService,1.1
com.documentum.services.dam.df.transform.ICTSService=service,com.documentum.services.dam.impl.transform.CTSService,1.1

com.documentum.dcm.services.DcmManager=service,com.documentum.dcm.services.DcmManagerImpl,5.0
com.documentum.dcm.services.IDcmReportService=service,com.documentum.dcm.services.DcmReportService,5.0
com.documentum.dcm.services.DcmConfigManager=service,com.documentum.dcm.services.DcmConfigManagerImpl,5.0
com.documentum.dcm.queue.DcmQueueManager=service,com.documentum.dcm.queue.impl.DcmQueueManagerImpl,5.0
com.documentum.dcm.services.IPDFsignAdapter=service,com.documentum.dcm.services.PDFsignAdapterImpl,5.0
com.documentum.dcm.type.IDcmDocumentClass=type,com.documentum.dcm.type.DcmDocumentClass,5.0
com.documentum.dcm.type.IDcmStateExtension=type,com.documentum.dcm.type.DcmStateExtension,5.0
com.documentum.dcm.type.IDcmPerformerCriteria=type,com.documentum.dcm.type.DcmPerformerCriteria,5.0
com.documentum.dcm.type.IDcmAutoProcess=type,com.documentum.dcm.type.DcmAutoProcess,5.0
com.documentum.dcm.type.IDmiRegistry=type,com.documentum.dcm.type.DmiRegistry,5.0
com.documentum.dcm.type.IAuditTrail=type,com.documentum.dcm.type.AuditTrail,5.0
com.documentum.dcm.type.IDcmStateProcessRule=type,com.documentum.dcm.type.DcmStateProcessRule,5.0
com.documentum.dcm.type.IDcmSignoffRelation=type,com.documentum.dcm.type.DcmSignoffRelation,5.0
dcm_extended_relation=type,com.documentum.dcm.type.DcmExtendedRelation,5.0
dcm_extended_relation_type=type,com.documentum.dcm.type.DcmExtendedRelationType,5.0
dcm_autoname=type,com.documentum.dcm.type.DcmAutoName,5.0
dcm_state_extension=type,com.documentum.dcm.type.DcmStateExtension,5.0
dcm_document_class=type,com.documentum.dcm.type.DcmDocumentClass,5.0
dcm_performer_extension=type,com.documentum.dcm.type.DcmPerformerCriteria,5.0
dcm_auto_process=type,com.documentum.dcm.type.DcmAutoProcess,5.0
dcm_state_process_rule=type,com.documentum.dcm.type.DcmStateProcessRule,5.0
dcm_extended_sysobject=type,com.documentum.dcm.type.DcmExtendedSysobject,5.0
dcm_signoff_relation=type,com.documentum.dcm.type.DcmSignoffRelation,5.0

com.documentum.admin.object.IDfRemoveExpiredObjectsJob=type,com.documentum.admin.object.DfRemoveExpiredObjectsJob,1.0
dm_job_sequence=type,com.documentum.admin.object.DfJobSequence,1.0

# DCM5 services

# DCM5 types
com.documentum.dcm.type.IDcmControlledDoc=type,com.documentum.dcm.type.DcmControlledDoc,5.0
com.documentum.dcm.type.IDcmReviewPeriod=type,com.documentum.dcm.type.DcmReviewPeriod,5.0
dm_audittrail=type,com.documentum.dcm.type.AuditTrail,5.0
dmi_registry=type,com.documentum.dcm.type.DmiRegistry,5.0

Tuesday, March 3, 2009

Turn off Full-Text Indexing

Turn off Full-Text Indexing:
1. Shut down application server.
2. Shut down Index Agent.
3. In the applications config directory create/edit a file named dfc-dqlhints.xml.
That file should contain the following information:






object_name





4. Save and Close the file.
5. In dfc.properties and dfcfull.properties edit it to contain the following information:
dfc.dqlhits.file=
6. Clear the application server cache and dmcl folders.
7. Start Application Server.

Friday, February 13, 2009

Unable to initialise admin dll (OSEnv)

You may see the following message,

"Unable to initialize admin dll (OSEnv)" or "Unable to gather user rights"

when starting Server Manager if a change has been made to any domain the user is a member of or if one of them has been deleted.

It may also be the result of connectivity problems where a domain is unavailable and the error can be caused by varying problems with the domain.

Check the possible domains the user is a member of has been modified, deleted or is unavailable.

Our code calls the Microsoft function GetComputerName() which is supposed to return the NetBIOS name of the local computer. See: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/getcomputername.asp.

Once it has the name, it uses it to call NetServerEnum() (another Microsoft call) to get the domain controllers for the computer's domain. See: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/netmgmt/netmgmt/netserverenum.asp.

If these functions fail, then an error is returned and the unable to gather user rights message is displayed.

Thursday, November 20, 2008

UCF runtime problem with failed to connect to server error

Symptoms

UCF component unable to upload any files to Documentum. Enabling UCF trace shows no UCF server log.



An error has occurred when invoking the UCF runtime. Details:
Failed to connect to server - refer ucf client logs for details
An error has occurred when invoking the UCF runtime. Details:
Failed to connect to server - refer ucf client logs for details

After closing this window, press the Refresh or Reload button on your browser to continue.

Hide Details

Stack Trace:

An error has occurred when invoking the UCF runtime. Details:
Failed to connect to server - refer ucf client logs for details
com.documentum.ucf.client.install.launcher.InvocationException: An error has occurred when invoking the UCF runtime. Details:
Failed to connect to server - refer ucf client logs for details
at com.documentum.ucf.client.install.launcher.impl.RuntimeInvoker.retrieveContent(RuntimeInvoker.java:433)
at com.documentum.ucf.client.install.launcher.impl.RuntimeInvoker.initConnectionForSharedProcess(RuntimeInvoker.java:287)
at com.documentum.ucf.client.install.launcher.impl.RuntimeInvoker.initConnection(RuntimeInvoker.java:59)
at com.documentum.web.applet.ucfinvoker.LaunchRuntimeDelegate.connectRuntime(Unknown Source)
at com.documentum.web.applet.ucfinvoker.Java2DelegateImpl.access$201(Unknown Source)
at com.documentum.web.applet.ucfinvoker.Java2DelegateImpl$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.documentum.web.applet.ucfinvoker.Java2DelegateImpl.connectRuntime(Unknown Source)
at com.documentum.web.applet.ucfinvoker.LaunchRuntimeDelegate.safeConnectRuntime(Unknown Source)
at com.documentum.web.applet.ucfinvoker.LaunchRuntimeDelegate.getUcfSessionId(Unknown Source)
at com.documentum.web.applet.ucfinvoker.LaunchRuntimeDelegate.start(Unknown Source)
at com.documentum.web.applet.ucfinvoker.LaunchRuntime.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)



SEVERE: Error during retrieveing Requests:

java.io.EOFException

at java.io.DataInputStream.readFully(Unknown Source)

at java.io.DataInputStream.readUTF(Unknown Source)

at java.io.DataInputStream.readUTF(Unknown Source)

at com.documentum.ucf.common.transport.spi.StreamHelper.readString(StreamHelper.java:29)

at com.documentum.ucf.client.transport.impl.ClientReceiver.getRequests(ClientReceiver.java:44)

at com.documentum.ucf.client.transport.impl.ClientSession.handshake(ClientSession.java:510)

at com.documentum.ucf.client.transport.impl.ClientSession.handshake(ClientSession.java:485)

at com.documentum.ucf.client.transport.impl.ClientSession.run(ClientSession.java:201)



Cause

Bug 118836, install dab after Webtop or DA.



If Webtop is installed before DAB, you may experience the ucf-server-api.jar issue referring to different location, the one in DAB. The reason is that, dctm.jar ->manifest.mf has the following:

Application%20Builder/devws.jar

And devws.jar ->manifest.mf has ucf specified as below. This jar is in C:\Program Files\Documentum\Application Builder, the ucf-server_api.jar is under C:\Program Files\Documentum\Application Builder\lib



Resolution

1. Go to DOS prompt.

2. Enter:

==

set classpath=

==

3. Start WebLogic from that command line prompt and see if that works.



An alternative solution is to get rid of dctm.jar from classpath. Reference all the jar files under Documentum\shared directory in the classpath.

Why am I seeing error "All remote hosts failed" when trying to retrieve content?

Below are things to check when seeing error "Failed to transfer content due to a transport error com.documentum.ucf.common.UCFException: All remote hosts failed":

Background:
When using ACS to retrieve content (the default content transfer mode starting in 5.3 SP1), DFC produces URLs that point to content on the ACS/Content Server machine. UCF on the browser machine tries to use these URLs to retrieve the content. These URLs are produced based on a "base url" in the ACS config attribute. (The ACS config is managed in DA.) This means the browser machines requires connecting to the ACS/Content Server machine.

A URL will not be generated for an ACS that is not running but if ACS goes down AFTER the URL was generated that client will fail with the error but all other content requests will succeed using the pre-ACS content transfer mode (just using Content Server) until ACS is restarted.

1. One possibility for the error is that URLs cannot be DNS-resolved on a client computer. (like http://localhost, or http://servername instead of http://servername.emc.com). If need be, the base URL can be changed using IAPI:

API>retrieve,c,dm_acs_config
API>set,c,l,acs_base_url
SET>
API>save,c,l

In order to check which URL the browser is using to access content, change the UCF log level on a client side (where the browser is) by changing:

.level=FINE

In the file:

C:\Documents and Settings\\Documentum\ucf\\shared\config\ucf.client.logging.properties

The output goes to file- C:\Documentum\Logs\ucf.trace<….>.log

Another way is to get the same information on a Webtop/DFC side. Enable INFO or DEBUG logging for a category

com.documentum.acs

Webtop machine in the log4j.properties file. These changes should be picked up dynamically.

2. Check that a firewall does not restrict access to these URLs from the client computer.

3. Check the $DOCUMENTUM/shared/logs/AcsServer.log for errors.

4. If the following error occurs in the Java Method Server log:

FATAL [HttpProcessor[9080][4]] acs.com.documentum.acs.sdi.ACS -
java.lang.NoSuchMethodError: org.aspectj.runtime.reflect.Factory.makeJP(Lorg/aspectj/lang/JoinPoint$StaticPart;Ljava/lan
g/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lorg/aspectj/lang/JoinPoint;

and DCM is being used in the Docbase, go to C:\Program Files\Documentum\tcf\lib or the appropriate place on the UNIX system and rename file aspectjrt1.1.0.jar to something like aspectjrt1.1.0.bak

In some cases, you may be getting the "all remote hosts failed" error in a standalone docbase WITHOUT DCM, and in that case, you will need to go find the 1.2.0 version of that jar file, aspectjrt-1.2.0.jar, merged with custom documentum classes in the Documentum\product\5.3\tomcat\webapps\ACS\WEB-INF\lib\ucf-server-impl.jar class.
If you copy that the aspectjrt-1.2.0.jar to the lib directory and rename the aspectjrt-1.1.0.jar to something like .bak, then all errors go away.

5. If there is an error like 'java.lang.NoClassDefFoundError: org/aspectj/lang/NoAspectBoundException', the reason for this error is that Application Builder is installed on the same machine as the Content Server.

App Builder and ACS server use common jar file ucf-server-api.jar. In the classpath for ACS Server, the ucf-server-api.jar located in program Files\Application Builder\lib directory has precedence over the same jar file present in ACS server webapp lib directory. Quick test to confirm this would be rename the ucf-server-api.jar in Application Builder lib directory to ucf-server-api.bak and restart the Java Method Server. Note that you have to stop the method server before renaming the jar file as the jar will be in use while the server is running and will not allow you to rename the file.


The workaround for this is to install Application Builder on a different machine or modify the classpath of the java method Server so that App Builders ucf-server-api.jar is not in the classpath of the java method server.

Friday, November 7, 2008

Exception in thread "main" java.lang.NoClassDefFoundError

A simple Hello World example.

public class Hello {

public static void main(String argv[]) {

System.out.println("Hello world !");

}

}

then, when you compile it:

> javac Hello.java

and want to execute it:

> java Hello

Exception in thread "main" java.lang.NoClassDefFoundError: Hello

We set the CLASSPATH and JAVA_HOME enviroment variable correctly, and the problem was still the same..
When we copied the Hello.class into a lib directory of JAVA_HOME, it worked, but not from the current directory !

We tried different versions of java.. and do you know where this stupid problem is?

in the CLASSPATH there should be:
CLASSPATH=.;c:\programme\jboss\lib;c:\programme\
j2sdk1.4.2_08\lib;c:\programme\j2sdk1.4.2_08\jre\lib; ...

yes.. a dot .. it means, that it will search for classes bytecode in the current directory !

you can also tell java to search the current directory with the -classpath parameter

> java -classpath . Hello

Thursday, October 23, 2008

Automatic rendition on import

Symptoms

When configuring the repository with automatic renditions on import, the renditions are not happening.

Cause

Register.xml is missing an entry for the PDF profile.

Resolution

Follow the steps given in Pg 26,27 in the DTS Admin Guide for configuring the automatic renditions on import. You could find the renditions are not happening. This is because you need to add one more entry to the register.xml:



1. Stop the CTS Services.

2. Edit the register.xml(System/Media Server/System Profiles).

Add this to the :



3. Back up the log folder.

4. Start the CTS.

5. Check the logs for any errors.

6. Import the document and check the renditions

Sunday, October 12, 2008

How do I resolve the error, User "User_name" DOES NOT have Super User privileges

When you try to run the DocApp Installer with the ldap authentication, you may receive the error message below:

User "User_name" DOES NOT have Super User privileges.

EXPLANATION OF THE PROBLEM:

When you connect to the Docbase with the ldap authentications, you DO NOT need to specify an OS Domain Name. However, when you connect to the Docbase via DocApp Installer, you DO need to login with the user_name, Password and OS Domain name (even a dummy Domain name will work).


Your login to the Docbase via DocApp Installer with the user_name, Password and OS Domain name successes, but when you run the installer, will be NOT able to install the docapp and receive the error message above even you DO have a Super User privileges.



FIXING THE PROBLEM (ERROR):

1) Login to the Docbase via DA.

2) Select the user try to install the DocApp and go on his Properties.

3) In the attribute "Windows Domain" add the Domain name (or a dummy Domain name).

4) Save and exit.

5) Login and run the DocApp Installer again, it will work.


NOTE: You need to use the SAME Domain name to login to the DocApp Installer as the one you specified in the attribute "Windows Domain".


----------------------

Check the user_os_name: this should not be blank. it should be a valid name like 'dmadmin' then this issue will not occur

Sunday, October 5, 2008

How can I tell if the BOF Global Registry is configured correctly?

Symptoms

Need to troubleshoot the BOF user setup to allow connecting to a Global Repository/ Global Registry.

Cause

Troubles using BOF (TBOs/SBOs) or using version 6 web clients and be caused due to incomplete or incorrect configuration.

Resolution

To use BOF (TBO/SBO) requires that at least one of your Repositories be designated as the BOF Global Registry. Each Application Server must identify the BOF Global Registry it will use via the dfc.properties file.

There are two parts to setting up the BOF Global Registry:

1) making sure the "dm_bof_registry" Repository user is active.

2) making sure that the dfc.properties file on your Application Server(s) are correctly referencing the Repository that is acting as the BOF Global Registry and has the listed the correct user information for the dm_bof_registry user.

1. Verifying that a Repository is the BOF Global Registry:

===================================

-Using Documentum Administrator (DA), log into the Repository that should be the BOF Global Registry, using an administrator account.

-In Classic view, in the left navigation tree, click on the Administration node. In the page that appears, under the heading "User Management", click on "Search for Users".

-Search for the following user: 'dm_bof_registry" (enter this value next to the User Name label, and click Search).

-View the properties of this user "dm_bof_registry" (click the (i) icon).

-Make note of the user's 'State' and 'User Login Name'.

If the user State is 'Inactive', then this Repository is not the BOF Global Registry. To make this Repository the BOF Global Registry, follow Steps 2-4.

If the BOF Global Registry user is 'Active', you need to verify some information in your dfc.properties file on your Application Server(s).

From the Application Server machine, locate the dfc.properties file.

Open this file in any text editor. Ensure the following three attributes are set in the dfc.properties file:

dfc.bof.registry.repository =

dfc.bof.registry.username =

dfc.bof.registry.password =

Without the above three entries, the BOF Global Registry will not be set.

If these entries are missing or values are not complete, you will need to add and populate these values. See the following steps for more details.

2. Enabling the BOF Global Registry

===================================

The following section outlines the steps required to enable the BOF Global Registry using the Documentum Administrator (DA) application.

-Log into Documentum Administrator (DA) as an Administrator in the Repository where you want to enable TBO/SBO functionality.

-In Classic view, in the tree, click on the Administration node. In the page that appears, under the heading "User Management", click on "Search for Users".

-Search for the following user: 'dm_bof_registry" (enter this value next to the User Name label, and click Search).

-View the properties of this user 'dm_bof_registry" (click the (i) icon).

- The properties page will appear. From the properties page, ensure the following options and values are set to the following:

User State: Active

User Source: Inline Password

Restrict Folder Access: System

- For security purposes, change the default password (make a note of the new password).

- Click OK on the 'dm_bof_registry' user 'Properties' page.

3. Verifying the dfc.properties file

====================================

On each Application Server, locate the dfc.properties file. Open this file in any text editor. Ensure the following three attributes are set in the dfc.properties file:

dfc.bof.registry.repository =

dfc.bof.registry.username =

dfc.bof.registry.password =

Without the above three entries, the BOF Global Registry will not be set.

Note: The password supplied in the entry 'dfc.bof.registry.password' must be consistent with the password provided when setting the 'dm_bof_registry' password via Documentum Administrator (DA). The password must also be encrypted. For information on how to encrypt the password, see the next section in this document, entitled 'Encrypting Passwords for the dfc.properties file'.



4. Encrypting Passwords for the dfc.properties file

===================================================

The password provided in the 'dfc.properties' file must be encrypted. A utility is provided to encrypt this password. The following section outlines the steps required to invoke the password utility program to encrypt a password.

From a command prompt, execute the following:

java com.documentum.fc.tools.RegistryPasswordUtils

Note- If you are using java methods that use the TBOs/SBOs then you will need the following entries on the %DM_Home/config/dfc.properties file as well

dfc.bof.registry.repository =

dfc.bof.registry.username =

dfc.bof.registry.password =

Thursday, October 2, 2008

After installing Transformation Services, I do not see a Content Transformation Services Service listed in my Services

Cause

This can be because you have not configured your docbase yet, or because you have registered the service as an invalid user.

Resolution

When you first install a Transformation Services product you will only see the Admin listed as a service. This is because you have not configured to a docbase yet. Once you run the configuration utility to add a docbase, you should see three services:

Documentum Content Transformation Monitor Service
Documentum Content Transformation Services
Documentum CTS Admin. Agent


If you do not see three services after configuring you docbase this is most likely because the user that you used when installing the Transformation Services Product was not a local Administrator, or you did not specify the domain if it was a domain user. To resolve the issue you can do one of two things:



Unconfigure and uninstall and then re-install using a local Admin and domain in necessary.
Register the service manually by running the following utility:
cmd> C:\Program Files\Documentum\CTS\server_install\CTSService\InstallLocalCTS.bat



This should register the service with the Local System account. You will then need to manually change it to run as the local admin user.



Notes:

You can start the CTS service from a bat file to see if there are any problems with the service starting.
cmd> C:\Program Files\Documentum\CTS\server_install\CTSService\startCTS.bat

Make sure you run this from the command console as you will see any error message in the terminal.

You can reference the install.log located on the same directory as the installer for more information.
You can also run the installer with the following option for more verbose information:
cmd> rptsWinSuiteSetup.exe -is:log "C:\temp\rpts_install_log_txt"