OBIEE BI Services Fail From The Windows Start Menu

Failure to start BI Services from the Windows Start Menu.

The most likely reason is that OBIEE was installed under one windows account and you are attempting to start it under a different account.  This is, for some reason unknown to me, the default behaviour for the OBIEE installation.  Other windows users wanting to start OBIEE have to be both added and given permission to run installer.

Going to AdminServer.log shows exceptions pointing to this cause:

####<DATESTAMP> <Error> <Security> <SERVERNAME> <AdminServer>
<[ACTIVE] ExecuteThread: ‘0’ for queue: ‘weblogic.kernel.Default (self-tuning)’>
<<WLS Kernel>> <> <> <1331156491671> <BEA-090892>
<The loading of OPSS java security policy provider failed due to
exception, see the exception stack trace or the server log file
for root cause. If still see no obvious cause, enable the debug
flag -Djava.security.debug=jpspolicy to get more information.
Error message: JPS-06514: Opening of file based keystore failed.>####<DATESTAMP> <Critical> <WebLogicServer> <SERVERNAME> <AdminServer>
<main> <<WLS Kernel>> <> <> <1331156491671> <BEA-000386>
<Server subsystem failed. Reason: weblogic.security.SecurityInitializationException:
The loading of OPSS java security policy provider failed due to exception,
see the exception stack trace or the server log file for root cause.
If still see no obvious cause, enable the debug flag -Djava.security.debug=jpspolicy
to get more information. Error message: JPS-06514: Opening of file based keystore failed.
weblogic.security.SecurityInitializationException: The loading of OPSS java
security policy provider failed due to exception, see the exception stack trace
or the server log file for root cause. If still see no obvious cause, enable the
debug flag -Djava.security.debug=jpspolicy to get more information.
Error message: JPS-06514: Opening of file based keystore failed.
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.
loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1398)
at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.
initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
at weblogic.security.service.SecurityServiceManager.initialize

(SecurityServiceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: oracle.security.jps.JpsRuntimeException: JPS-06514:
Opening of file based keystore failed.
at oracle.security.jps.internal.policystore.PolicyDelegationController.
<init>(PolicyDelegationController.java:167)
at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>
(JavaPolicyProvider.java:369)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance
(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
(DelegatingConstructorAccessorImpl.java:27)

weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.
initialize(CommonSecurityServiceManagerDelegateImpl.java:1018)
at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
at weblogic.security.SecurityService.start(SecurityService.java:141)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)>

####<DATESTAMP> <Notice> <WebLogicServer> <SERVERNAME> <AdminServer> <main>
<<WLS Kernel>> <> <> <1331156491702> <BEA-000365> <Server state changed to FAILED>
####<DATESTAMP> <Error> <WebLogicServer> <SERVERNAME> <AdminServer> <main>
<<WLS Kernel>> <> <> <1331156491702> <BEA-000383> <A critical service failed. The server will shut itself down>
####<DATESTAMP> <Notice> <WebLogicServer> <SERVERNAME> <AdminServer> <main>
<<WLS Kernel>> <> <> <1331156491702> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
####<DATESTAMP> <Info> <WebLogicServer> <SERVERNAME> <AdminServer> <main>
<<WLS Kernel>> <> <> <1331156491717> <BEA-000236> <Stopping execute threads.>

 

This error indicates that the user attempting to start BI Services does not have the necessary permissions to do so.

To allow your user to start OBIEE, do the following:

1. In Windows, go to _OBIEE_\user_projects\domains\bifoundation_domain\config\fmwconfig\bootstrap
2. Look for and right-click ‘cwallet.sso’.  Select Properties.
3. On the security tab’s top section, choose to Add your user.
4. From the security tab’s bottom section, select Allow Full Control for your user to give user all permissions.
5. Log off and back into server.

You should be able to start the OBIEE server now.  It would be much nicer to have the OBIEE server start as a service under windows.  Now that would make for an interesting post!

Advertisements

6 thoughts on “OBIEE BI Services Fail From The Windows Start Menu

  1. Pingback: Auto Start OBIEE With Windows « Mario Talavera Writes

  2. Your instructions hit the nail on the head. It worked exactly as described in my Windows 7×64 sandbox.

    Thanks.

      • Hello

        I tried the same .. Bust still I am getting that Error.

        Here are my messages:

        SVR_GRP =
        .
        .
        JAVA Memory arguments: -Xms256m -Xmx1024m
        .
        WLS Start Mode=Production
        .
        CLASSPATH=C:\BI11G\ORACLE~1\modules\oracle.jdbc_11.1.1\ojdbc6dms.jar;C:\BI11G\Oracle_BI1\bifoundation\jdbc\jdk16\bijdbc.jar;;C:\BI11G\patch_wls1035\profiles\default\sys_manifest_classpath\weblogic_pat
        ch.jar;C:\BI11G\JROCKI~1.2-4\lib\tools.jar;C:\BI11G\WLSERV~1.3\server\lib\weblogic_sp.jar;C:\BI11G\WLSERV~1.3\server\lib\weblogic.jar;C:\BI11G\modules\features\weblogic.server.modules_10.3.5.0.jar;C:\
        BI11G\WLSERV~1.3\server\lib\webservices.jar;C:\BI11G\modules\ORGAPA~1.1/lib/ant-all.jar;C:\BI11G\modules\NETSFA~1.0_1/lib/ant-contrib.jar;C:\BI11G\wlserver_10.3\server\lib\weblogic.jar;C:\BI11G\oracle
        _common\modules\oracle.dms_11.1.1\dms.jar;C:\BI11G\oracle_common\modules\oracle.jmx_11.1.1\jmxframework.jar;C:\BI11G\oracle_common\modules\oracle.jmx_11.1.1\jmxspi.jar;C:\BI11G\oracle_common\modules\o
        racle.odl_11.1.1\ojdl.jar;C:\BI11G\ORACLE~1\soa\modules\commons-cli-1.1.jar;C:\BI11G\ORACLE~1\soa\modules\oracle.soa.mgmt_11.1.1\soa-infra-mgmt.jar;C:\BI11G\ORACLE~1\modules\oracle.jrf_11.1.1\jrf.jar;
        C:\BI11G\WLSERV~1.3\common\derby\lib\derbyclient.jar;C:\BI11G\WLSERV~1.3\server\lib\xqrl.jar
        .
        PATH=C:\BI11G\patch_wls1035\profiles\default\native;C:\BI11G\WLSERV~1.3\server\native\win\32;C:\BI11G\WLSERV~1.3\server\bin;C:\BI11G\modules\ORGAPA~1.1\bin;C:\BI11G\JROCKI~1.2-4\jre\bin;C:\BI11G\JROCK
        I~1.2-4\bin;C:\oraclexe\app\oracle\product\11.2.0\server\bin;;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\BI11G\Oracle_BI1\products\Essbase\E
        ssbaseServer\bin;C:\BI11G\Oracle_BI1\bin;C:\BI11G\Oracle_BI1\opmn\bin;C:\BI11G\Oracle_BI1\opmn\lib;C:\BI11G\Oracle_BI1\perl\bin;C:\BI11G\WLSERV~1.3\server\native\win\32\oci920_8
        .
        ***************************************************
        * To start WebLogic Server, use a username and *
        * password assigned to an admin-level user. For *
        * server administration, use the WebLogic Server *
        * console at http:\\hostname:port\console *
        ***************************************************
        starting weblogic with Java version:
        java version “1.6.0_24”
        Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
        Oracle JRockit(R) (build R28.1.3-11-141760-1.6.0_24-20110301-1429-windows-ia32, compiled mode)
        Starting WLS with line:
        C:\BI11G\JROCKI~1.2-4\bin\java -jrockit -Xms256m -Xmx1024m -Dweblogic.Name=AdminServer -Djava.security.policy=C:\BI11G\WLSERV~1.3\server\lib\weblogic.policy -Dweblogic.ProductionModeEnabled=true -D
        oracle.home=C:\BI11G\Oracle_BI1 -da -Dplatform.home=C:\BI11G\WLSERV~1.3 -Dwls.home=C:\BI11G\WLSERV~1.3\server -Dweblogic.home=C:\BI11G\WLSERV~1.3\server -Dcommon.components.home=C:\BI11G\ORACLE~1 -D
        jrf.version=11.1.1 -Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.Jdk14Logger -Ddomain.home=C:\BI11G\USER_P~1\domains\BIFOUN~1 -Djrockit.optfile=C:\BI11G\ORACLE~1\modules\oracle.jrf_
        11.1.1\jrocket_optfile.txt -Doracle.server.config.dir=C:\BI11G\USER_P~1\domains\BIFOUN~1\config\FMWCON~1\servers\AdminServer -Doracle.domain.config.dir=C:\BI11G\USER_P~1\domains\BIFOUN~1\config\FMWCON
        ~1 -Digf.arisidbeans.carmlloc=C:\BI11G\USER_P~1\domains\BIFOUN~1\config\FMWCON~1\carml -Digf.arisidstack.home=C:\BI11G\USER_P~1\domains\BIFOUN~1\config\FMWCON~1\arisidprovider -Doracle.security.jps.
        config=C:\BI11G\USER_P~1\domains\BIFOUN~1\config\fmwconfig\jps-config.xml -Doracle.deployed.app.dir=C:\BI11G\USER_P~1\domains\BIFOUN~1\servers\AdminServer\tmp\_WL_user -Doracle.deployed.app.ext=\- -Dw
        eblogic.alternateTypesDirectory=C:\BI11G\ORACLE~1\modules\oracle.ossoiap_11.1.1,C:\BI11G\ORACLE~1\modules\oracle.oamprovider_11.1.1 -Djava.protocol.handler.pkgs=oracle.mds.net.protocol -Dweblogic.jdb
        c.remoteEnabled=false -Dbi.oracle.home=C:\BI11G\Oracle_BI1 -DEPM_ORACLE_HOME=C:\BI11G\Oracle_BI1 -Dweblogic.MaxMessageSize=50000000 -DEPM_ORACLE_HOME=C:\BI11G\Oracle_BI1 -DHYPERION_HOME=C:\BI11G\Oracl
        e_BI1 -DEPM_ORACLE_INSTANCE=novalue -Dhyperion.home=C:\BI11G\Oracle_BI1 -DEPM_REG_PROPERTIES_PATH=C:\BI11G\USER_P~1\domains\BIFOUN~1\config\fmwconfig -Depm.useApplicationContextId=false -Doracle.biee.
        search.bisearchproperties=C:\BI11G\Oracle_BI1\bifoundation\jee\BISearchConfig.properties -Dweblogic.management.clearTextCredentialAccessEnabled=true -Doracle.notification.filewatching.interval=2000 -D
        weblogic.security.SSL.ignoreHostnameVerification=true -Dweblogic.security.SSL.enableJSSE=true -Dfile.encoding=utf-8 -Doracle.ecsf.security.service=oracle.biee.search.security.BISearchSecurityService –
        Doracle.ecsf.configuration.class=oracle.biee.search.services.BISearchServiceConfiguration -Dxdo.server.config.dir=C:\BI11G\user_projects\domains\bifoundation_domain\config\bipublisher -DXDO_FONT_DIR=C
        :\BI11G\Oracle_BI1\common\fonts -Drtd.instanceName=RTD_AdminServer -Dem.oracle.home=C:\BI11G\oracle_common -Djava.awt.headless=true -Dweblogic.management.discover=true -Dwlw.iterativeDev=false -Dwlw
        .testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=C:\BI11G\patch_wls1035\profiles\default\sysext_manifest_classpath weblogic.Server
        [WARN ] Use of -Djrockit.optfile is deprecated and discouraged.

        C:\BI11G>

      • Hello Ravi. I am sorry you couldn’t get this to work. I do not see the complete log and cannot see anything out of the ordinary in what I can see. Search for errors or exceptions both in OBIEE, Weblogic and for Windows process. In my experience, there is always 100 ways to do this wrong and one correct one. I’ve done a lot of the wrong ones and they are all a step away form the correct one. Very confusing. Logs leads the way; good luck.

  3. Pingback: Fix Mgmt.jar Errors - Windows XP, Vista, 7 & 8

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s