[JBoss JIRA] (DROOLS-2992) Can't compile the kie module which has guided scorecard
by Edson Tirelli (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2992?page=com.atlassian.jira.plugi... ]
Edson Tirelli updated DROOLS-2992:
----------------------------------
Priority: Major (was: Blocker)
> Can't compile the kie module which has guided scorecard
> -------------------------------------------------------
>
> Key: DROOLS-2992
> URL: https://issues.jboss.org/browse/DROOLS-2992
> Project: Drools
> Issue Type: Bug
> Components: Guided Score Card Editor
> Affects Versions: 7.11.0.Final
> Environment: All in one jbpm server 7.11 Final
> Mac Oracle jdk 1.8
> Maven 3.5.3
> Reporter: yi gong
> Assignee: Lance Leverich
> Attachments: sandbox1.zip
>
>
> Can't compile the kie module which has guided scorecard by maven plugin
> There are a lot of error
> [ERROR] Message [id=1, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=447, column=0
> [ERROR] text=New declaration of org.kie.pmml.pmml_4_2.model.scorecard.Score redeclared field value :
> [ERROR] existing : java.lang.Double vs declared : double]
> [ERROR] Message [id=2, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=447, column=0
> [ERROR] text=New declaration of org.kie.pmml.pmml_4_2.model.scorecard.Score does not include field scoreCard]
> [ERROR] Message [id=3, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=447, column=0
> [ERROR] text=New declaration of org.kie.pmml.pmml_4_2.model.scorecard.Score can't declare a different set of fields
> [ERROR] existing : [scoreCard, value]
> [ERROR] declared : [displayValue, tgtValue, value, weight]
> [ERROR] diff : [--scoreCard, ++displayValue, ++tgtValue, ++weight]]
> [ERROR] Message [id=4, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=92, column=0
> [ERROR] text=Unable to process type DataField]
> [ERROR] Message [id=5, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1020, column=0
> [ERROR] text=Unable to process type ScardOutput]
> [ERROR] Message [id=6, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=104, column=0
> [ERROR] text=Unable to process type OutputField]
> [ERROR] Message [id=7, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=132, column=0
> [ERROR] text=Unable to process type Scorecard__calculatedScore]
> [ERROR] Message [id=8, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=196, column=0
> [ERROR] text=Unable to process type Age]
> [ERROR] Message [id=9, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=89, column=0
> [ERROR] text=Unable to process type PMML4AbstractField]
> [ERROR] Message [id=10, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=447, column=0
> [ERROR] text=Unable to process type Score]
> [ERROR] Message [id=11, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=814, column=0
> [ERROR] text=Unable to process type Scard]
> [ERROR] Message [id=12, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=580, column=0
> [ERROR] text=Unable to Analyse Expression context == ctx:
> [ERROR] [Error: unable to resolve method using strict-mode: org.kie.pmml.pmml_4_2.model.scorecard.Score.context()]
> [ERROR] [Near : {... context == ctx ....}]
> [ERROR] ^
> [ERROR] [Line: 580, Column: 4]]
> [ERROR] Message [id=13, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=677, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=14, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=288, column=0
> [ERROR] text=Unable to resolve ObjectType 'DataField']
> [ERROR] Message [id=15, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=864, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=16, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=865, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scard']
> [ERROR] Message [id=17, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=-1, column=0
> [ERROR] text=Unable to Analyse Expression boundInput == $x:
> [ERROR] [Error: unable to resolve method using strict-mode: org.kie.pmml.pmml_4_2.ModelMarker.$x()]
> [ERROR] [Near : {... boundInput == $x ....}]
> [ERROR] ^]
> [ERROR] Message [id=18, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1052, column=0
> [ERROR] text=Unable to resolve ObjectType 'ScardOutput']
> [ERROR] Message [id=19, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=832, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scard']
> [ERROR] Message [id=20, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=694, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=21, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=695, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=22, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=521, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=23, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=849, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scard']
> [ERROR] Message [id=24, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=742, column=0
> [ERROR] text=Unable to resolve ObjectType 'Age']
> [ERROR] Message [id=25, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=743, column=0
> [ERROR] text=Unable to Analyse Expression (mAge == true && mAge != $m) || vAge != $v:
> [ERROR] [Error: unable to resolve method using strict-mode: org.kie.pmml.pmml_4_2.model.ScardScoreCardData.$m()]
> [ERROR] [Near : {... (mAge == true && mAge != $m) || vAge != $v ....}]
> [ERROR] ^
> [ERROR] [Line: 743, Column: 4]]
> [ERROR] Message [id=26, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1045, column=0
> [ERROR] text=Rule Compilation error $x cannot be resolved to a variable
> [ERROR] The method setScore(Double) is undefined for the type Object]
> [ERROR] Message [id=27, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=513, column=0
> [ERROR] text=Rule Compilation error $val cannot be resolved to a variable
> [ERROR] $m cannot be resolved to a variable
> [ERROR] $v cannot be resolved to a variable
> [ERROR] The method setName(String) is undefined for the type Score
> [ERROR] $ctx cannot be resolved to a variable
> [ERROR] $wgt cannot be resolved to a variable]
> [ERROR] Message [id=28, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1030, column=0
> [ERROR] text=Rule Compilation error ScardOutput cannot be resolved to a type]
> [ERROR] Message [id=29, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=843, column=0
> [ERROR] text=Rule Compilation error $obj cannot be resolved to a variable]
> [ERROR] Message [id=30, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=686, column=0
> [ERROR] text=Rule Compilation error $tgt cannot be resolved to a variable]
> [ERROR] Message [id=31, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=670, column=0
> [ERROR] text=Rule Compilation error $tgt cannot be resolved to a variable]
> [ERROR] Message [id=32, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=826, column=0
> [ERROR] text=Rule Compilation error _age cannot be resolved to a variable]
> [ERROR] Message [id=33, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=653, column=0
> [ERROR] text=Rule Compilation error Scorecard__calculatedScore cannot be resolved to a type
> [ERROR] Scorecard__calculatedScore cannot be resolved to a type]
> [ERROR] Message [id=34, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=284, column=0
> [ERROR] text=Rule Compilation error $data cannot be resolved to a variable]
> [ERROR] Message [id=35, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=736, column=0
> [ERROR] text=Rule Compilation error $m cannot be resolved to a variable
> [ERROR] $v cannot be resolved to a variable]
> [ERROR] Message [id=36, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=858, column=0
> [ERROR] text=Rule Compilation error $x cannot be resolved to a variable
> [ERROR] $val cannot be resolved to a variable]
> [ERROR] ---
> [ERROR] Warning Messages:
> [ERROR] Message [id=37, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=653, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Scorecard Scard output - Scorecard__calculatedScore. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=38, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=772, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Init ScoreCard Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=39, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=670, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Add PMMLResult with Scorecard output Scard - Scorecard__calculatedScore. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=40, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=790, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Scoring Complete. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=41, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=980, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Init ScoreCard Params Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=42, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=225, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Valid_PMML4DataUnrestricted_Values_Age-null. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=43, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=626, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule RemoveMissing_PMML4Data_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=44, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=610, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule InitAsMissing_PMML4Data_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=45, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=161, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Valid_PMML4DataUnrestricted_Values_Scorecard__calculatedScore-null. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=46, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=954, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule PartialScore_Scard_age_14. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=47, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=858, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Link Scard Predicted Fields scorecard__calculatedScore . Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=48, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=927, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule PartialScore_Scard_age_13. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=49, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=900, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule PartialScore_Scard_age_12. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=50, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1045, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Link Scard Output Fields score . Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=51, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=826, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Link Scard Bean Input. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=52, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=686, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Update PMMLResult containing Scorecard output Scard - Scorecard__calculatedScore. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=53, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1030, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Create Scard Output Bean. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=54, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=513, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule simpleOutput_Scorecard__calculatedScore_to_Score. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=55, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=596, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule miningPmml4Data_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=56, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=538, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Update PMML4Result with aliased output Score. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=57, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=719, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Bind_Scorecard_PMML4Data_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=58, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=843, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Own Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=59, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=360, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Sort Scorecard Reason Codes. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=60, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=474, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule update_Score_Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=61, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=377, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Integrate Scorecard ReasonCode Map. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=62, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=736, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Bind_Scorecard_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=63, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=346, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Detect Scorecard ReasonCode Change. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=64, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=304, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Score Card Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=65, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=324, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Cumulate Code Scores. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (JGRP-2289) FRAG4: handle ObjectMessage whose size() method is incorrect
by Bela Ban (JIRA)
Bela Ban created JGRP-2289:
------------------------------
Summary: FRAG4: handle ObjectMessage whose size() method is incorrect
Key: JGRP-2289
URL: https://issues.jboss.org/browse/JGRP-2289
Project: JGroups
Issue Type: Enhancement
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 5.0
When an ObjectMessage has a {{SizeStreamable}} object whose size() returns more bytes than are actually written, {{FRAG4}} will block on reading of the last fragment. Example: size() returns 27 bytes (LENGTH), but we only write 20 bytes, then {{readFully()}} (used to read the fragments) will throw an exception (EOF, IIRC).
To fix this, {{FragmentedMessage.writeTo()}} could do the following:
* Check if DataOutput is of type ByteArrayDataOutputStream. This is almost always the case as this is used on the bundler base class. If not -> use the current code path
* Remember the current position
* Write LENGTH bytes (27 in the example above)
* Call obj.writeTo(out)
* If the current position is *not* equal to the remembered position + LENGTH:
** Position the output stream back to the remembered position and write the correct length ACTUAL bytes (20) as an int
Obviously, this only works for DataOutput implementations that support position(), but with most bundlers using ByteArrayDataOutputStream, this should be the case most of the time.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-11031) Json encoding of Access Logs
by Frank Schmager (JIRA)
[ https://issues.jboss.org/browse/WFLY-11031?page=com.atlassian.jira.plugin... ]
Frank Schmager updated WFLY-11031:
----------------------------------
Description:
h1. Request
It should be possible to emit access log events json encoded to allow log aggregation systems to ingest pre-parsed events for filtering and analytics.
h1. Background
Application logs can be emitted [json encoded|https://wildscribe.github.io/WildFly/13.0/subsystem/logging/json-formatter/index.html] allowing log aggregation systems like logstash/ELK to ingest and parse the events. This is especially important when working with containers, but anything requiring log aggregation would benefit. Not all log aggregation systems allow after-the-fact parsing of log events (e.g. Kibana) and developers don't have access to the log aggregator to install a parser like logstash/filebeat.
[Access log events|https://wildscribe.github.io/WildFly/13.0/subsystem/undertow/server/host/setting/access-log/index.html], however, can't be json encoded. The whole log event can be, but what's important about access log events can't.
h2. Example result
There are many ways to encode the event into json. Ideally it would be configurable. One way would be to use {{message}}, but instead of it just containing a {{String}} it could contain json. However, abusing the {{message}} field might not work because it is of type {{String|text}}. So even if it contained valid json, it wouldn't be processed as such. Separate fields might need to be used. Using {{message}} is probably preferred because if not, what else would that field contain?
{code:json}
...
"@timestamp": "2018-09-14T20:59:37.530Z",
...
"message": {
"x-forwarded-for": "-",
"remoteHost": "172.20.2.1",
...
}
...
# alternatively
"x-forwarded-for": "-",
"remoteHost": "172.20.2.1",
"remoteUser": "200",
"dateTime": "[14/Sep/2018:20:59:37 +0000]",
"requestLine": "GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0",
"status": "200",
"bytesSent": "81862",
"timeTaken": "10",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36"
...
{code}
h2. Attempted Workaround
Making the pattern look like json failed due to double quote escaping:
{code:xml}
<access-log pattern='{\"x-forwarded-for\":\"%{i,X-Forwarded-For}\",\"remoteHost\":\"%h\",\"remoteUser\":\"%s\",\"dateTime\":\"%t\",\"requestLine\":\"%r\",\"status\":\"%s\",\"bytesSent\":\"%b\",\"timeTaken\":\"%D\",\"userAgent\":\"%{i,User-Agent}\"}' use-server-log="true" />
{code}
h3. Result
{code}
...
"@timestamp": "2018-09-14T20:59:37.530Z",
...
"message": "{\\\"x-forwarded-for\\\":\\\"-\\\",\\\"remoteHost\\\":\\\"172.20.2.1\\\",\\\"remoteUser\\\":\\\"200\\\",\\\"dateTime\\\":\\\"[14/Sep/2018:20:59:37 +0000]\\\",\\\"requestLine\\\":\\\"GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0\\\",\\\"status\\\":\\\"200\\\",\\\"bytesSent\\\":\\\"81862\\\",\\\"timeTaken\\\":\\\"10\\\",\\\"userAgent\\\":\\\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36\\\"}",
{code}
h2. Json formatting log configuration
{code:xml}
<subsystem xmlns="urn:jboss:domain:logging:5.0">
<console-handler name="CONSOLE">
<level name="DEBUG"/>
<formatter>
<named-formatter name="JSON_FORMATTER"/>
</formatter>
</console-handler>
...
<formatter name="JSON_FORMATTER">
<json-formatter>
<exception-output-type value="formatted"/>
<key-overrides timestamp="@timestamp" loggerName="logger_name"/>
<meta-data>
<property name="@version" value="1"/>
</meta-data>
</json-formatter>
</formatter>
...
{code}
was:
h1. Request
It should be possible to emit access log events json encoded to allow log aggregation systems to ingest pre-parsed events for filtering and analytics.
h1. Background
Application logs can be emitted [json encoded|https://wildscribe.github.io/WildFly/13.0/subsystem/logging/json-formatter/index.html] allowing log aggregation systems like logstash/ELK to ingest and parse the events. This is especially important when working with containers, but anything requiring log aggregation would benefit. Not all log aggregation systems allow after-the-fact parsing of log events (e.g. Kibana) and developers don't have access to the log aggregator to install a parser like logstash/filebeat.
[Access log events|https://wildscribe.github.io/WildFly/13.0/subsystem/undertow/server/host/setting/access-log/index.html], however, can't be json encoded. The whole log event can be, but what's important about access log events can't.
h2. Example result
There are many ways to encode the event into json. Ideally it would be configurable. One way would be to use {{message}}, but instead of it just containing a {{String}} it could contain json. However, abusing the {{message}} field might not work because it is of type {{String|text}}. So even if it contained valid json, it wouldn't be processed as such. Separate fields might need to be used. Using {{message}} is probably preferred because if not, what else would that field contain?
{code:json}
...
"@timestamp": "2018-09-14T20:59:37.530Z",
...
"message": {
"x-forwarded-for": "-",
"remoteHost": "172.20.2.1",
...
}
...
# alternatively
"x-forwarded-for": "-",
"remoteHost": "172.20.2.1",
"remoteUser": "200",
"dateTime": "[14/Sep/2018:20:59:37 +0000]",
"requestLine": "GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0",
"status": "200",
"bytesSent": "81862",
"timeTaken": "10",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36"
...
{code}
h2. Attempted Workaround
Making the pattern look like json failed due to double quote escaping:
{code:xml}
<access-log pattern='{\"x-forwarded-for\":\"%{i,X-Forwarded-For}\",\"remoteHost\":\"%h\",\"remoteUser\":\"%s\",\"dateTime\":\"%t\",\"requestLine\":\"%r\",\"status\":\"%s\",\"bytesSent\":\"%b\",\"timeTaken\":\"%D\",\"userAgent\":\"%{i,User-Agent}\"}' use-server-log="true" />
{code}
h3. Result
{code}
...
"@timestamp": "2018-09-14T20:59:37.530Z",
...
"message": "{\\\"x-forwarded-for\\\":\\\"-\\\",\\\"remoteHost\\\":\\\"172.20.2.1\\\",\\\"remoteUser\\\":\\\"200\\\",\\\"dateTime\\\":\\\"[14/Sep/2018:20:59:37 +0000]\\\",\\\"requestLine\\\":\\\"GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0\\\",\\\"status\\\":\\\"200\\\",\\\"bytesSent\\\":\\\"81862\\\",\\\"timeTaken\\\":\\\"10\\\",\\\"userAgent\\\":\\\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36\\\"}",
{code}
h2. Json formatting log configuration
{code:xml}
<subsystem xmlns="urn:jboss:domain:logging:5.0">
<console-handler name="CONSOLE">
<level name="DEBUG"/>
<formatter>
<named-formatter name="JSON_FORMATTER"/>
</formatter>
</console-handler>
...
<formatter name="JSON_FORMATTER">
<json-formatter>
<exception-output-type value="formatted"/>
<key-overrides timestamp="@timestamp" loggerName="logger_name"/>
<meta-data>
<property name="@version" value="1"/>
</meta-data>
</json-formatter>
</formatter>
...
{code}
> Json encoding of Access Logs
> ----------------------------
>
> Key: WFLY-11031
> URL: https://issues.jboss.org/browse/WFLY-11031
> Project: WildFly
> Issue Type: Feature Request
> Components: Web (Undertow)
> Reporter: Frank Schmager
> Assignee: Stuart Douglas
> Priority: Minor
>
> h1. Request
> It should be possible to emit access log events json encoded to allow log aggregation systems to ingest pre-parsed events for filtering and analytics.
> h1. Background
> Application logs can be emitted [json encoded|https://wildscribe.github.io/WildFly/13.0/subsystem/logging/json-formatter/index.html] allowing log aggregation systems like logstash/ELK to ingest and parse the events. This is especially important when working with containers, but anything requiring log aggregation would benefit. Not all log aggregation systems allow after-the-fact parsing of log events (e.g. Kibana) and developers don't have access to the log aggregator to install a parser like logstash/filebeat.
> [Access log events|https://wildscribe.github.io/WildFly/13.0/subsystem/undertow/server/host/setting/access-log/index.html], however, can't be json encoded. The whole log event can be, but what's important about access log events can't.
> h2. Example result
> There are many ways to encode the event into json. Ideally it would be configurable. One way would be to use {{message}}, but instead of it just containing a {{String}} it could contain json. However, abusing the {{message}} field might not work because it is of type {{String|text}}. So even if it contained valid json, it wouldn't be processed as such. Separate fields might need to be used. Using {{message}} is probably preferred because if not, what else would that field contain?
> {code:json}
> ...
> "@timestamp": "2018-09-14T20:59:37.530Z",
> ...
> "message": {
> "x-forwarded-for": "-",
> "remoteHost": "172.20.2.1",
> ...
> }
> ...
> # alternatively
> "x-forwarded-for": "-",
> "remoteHost": "172.20.2.1",
> "remoteUser": "200",
> "dateTime": "[14/Sep/2018:20:59:37 +0000]",
> "requestLine": "GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0",
> "status": "200",
> "bytesSent": "81862",
> "timeTaken": "10",
> "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36"
> ...
> {code}
> h2. Attempted Workaround
> Making the pattern look like json failed due to double quote escaping:
> {code:xml}
> <access-log pattern='{\"x-forwarded-for\":\"%{i,X-Forwarded-For}\",\"remoteHost\":\"%h\",\"remoteUser\":\"%s\",\"dateTime\":\"%t\",\"requestLine\":\"%r\",\"status\":\"%s\",\"bytesSent\":\"%b\",\"timeTaken\":\"%D\",\"userAgent\":\"%{i,User-Agent}\"}' use-server-log="true" />
> {code}
> h3. Result
> {code}
> ...
> "@timestamp": "2018-09-14T20:59:37.530Z",
> ...
> "message": "{\\\"x-forwarded-for\\\":\\\"-\\\",\\\"remoteHost\\\":\\\"172.20.2.1\\\",\\\"remoteUser\\\":\\\"200\\\",\\\"dateTime\\\":\\\"[14/Sep/2018:20:59:37 +0000]\\\",\\\"requestLine\\\":\\\"GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0\\\",\\\"status\\\":\\\"200\\\",\\\"bytesSent\\\":\\\"81862\\\",\\\"timeTaken\\\":\\\"10\\\",\\\"userAgent\\\":\\\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36\\\"}",
> {code}
> h2. Json formatting log configuration
> {code:xml}
> <subsystem xmlns="urn:jboss:domain:logging:5.0">
> <console-handler name="CONSOLE">
> <level name="DEBUG"/>
> <formatter>
> <named-formatter name="JSON_FORMATTER"/>
> </formatter>
> </console-handler>
> ...
> <formatter name="JSON_FORMATTER">
> <json-formatter>
> <exception-output-type value="formatted"/>
> <key-overrides timestamp="@timestamp" loggerName="logger_name"/>
> <meta-data>
> <property name="@version" value="1"/>
> </meta-data>
> </json-formatter>
> </formatter>
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-11031) Json encoding of Access Logs
by Frank Schmager (JIRA)
[ https://issues.jboss.org/browse/WFLY-11031?page=com.atlassian.jira.plugin... ]
Frank Schmager updated WFLY-11031:
----------------------------------
Description:
h1. Request
It should be possible to emit access log events json encoded to allow log aggregation systems to ingest pre-parsed events for filtering and analytics.
h1. Background
Application logs can be emitted [json encoded|https://wildscribe.github.io/WildFly/13.0/subsystem/logging/json-formatter/index.html] allowing log aggregation systems like logstash/ELK to ingest and parse the events. This is especially important when working with containers, but anything requiring log aggregation would benefit. Not all log aggregation systems allow after-the-fact parsing of log events (e.g. Kibana) and developers don't have access to the log aggregator to install a parser like logstash/filebeat.
[Access log events|https://wildscribe.github.io/WildFly/13.0/subsystem/undertow/server/host/setting/access-log/index.html], however, can't be json encoded. The whole log event can be, but what's important about access log events can't.
h2. Example result
There are many ways to encode the event into json. Ideally it would be configurable. One way would be to use {{message}}, but instead of it just containing a {{String}} it could contain json. However, abusing the {{message}} field might not work because it is of type {{String|text}}. So even if it contained valid json, it wouldn't be processed as such. Separate fields might need to be used. Using {{message}} is probably preferred because if not, what else would that field contain?
{code:json}
...
"@timestamp": "2018-09-14T20:59:37.530Z",
...
"message": {
"x-forwarded-for": "-",
"remoteHost": "172.20.2.1",
...
}
...
# alternatively
"x-forwarded-for": "-",
"remoteHost": "172.20.2.1",
"remoteUser": "200",
"dateTime": "[14/Sep/2018:20:59:37 +0000]",
"requestLine": "GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0",
"status": "200",
"bytesSent": "81862",
"timeTaken": "10",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36"
...
{code}
h2. Attempted Workaround
Making the pattern look like json failed due to double quote escaping:
{code:xml}
<access-log pattern='{\"x-forwarded-for\":\"%{i,X-Forwarded-For}\",\"remoteHost\":\"%h\",\"remoteUser\":\"%s\",\"dateTime\":\"%t\",\"requestLine\":\"%r\",\"status\":\"%s\",\"bytesSent\":\"%b\",\"timeTaken\":\"%D\",\"userAgent\":\"%{i,User-Agent}\"}' use-server-log="true" />
{code}
h3. Result
{code}
...
"@timestamp": "2018-09-14T20:59:37.530Z",
...
"message": "{\\\"x-forwarded-for\\\":\\\"-\\\",\\\"remoteHost\\\":\\\"172.20.2.1\\\",\\\"remoteUser\\\":\\\"200\\\",\\\"dateTime\\\":\\\"[14/Sep/2018:20:59:37 +0000]\\\",\\\"requestLine\\\":\\\"GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0\\\",\\\"status\\\":\\\"200\\\",\\\"bytesSent\\\":\\\"81862\\\",\\\"timeTaken\\\":\\\"10\\\",\\\"userAgent\\\":\\\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36\\\"}",
{code}
h2. Json formatting log configuration
{code:xml}
<subsystem xmlns="urn:jboss:domain:logging:5.0">
<console-handler name="CONSOLE">
<level name="DEBUG"/>
<formatter>
<named-formatter name="JSON_FORMATTER"/>
</formatter>
</console-handler>
...
<formatter name="JSON_FORMATTER">
<json-formatter>
<exception-output-type value="formatted"/>
<key-overrides timestamp="@timestamp" loggerName="logger_name"/>
<meta-data>
<property name="@version" value="1"/>
</meta-data>
</json-formatter>
</formatter>
...
{code}
was:
h1. Request
It should be possible to emit access log events json encoded to allow log aggregation systems to ingest pre-parsed events for filtering and analytics.
h1. Background
Application logs can be emitted [json encoded|https://wildscribe.github.io/WildFly/13.0/subsystem/logging/json-formatter/index.html] allowing log aggregation systems like logstash/ELK to ingest and parse the events. This is especially important when working with containers, but anything requiring log aggregation would benefit. Not all log aggregation systems allow after-the-fact parsing of log events (e.g. Kibana) and developers don't have access to the log aggregator to install a parser like logstash/filebeat.
[Access log events|https://wildscribe.github.io/WildFly/13.0/subsystem/undertow/server/host/setting/access-log/index.html], however, can't be json encoded. The whole log event can be, but what's important about access log events can't.
h2. Example result
There are many ways to encode the event into json. Ideally it would be configurable. One way would be to use {{message}}, but instead of it just containing a {{String}} it could contain json.
{code:json}
...
"@timestamp": "2018-09-14T20:59:37.530Z",
...
"message": {
"x-forwarded-for": "-",
"remoteHost": "172.20.2.1",
"remoteUser": "200",
"dateTime": "[14/Sep/2018:20:59:37 +0000]",
"requestLine": "GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0",
"status": "200",
"bytesSent": "81862",
"timeTaken": "10",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36"
}
{code}
h2. Attempted Workaround
Making the pattern look like json failed due to double quote escaping:
{code:xml}
<access-log pattern='{\"x-forwarded-for\":\"%{i,X-Forwarded-For}\",\"remoteHost\":\"%h\",\"remoteUser\":\"%s\",\"dateTime\":\"%t\",\"requestLine\":\"%r\",\"status\":\"%s\",\"bytesSent\":\"%b\",\"timeTaken\":\"%D\",\"userAgent\":\"%{i,User-Agent}\"}' use-server-log="true" />
{code}
h3. Result
{code}
...
"@timestamp": "2018-09-14T20:59:37.530Z",
...
"message": "{\\\"x-forwarded-for\\\":\\\"-\\\",\\\"remoteHost\\\":\\\"172.20.2.1\\\",\\\"remoteUser\\\":\\\"200\\\",\\\"dateTime\\\":\\\"[14/Sep/2018:20:59:37 +0000]\\\",\\\"requestLine\\\":\\\"GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0\\\",\\\"status\\\":\\\"200\\\",\\\"bytesSent\\\":\\\"81862\\\",\\\"timeTaken\\\":\\\"10\\\",\\\"userAgent\\\":\\\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36\\\"}",
{code}
h2. Json formatting log configuration
{code:xml}
<subsystem xmlns="urn:jboss:domain:logging:5.0">
<console-handler name="CONSOLE">
<level name="DEBUG"/>
<formatter>
<named-formatter name="JSON_FORMATTER"/>
</formatter>
</console-handler>
...
<formatter name="JSON_FORMATTER">
<json-formatter>
<exception-output-type value="formatted"/>
<key-overrides timestamp="@timestamp" loggerName="logger_name"/>
<meta-data>
<property name="@version" value="1"/>
</meta-data>
</json-formatter>
</formatter>
...
{code}
> Json encoding of Access Logs
> ----------------------------
>
> Key: WFLY-11031
> URL: https://issues.jboss.org/browse/WFLY-11031
> Project: WildFly
> Issue Type: Feature Request
> Components: Web (Undertow)
> Reporter: Frank Schmager
> Assignee: Stuart Douglas
> Priority: Minor
>
> h1. Request
> It should be possible to emit access log events json encoded to allow log aggregation systems to ingest pre-parsed events for filtering and analytics.
> h1. Background
> Application logs can be emitted [json encoded|https://wildscribe.github.io/WildFly/13.0/subsystem/logging/json-formatter/index.html] allowing log aggregation systems like logstash/ELK to ingest and parse the events. This is especially important when working with containers, but anything requiring log aggregation would benefit. Not all log aggregation systems allow after-the-fact parsing of log events (e.g. Kibana) and developers don't have access to the log aggregator to install a parser like logstash/filebeat.
> [Access log events|https://wildscribe.github.io/WildFly/13.0/subsystem/undertow/server/host/setting/access-log/index.html], however, can't be json encoded. The whole log event can be, but what's important about access log events can't.
> h2. Example result
> There are many ways to encode the event into json. Ideally it would be configurable. One way would be to use {{message}}, but instead of it just containing a {{String}} it could contain json. However, abusing the {{message}} field might not work because it is of type {{String|text}}. So even if it contained valid json, it wouldn't be processed as such. Separate fields might need to be used. Using {{message}} is probably preferred because if not, what else would that field contain?
> {code:json}
> ...
> "@timestamp": "2018-09-14T20:59:37.530Z",
> ...
> "message": {
> "x-forwarded-for": "-",
> "remoteHost": "172.20.2.1",
> ...
> }
> ...
> # alternatively
> "x-forwarded-for": "-",
> "remoteHost": "172.20.2.1",
> "remoteUser": "200",
> "dateTime": "[14/Sep/2018:20:59:37 +0000]",
> "requestLine": "GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0",
> "status": "200",
> "bytesSent": "81862",
> "timeTaken": "10",
> "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36"
> ...
> {code}
> h2. Attempted Workaround
> Making the pattern look like json failed due to double quote escaping:
> {code:xml}
> <access-log pattern='{\"x-forwarded-for\":\"%{i,X-Forwarded-For}\",\"remoteHost\":\"%h\",\"remoteUser\":\"%s\",\"dateTime\":\"%t\",\"requestLine\":\"%r\",\"status\":\"%s\",\"bytesSent\":\"%b\",\"timeTaken\":\"%D\",\"userAgent\":\"%{i,User-Agent}\"}' use-server-log="true" />
> {code}
> h3. Result
> {code}
> ...
> "@timestamp": "2018-09-14T20:59:37.530Z",
> ...
> "message": "{\\\"x-forwarded-for\\\":\\\"-\\\",\\\"remoteHost\\\":\\\"172.20.2.1\\\",\\\"remoteUser\\\":\\\"200\\\",\\\"dateTime\\\":\\\"[14/Sep/2018:20:59:37 +0000]\\\",\\\"requestLine\\\":\\\"GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0\\\",\\\"status\\\":\\\"200\\\",\\\"bytesSent\\\":\\\"81862\\\",\\\"timeTaken\\\":\\\"10\\\",\\\"userAgent\\\":\\\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36\\\"}",
> {code}
> h2. Json formatting log configuration
> {code:xml}
> <subsystem xmlns="urn:jboss:domain:logging:5.0">
> <console-handler name="CONSOLE">
> <level name="DEBUG"/>
> <formatter>
> <named-formatter name="JSON_FORMATTER"/>
> </formatter>
> </console-handler>
> ...
> <formatter name="JSON_FORMATTER">
> <json-formatter>
> <exception-output-type value="formatted"/>
> <key-overrides timestamp="@timestamp" loggerName="logger_name"/>
> <meta-data>
> <property name="@version" value="1"/>
> </meta-data>
> </json-formatter>
> </formatter>
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-11032) JDK 10: illegal reflective access
by Thorsten Moeller (JIRA)
Thorsten Moeller created WFLY-11032:
---------------------------------------
Summary: JDK 10: illegal reflective access
Key: WFLY-11032
URL: https://issues.jboss.org/browse/WFLY-11032
Project: WildFly
Issue Type: Bug
Affects Versions: 14.0.0.Final
Reporter: Thorsten Moeller
Assignee: Jason Greene
Using WF14 and Oracle JDK 10.0.2, there is an illegal reflective access warning while WF boots:
{code}
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jboss.as.server.deployment.reflect.ClassReflectionIndex (jar:file:/Users/.../wildfly-14.0.0.Final/modules/system/layers/base/org/jboss/as/server/main/wildfly-server-6.0.1.Final.jar!/) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.jboss.as.server.deployment.reflect.ClassReflectionIndex
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-11031) Json encoding of Access Logs
by Frank Schmager (JIRA)
Frank Schmager created WFLY-11031:
-------------------------------------
Summary: Json encoding of Access Logs
Key: WFLY-11031
URL: https://issues.jboss.org/browse/WFLY-11031
Project: WildFly
Issue Type: Feature Request
Components: Web (Undertow)
Reporter: Frank Schmager
Assignee: Stuart Douglas
Priority: Minor
h1. Request
It should be possible to emit access log events json encoded to allow log aggregation systems to ingest pre-parsed events for filtering and analytics.
h1. Background
Application logs can be emitted [json encoded|https://wildscribe.github.io/WildFly/13.0/subsystem/logging/json-formatter/index.html] allowing log aggregation systems like logstash/ELK to ingest and parse the events. This is especially important when working with containers, but anything requiring log aggregation would benefit. Not all log aggregation systems allow after-the-fact parsing of log events (e.g. Kibana) and developers don't have access to the log aggregator to install a parser like logstash/filebeat.
[Access log events|https://wildscribe.github.io/WildFly/13.0/subsystem/undertow/server/host/setting/access-log/index.html], however, can't be json encoded. The whole log event can be, but what's important about access log events can't.
h2. Example result
There are many ways to encode the event into json. Ideally it would be configurable. One way would be to use {{message}}, but instead of it just containing a {{String}} it could contain json.
{code:json}
...
"@timestamp": "2018-09-14T20:59:37.530Z",
...
"message": {
"x-forwarded-for": "-",
"remoteHost": "172.20.2.1",
"remoteUser": "200",
"dateTime": "[14/Sep/2018:20:59:37 +0000]",
"requestLine": "GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0",
"status": "200",
"bytesSent": "81862",
"timeTaken": "10",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36"
}
{code}
h2. Attempted Workaround
Making the pattern look like json failed due to double quote escaping:
{code:xml}
<access-log pattern='{\"x-forwarded-for\":\"%{i,X-Forwarded-For}\",\"remoteHost\":\"%h\",\"remoteUser\":\"%s\",\"dateTime\":\"%t\",\"requestLine\":\"%r\",\"status\":\"%s\",\"bytesSent\":\"%b\",\"timeTaken\":\"%D\",\"userAgent\":\"%{i,User-Agent}\"}' use-server-log="true" />
{code}
h3. Result
{code}
...
"@timestamp": "2018-09-14T20:59:37.530Z",
...
"message": "{\\\"x-forwarded-for\\\":\\\"-\\\",\\\"remoteHost\\\":\\\"172.20.2.1\\\",\\\"remoteUser\\\":\\\"200\\\",\\\"dateTime\\\":\\\"[14/Sep/2018:20:59:37 +0000]\\\",\\\"requestLine\\\":\\\"GET /auth/resources/4.4.0.final/login/keycloak/img/keycloak-bg.png HTTP/2.0\\\",\\\"status\\\":\\\"200\\\",\\\"bytesSent\\\":\\\"81862\\\",\\\"timeTaken\\\":\\\"10\\\",\\\"userAgent\\\":\\\"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36\\\"}",
{code}
h2. Json formatting log configuration
{code:xml}
<subsystem xmlns="urn:jboss:domain:logging:5.0">
<console-handler name="CONSOLE">
<level name="DEBUG"/>
<formatter>
<named-formatter name="JSON_FORMATTER"/>
</formatter>
</console-handler>
...
<formatter name="JSON_FORMATTER">
<json-formatter>
<exception-output-type value="formatted"/>
<key-overrides timestamp="@timestamp" loggerName="logger_name"/>
<meta-data>
<property name="@version" value="1"/>
</meta-data>
</json-formatter>
</formatter>
...
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (WFLY-9106) Hard-code default values in messaging-activemq subsystem.
by ehsavoie Hugonnet (JIRA)
[ https://issues.jboss.org/browse/WFLY-9106?page=com.atlassian.jira.plugin.... ]
ehsavoie Hugonnet reassigned WFLY-9106:
---------------------------------------
Assignee: ehsavoie Hugonnet (was: Jeff Mesnil)
> Hard-code default values in messaging-activemq subsystem.
> ---------------------------------------------------------
>
> Key: WFLY-9106
> URL: https://issues.jboss.org/browse/WFLY-9106
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Reporter: Jeff Mesnil
> Assignee: ehsavoie Hugonnet
>
> The messaging-activemq subsystem defines plenty of attributes that maps to Artemis configuration.
> Most of these attributes have default values. The default values are taken from Artemis API (ActiveMQClient.*, ActiveMQDefaultConfiguration.*)
> This has the advantages that we use the sensible default values provided by Artemis itself.
> However there some unintended consequences. When Artemis change one of this default, it also changes the default value of the corresponding WildFly attribute. We have strict rule to handle this (with resource transformers, etc.) but this should not be something by happen by accident. We don't have a mechanism today that catch this kind of issue. Some of this may be caught by transformers tests *if* the resource is actually defined in the transformers configuration (but usually I only add a resource to the transformer when I am explicitly changing its definition).
> We should hard-code *all* default values of the messaging-activemq subsystem instead of relying on Artemis API (the actual value will often be the same than the one provided by Artemis though).
> This will protect us of Artemis API changes so that we can decide to change a default value when it makes sense separately of Artemis upgrades.
> However, we will have to sync with Artemis when they do such changes to figure out if we should do that too or keep the previous value.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months
[JBoss JIRA] (DROOLS-2992) Can't compile the kie module which has guided scorecard
by Lance Leverich (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2992?page=com.atlassian.jira.plugi... ]
Lance Leverich commented on DROOLS-2992:
----------------------------------------
The issue arises from the use of a field named "score", which seems to cause a conflict with an internally generated Score. Changing the name of the field to "myScore" is a workaround.
> Can't compile the kie module which has guided scorecard
> -------------------------------------------------------
>
> Key: DROOLS-2992
> URL: https://issues.jboss.org/browse/DROOLS-2992
> Project: Drools
> Issue Type: Bug
> Components: Guided Score Card Editor
> Affects Versions: 7.11.0.Final
> Environment: All in one jbpm server 7.11 Final
> Mac Oracle jdk 1.8
> Maven 3.5.3
> Reporter: yi gong
> Assignee: Lance Leverich
> Priority: Blocker
> Attachments: sandbox1.zip
>
>
> Can't compile the kie module which has guided scorecard by maven plugin
> There are a lot of error
> [ERROR] Message [id=1, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=447, column=0
> [ERROR] text=New declaration of org.kie.pmml.pmml_4_2.model.scorecard.Score redeclared field value :
> [ERROR] existing : java.lang.Double vs declared : double]
> [ERROR] Message [id=2, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=447, column=0
> [ERROR] text=New declaration of org.kie.pmml.pmml_4_2.model.scorecard.Score does not include field scoreCard]
> [ERROR] Message [id=3, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=447, column=0
> [ERROR] text=New declaration of org.kie.pmml.pmml_4_2.model.scorecard.Score can't declare a different set of fields
> [ERROR] existing : [scoreCard, value]
> [ERROR] declared : [displayValue, tgtValue, value, weight]
> [ERROR] diff : [--scoreCard, ++displayValue, ++tgtValue, ++weight]]
> [ERROR] Message [id=4, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=92, column=0
> [ERROR] text=Unable to process type DataField]
> [ERROR] Message [id=5, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1020, column=0
> [ERROR] text=Unable to process type ScardOutput]
> [ERROR] Message [id=6, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=104, column=0
> [ERROR] text=Unable to process type OutputField]
> [ERROR] Message [id=7, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=132, column=0
> [ERROR] text=Unable to process type Scorecard__calculatedScore]
> [ERROR] Message [id=8, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=196, column=0
> [ERROR] text=Unable to process type Age]
> [ERROR] Message [id=9, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=89, column=0
> [ERROR] text=Unable to process type PMML4AbstractField]
> [ERROR] Message [id=10, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=447, column=0
> [ERROR] text=Unable to process type Score]
> [ERROR] Message [id=11, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=814, column=0
> [ERROR] text=Unable to process type Scard]
> [ERROR] Message [id=12, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=580, column=0
> [ERROR] text=Unable to Analyse Expression context == ctx:
> [ERROR] [Error: unable to resolve method using strict-mode: org.kie.pmml.pmml_4_2.model.scorecard.Score.context()]
> [ERROR] [Near : {... context == ctx ....}]
> [ERROR] ^
> [ERROR] [Line: 580, Column: 4]]
> [ERROR] Message [id=13, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=677, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=14, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=288, column=0
> [ERROR] text=Unable to resolve ObjectType 'DataField']
> [ERROR] Message [id=15, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=864, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=16, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=865, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scard']
> [ERROR] Message [id=17, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=-1, column=0
> [ERROR] text=Unable to Analyse Expression boundInput == $x:
> [ERROR] [Error: unable to resolve method using strict-mode: org.kie.pmml.pmml_4_2.ModelMarker.$x()]
> [ERROR] [Near : {... boundInput == $x ....}]
> [ERROR] ^]
> [ERROR] Message [id=18, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1052, column=0
> [ERROR] text=Unable to resolve ObjectType 'ScardOutput']
> [ERROR] Message [id=19, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=832, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scard']
> [ERROR] Message [id=20, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=694, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=21, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=695, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=22, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=521, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scorecard__calculatedScore']
> [ERROR] Message [id=23, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=849, column=0
> [ERROR] text=Unable to resolve ObjectType 'Scard']
> [ERROR] Message [id=24, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=742, column=0
> [ERROR] text=Unable to resolve ObjectType 'Age']
> [ERROR] Message [id=25, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=743, column=0
> [ERROR] text=Unable to Analyse Expression (mAge == true && mAge != $m) || vAge != $v:
> [ERROR] [Error: unable to resolve method using strict-mode: org.kie.pmml.pmml_4_2.model.ScardScoreCardData.$m()]
> [ERROR] [Near : {... (mAge == true && mAge != $m) || vAge != $v ....}]
> [ERROR] ^
> [ERROR] [Line: 743, Column: 4]]
> [ERROR] Message [id=26, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1045, column=0
> [ERROR] text=Rule Compilation error $x cannot be resolved to a variable
> [ERROR] The method setScore(Double) is undefined for the type Object]
> [ERROR] Message [id=27, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=513, column=0
> [ERROR] text=Rule Compilation error $val cannot be resolved to a variable
> [ERROR] $m cannot be resolved to a variable
> [ERROR] $v cannot be resolved to a variable
> [ERROR] The method setName(String) is undefined for the type Score
> [ERROR] $ctx cannot be resolved to a variable
> [ERROR] $wgt cannot be resolved to a variable]
> [ERROR] Message [id=28, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1030, column=0
> [ERROR] text=Rule Compilation error ScardOutput cannot be resolved to a type]
> [ERROR] Message [id=29, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=843, column=0
> [ERROR] text=Rule Compilation error $obj cannot be resolved to a variable]
> [ERROR] Message [id=30, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=686, column=0
> [ERROR] text=Rule Compilation error $tgt cannot be resolved to a variable]
> [ERROR] Message [id=31, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=670, column=0
> [ERROR] text=Rule Compilation error $tgt cannot be resolved to a variable]
> [ERROR] Message [id=32, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=826, column=0
> [ERROR] text=Rule Compilation error _age cannot be resolved to a variable]
> [ERROR] Message [id=33, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=653, column=0
> [ERROR] text=Rule Compilation error Scorecard__calculatedScore cannot be resolved to a type
> [ERROR] Scorecard__calculatedScore cannot be resolved to a type]
> [ERROR] Message [id=34, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=284, column=0
> [ERROR] text=Rule Compilation error $data cannot be resolved to a variable]
> [ERROR] Message [id=35, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=736, column=0
> [ERROR] text=Rule Compilation error $m cannot be resolved to a variable
> [ERROR] $v cannot be resolved to a variable]
> [ERROR] Message [id=36, kieBase=defaultKieBase, level=ERROR, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=858, column=0
> [ERROR] text=Rule Compilation error $x cannot be resolved to a variable
> [ERROR] $val cannot be resolved to a variable]
> [ERROR] ---
> [ERROR] Warning Messages:
> [ERROR] Message [id=37, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=653, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Scorecard Scard output - Scorecard__calculatedScore. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=38, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=772, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Init ScoreCard Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=39, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=670, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Add PMMLResult with Scorecard output Scard - Scorecard__calculatedScore. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=40, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=790, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Scoring Complete. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=41, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=980, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Init ScoreCard Params Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=42, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=225, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Valid_PMML4DataUnrestricted_Values_Age-null. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=43, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=626, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule RemoveMissing_PMML4Data_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=44, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=610, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule InitAsMissing_PMML4Data_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=45, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=161, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Valid_PMML4DataUnrestricted_Values_Scorecard__calculatedScore-null. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=46, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=954, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule PartialScore_Scard_age_14. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=47, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=858, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Link Scard Predicted Fields scorecard__calculatedScore . Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=48, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=927, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule PartialScore_Scard_age_13. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=49, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=900, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule PartialScore_Scard_age_12. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=50, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1045, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Link Scard Output Fields score . Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=51, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=826, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Link Scard Bean Input. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=52, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=686, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Update PMMLResult containing Scorecard output Scard - Scorecard__calculatedScore. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=53, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=1030, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Create Scard Output Bean. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=54, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=513, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule simpleOutput_Scorecard__calculatedScore_to_Score. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=55, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=596, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule miningPmml4Data_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=56, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=538, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Update PMML4Result with aliased output Score. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=57, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=719, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Bind_Scorecard_PMML4Data_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=58, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=843, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Own Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=59, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=360, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Sort Scorecard Reason Codes. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=60, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=474, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule update_Score_Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=61, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=377, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Integrate Scorecard ReasonCode Map. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=62, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=736, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Bind_Scorecard_Scard_Age. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=63, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=346, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Detect Scorecard ReasonCode Change. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=64, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=304, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Score Card Scard. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
> [ERROR] Message [id=65, kieBase=defaultKieBase, level=WARNING, path=Users/gongyi/src/sandbox/sandbox1/src/main/resources/com/myspace/sandbox1/scard.scgd, line=324, column=0
> [ERROR] text=Both an agenda-group ( ) and a ruleflow-group ( ) are defined for rule Cumulate Code Scores. Since version 6.x the two concepts have been unified, the ruleflow-group name will override the agenda-group. ]
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 10 months