Topic
  • 2 replies
  • Latest Post - ‏2009-08-06T07:11:43Z by SystemAdmin
SystemAdmin
SystemAdmin
88 Posts

Pinned topic ISRA - Getting ResourceException while creating AddDoc interaction

‏2009-08-05T12:00:53Z |
Hi,

I am using ISRA for storing document into Filenet Image Service and when the Image Service gets restarted I am getting exception from my application.

Follwing code generates the exception
"javax.resource.ResourceException: : Array Index out of bounds while writing to an array.: 204, error code: FN_IS_RA_10416".

I am able to rectify the problem by restarting the WAS. However I am trying to investigate the root cause.

Code Snippet

context = new InitialContext();
objConnectionFactory = (ConnectionFactory) context.lookup(JNDIConnFactoryName);
conSpec = new FN_IS_CciConnectionSpec();
conSpec.setUserName(strUserID);
conSpec.setPassword(strPassword);
objConnection = m_objConnectionFactory.getConnection(conSpec);

objAddDocInteraction = objConnection.createInteraction();
objAddDocInteractionSpec = new FN_IS_CciInteractionSpec();
objAddDocInteractionSpec.setFunctionName("AddDoc");
Error LOG


IS_ERR_STORE_CONTENT_EXCEPTION
javax.resource.ResourceException: : Array Index out of bounds while writing to an array.: 204, error code: FN_IS_RA_10416
at com.filenet.is.ra.cci.FN_IS_Document_Interactions.addDoc(Unknown Source)
at com.filenet.is.ra.cci.FN_IS_CciInteraction.executeInteractions(Unknown Source)
at com.filenet.is.ra.cci.FN_IS_CciInteraction.execute(Unknown Source)
Thanks,
J S Padhi
Updated on 2009-08-06T07:11:43Z at 2009-08-06T07:11:43Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    88 Posts

    Re: ISRA - Getting ResourceException while creating AddDoc interaction

    ‏2009-08-05T17:15:01Z  
    I'm not a developer, so I will not comment on the code, but I have seen this in the ISRA 3.4 Fix Pack 3 readme:

    Best Practices

    1. It is strongly recommended to restart the application server running ISRA, every time FileNet Image Services is restarted.
    2. To avoid errors such as “User not logged into Sec service”, in ISRA please configure your ISRA connection factory connection pool properties based on the guidelines below:

    I. Aged connection time out set to a value less than the duration of IS recycle/restart time.

    II. Purge policy set to entire pool.

    III. Reap time to be 1/2 or 1/3 of Aged time out.

    That same readme lists your error as well:

    AddDoc was getting “adding document error FN_IS_RA_10416”.

    Note of warning:
    We experience high CPU utilization on our IS server after upgrading from ISRA 3.2 to 3.4 FP3.
    We traced it to stuck sessions coming from the ISRA server appearing to be in an endless loop calling SEC:FindEndpt2
    We're still trying to resolve it.
  • SystemAdmin
    SystemAdmin
    88 Posts

    Re: ISRA - Getting ResourceException while creating AddDoc interaction

    ‏2009-08-06T07:11:43Z  
    I am getting the exception "Array Index out of Bound" while executing the interaction "AdDoc".

    I am able to get connection to IS server using managed mode and able to create the Input record as well.

    The problem occurs while executing

    objResultRecord = (MappedRecord)objAddDocInteraction.execute(objAddDocInteractionSpec, objInputRecord);