Вообщем переодически сервер дохнет по: The WebLogic Server encountered a critical failure java.lang.OutOfMemoryError: Metaspace Reason: There is a panic condition in the server. The server is configured to exit on panic И хотя это гавно пишет типа Reason: There is a panic condition in the server. The server is configured to exit on panic чёт ни хуя он ни куда не exit.... Вообщем т.к разбираться с тем чем он жрётся нет ни времени ни желания (оно обязательно появится)... как вариант можно приделать костыль... костыль будет заключаться в ребуте сервера при возникновении этой ошибки. Что значит для этого надо... Желания и понимание что так жить нельзя, и вообще... Делаем новый модуль называем скажем: Reboot-OOMMetaSpace Идём в в новый модуль делаем Policy: Называем его OOM-Metaspace и говорит что это Server log: Жмём next в Configuration Policy пишем: log.logMessage.contains('java.lang.OutOfMemoryError: Metaspace'...
Eсли при выполнении startManageWeblogic.sh bi_server1 видим следующую фигню:
<16.07.2012 12:26:04 MSD> <Error> <oracle.bi.security.service> <OBI-SEC-00028> <System user could not be authenticated
oracle.bi.security.service.SecurityServiceException: SecurityService::authenticateUserWithLanguage [OBI-SEC-00020] Authenticated user has an invalid GUID
В saw.log при старте presentation service(с помощью opmn) попадает следующее:
[2012-07-16T12:33:14.000+04:00] [OBIPS] [ERROR:1] [] [saw.security.odbcuserpopulationimpl.getbisystemconnection] [ecid: ] [tid: ] Odbc driver returned an error (SQLDriverConnectW).
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred.
[nQSError: 73006] Cannot obtain Oracle BI Servers from either the primary Cluster Controller (biptr) or the secondary Cluster Controller () specified for the clustered DSN. (HY000)[[
File:odbcuserpoploaderimpl.cpp
Line:995
Location:
saw.security.odbcuserpopulationimpl.getbisystemconnection
saw.security.odbcuserpopulationimpl.searchidentities
saw.security.userpopulationmanagerimpl.getaccountdetailsbyid
saw.subsystem.catalog.repaircatalogsecurity
saw.subsystem.catalog.initialize
saw.subsystems.catalogbootstrapper.loadcatalog
saw.webextensionbase.init
saw.sawserver
ecid:
]]
и в nqserver.log:
[2012-07-16T12:26:04.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 004lEsi6GpEBt1O6yjmZMG0005WT000003] [tid: 4418a940] Error Message From BI Security Service: oracle.bi.security.service.SecurityServiceException: SecurityService::validateSystemUserSystem user could not be authenticated
[2012-07-16T12:26:04.000+00:00] [OracleBIServerComponent] [ERROR:1] [] [] [ecid: 004lEsi6GpEBt1O6yjmZMG0005WT000003] [tid: 4418a940] [nQSError: 43126] Authentication failed: invalid user/password.
То скорее всего проблема в том что в OVD не установлен плагин EUS_ActiveDirectory:
2.9.2.4 EUS_ActiveDirectory
Use the EUS_ActiveDirectory template for an Oracle Virtual Directory-Enterprise User Security integration that uses Active Directory. The EUS_ActiveDirectory simplifies the integration by deploying the following plug-ins:
Objectclass Mapper: Maps certain Oracle attributes and object classes so they can be managed in Active Directory.
Active Directory Password: Allows storage of database password into Active Directory when database registers with the directory.
EUSActiveDirectory: Converts certain Active Directory attributes, such as GUID, into a format that Enterprise User Security can use.
http://docs.oracle.com/cd/E28271_01/oid.1111/e10046/und_adapters.htm#BABCFDDH
При просмотре через ldap браузер OVD видно что objectGUID BISystemUser: Invalid GUID
соответственно просто необходимо в OVD установить плагин EUS_ActiveDirectory.
P.S так же похожая ошибка может возникать при создании нового провайдера в Weblogic Console но тогда надо просто в Farm пересоздать BISystemUser в кладке Securites->Creditionals Settings (BI подрукой нет но что-то подобное)...
P.P.S В новых версиях OVD кажись плагины поменялись и теперь всем рулит ObjectMapper.
Комментарии
Отправить комментарий