Wednesday, September 10, 2008

CTS Service Crash and Why ?

CTS service crash

ID: esg80644
Product(s): Document Transformation Services, Media Transformation Services
Related Bugs: 125676
SOLUTION

Symptoms

CTS service crashes if machine has several JRE installed by several DCTM products.

In the std.log under CTS\lib you see this error:

-Djava.class.path=D:\PROGRA~1\DOCUME~1\CTS\lib\cts.jar;D:\PROGRA~1\DOCUME~1\dctm.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\jce.jar;D:\PROGRA~1\DOCUME~1\java\1.4.2_11\jre\lib\ext\sunjce_provider.jar
Mon Nov 13 14:49:49 2006 Exception from the java application
java.lang.ExceptionInInitializerError
at javax.crypto.Cipher.a(DashoA12275)
at javax.crypto.Cipher.getInstance(DashoA12275)
at com.documentum.fc.common.impl.PBEUtils.decrypt(PBEUtils.java:97)

Cause

CTS service crashes if machine has several JRE installed by several DCTM products.

Resolution

The workaround is to rollback to the 1.4.2.04 JRE by changing all the paths in the AppParamaters registry key for the CTS service as located HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DocumentumCTS\Parameters

You should still have the 1.4.2.04 JRE under C:\Program Files\Documentum\java\1.4.2_04.

NOTE: Fixed in 5.3 SP4

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

why CTS.exe crashes ?

The symptoms are that cts.exe crashes with JVM errors. But when you start from startCTS.bat it works. This is very similar to the issue that we have when running CTS on the same machine as the Content Server.

We have seen this issue mostly when WDK application are running with CTS looks like a issue with sharing JVM?s

Here is the resolution.

STEP1: Stop CTS and all dependent services.

STEP2: Open registry by running regedit.

STEP3: Navigate to ?HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DocumentumCTS\Parameters?

STEP4: Open AppParameters by Double-clicking.

STEP5: Copy and back up the current Value.

STEP6: Modify the values to include the following


-Djava.ext.dirs=C:\PROGRA~1\DOCUME~1\java\1.4.2_04\jre\lib


and make sure following jars are at the end of -Djava.class.path

C:\PROGRA~1\DOCUME~1\java\1.4.2_04\jre\lib\jce.jar;C:\PROGRA~1\DOCUME~1\java\1.4.2_04\jre\lib\ext\sunjce_provider.jar


Here is a sample from working environment.


-Xbootclasspath

?.

-DMAX_WAIT_INTERVALS=5

?Djava.ext.dirs=C:\PROGRA~1\DOCUME~1\java\1.4.2_04\jre\lib

-Djava.class.path=C:\PROGRA~1\DOCUME~1\CTS\lib\cts.jar;C:\PROGRA~1\DOCUME~1\dctm.jar;C:\DOCUME~2\config;C:\PROGRA~1\DOCUME~1\CTS\lib;C:\PROGRA~1\DOCUME~1\java\1.4.2_04\jre\lib\jce.jar;C:\PROGRA~1\DOCUME~1\java\1.4.2_04\jre\lib\ext\sunjce_provider.jar

??.


STEP7: Save the value.

STEP8 Start the CTS service.

No comments: