Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes


Accepted answer

Permanent link
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

0 votes

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:
-Dcom.ibm.rational.rpe.enable_commands=true
Save the file to some other location (ex. desktop) and then copy the .ini file to original location. Though you can not edit, you should be able to overwrite them.
This is something to do with Windows.

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Dec 20 '16, 2:20 p.m.

Question was seen: 1,714 times

Last updated: Dec 21 '16, 10:06 p.m.

Confirmation Cancel Confirm