How to specify a different java.extended.properties at runtime via the command line.

How to specify a different java.extended.properties at runtime via the command line.

book

Article ID: KB0086047

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:

How to specify a different java.extended.properties at runtime via the command line.

Issue/Introduction

How to specify a different java.extended.properties at runtime via the command line.

Resolution

1). Edit the be-engine.tra file and add the following:
+++++++
java.extended.properties=%myextendedprops%
+++++++

2). Start the be-engine with the following command:
+++++++++
be-engine.exe --debug --propVar myextendedprops="-server -Xms1024m -Xmx1024m -javaagent:C:/BE513/be/5.1/lib/cep-base.jar -XX:MaxPermSize=256m -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -Xloggc:C:/temp/ear/GC1.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps" -c C:\BE513_workspace\FraudDetection\fd.cdd -u default C:/temp/ear/fd.ear
+++++++++

Check the debug logs to see this new value of extended property being picked up (check if C:/temp/ear/GC1.log file got created).

Additional Information

Document reference: https://docs.tibco.com/pub/adapter_sdk/5.8.0-november-2011/doc/adsdk/html/tib_ad_sdk_programmers/wwhelp/wwhimpl/common/html/wwhelp.htm#context=tib_ad_sdk_programmers&file=pg.5.075.htm