Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tBRMS Scenario documentation

Hi,
Im trying to reproduce the tBRMS scenario as in the documentation, im facing various problem, i work with drools guvnor to produce my rules, we have 5 formats of rules (.dslr, .xls, .gdst, .brl and .drl) in Drools Guvnor based on a Model which can be in .drl or .jar formats.
in the scenario you use a jar file (LoanModel.jar) and select LoanSimulator class, does this class contain the rule ?, in this case how can we put rules in a jar file ?.
I work with Sensis Model which is a package example of drools guvnor, you can get it by clicking on Drools examples here : http://www.jboss.org/drools/downloads
in this example the model is in .jar format, but after i select it, im not able to access to my rules !!
does anyone have an idea ?
Labels (2)
18 Replies
_AnonymousUser
Specialist III
Specialist III

Yes, i'm actually using Talend 4.2.3. it was a mistake.
I installed TAC as the same time i installed Talend Integration Suite and i haven't the TAC installation documentation. Do you know where i can found it ? So, i would be able to know in which files i would have to modify the port, etc.
Thank you,
Yohina.
_AnonymousUser
Specialist III
Specialist III

Hello.
I finaly managed to configure my Drools guvnor webapps by using the TAC configuration.
In the file "<ApplicationPath>/WEB-INF/classes/config.properties" i wrote :
tac.remoteconnectionservlet.url=http://<localhost>:8080/<ApplicationPath>/remoteConnection
I also download the 3 jar files and put theses files in the library:
/usr/share/tomcat6/lib/jsf-impl.jar
/usr/share/tomcat6/lib/jsf-api.jar
/usr/share/tomcat6/lib/jboss-faces.jar
Then i managed to connect in drools Guvnor via the TAC interface.
I import the repository.xml in drools guvnor.
In talend when i launch the Job, i manage to choose the .jar file in my package, and the class.
But i still have the same error in my tLogRow error when the job talend is running:
"java.lang.RuntimeException: java.io.FileNotFoundException: http://localhost:8888/drools-guvnor/org.drools.guvnor.Guvnor/packages/org.talend.bank/LATEST"
So, the values (rejected, reason) are not updated.
Do you know what can be the reason of this error ?
By the way, when i try this URL "http://localhost:8888/drools-guvnor/org.drools.guvnor.Guvnor/packages/org.talend.bank/LATEST" in Firefox, i get an "ERROR 404"
Best regards.
_AnonymousUser
Specialist III
Specialist III

The Job Talend is finaly working.
The error was due to the Gunvor package definition.
it was generated : "/packages/org.talend.bank/LATEST"
but it's only working when it's written without an "S" at the end of "package" like :"/package/org.talend.bank/LATEST"
Do you know where does this error come from ?
sizhaoliu
Contributor III
Contributor III

Hi,
Indeed, this was a bug due to inconsistency between the rule URL in guvnor and its real position in the webdav repository.
It has been fixed since 5.0 but not backported to branch 4.2.
I'm glad you find it.
BTW, there's another related issue in case your browse the jar from a snapshot folder: http://jira.talendforge.org/browse/TDQ-4665
I'll backport the bugfix of these two issues on branch 4.2 ASAP.
Anonymous
Not applicable
Author

Hi I know this is an old thread but would it be possible for anyone to give me a link to the LoanCalculator and LoanSimulator jar files. 0683p000009MACn.png Thanks in advance
sizhaoliu
Contributor III
Contributor III

Here is the link:
https://jira.talendforge.org/secure/attachment/54040/LoanModel.jar
It contains the 2 classes.
Sizhao Liu
Anonymous
Not applicable
Author

Thanks for the quick response. Enjoy your day.
sizhaoliu
Contributor III
Contributor III

Hi DeanWake.
I just created a documentation change request in Jira https://jira.talendforge.org/browse/DOCT-1917
You can refer to the description for the creation of the Jar, and the doc will be enriched in our futur releases.
Sizhao Liu
_AnonymousUser
Specialist III
Specialist III

vaAGVb <a href="">wigpmxeveehp</a>, xeqyrodwiiiu, bcqnhzvdrejg,