COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Security => Topic started by: carlos95 on 01 Jul 2013 03:01:35 AM

Title: Audit Extension - Timeout error when running Audit
Post by: carlos95 on 01 Jul 2013 03:01:35 AM
I have an issue with Audit Extension when I run Audit via web interface or via web service call (Event Studio).
It seems to have a time out error. How could I increase this time limit please ?

You could find bellow the error details (via web service call) :

CNC-ASV-0008 Une erreur relative à la tâche du service Web de l'agent s'est produite. Echec de l'opération lors de l'exécution : <FAULT><FAULTDETAILS> <stackTrace>java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:237) at org.apache.axis.transport.http.HTTPSender.readHeadersFromSocket(HTTPSender.java:583)
Title: Re: Audit Extension - Timeout error when running Audit
Post by: Yizi on 01 Jul 2013 04:08:44 AM
You need to modify the properties file for the audit extension (c10AuditExtension.properties):

\ibm\cognos\c10_64\webapps\AuditExt\WEB-INF\classes

Refer to this document for more information:

http://www.ibm.com/developerworks/data/library/cognos/development/utilities/page574-pdf.pdf

Title: Re: Audit Extension - Timeout error when running Audit
Post by: carlos95 on 01 Jul 2013 11:46:50 AM
I've modified the properties file for the audit extension (c10AuditExtension.properties) but I have always the same error.
The error appears 14 minutes after launching the audit (instead of 2 minutes before changing properties file).

List of values for c10AuditExtension.properties (I removed jdbc properties) :

option.db.setdefault.statusresulttypes=false
option.ca.max.items=0
option.sa.include.configuration=true
option.ra.max.duration=0
option.db.messageloglevel=3
option.db.setdefault.serverversiondesc=false
option.aa.max.items=0
option.sa.include.rawstatus=true
security.keystore.filename=../configuration/c10AuditExtension.keystore
option.db.maxbatch=2000
option.ca.include.specifications=false
option.sa.include.ping=true
option.ca.include.output=true
option.ca.policy.calculation=false
option.db.setdefault.audittypes=false
option.ra.recurse.everyone=false
option.ra.recurse.auth=true
option.db.dimension.date.initdays=730
option.db.random-audit-id=false
option.db.dimension.time.populate=true
option.ra.max.items=0
option.db.setdefault.pingresult=false
option.aa.max.duration=0
option.ra.recurse.anon=false
option.ca.max.duration=0
option.aa.flatsearch=false
option.aa.include.content=true
option.db.setdefault.pingtype=false
Title: Re: Audit Extension - Timeout error when running Audit
Post by: DSR on 13 Jul 2015 12:18:12 PM
Hi Carlos,

I am also facing the same issue as you have posted. Hope you resolved this issue, if you resolved this issue can you please post the resolution steps?

Regards,
DSR
Title: Re: Audit Extension - Timeout error when running Audit
Post by: Yizi on 11 Dec 2015 06:02:53 AM
Hi Carlos,

It's very hard to have one setting for every environment, from previous experience I had to change the settings base on the environment and resources available. That is really your best option here and don't be scared go for a trial and error till you get it right.