Question
Onstar
US
Last activity: 1 Aug 2017 11:21 EDT
Pega on Pivotal Cloud Foundry
Hello
I am trying to deploy prweb.war in the Pivotal Cloud Foundry on Tomcat. I specified the database connection attributes in the prbootstrap.properties but at startup I see this error:
2017-05-10T10:58:33.34-0400 [APP/PROC/WEB/0] OUT [CONTAINER] com.pega.pegarules.internal.bootstrap.PRMiniLoader 19830421 Will load phase 2 bootstrap from Pega-EngineCode:
2017-05-10T10:58:33.34-0400 [APP/PROC/WEB/0] OUT /home/vcap/app/.java-buildpack/tomcat/webapps/ROOT/WEB-INF/lib/boot/prbootphase2.jar (No such file or directory)
2017-05-10T10:58:33.34-0400 [APP/PROC/WEB/0] OUT Perhaps executing with a non-standard classpath (e.g. JUnit tests)?
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT [CONTAINER] com.pega.pegarules.internal.bootstrap.PRBootstrap 19830421
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT ============ PegaRULES Bootstrap Configuration ============
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT Date: Wed May 10 14:58:33 UTC 2017
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT Java Version: Oracle Corporation 1.8.0_111
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT Configuration: file:/home/vcap/app/.java-buildpack/tomcat/webapps/ROOT/WEB-INF/classes/prbootstrap.properties
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT Pega-EngineCode:
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT Unable to locate classes on filesystem
Hello
I am trying to deploy prweb.war in the Pivotal Cloud Foundry on Tomcat. I specified the database connection attributes in the prbootstrap.properties but at startup I see this error:
2017-05-10T10:58:33.34-0400 [APP/PROC/WEB/0] OUT [CONTAINER] com.pega.pegarules.internal.bootstrap.PRMiniLoader 19830421 Will load phase 2 bootstrap from Pega-EngineCode:
2017-05-10T10:58:33.34-0400 [APP/PROC/WEB/0] OUT /home/vcap/app/.java-buildpack/tomcat/webapps/ROOT/WEB-INF/lib/boot/prbootphase2.jar (No such file or directory)
2017-05-10T10:58:33.34-0400 [APP/PROC/WEB/0] OUT Perhaps executing with a non-standard classpath (e.g. JUnit tests)?
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT [CONTAINER] com.pega.pegarules.internal.bootstrap.PRBootstrap 19830421
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT ============ PegaRULES Bootstrap Configuration ============
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT Date: Wed May 10 14:58:33 UTC 2017
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT Java Version: Oracle Corporation 1.8.0_111
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT Configuration: file:/home/vcap/app/.java-buildpack/tomcat/webapps/ROOT/WEB-INF/classes/prbootstrap.properties
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT Pega-EngineCode:
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT Unable to locate classes on filesystem
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] OUT =============== End Bootstrap Configuration ===============
2017-05-10T10:58:33.35-0400 [APP/PROC/WEB/0] ERR Unable to load phase 2 bootstrap class: com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl
I set it up to connect to the existing Pega deployment. I can see that it connects to database, but fails to download prbootstrapphase2.jar.
What configuration am I missing? Any help is appreciated.
Below is how the DB connection attributes are setup in the prbootstrap.properties:
com.pega.pegarules.bootstrap.allclasses.dbcpsource=pcf.oracle
pcf.oracle.url=jdbc:oracle:thin:<XXXXXXX>
pcf.oracle.username=<XXXXXXX>
pcf.oracle.password=<XXXXXXX>
oracle.jdbc.class=oracle.jdbc.OracleDriver
com.pega.pegarules.bootstrap.allclasses.schema=RULES
com.pega.pegarules.bootstrap.datatables.schema=DATA
***Updated by moderator: Lochan to update Categories; add SR details ***
***Updated by moderator: Brendan to replace some details with generic placeholders***