BAM Troubleshooting Guide 10 1
BAM Troubleshooting Guide 10 1
BAM Troubleshooting Guide 10 1
JUN – 2023
Disclaimer
This document contains information proprietary to Newgen Software Technologies Limited. User may
not disclose or use any proprietary information or use any part of this document without written
permission from Newgen Software Technologies Limited.
Newgen Software Technologies Limited makes no representations or warranties regarding any software
or to the contents or use of this manual. It also specifically disclaims any express or implied warranties
of merchantability, title, or fitness for any particular purpose. Even though Newgen Software
Technologies Limited has tested the hardware and software and reviewed the documentation, it does
not guarantee or implies that this document is error-free or accurate regarding any particular
specification. As a result, this product is sold as it is and the user, the purchaser, is assuming the entire
risk as to its quality and performance. Further, Newgen Software Technologies Limited reserves the
right to revise this publication and make changes in its content without any obligation to notify any
person, of such revisions or changes. Newgen Software Technologies Limited authorizes no Newgen
agent, dealer, or employee to make any modification, extension, or addition to the above statements.
Newgen Software Technologies Limited has attempted to supply trademark information about
company names, products, and services mentioned in this document.
No part of this publication may be reproduced and distributed without the prior permission of:
Newgen Software Technologies Limited,
A-6, Satsang Vihar Marg, Qutab Institutional Area,
New Delhi - 110067
NOTE:
The extension of the file must be .jpg and the name of the file must be template_logo.jpg.
Recommended dimension is 80px * 35px (width * height)
Recommended Size is 3 kb.
Figure: 4.1
Figure: 5.2
6. Modified Output column list (through SP) is not coming for reports while doing the modification.
Solution: Have you modified the procedure since the original report creation? If so, modify the report
definition and in the query textbox, give space (dummy- to alter the query) after Exec/Call/Select and
click on Next and Save the Report.
9. How to add a Date Picker with Report Input Filter while generating a report?
Solution:
1. Edit / Add the report and go to the “Input Field Properties” screen.
2. Uncheck Custom Picklist.
3. Add database column name to the associated picklist name and set input type as Date Time/Date.
You can use any database column of the corresponding type (DateTime/Date depending on the Type of
input). The system just needs the column for its data type. Refer to the below figure:
Figure: 9.3
10. All the records of the BAM report are not getting downloaded (1000 records only getting
downloaded in most of the cases).
Solution:
1. Go to CRConfig.ini file---> Path: bin\omniflowconfiguration\crwebconfig
2. Search for tag “MaxRecordLimit” and "MaxRecordCount"(if not present then add the tag).
11. Getting the message “Maximum record display limit reached” printed inside the
downloaded BAM Report.
Solution:
1. Increase the value of “MaxSaveRecordCount” inside the
omniflowconfiguration/crwebconfig/crconfig.ini file.
2. In the case of Staging Cabinet, increase the value of “MaxSaveRecordCountStaging” inside the
omniflowconfiguration/crwebconfig/crconfig.ini file.
NOTE:
If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make the
same entry in that file as well.
NOTE:
The letters in bold are used to specify the report input parameter and its value. For iBPS 5.0 SP1, replace ExtendSession.jsf
with ExtendSession.app.
In some cases, if UDBEncrypt parameter is set as y then it is expected that both the sessionId and cabinet name should come as encryped.Due to this
sometimes, the cabinet name do not get passed as encrypted which was causes the error.
Figure: 13.4
NOTE:
For iBPS 5.0 SP1, replace mailloginclient.jsf with mailloginclient.app.
14. Getting data mismatch issues on batched data where batching is implemented (output record
data is not as expected in the case of batching).
Solution: Generally, this happens due to batching implementation issues in the custom procedure.
1. Go to omniflowconfiguration/nglogs/cabinet_name/bam/bam_web/ and open the XML.log file.
2. Check the procedure call inside Input XML of CRExecuteQuery API.
3. Copy the call and execute the same on your database and debug the procedure.
15. In iBPS Mobile, the user is only able to scroll 1 step at a time in the BAM Dashboard.
Solution: Increase the value of the Scrollstep variable inside toolbar.js. The location of the js file is
bam.war/crweb/scripts/toolbar.js.
16. How to restrict cut, copy and paste in mobile report dashboard?
Solution: Make the following entry in omniflowconfiguration/crwebconfig/crconfig.ini.
DisableCutCopyPaste=Y
NOTE:
17. The user needs to have custom validation for report input fields or the user needs to restrict fu -
ture date input in BAM reports.
Solution: It needs to be achieved using custom coding. The custom coding needs to be done inside
External.js. The custom coding needs to be done inside validateAllInputsExternal method.
Refer to the method for sample code.
The location of the file is bam.war/crweb/scripts/External.js.
NOTE:
Make sure to add % after $ in the user query.
Figure: 18.6
Figure: 18.7
19. Reports are getting downloaded in 0 kb for xlsx format (for Version 4.0SP1 and above).
Solution:
1. In the case of WebSphere, remove xmlbeans-2.3.0.jar from bam.war/web-INF/lib/.
2. In the case of WebLogic,
take the XMLbeans and 4 poi jar from common library and place it in following location
BAM.war ------>web-inf----->Lib.
make the below entries inside weblogic.xml:
<package-name>org.apache.commons.io.*</package-name>
<package-name>org.apache.poi.*</package-name>
<package-name>org.apache.xmlbeans.*</package-name>
<package-name>com.microsoft.schemas.*</package-name>
<package-name>org.etsi.*</package-name>
<package-name>org.openxmlformats.schemas.*</package-name>
<package-name>org.w3.x2000.x09.xmldsig.*</package-name>
<package-name>schemaorg_apache_xmlbeans.element.*</package-name>
<package-name>schemaorg_apache_xmlbeans.system.*</package-name>
<package-name>javax.faces.*</package-name>
Figure: 19.8
NOTE:
Entry is already present, just change the value of ForceXLSAsCSV=Y to ForceXLSAsCSV=N.
Inside Crwebconfig, there is also a file with the name Cabinate_Name.ini, make the same entry in that
file as well.
NOTE:
If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make the
same entry in that file as well.
22. How to hide the “Hidden Report Category” while adding reports to the dashboard?
Solution:
For iBPS 4.0: Modify the below ini values in the omniflowconfiguration/crwebconfig/crconfig.ini
file.
ReportCategoryBit =101
For iBPS 5.0 SP1 and above: Modify the Report Category Rights from the Right Management.
NOTE:
If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make the
same entry in that file as well.
24. Users want to hide specific SQL errors and show the generic error message (when you don't want
to expose the SQL error).
Solution: Make the following entry in the omniflowconfiguration/crwebconfig/crconfig.ini file.
ShowGenericQueryError=Y
NOTE:
If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make the
same entry in that file as well.
27. Getting error of invalid query in BAM components (Report Designer, Report Scheduler, Dash-
board, Report List, and Report View).
Solution: This error occurs when BAM DB scripts given in Service Pack/Patch/Hotfix are not executed
properly.
1. Check the nglogs/cabinetfolder/bam_web/xml.log file. In API output xml you will get the error like
invalid column name/invalid object.
2. Check the database scripts given for that column or table and verify with the database. If scripts are
not executed, execute them.
3. If scripts are executed properly and changes are reflected in the database as well, but the issue still
exists then raise the ticket with relevant logs for the product team.
Figure: 28.10
2. Map the second picklist report input by giving the first picklist value as input for the second picklist.
3. Click on the Save button after the configuration is done.
NOTE:
If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make the
same entry in that file as well.
30. How to first name and the family name of user in downloaded report.
Go to CRConfig.ini file:
Path: bin\omniflowconfiguration\crwebconfig
In line 1, add a new attribute along with value max-parameters="400000”. If there is another tag <http-listener
name="https", add the attribute for this also.
NOTE:
1> If the environment is using standalone-full-ha.xml for server configuration (Like data source entry), add the max-
parameters and max-post-size parameters in ajp-listener XML tag as shown below-
<ajp-listener name="ajp" max-post-size="1717986920" max-parameters="400000" socket-binding="ajp"/>
2> If the environment is cluster and using domain.xml for server configuration (Like data source entry) then do below
mentioned changes.
<http-listener name="default" max-post-size="1717986920" socket-binding="http" redirect-socket="https " max-
parameters="400000"/>.
In line 1, add a new attribute along with value max-parameters="400000”. If there is another tag <http-listener
name="https", add the attribute for this also.
Add the max-parameters and max-post-size parameters in ajp-listener XML tag as shown below-
Open Putty and run pwd command to get the current directory. If the current directory is not same as
/home/admin/Oracle/Middleware/Oracle_Home/oracle_common/common/bin then use change current directory
command to path mentioned above.
Now write cd('Servers/<server_name>') command and press enter. Here /<server_name> contains AdminServer in case
of standalone environment and in case of Managed server the managed server name will be replaced in command.
Now write cmo.getWebServer().setMaxRequestParameterCount(100000) and press enter. Here 100000 is the count of
request parameter which WebLogic will allow after this updation.
4. check the oaconfig.ini values by refering the staging document.(refer the document).
5. open debug tools and in the network tab, check for the pages which are giveing status other than 200.
6. check the initiator of the url /page which is causing the issue.(from which url , the issue causing url is being called)
7. if the initiator is other than bam, then connect with the required team.(Not applicable in some of the cases).
here document is refered for the iBPS - OmniApp - BAM-Staging Cabinet Configuration_INIpdf document .
8. Please check the EnableHttpSessionWrapper tag inside web.xml of bam.war if it is set to false and the user is not
able to see the bam view, then please set it as true.
34. When getting 'The query has timed out' in xml logs
See how much time your Query/”Stored Procedure” is taking to execute, go to crconfig.ini and check for
'QueryTimeOut' parameter.
Now assign this parameter value a value greater than your query execution time.
NOTE:
If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make the
same entry in that file as well.
You can set its value to \t if you want tab space, or any other symbol like '|', it will use it as separator.
NOTE:
If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make the
same entry in that file as well.
NOTE:
If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make the
same entry in that file as well.
NOTE:
If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make the
same entry in that file as well.
NOTE:
If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make the
same entry in that file as well.
42.How to change the font size and font family of downloaded reports.
NOTE:
If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make the
same entry in that file as well.
NOTE:
If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make the
same entry in that file as well.
NOTE: If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make
the same entry in that file as well.
The Footer tag should the the footer text as per the report.
Take the server restart and check
NOTE:
If inside omniflowconfiguration/crwebconfig/crconfig.ini, there is also a file with the name Cabinate_Name.ini, make the
same entry in that file as well.