7 Replies Latest reply: Feb 28, 2013 6:31 PM by 936582 RSS

    Issue - BI content server(11.1.1.1) not starting in obiee 11g:

    923598
      Hello All,

      BI content server(11.1.1.1) is not starting in obiee 11g after making OBIEE 11g services as windows service.
      Services are starting when we do a Start BI Services from All Programs >> OBIEE. On the contrary, when we start from windows service "bi content server(11.1.1.1) not starting in obiee 11g" is not starting.

      Can someone help me on this. In case if you need any more info, please let me know.

      Thank you,
      Bimal
        • 1. Re: Issue - BI content server(11.1.1.1) not starting in obiee 11g:
          J.A.M
          I am having the same issue. I use the script I used for 11.1.1.5 on Windows 64-bit, but apparently does not work the same for 11.1.1.6 on Win 64-bit
          • 2. Re: Issue - BI content server(11.1.1.1) not starting in obiee 11g:
            J.A.M
            I have resolved this issue in the scripts. If you need the scripts let me know and can email them to you.
            • 3. Re: Issue - BI content server(11.1.1.1) not starting in obiee 11g:
              Wreckless
              Hello,

              The issue you described correspondes with problems we encounter with the installation of OBIEE as a service. (OBIEE 11.1.6)
              If possible could you sent me the scripts you mentioned?

              Thanks,
              ErikM
              • 4. Re: Issue - BI content server(11.1.1.1) not starting in obiee 11g:
                René.Sluiter
                perhaps it's easier to share the specific change in script in this topic? I got the same problem so would be nice to see how this can be fixed.
                • 5. Re: Issue - BI content server(11.1.1.1) not starting in obiee 11g:
                  J.A.M
                  Below is the BI Script I used. Everything is in this script so no need to edit the installsvc file. Just edit the location/variables used as well as at the bottom change the name of the script and the log location. The BI_ORACLE_HOME variable needs to be set in the script.

                  SETLOCAL

                  set DOMAIN_NAME=bifoundation_domain
                  set USERDOMAIN_HOME=D:\oracle\Middleware\user_projects\domains\bifoundation_domain
                  set SERVER_NAME=bi_server1
                  set PRODUCTION_MODE=true
                  set ADMIN_URL=http://djaxwapp9608.common.ecamericas:7001
                  set JAVA_HOME=D:\Oracle\Middleware\Oracle_BI1\jdk
                  set DOMAIN_HOME=D:\oracle\Middleware\user_projects\domains\bifoundation_domain
                  set WLS_HOME=D:\Oracle\Middleware\wlserver_10.3
                  set INSTANCE_HOME=D:\oracle\Middleware\instances\instance1
                  set BI_ORACLE_HOME=D:\oracle\Middleware\Oracle_BI1
                  set ANT_HOME=%MW_HOME\modules\org.apache.ant_1.7.1
                  set DOMAIN_NAME=bifoundation_domain


                  Call "D:\Oracle\Middleware\user_projects\domains\bifoundation_domain\bin\setDomainEnv.cmd"


                  set WL_HOME=D:\Oracle\Middleware\wlserver_10.3
                  call "%WL_HOME%\common\bin\commEnv.cmd"

                  @rem Check that the WebLogic classes are where we expect them to be
                  :checkWLS
                  if exist "%WL_HOME%\server\lib\weblogic.jar" goto checkJava
                  echo The WebLogic Server wasn't found in directory %WL_HOME%\server.
                  echo Please edit your script so that the WL_HOME variable points
                  echo to the WebLogic installation directory.
                  goto finish

                  @rem Check that java is where we expect it to be
                  :checkJava
                  if exist "%JAVA_HOME%\bin\java.exe" goto runWebLogic
                  echo The JDK wasn't found in directory %JAVA_HOME%.
                  echo Please edit your script so that the JAVA_HOME variable
                  echo points to the location of your JDK.
                  goto finish

                  :runWebLogic

                  if not "%JAVA_VM%" == "" goto noResetJavaVM
                  if "%JAVA_VENDOR%" == "BEA" set JAVA_VM=-jrocket
                  if "%JAVA_VENDOR%" == "HP" set JAVA_VM=-server
                  if "%JAVA_VENDOR%" == "Sun" set JAVA_VM=-server

                  :noResetJavaVM
                  if not "%MEM_ARGS%" == "" goto noResetMemArgs
                  set MEM_ARGS=-Xms32m -Xmx200m

                  :noResetMemArgs

                  @echo on

                  set CLASSPATH=%WEBLOGIC_CLASSPATH%;%CLASSPATH%

                  @echo ***************************************************
                  @echo * To start WebLogic Server, use the password *
                  @echo * assigned to the system user. The system *
                  @echo * username and password must also be used to *
                  @echo * access the WebLogic Server console from a web *
                  @echo * browser. *
                  @echo ***************************************************

                  rem *** Set Command Line for service to execute within created JVM

                  @echo off

                  set MEM_ARGS=-Xms256m -Xmx512m -XX:MaxPermSize=512m -XX:-UseSSE42Intrinsics

                  if "%ADMIN_URL%" == "" goto runAdmin
                  @echo on
                  set CMDLINE="%JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -classpath \"%CLASSPATH%\" -Dweblogic.Name=%SERVER_NAME% -Dweblogic.management.username=%WLS_USER% -Dweblogic.management.server=\"%ADMIN_URL%\" -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy=\"%WL_HOME%\server\lib\weblogic.policy\" weblogic.Server"
                  goto finish

                  :runAdmin
                  @echo on
                  set CMDLINE="%JAVA_VM% %MEM_ARGS% %JAVA_OPTIONS% -classpath \"%CLASSPATH%\" -Dweblogic.Name=%SERVER_NAME% -Dweblogic.management.username=%WLS_USER% -Dweblogic.ProductionModeEnabled=%PRODUCTION_MODE% -Djava.security.policy=\"%WL_HOME%\server\lib\weblogic.policy\" weblogic.Server"

                  :finish
                  rem *** Set up extrapath for win32 and win64 platform separately
                  if "%WL_USE_X86DLL%" == "true" set EXTRAPATH=%WL_HOME%\server\native\win\32;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\32\oci920_8

                  if "%WL_USE_IA64DLL%" == "true" set EXTRAPATH=%WL_HOME%\server\native\win\64\;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\64\oci920_8

                  if "%WL_USE_AMD64DLL%" == "true" set EXTRAPATH=%WL_HOME%\server\native\win\x64\;%WL_HOME%\server\bin;%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin;%WL_HOME%\server\native\win\x64\oci920_8

                  rem *** Install the service
                  "%WL_HOME%\server\bin\beasvc" -install -svcname:"3.Oracle BI 11g BI Server" -javahome:"%JAVA_HOME%" -execdir:"%USERDOMAIN_HOME%" -maxconnectretries:"%MAX_CONNECT_RETRIES%" -host:"%HOST%" -port:"%PORT%" -extrapath:"%EXTRAPATH%" -password:"%WLS_PW%" -cmdline:%CMDLINE% -log:"D:\Oracle\Middleware\ServiceStartLogs\BIServer-stdout.txt"

                  ENDLOCAL

                  Edited by: J.A.M on Mar 31, 2012 8:51 AM
                  • 6. Re: Issue - BI content server(11.1.1.1) not starting in obiee 11g:
                    fblettner
                    You have to define a new environment variable in Windows
                    BI_ORACLE_HOME=<path_to_middleware>\ORACLE_BI1

                    Regards

                    Franck
                    • 7. Re: Issue - BI content server(11.1.1.1) not starting in obiee 11g:
                      936582
                      Adding BI_ORACLE_HOME environment variable in Windows resolved issue for me. Thank you Franck