Enterprise Archive (EAR) built from Web Studio has discrepancies with EAR built with Studio.

Enterprise Archive (EAR) built from Web Studio has discrepancies with EAR built with Studio.

book

Article ID: KB0093375

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Description:
Issue:

EAR created from BE Studio is runs fine but an EAR created from Web Studio has some issues and Engine is unable to perform Hot deployment.

Here are the error logs:

2014 Aug 13 00:38:13:910 GMT -5 SWAMINRA5.americas.hpqcorp.net Error [HotDeployPoller] - [runtime.session] Hot deployment of C:\BEHOME2Archive\CreditCardApplication.ear failed!!!
java.lang.Exception: Events.ApplicationReceived is modified.  Modification of Event, TimeEvent, or Property is not allowed in hot deploy.
       at com.tibco.cep.runtime.service.loader.BEClassLoader.validate(BEClassLoader.java:171)
       at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.newNameToByteCode(RuleServiceProviderImpl.java:1693)
       at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.notify(RuleServiceProviderImpl.java:1523)
       at com.tibco.cep.repo.hotdeploy.DirectoryDeployer.poll(DirectoryDeployer.java:88)
       at com.tibco.cep.repo.hotdeploy.DirectoryDeployer.run(DirectoryDeployer.java:48)
       at java.lang.Thread.run(Unknown Source)

!STACK 1
java.lang.Exception: java.lang.Exception: Errors occurred when building EAR file. - null
    at com.tibco.cep.studio.cli.studiotools.StudioCommandLineInterpreter.executeCommandLine(Unknown Source)
    at com.tibco.cep.studio.cli.studiotools.StudioCommandLineInterpreter.main(Unknown Source)
    at com.tibco.cep.studio.cli.studiotools.StudioToolsApplication.start(Unknown Source)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)


Symptoms:
Will not be able to perform Hot deployment

Cause:
Issue seen only in BE 5.1.2 GA .

Resolution

EAR built from Web Studio has discrepancy with EAR built with Studio occurs only in BE 5.1.2 version. This issue had been addressed in BE 5.1.3. Recommendation is to upgrade.     

Issue/Introduction

Enterprise Archive (EAR) built from Web Studio has discrepancies with EAR built with Studio.