Pages

Showing posts with label ICN. Show all posts
Showing posts with label ICN. Show all posts

Wednesday, 14 October 2015

FNRCS0005E: SECURITY_INVALID_CREDENTIALS: Access to the Content Engine was not allowed...

com.ibm.ecm.struts.actions.p8.P8LogonAction.createP8Connection()
com.filenet.api.exception.EngineRuntimeException: FNRCS0005E: SECURITY_INVALID_CREDENTIALS: Access to the Content Engine was not allowed because the Content Engine API library or the Web Service Interface (WSI) Listener could not find the required security context information. Expected credentials were not found in the security context.

Solution:
  • On the client side WAS instance, set a Java property: -DFileNet.WSI.AutoDetectLTPAToken=true
  • On the server side WAS instance, set a Java property: -Dcom.filenet.authentication.token.userid=sso:ltpa

Wednesday, 8 April 2015

ICN Sync duplicated key exception

Caused by: org.springframework.dao.DataIntegrityViolationException: StatementCallback; SQL [MERGE INTO navigator.wPIo0ATdivsta1h_MANIFEST AS TS USING (VALUES('EC18F932-7155-CE06-8760-4C7E89100000')) AS DAT(OBJECTID) ON TS.OBJECTID = DAT.OBJECTID WHEN NOT MATCHED THEN INSERT (OBJECTID, SUBSCRIPTIONID, ISCONTAINER) VALUES (DAT.OBJECTID, '106295c1-3e59-4124-9074-52fe7dd9517d', 0);]; Violation of UNIQUE KEY constraint 'M_wPIo0ATdivsta1h_I2'. Cannot insert duplicate key in object 'navigator.wPIo0ATdivsta1h_MANIFEST'. The duplicate key value is (EC18F932-7155-CE06-8760-4C7E89100000).; nested exception is com.ibm.websphere.ce.cm.DuplicateKeyException: Violation of UNIQUE KEY constraint 'M_wPIo0ATdivsta1h_I2'. Cannot insert duplicate key in object 'navigator.wPIo0ATdivsta1h_MANIFEST'. The duplicate key value is (EC18F932-7155-CE06-8760-4C7E89100000).
at org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:228)
at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:407)
at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:522)
at com.ibm.ecm.sync.core.db.spring.BaseSpringDAO.createRepositoryObjectWithCallerTransaction(BaseSpringDAO.java:108)
at com.ibm.ecm.sync.core.db.spring.RepositorySpringDAO.registerRepositoryObjectWithSameRegistrationsAsParent(RepositorySpringDAO.java:530)
at com.ibm.ecm.sync.api.RepositoryController.procesNotification(RepositoryController.java:333)
... 31 more
Caused by: com.ibm.websphere.ce.cm.DuplicateKeyException: Violation of UNIQUE KEY constraint 'M_wPIo0ATdivsta1h_I2'. Cannot insert duplicate key in object 'navigator.wPIo0ATdivsta1h_MANIFEST'. The duplicate key value is (EC18F932-7155-CE06-8760-4C7E89100000).

at sun.reflect.GeneratedConstructorAccessor37.newInstance(Unknown Source) 

ICN Sync time out

TH0002        [ERROR] Exception occurred during sync object registration. java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out

java.lang.RuntimeException: Exception occurred during sync object registration. java.lang.RuntimeException: java.net.SocketTimeoutException: Read timed out

Monday, 30 March 2015

Manually update CPE engine url for ICN

Run below sql on ICN db:

update SYNCREPOSMAPPINGset CONNECTIONINFO='iiop://CPE_IP:CPE_PORT/FileNet/Engine' where id=<realID>

Thursday, 22 January 2015

Failed to same repository on ICN navigator

Notice:

Log as :
[1/22/15 14:32:20:963 PST] 000000ac SystemOut     O CIWEB Error: [Administrator @ 192.168.1.125] com.ibm.ecm.struts.actions.admin.p8.P8AddOnAction.updateAccessPermissions()
com.filenet.api.exception.EngineRuntimeException: FNRCE0002E: E_BAD_CLASSID: Class "StoredSearch" not found. errorStack={
at com.filenet.engine.metadatacache.MetadataCacheBase.determineBadClassRetry(MetadataCacheBase.java:243)
at com.filenet.engine.metadatacache.MetadataCacheBase.getClassInfo(MetadataCacheBase.java:194)

so the reason is "storedsearch" addon missing. Go to ACCE to add it.

Tuesday, 4 November 2014

Failed to launch workflow on Navigator

When try to launch a workflow from navigator, the error is show as :

The workflow step processor is provided by another web application, and the base URL of the web application is not configured correctly.


Ask your system administrator to update the base URL of the web application where the step processor is registered.

Solutions:
  • Check ACCE to set default application with Navigator and set the base server url with http://ICNSERVER:PORT/navigator
  • Check the step processor of  workflow definition (sometimes the workflow definition is from workplace, so it should be changed on navigator or other application)

Wednesday, 29 October 2014

Error at add P8 repository on ICN

16:53:20,252 ERROR [stderr] (http-/192.168.1.60:8080-8) [10/29/14 16:53:20:183 PDT] 0000006a SystemOut  O CIWEB Error: [Administrator @ 192.168.1.125] com.ibm.ecm.struts.actions.admin.p8.P8AddOnAction.updateAccessPermissions()

16:53:20,252 ERROR [stderr] (http-/192.168.1.60:8080-8) com.filenet.api.exception.EngineRuntimeException: FNRCE0002E: E_BAD_CLASSID: Class "StoredSearch" not found. errorStack={



Solution:  enable all below Add-Ons for Navigator on P8 ObjectStore (ACCE: right click ObjectStore name, select "install AddOn features")

  • Content Engine Base Extensions, which are required for all Content Engine configurations.
  • Base Application Extensions, which are a prerequisite for Search Extensions and the Workplace Base Extensions.
  • Search Extensions, which are required to browse and search for content in IBM Content Navigator.
  • Workplace Base Extensions, which are required to browse and search for content in IBM Content Navigator
  • Start of changeWorkplace Template Extensions, which are required to open folders in IBM Content Navigator.End of change