Skip to content

LiveScore example - Statistica request could not be completed because: Failed to execute {Analysis#Live}: Access is denied. #145

Description

@tsaxena18

Version Information

Software Version(s)
BusinessEvents 6.4.0
OS Type? Win
OS Version? Win 11 pro

What is the expected behavior?

The BE engine should get the response from the Statistica for the SOAP request sent at startup.

What is the actual behavior?

java.lang.RuntimeException: Error while making SOAP request to server because: Statistica Request failed because: Failed to execute {Analysis#Live}: Access is denied. at com.tibco.cep.analytics.statistica.io.StatFunctionsDelegate.getScoreWithParams(StatFunctionsDelegate.java:115) at com.tibco.cep.analytics.statistica.io.StatFunctions.getScorewithParams(StatFunctions.java:30) at be.gen.RuleFunctions.nullStatStartupRuleFunction$.StatStartupRuleFunction(nullStatStartupRuleFunction$.java:41) at be.gen.RuleFunctions.StatStartupRuleFunction.invoke(StatStartupRuleFunction.java:11) at com.tibco.cep.runtime.session.impl.RuleFunctionsExecAction.executeComponent(SourceFile:65) at com.tibco.cep.kernel.core.rete.ReteWM$2.doTxnWork(SourceFile:549) at com.tibco.cep.kernel.core.rete.BeTransaction.run(SourceFile:156) at com.tibco.cep.kernel.core.rete.BeTransaction.execute(SourceFile:101) at com.tibco.cep.kernel.core.rete.ReteWM.invoke(SourceFile:599) at com.tibco.cep.kernel.core.rete.ReteWM.start(SourceFile:230) at com.tibco.cep.runtime.session.impl.RuleSessionImpl.start(SourceFile:396) at com.tibco.cep.runtime.session.impl.RuleSessionManagerImpl.start(SourceFile:251) at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.startAll(SourceFile:1294) at com.tibco.cep.runtime.session.impl.RuleServiceProviderImpl.configure(SourceFile:287) at com.tibco.cep.container.standalone.BEMain.jumpStart(SourceFile:178) at com.tibco.cep.container.standalone.BEMain.main(SourceFile:73)

Please provide a unit test that demonstrates the bug.

  1. Import the attached project in BE Studio.
  2. Set username/password and request details in startup RF.
  3. Build EAR and run BE engine. The engine executes the startup RF which send a SOAP request but it fail.
    I have setup Statistica with Live Score server and used this attached doc for creating the prediction model using workspace method. The setup is done on local box where BE engine is running.
Image

tibco_statistica_live_score_example_0.pdf

Other notes on how to reproduce the issue?

Please provide log files.

livescore-640v48.log

LiveScore.zip

Any possible solutions?

Can you identify the location in the source code where the problem exists?

If the bug is confirmed, would you be willing to submit a PR?

Yes / No (Help can be provided if you need assistance submitting a PR)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions