OBIEE 11g Log file names and path

Log files:
OBIEE server log (RPD related, OPMN services start/stop related log):
$OBIEE_HOME$/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1/nqserver.log

OBIEE Query Log (OBIEE report’s query related logs):
$OBIEE_HOME$/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1/nqquery.log

OBIEE Scheduler Log (OBIEE scheduler related logs):
$OBIEE_HOME$/instances/instance1/diagnostics/logs/OracleBISchedulerComponent/coreapplication_obisch1/nqscheduler.log

Managed server log:
$OBIEE_HOME$/user_projects/domains/bifoundation_domain/servers/bi_server1/logs

Admin Server Log:
$OBIEE_HOME$/user_projects/domains/bifoundation_domain/servers/AdminServer/logs

 

Thanks

Akash Garg (twitter: @akashdgarg)

Advertisements

OBIEE11g: Error:[nQSError: 43126] Authentication failed: invalid user/password. error when Logging into Answers/analytics

After restarting all services (Admin server, Node manager, Managed server and OPMN), users were not bale to login to Presentation Services (commonly known as answers/analysis). It was showing invalid user/password error.

Log file:  /u01/APP/OBIEE/instances/instance1/diagnostics/logs/OracleBIServerComponent/coreapplication_obis1/nqserver.log

error: [2017-08-02T21:53:52.000+05:30] [OracleBIServerComponent] [ERROR:]1] [] [] [ecid: 0000LqZjaJG4qmmpsoL6iX1PWVhs000002,0:26:1:6] [tid: eaed6700] oracle.webservices.provider.ProviderException: java.lang.RuntimeException: oracle.bi.security.service.SecurityServiceException: SecurityService::authenticateAccess is denied for the specified credentials/identity.
[2017-08-02T21:53:52.000+05:30] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 0000LqZjaJG4qmmpsoL6iX1PWVhs000002,0:26:1:6] [tid: eaed6700] [nQSError: 43126] Authentication failed: invalid user/password.

Root Cause: The BISystemUser account has become locked.

Solution:

  1. Log in to the WebLogic Server Administration Console.
  2. Navigate to Security Realms > myrealm > Users and Groups > Users > BISystemUser > Password
  3. Reset the password to same as of old password (i.e. you just need to reset to same password) and save.
  4. Login to Enterprise Manager.
  5. Navigate to WebLogic Domain  and right click on bifoundation_domain.
  6. Click on Security > Credentials
  7. click on oracle.bi.system and then system.user
  8. Then click on edit on top of this table and reset the password same as you set for BISystemUser in WebLogic Server Administration Console.
  9. Restart OPMN services and wait (i did so) for 10 minutes before login into Answers.
  10. It should work.

 

Thank You

Akash (@akashdgarg).

OBIEE11g: Managed server services Stuck: java.lang.OutOfMemoryError: GC overhead limit exceeded error

One fine day, if you suddenly face an issue of OBIEE being not working, managed server services in ‘Hang’ or ‘STUCK’ state, try to restart the services but no luck etc. Reason behind all this scenarios could be the following:

java.lang.OutOfMemoryError: GC overhead limit exceeded.

you will find above error in bi_server.log (bi_server is the name of your managed server) at below path:

/$OBIEE_HOME$/user_projects/domains/bifoundation_domain/servers/bi_server1/logs/bi_server1.log.

Error: looks like this:

####<Jun 12, 2017 8:22:37 PM IST> <Error> <HTTP> <etdcrpt02> <bi_server1> 
<[STUCK] ExecuteThread: '11' for queue: 
'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> 
<005KKckpyjA4qmmpsoL6iX0001CH00001^> <1497279157635> <BEA-101017> 
<[ServletContext@1533767336[app:bisecurity module:bisecurity path:
/bisecurity spec-version:2.5 version:11.1.1]] 
Root cause of ServletException.
java.lang.OutOfMemoryError: GC overhead limit exceeded

Cause of error:

 The detail message "GC overhead limit exceeded" indicates that the 
garbage collector is running all the time and Java program is making very 
slow progress. After a garbage collection, if the Java process is spending 
more than approximately 98% of its time doing garbage collection and if it 
is recovering less than 2% of the heap and has been doing so far the last 
5 (compile time constant) consecutive garbage collections, 
then a java.lang.OutOfMemoryError is thrown. This exception is typically 
thrown because the amount of live data barely fits into the Java heap 
having little free space for new allocations.

Solution:

Instant: restart all services (admin server, node manager, managed server and OPMN).

while restarting managed server, first you need to stop/force stop (to force stop use kill -9 PID ) managed server.

Permanent fix: 

Increase the heap size. The java.lang.OutOfMemoryError exception for 
GC Overhead limit exceeded can be turned off with the command line 
flag -XX:-UseGCOverheadLimit.

 

 

 

Thanks till next time

Akash (@akashdgarg)

 

 

‘Catalog’ not visible despite of having access in OBIEE11g.

One of my user raised an issue of ‘Catalog’ menu being not visible on homepage along with other menu items like Dashboard, Open, New etc.catalog_not_visible

My initial investigation was to check roles, group of the user. He belongs to ‘AuthenticatedUser’ group, no explicit denial of access to catalog folder. He was able to open reports by going an alternative approach(using Open menu). Then why is he not able to see catalog as a menu button on home screen?

Solution: 1. Log in to user’s account (impersonation/ or by user’s credentials), go to my Account, check the Accessibility mode to ‘OFF’ (earlier it was set to ‘ON’).

acc_mode_off

press ‘OK’ and refresh the page:

catalog_visible

Catalog is visible now.

OBIEE Version: 11.1.1.7.141014.

 

Thanks till next time.

Error while exporting/printing large data to PDF/Excel2007 in OBIEE11g

Today, my business user sends me an error screenshot saying he was not able to take a printout of detailed report which had approx. 7k rows. I provided an ‘Export‘ link at the bottom of the report and asked the user to download first and print. But, interestingly, he was able to download in excel 2003 but neither in excel2007 nor pdf. It triggered me to investigate the issue and provide a solution.

Issue: trying to export an analysis result in to pdf or printing to pdf and gives following error:

pdf_issue

A fatal error occurred while processing the request. The server responded with: com.siebel.analytics.utils.InputStreamWithLimit$ReadOverTheLimitException.

error_printable_pdf

Solution: edit the config.xml file located at /$OBIEEHOME$/instances/instance1/config/OracleBIJavaHostComponent/coreapplication_obijh1/config.xml

Note: take a backup of config.xml file in case you need to rollback the changes.

and edit the following entries:

xml_tag_change1

in my case value in <InputStreamLimitInKB> was 32768 and i changed it to 0 (zero)

<XMLP>
<InputStreamLimitInKB>0</InputStreamLimitInKB>
<ReadRequestBeforeProcessing>true</ReadRequestBeforeProcessing>
</XMLP>

0 means deactivating the limit.

and restart the services.

But , would you like to limit the maximum input size (in kilobytes) for requests that are sent to the JavaHost service, then increase the parameter’s value until you are able to resolve the issue.

Note: everytime you make the changes in config.xml file, you need to restart the services.

You can also try changing the following tag in same file:

xml_tag_change2

Thanks

AKASH (@akashdgarg)

 

 

 

 

How to insert page breaks while printing OBIEE Answer’s result in PDF

Sometimes we wonder how to insert page break in PDF output of Answers. We think that there is something to do with pdf file properties or the version of pdf is not compatible with OBIEE, but you may be wrong here as it is very simple to do it from OBIEE.

In this example I will use product type for grouping for page break.

1. Let’s use Sample Sales to do this example. Create an analysis report like the following:

insert_page_break_01

2. Create either a pivot table or table. I’ll use table as an example.

insert_page_break_02

  1. When you edit the table, drag product type to Sections. Then edit Section Properties. You will be able to see the first option called Insert Page Break!

insert_page_break_03

  1. The drop down allows you to choose No Page Break, Innermost Column, Outermost Column or a specific column which in this case will only be Products.Product Type.

No Page Break literally means no page break.

Innermost Column would be the first column you have on your sections area.

Outermost Column would be the last column you have on your sections area.

Specific Column would contain all the possible columns for Page Break and you can only choose one.It does not matter which one you choose if you have only 1 column in the section area. When you have more than one, then you’ll need to give it some thought. Generally, I would choose the specific name in case I modify the sections area. If you need to combine 2 or more columns for the page break, you’ll have to concat these items in criteria before you use this feature.

insert_page_break_04

5. So this is what you will get in Answers.

insert_page_break_05

  1. Click on Print button to print PDF

insert_page_break_06

  1. You can achieve the same by exporting to PDF.

insert_page_break_07

  1. The result as follows, page break by product type in PDF!

insert_page_break_08

Keep visiting this page for more posts!