7 Replies Latest reply on Nov 13, 2013 2:55 PM by 1001854

    System property 'primavera.bootstrap.home' not found error while starting P6 application via managed server

    1001854


      Hi All,

      I had installed P6 8.3 with weblogic 10.3.6.

      My Adminserver is running.

      But when i am starting my managed server P6, P6 server is getting started but P6 application is failing to start and giving above error.

      but my p6help web application is showing Active state.

      I added below line in startWeblogic.cmd and setDomainEnv.cmd file but no use.

      set JAVA_OPTIONS=%JAVA_OPTIONS% -Dprimavera.bootstrap.home=C:\P6EPPM_1\p6\

      I tried by redeploying p6 application but still same error.

      Please help.

        • 1. Re: InvalidBootstrapException: System property 'primavera.bootstrap.home' not found
          TheKop88

          Hi ,

          Can you  please try to set the classpath as well
          set CLASSPATH=C:\P6EPPM_1\p6\;%SAVE_CLASSPATH%

           

          Regards

          • 2. Re: InvalidBootstrapException: System property 'primavera.bootstrap.home' not found
            1001854

            Hi,

            I has set the classpath as well same as above.

            If i start managed server manually or using start_primavera.bat,  P6 application is becomeing acive and working.

            But if i start managed server using windows service, Managed server is get started, p6help is also becoming active but only p6 is failing to start.

            If i chek the log it is showing same log below,

             

            [Wed Oct 30 16:08:53 2013] [I] [RunJavaApp] Locating method "public static void main([]String)" in main class

            [Wed Oct 30 16:08:53 2013] [I] [RunJavaApp] Building arguments for main class

            [Wed Oct 30 16:08:53 2013] [I] [RunJavaApp] Invoking main class

            <Oct 30, 2013 4:08:54 PM IST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>

            <Oct 30, 2013 4:08:54 PM IST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>

            <Oct 30, 2013 4:08:54 PM IST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.45-b01 from Sun Microsystems Inc.>

            <Oct 30, 2013 4:08:55 PM IST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 >

            <Oct 30, 2013 4:08:56 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>

            <Oct 30, 2013 4:08:56 PM IST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>

            <Oct 30, 2013 4:08:56 PM IST> <Notice> <Log Management> <BEA-170019> <The server log file C:\Oracle\Middleware\user_projects\domains\Primavera\servers\P6\logs\P6.log is opened. All server side log events will be written to this file.>

            <Oct 30, 2013 4:08:57 PM IST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>

            <Oct 30, 2013 4:08:59 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>

            <Oct 30, 2013 4:08:59 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>

            <Oct 30, 2013 4:09:00 PM IST> <Warning> <HTTP> <BEA-101377> <Filtering class loader configuration ignored for web module p6.war of application p6>

            Oct 30, 2013 4:09:03 PM com.sun.faces.config.ConfigureListener contextInitialized

            INFO: Initializing JavaServer Faces implementation (1_2_07-b03-FCS) for context '/p6'

            - Refreshing com.primavera.bre.SystemApplicationContext@7fc4fe21: display name [com.primavera.bre.SystemApplicationContext@7fc4fe21]; startup date [Wed Oct 30 16:09:05 IST 2013]; root of context hierarchy

            - Loading XML bean definitions from class path resource [/com/primavera/pvweb/servlet/webconf.xml]

            - Bean factory for application context [com.primavera.bre.SystemApplicationContext@7fc4fe21]: org.springframework.beans.factory.support.DefaultListableBeanFactory@35f5e42b

            - Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@35f5e42b: defining beans [metaConfigProvider,settingsManager,adminManager,LogMgr,performanceManager,threadPool,remoteQManager,subSystemInitializer,sqlConnectionPoolManager,registryService,tracer,mailService,configDumpHelper,autoConfigCollectionTask,proxiedUrlOpener,systemFacade,autoStarterService]; root of factory hierarchy

            System property 'primavera.bootstrap.home' not found

            <Oct 30, 2013 4:09:07 PM IST> <Warning> <HTTP> <BEA-101162> <User defined listener com.primavera.pvweb.listeners.PVContextListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registryService' defined in class path resource [/com/primavera/pvweb/servlet/webconf.xml]: Invocation of init method failed; nested exception is com.primavera.common.exceptions.InvalidBootstrapException: System property 'primavera.bootstrap.home' not found.

            org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registryService' defined in class path resource [/com/primavera/pvweb/servlet/webconf.xml]: Invocation of init method failed; nested exception is com.primavera.common.exceptions.InvalidBootstrapException: System property 'primavera.bootstrap.home' not found

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)

            at java.security.AccessController.doPrivileged(Native Method)

            at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)

            Truncated. see log file for complete stacktrace

            Caused By: com.primavera.common.exceptions.InvalidBootstrapException: System property 'primavera.bootstrap.home' not found

            at com.primavera.common.BootstrapHome.get(Unknown Source)

            at com.primavera.infr.admin.MetaCfg.a(Unknown Source)

            at com.primavera.infr.admin.MetaCfg.getMetaJDBCURL(Unknown Source)

            at com.primavera.infr.srvcs.RegistryServiceImpl.init(Unknown Source)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            Truncated. see log file for complete stacktrace

            • 3. Re: InvalidBootstrapException: System property 'primavera.bootstrap.home' not found
              TheKop88

              Hi ,

              can you please post the JAVA_OPTIONS line from your startWeblogic.cmd script .

               

              Error means that P6 can not locate the BREBootStrap.xml file located in the directory specified by the -Dprimavera.bootstrap.home property.


              Please try
              set JAVA_OPTIONS=%JAVA_OPTIONS% -Dprimavera.bootstrap.home=C:\P6EPPM_1\p6


              instead of

              set JAVA_OPTIONS=%JAVA_OPTIONS% -Dprimavera.bootstrap.home=C:\P6EPPM_1\p6\


              i.e remove  '\'


              Thanks



              • 4. Re: InvalidBootstrapException: System property 'primavera.bootstrap.home' not found
                1001854

                Thanks to your reply.

                I tried by changing the JAVA_OPTIONS, as suggested by you:

                set JAVA_OPTIONS=%SAVE_JAVA_OPTIONS% -Dprimavera.bootstrap.home=C:\P6EPPM_1\p6

                set SAVE_JAVA_OPTIONS=

                set CLASSPATH=C:\P6EPPM_1\p6;%SAVE_CLASSPATH%

                set SAVE_CLASSPATH=

                But still i am getting same error as below:

                <Oct 31, 2013 5:23:16 PM IST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'p6'.

                weblogic.application.ModuleException:

                at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)

                at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)

                at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)

                at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

                at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

                Truncated. see log file for complete stacktrace

                Caused By: com.primavera.common.exceptions.InvalidBootstrapException: System property 'primavera.bootstrap.home' not found

                at com.primavera.common.BootstrapHome.get(Unknown Source)

                at com.primavera.infr.admin.MetaCfg.a(Unknown Source)

                at com.primavera.infr.admin.MetaCfg.getMetaJDBCURL(Unknown Source)

                at com.primavera.infr.srvcs.RegistryServiceImpl.init(Unknown Source)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                Please help.

                • 5. Re: InvalidBootstrapException: System property 'primavera.bootstrap.home' not found
                  1025398

                  Error might be occurring as you didnt specify the primavera.bootstrap.home file location with Double quote symbols for C:\P6EPPM_1\p6.


                  set JAVA_OPTIONS=%JAVA_OPTIONS% -Dprimavera.bootstrap.home="C:\P6EPPM_1\p6"



                  Regards






                  • 6. Re: InvalidBootstrapException: System property 'primavera.bootstrap.home' not found
                    1001854

                    I tried by double quote as well , set JAVA_OPTIONS=%JAVA_OPTIONS% -Dprimavera.bootstrap.home="C:\P6EPPM_1\p6"
                    But no use still same issue.

                    As i told before, I am facing this issue only when i am trying to start managed server using Windows Service.

                    if i start it manually from admin console or using start_Primavera.bat script  ...P6 is working perfectly fine.

                    Do i need to do any specific setting in installSVC.cmd file?

                    because i had created windows service using that file.

                     

                     



                    • 7. Re: InvalidBootstrapException: System property 'primavera.bootstrap.home' not found
                      1001854

                      Hi All,

                      Is tany update on this.

                      I am still facing this issue.

                      your help will be greately appreciated.