Error message related to java run time object when RPE document generator try to download attachment file from RQM
Hi Guys,
I get error message when document generation tries to download the attachment file from RQM with username and passowrd by running Cscript from within java script . "TypeError: Cannot call property getRuntime in object [JavaPackage java.lang.Runtime]. It is not a function, it is "object"." I really appreciate your help regarding this.
|
Accepted answer
The execution of commands is disabled by default in RPE 1.3 and later versions. Please enable command execution by setting the com.ibm.rational.rpe.enable_commands property to true in %rpe_home%\studio\rpe-studio.ini and %rpe_home%\launcher\rpe-launcher.ini and you should not see this error.
ataul gani selected this answer as the correct answer
Comments Hi Prasad,
Thanks a lot for your reply. This is my studio and launcher ini file configuration below
-vm
..\jre\bin
--launcher.library
C:\Program Files\IBM\Rational\Publishing Engine_1\studio
-vmargs
-Xms56m
-Xmx1024m
-Dfile.encoding=UTF-8
-Dcom.ibm.rational.rpe.console.limit=100000
-Dcom.ibm.rational.rpews.url
-Dosgi.configuration.area=@user.home/Application Data/IBM/Rational/RPE_20160518_1200/Studio/configuration/
-Dosgi.instance.area=@user.home/Application Data/IBM/Rational/RPE_20160518_1200/Studio/workspace/
-Dcom.ibm.rational.rpe.disableDefaultAuthenticator=false
-DRPE_HOME=C:\Program Files\IBM\Rational\Publishing Engine_1
and even i try to change any thing there and save, i get "Access is denied". i really appreciate your help regarding this.
Close RPE (studio / Launcher), modify .ini files by adding the following line:
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.