.jar with source - bad magic number
by Rick Lacy
I'm using version 4.0.4 of the BRMS. I'm running RAD 7.0.0.5 (based on
Eclipse 3.2.2 I believe), which runs Websphere 6.1.x. I've noticed an issue
with uploading the model to the BRMS. It's supposed to be possible to
include resources other than .class files in a .jar; in particular there's
an option to include the corresponding .java source files. The BRMS works
fine for me if I try to upload a .jar with only .class files, but if I try
to upload one with source included, I get the dreaded
java.lang.ClassFormatError: … bad magic number at offset=0 exception. The
model might look like it's uploaded ok, but any attempt to validate header
information or generated DRL source will yield this exception. It's not
that bad to just strip out the source on .jar files I have, but it would be
even nicer if I didn't have to ;)
Thanks!
Rick
16 years, 9 months
Issue with Drools 3.0
by Gauba, Naveen
Hi
We are using Drools 3.0 in our project and facing some issues with the way it works.
We have lets say 3 rules in our drools file with different salience values and LHS (IF criteria). When we run the rules for a fact, the Rules Engine first asserts all the 3 rules irrespective of the salience value. Once the assertion is done the Rules Engine runs the appropriate rule according to salience.
Assuming that we had 10-20 rules in our drools file the Engine would have asserted all of them for all the facts and then executed the appropriate rules. But this whole process would consume a lot of processing time.
Could the Rule Engine take care of the salience feature while Asserting the Rules and stop when evaluation of LHS (IF criteria) for a Rule is TRUE. This way it can save some CPU cycles.
thanks
Naveen Gauba
16 years, 9 months
Ruleflow plugin for Eclipse?
by balaji.srinivasan@ubs.com
Folks,
When I download the latest Drools binaries from
http://labs.jboss.com/drools/downloads.html
I don't see the "RuleFlow File" option when I click
on New and other from my project under Jboss Rules. Am
I doing anything wrong.
thanks for your time in advance,
-Balaji
Visit our website at http://www.ubs.com
This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.
E-mails are not encrypted and cannot be guaranteed to be secure or
error-free as information could be intercepted, corrupted, lost,
destroyed, arrive late or incomplete, or contain viruses. The sender
therefore does not accept liability for any errors or omissions in the
contents of this message which arise as a result of e-mail transmission.
If verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities
or related financial instruments.
16 years, 9 months