Hello.
I'm loading a lot of rules during starting of JBoss. Loading of rules is
made by such scenario:
1) Read first part of rules from database (about 4000 rules)
2) Send rules to Drools bean
3) Parse rules (convert string rules into Drools format) by
KnowledgeBuilder - one package (pkg1) with all rules
4) Add rules into KnowledgeBase
5) Read second part of rules from database (about 4000)
6) Send rules to Drools bean
7) Parse rules (convert string rules into Drools format) by
KnowledgeBuilder - one package (pkg1 - the same ad in point 3)) with all
rules
8)Add rules into KnowledgeBase
and during second add operation JVM turns off, and generates file:
hs_err_pid<number>.log with this log:
C2:101% !
org.drools.lang.DRLParser.rhs_chunk_data()Lorg/drools/lang/DRLParser$rhs_chunk_data_return;
@ 169 (723 bytes)
What is the reason of this behaviour? Is it possible to add rules to
existing packaged - 8) point from scenario? Maybe someone had similar
problem?
I'm using:
1) Drools 5.1.0
2) JBoss 4.2.3
Regards,
Piotr
Show replies by date