[JBoss JIRA] (DROOLS-4128) [DMN Designer] Unable to use a Decision Service that references imported elements
by Edson Tirelli (Jira)
[ https://issues.jboss.org/browse/DROOLS-4128?page=com.atlassian.jira.plugi... ]
Edson Tirelli commented on DROOLS-4128:
---------------------------------------
[~manstis] unfortunately, as you've seen, from a spec perspective, the only mandatory field for importing DMN files is the namespace. We will need to index DMN files if necessary in the workbench so that we can resolve imports. The presence of locationURI or any custom attribute we want to add (for instance, we can add a drools:fileName attribute if it helps), can be used as a shortcut to resolve imports, but can not be relied on. We need to support imports by namespace.
> [DMN Designer] Unable to use a Decision Service that references imported elements
> ---------------------------------------------------------------------------------
>
> Key: DROOLS-4128
> URL: https://issues.jboss.org/browse/DROOLS-4128
> Project: Drools
> Issue Type: Bug
> Components: DMN Editor
> Affects Versions: 7.23.0.Final
> Reporter: Michael Anstis
> Assignee: Guilherme Gomes
> Priority: Major
> Labels: drools-tools
> Attachments: Loan info.dmn, Recommended Loan Products v3 no test case.dmn
>
>
> The [attached|https://issues.jboss.org/secure/attachment/12451671/Recommended%...] DMN file has a Decision Service ("Whole Model Decision Service") that references imported items. This file fails to open in our editor as our {{DMNMarshaller}} does not handle resolution of imported elements in handling of {{DecisionService}} elements.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 11 months
[JBoss JIRA] (WFLY-11601) Weld vs Undertow bootstrap: Race condition
by Stefan Gr (Jira)
[ https://issues.jboss.org/browse/WFLY-11601?page=com.atlassian.jira.plugin... ]
Stefan Gr commented on WFLY-11601:
----------------------------------
{quote}Non-web modules are handled differently because Weld alone knows when to fire that event. In order to know when do it for web modules, we need the mechanism that we use now - for undertow to tell us basically.{quote}
For web-modules this is done by {{WeldInitialListener#contextInitialized}} which again forwards to {{HttpContextLifecycle#contextInitialized}}. The logic I've described could be implemented in {{HttpContextLifecycle#contextInitialized}} and {{WeldStartup#endInitialization}}. Everything would be inside weld. I don't know if it is possible that one deployment can contain multiple web-modules. But that is also a task that could be handled easily.
So there are two scenarios:
First scenario:
* endInitialization is run first
* lock is aquired to ensure thread safety
* tests if any contextInitialized was already invoked before weld completed (list / map contains servletContext), nothing found
* flag is set to true
* lock is released
* contextIntialized is executed
* lock is aquired to ensure thread safety
* flag is read, flag is true
* lock is released
* event is fired
Second scenario:
* contextInitialied is run first
* lock is aquired to ensure thread safety
* flag is read, flag is false
* servletContext is added to some list / map, associated with the correct bean manager
* lock is released
* endInitialization is executed
* lock is aquired to ensure thread safety
* tests if any contextInitialized was already invoked before weld completed (list / map contains servletContext), found something
* event is fired using the bean manager and servlet context from that map
* lock is released
As i'm new to weld's internal I might have overseen some detail, but in theory that should be a practical solution which:
# does not affect existing code order
# keeps the optimization as it is used by wildfly
# improves reliability
> Weld vs Undertow bootstrap: Race condition
> ------------------------------------------
>
> Key: WFLY-11601
> URL: https://issues.jboss.org/browse/WFLY-11601
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld, Web (Undertow)
> Affects Versions: 15.0.1.Final
> Reporter: Stefan Gr
> Assignee: Matěj Novotný
> Priority: Major
> Attachments: TestApp.zip, TestLib.zip, changes.diff, deploy-failed.txt, deploy-mixed-success.txt, deploy-success.txt, test-app-1.0.0.war, weld-core-impl-3.0.5.Final.jar, weld-core-impl-3.0.5.Final.jar
>
>
> WFLY-9732 / WFLY-10784 moves the completion of WELD from the WeldStartService to WeldStartCompetionService. This causes a race condition with the UndertowDeploymentService which executes the servlet listeners for context-initialized which again fires ApplicationScope-initialized events in CDI.
> You can find more in [WELD-2557|https://issues.jboss.org/browse/WELD-2557?focusedCommentId=1368...].
> In short: WeldStartCompletionService and UndertowDeploymentService pushes the logic to the executor service. It may happen, that the logik of undertow runs before the weld completion. Events fired in the servlet listeners won't find all event observers.
> A possible solution would bo to set the WeldStartCompletionService as a dependency of the UndertowDeploymentService
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 11 months
[JBoss JIRA] (JBCLUSTER-315) Jboss 5.x ATTRIBUTE level session replication throws NullPointerException
by Paul Ferraro (Jira)
[ https://issues.jboss.org/browse/JBCLUSTER-315?page=com.atlassian.jira.plu... ]
Paul Ferraro closed JBCLUSTER-315.
----------------------------------
Resolution: Out of Date
AS5 hasn't been an active branch for many years. I strongly suggest upgrading to a more recent release of WildFly. You can direct any questions to one of the forums.
> Jboss 5.x ATTRIBUTE level session replication throws NullPointerException
> -------------------------------------------------------------------------
>
> Key: JBCLUSTER-315
> URL: https://issues.jboss.org/browse/JBCLUSTER-315
> Project: JBoss Clustering
> Issue Type: Bug
> Components: HA-Server-Cache-JBC
> Affects Versions: HA-Server-Cache-JBC 2.0.3.Final
> Environment: jboss-eap-5.1
> Reporter: log an
> Assignee: Paul Ferraro
> Priority: Major
>
> I have JSF based web application deployed in Jboss 5.1 EAP server. Enabled the distributable tag for session replication across two jboss nodes with Apache web server for failover feature and my business requires Attribute level replication but the system throws NullPointerException.
> "Failed to replicate session java.lang.NullPointerException"
> Here is how did I configure jboss for session replication:
> jboss-web.xml:
> <replication-granularity>ATTRIBUTE</replication-granularity>
> web.xml:
> <distributable/>
> Expected: Session should be replicated without NPE.
> Actual: Failed to replicate session 9jYCBgKn2mIIVS2g8EzEzQ__.XXXX
> Failed to replicate session 9jYCBgKn2mIIVS2g8EzEzQ__.XXXX
> java.lang.NullPointerException
> at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.getMarshalledValue(AbstractJBossCacheService.java:679)
> at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AttributeBasedJBossCacheService.storeSessionAttributes(AttributeBasedJBossCacheService.java:185)
> at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AttributeBasedJBossCacheService.storeSessionAttributes(AttributeBasedJBossCacheService.java:40)
> at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.storeSessionData(AbstractJBossCacheService.java:402)
> at org.jboss.web.tomcat.service.session.ClusteredSession.processSessionReplication(ClusteredSession.java:1192)
> at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:2221)
> at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java:321)
> at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:51)
> at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:147)
> at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94)
> at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:88)
> at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62)
> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
> at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
> at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
> at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
> at java.lang.Thread.run(Thread.java:682)
> *Debugging details:*
> I have debugged the application and found that one of the attribute value is null.
> Here is the line throws NPE:
> org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.class (Line no: 679)
> if(MarshalledValueHelper.isTypeExcluded(value.getClass())) {
> return value;
> }
> Please let me know if you need more detail. Also, I am trying to reproduce the issue with sample application but could not able to do. Kindly, provide some suggestions.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 11 months
[JBoss JIRA] (WFLY-12148) HotRod-based session manager should use max-active-sessions to configure L1 per remote cache
by Paul Ferraro (Jira)
[ https://issues.jboss.org/browse/WFLY-12148?page=com.atlassian.jira.plugin... ]
Paul Ferraro updated WFLY-12148:
--------------------------------
Priority: Critical (was: Major)
> HotRod-based session manager should use max-active-sessions to configure L1 per remote cache
> --------------------------------------------------------------------------------------------
>
> Key: WFLY-12148
> URL: https://issues.jboss.org/browse/WFLY-12148
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 17.0.0.Beta1
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Critical
>
> Currently, the hotrod-based session manager uses the l1 configuration of the associated remote-cache-container to determine the number of entries to retain in memory. This has the following drawbacks:
> * any configured max-active-sessions (from jboss-web.xml) is ignored
> * the remote cache for each deployment of a given remote-cache-container will use the same configuration
> * the value does not reflect the number of sessions, but, rather, the number of cache entries, which requires the user to be familiar with how sessions are mapped to the cache, which itself depends on the configured granularity.
> In order to align this behavior with the other session manager implementations, L1 should be configured per remote cache based on the value specified by max-active-sessions. This requires several changes:
> * Add the ability to override the near cache implementation per remote cache
> * Create a custom NearCache<K, V> implementation configured with a custom Caffeine cache configured with a custom weigher, similar to how max-active-session is implemented via a custom data container.
> * Add listener mechanism to support cascading of L1 invalidations to dependent entries
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 11 months
[JBoss JIRA] (DROOLS-1825) [Guided Decision Table] Ability to change HIT policy in a decision table anytime
by Jozef Marko (Jira)
[ https://issues.jboss.org/browse/DROOLS-1825?page=com.atlassian.jira.plugi... ]
Jozef Marko commented on DROOLS-1825:
-------------------------------------
[~juliaaano] I think the explanation is in the underlying BAPL jira where we decided to focus on other components of the product.
> [Guided Decision Table] Ability to change HIT policy in a decision table anytime
> --------------------------------------------------------------------------------
>
> Key: DROOLS-1825
> URL: https://issues.jboss.org/browse/DROOLS-1825
> Project: Drools
> Issue Type: Enhancement
> Components: Guided Decision Table Editor
> Affects Versions: 7.1.0.Beta2
> Reporter: Ivo Bek
> Assignee: Toni Rikkola
> Priority: Critical
> Labels: UX, UXTeam, drools-tools, verifier
> Attachments: DROOLS-1825 (Parent Rule).png, DecisionTable1.png, DecisionTable2.png, GDTAnalysis(a)2x.png, GDTColumns(a)2x.png
>
> Original Estimate: 1 week
> Remaining Estimate: 1 week
>
> Today, it's possible to set 1 of 5 HIT policies when we create a new guided decision table. However, the user might not know which HIT policy he/she should use at this early beginning. Therefore, it should be possible to set the policy to None when we create a new guided decision table and set the HIT policy later after we add columns and rows, fill in some data and see and decide based on the created table how the rules should behave using the HIT policy.
> Thus, it should be possible to change HIT policy in a decision table anytime.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 11 months
[JBoss JIRA] (DROOLS-2992) Can't compile the kie module which has guided scorecard
by Toni Rikkola (Jira)
[ https://issues.jboss.org/browse/DROOLS-2992?page=com.atlassian.jira.plugi... ]
Toni Rikkola commented on DROOLS-2992:
--------------------------------------
[~wangzongxiao] Hi, most likely it will not work in 7.10.0.Final no matter what you do. You can try not using *score* as the field name. Not sure if that works.
With 7.23.0.Final you should have it working, but the issue with using *score* will still be there.
> 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: Toni Rikkola
> Priority: Major
> Labels: drools-tools
> Fix For: 7.23.0.Final
>
> 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.12.1#712002)
6 years, 11 months
[JBoss JIRA] (DROOLS-1540) Drools does not work with spring-boot-devtools
by Jiří Locker (Jira)
[ https://issues.jboss.org/browse/DROOLS-1540?page=com.atlassian.jira.plugi... ]
Jiří Locker updated DROOLS-1540:
--------------------------------
Comment: was deleted
(was: In which Drools version is this released? The Fix Version field is not set.)
> Drools does not work with spring-boot-devtools
> ----------------------------------------------
>
> Key: DROOLS-1540
> URL: https://issues.jboss.org/browse/DROOLS-1540
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.5.0.Final, 7.20.0.Final
> Reporter: G Xiong
> Assignee: Mario Fusco
> Priority: Critical
> Fix For: 7.23.0.Final
>
> Attachments: complete.zip
>
>
> Drools does work with spring-boot-devtools.
> If you add in pom.xml the following, no rules will be fired in Drools.
> <dependency>
> <groupId>org.springframework.boot</groupId>
> <artifactId>spring-boot-devtools</artifactId>
> </dependency>
> if you comment out this, then rules will be fired in Drools.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
6 years, 11 months