Error running DQL from DA and IDQL
Recently we applied the following patches in our development environment:
Patch level | Application |
---|---|
Path 08 |
|
Path 06 |
|
Path 05 |
|
After applying I started getting errors when trying to execute DQL. I tried both DA and IDQL but in both cases it throws the errors related to missing xCP Classes:
DA
java.lang.NoClassDefFoundError: com/emc/xcp/artifact/model/artifact/DataModel
IDQL
java.lang.ClassNotFoundException: com.emc.xcp.expressions.functions.AspectFunctions
Any solution to fix this issue?
Thanks,
Jahangir
Best Answer
Answers
-
It's been said several times that DA is missing xCP jar files related to xcp aspects, just throw the missing jars into WEB-INF/lib (and/or documentum/shared I guess) and it should work...
0 -
It's been said several times that DA is missing xCP jar files related to xcp aspectsNo.
[dmadmin@docu71dev01 ~]$ echo $CLASSPATH
/u01/documentum/cs/shared/dfc/log4j.jar:/u01/documentum/cs/shared/dfc/dfc.jar:/u01/documentum/cs/product/7.1/bin:/u01/documentum/cs/shared/config:/u01/documentum/cs/product/7.1/dctm-server.jar:/u01/documentum/cs/shared/dctm.jar:
[dmadmin@docu71dev01 ~]$ iapi
Please enter a docbase name (docubase): xcp21
Please enter a user (dmadmin):
Please enter password for dmadmin:
EMC Documentum iapi - Interactive API interface
(c) Copyright EMC Corp., 1992 - 2013
All rights reserved.
Client Library Release 7.1.0020.0120
Connecting to Server using docbase xcp21
[DM_SESSION_I_SESSION_START]info: "Session 01022428800537fc started for user dmadmin."
Connected to Documentum Server running Release 7.1.0050.0194 Linux64.Oracle
Session id is s0
API> ?,c,select r_type_name from dmi_type_info where any default_aspects='defaultdatatypeaspect'
r_type_name
---------------------------
bv_document
bv_client
bv_folder
bv_client_request
bv_contract
bv_dossier
xbv_clientattrpackage
test21_xtestcontent
xbv_dict_request_kind
xbv_folder
ap_test
bv_additional_agreement
bv_client_record
bv_contract_dossier
bv_interim_doc
xbv_document
(16 rows affected)
API> create,c,ap_test
...
09022428800b1fd3
API> save,c,l
...
OK
API> ?,c,create ap_test object set object_name='test'
object_created
----------------
09022428800b1fd4
(1 row affected)
API>0 -
At least in 7.0 jar files bundled with DA where different/older/missing than the ones bundled with xCP, I assume (I want to believe ) $DOCUMENTUM_SHARED has the latest/fully working ones and probably IDQL problem is just a matter of classpath configuration. However I still think the DA error is due to missing/older versions jar files
0 -
That is true about 7.0/2.0 stack, but in my 7.1/2.1 environment all components do work smoothly w/o copying jars.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories