Can the default compilation mode be altered for CLASS file generation when using WebStudio?

Can the default compilation mode be altered for CLASS file generation when using WebStudio?

book

Article ID: KB0091565

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Abstract
=========
Can the default compilation mode be altered for CLASS file generation when using WebStudio?

Description:
============

- In TIBCO Business Events 5.1.0 when we used WebStudio to generate deployables at the back end we issued Studio-Tools command with default compilation mode set to “File-System” setting.

- In TIBCO Business Events 5.1.1 the default compilation mode was set to “In Memory” instead of “File-System” but the background Studio-Tools command that we issued stayed the same which resulted in errors because we need to add “-lc” option to the studio-tools” command to make it work when project in question uses “DB Concepts” and that was not possible from WebStudio GUI screen.

- In TIBCO Business Events 5.1.1 HF1 we retained the default “In Memory” compilation mode but fixed the issue involving project using ‘DB Concepts”.

There is a new CDD (Cluster Deployment Descriptor) property added to RMS.CDD file in Business Events 5.1.1 which allows users to switch compilation modes when using Web Studio.

Environment:
===========
Business Events 5.1.0, 5.1.1 and 5.1.1 HotFix 1 along with Decision Manager Add-On

Symptoms:
=========
When using Business Events 5.1.1 and if project in question uses “DB Concepts” default “Generate Deployables” option to “generate classes” fails with Studio-Tools related error message.

Cause:
=====
Default compilation mode in Business Events 5.1.1 is set to “In Memory” and it fails to generate class files when project in question uses “DB Concepts.

Resolution:
==========
If you are running Business Events 5.1.1 version then you can switch the compilation mode via the RMS.cdd property -> “be.codegen.useLegacyCompilation”. Set it to true and you are back to “file system” compilation.  After making the change restart Rules Management Server and log back into WebStudio. This change is not needed if you are using Business Events 5.1.0 or Business Events 5.1.1 HotFix 1.

Issue/Introduction

Can the default compilation mode be altered for CLASS file generation when using WebStudio?