TIBCOSoftware / TIBCOSoftware/be-contribution
LiveScore example - Statistica request could not be completed because: Failed to execute {Analysis#Live}: Access is denied.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 0
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
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.
- Import the attached project in BE Studio.
- Set username/password and request details in startup RF.
- 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.
tibco_statistica_live_score_example_0.pdf
Other notes on how to reproduce the issue?
Please provide log files.
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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Import the attached LiveScore project in BE Studio and review the startup rule function alongside the stack-trace locations StatFunctionsDelegate.java:115 and StatFunctions.java:30. Configure the Statistica credentials and request details, build the EAR, and run the BE engine; done means the startup SOAP request receives the Statistica response instead of failing with access denied.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100