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"