Close popover
Majumdar Anandarup (anand3846)

anand3846 Member since 2009 9 posts
Posted: October 13, 2015
Last activity: October 13, 2015

Is it possible to use weblogic system property during deployment using the commandline utility?

Platform OS: Debian linux

PRPC Version: 6.2 SP2

We have also externalized the prconfig.xml and prlogging.xml using Dpegarules.config and Dpegarules.logging.configuration and in our prlogging.xml we are using ${weblogic.name} system property.


We are using the out of the box prpc commandline utility to do the deployment. However during the deployment after bootstrap the utility is reading from the prlogging.xml and throwing the error shown below as it is unable to find the $(weblogic.name}.


[java] log4j:ERROR setFile(null,true) call failed.

     [java] java.io.FileNotFoundException: /PegaRULES-SERVICES-PAL_.log (Permission denied)

     [java]   at java.io.FileOutputStream.openAppend(Native Method)


How can the weblogic.name variable be passed during ant build? We have tried passing the property   -Dweblogic.name by adding it to $ANT_PROP in prpcUtils.sh:

ANT_PROPS="$ANT_PROPS -Dweblogic.name=devServer"




System Administration Installation and Deployment
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.