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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment