[JBoss JIRA] (AG-146) Rename housekeeping threads
by Luis Barreiro (Jira)
Luis Barreiro created AG-146:
--------------------------------
Summary: Rename housekeeping threads
Key: AG-146
URL: https://issues.redhat.com/browse/AG-146
Project: Agroal
Issue Type: Bug
Components: pool
Affects Versions: 1.8
Reporter: Luis Barreiro
Assignee: Luis Barreiro
Fix For: 1.9
Rename housekeeping threads to `agroal-x` to align with names usually used in thread pools.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (WFLY-13697) JBoss CLI can't find java:app/AppName
by Cheng Fang (Jira)
[ https://issues.redhat.com/browse/WFLY-13697?page=com.atlassian.jira.plugi... ]
Cheng Fang commented on WFLY-13697:
-----------------------------------
I linked 2 similar issues. The general idea is to switch the deployment's naming context for this batch operation, and then reset it afterwards, but we haven't figured out the details yet.
> JBoss CLI can't find java:app/AppName
> -------------------------------------
>
> Key: WFLY-13697
> URL: https://issues.redhat.com/browse/WFLY-13697
> Project: WildFly
> Issue Type: Bug
> Components: Batch, Management
> Affects Versions: JBoss AS7 7.2.0.Final
> Reporter: José Fernando Tepedino Martins
> Assignee: Michal Petrov
> Priority: Minor
> Labels: CLI, JNDI
>
> With a JEE aplication in a WAR package, when starting a functionality, as a Batch Job, via CLI, CDI injection and JNDI lookup fail to find resources 'java:app/AppName' and 'java:module/ModuleName'.
> For example, a job listener or other job artifact with the following code
> {code:java}
> @Resource(lookup="java:app/AppName")
> private String applicationName;{code}
> or
> {code:java}
> private String applicationName;
> @PostConstruct
> protected void initialize() throws NamingException {
> applicationName = InitialContext.doLookup("java:app/AppName");
> }{code}
> when the batch job is started from JBoss CLI, the following error will be logged:
> {code:java}
> javax.naming.NameNotFoundException: java:app/AppName
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (WFLY-13722) When using Galleon to provision Wildfly with core-server+managment layers, the availability of the Admin console is wrongly advertised to the user
by Fabio Burzigotti (Jira)
Fabio Burzigotti created WFLY-13722:
---------------------------------------
Summary: When using Galleon to provision Wildfly with core-server+managment layers, the availability of the Admin console is wrongly advertised to the user
Key: WFLY-13722
URL: https://issues.redhat.com/browse/WFLY-13722
Project: WildFly
Issue Type: Bug
Components: Build System
Affects Versions: 20.0.0.Final
Reporter: Fabio Burzigotti
Assignee: Brian Stansberry
When using Galleon to provision a Wildfly instance which would include just the {{core-server}} and {{managment}} layers, the LOG will trace the following lines:
{code}
...
15:38:17,219 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Full 20.0.1.Final (WildFly Core 12.0.3.Final) started in 1625ms - Started 86 of 89 services (27 services are lazy, passive or on-demand)
15:38:17,221 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
15:38:17,221 INFO [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
{code}
This is a wrong message for the end user because the managment interface will be available at the reported URL but the Admin console won't, returning a HTTP 404 status code.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (WFLY-13676) Increase the test coverage of jpa and jpa-distributed galleon layers
by Yeray Borges Santana (Jira)
[ https://issues.redhat.com/browse/WFLY-13676?page=com.atlassian.jira.plugi... ]
Yeray Borges Santana reopened WFLY-13676:
-----------------------------------------
> Increase the test coverage of jpa and jpa-distributed galleon layers
> --------------------------------------------------------------------
>
> Key: WFLY-13676
> URL: https://issues.redhat.com/browse/WFLY-13676
> Project: WildFly
> Issue Type: Task
> Components: Build System, JPA / Hibernate, Test Suite
> Reporter: Yeray Borges Santana
> Assignee: Yeray Borges Santana
> Priority: Major
> Fix For: 21.0.0.Beta1
>
>
> These layers must be tested independently on testsuite/layers testsuite.
> These layers should also be tested in aggregation with one or more base layers it is expected to decorate, running the test with each of one separately.
> We have to add new Galleon provision execution to provision a server with a base layer provisioned with jpa or jpa-distributed and add a surefire execution to run suitable WildFly tests on them.
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (DROOLS-5549) Drools model compilation fails when using object builders within method calls
by Mario Fusco (Jira)
[ https://issues.redhat.com/browse/DROOLS-5549?page=com.atlassian.jira.plug... ]
Mario Fusco reassigned DROOLS-5549:
-----------------------------------
Assignee: Luca Molteni (was: Mario Fusco)
> Drools model compilation fails when using object builders within method calls
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5549
> URL: https://issues.redhat.com/browse/DROOLS-5549
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.31.0.Final, 7.32.0.Final, 7.33.0.Final, 7.34.0.Final, 7.35.0.Final, 7.36.0.Final, 7.37.0.Final, 7.38.0.Final, 7.39.0.Final, 7.40.0.Final
> Reporter: Ciprian Chiru
> Assignee: Luca Molteni
> Priority: Major
>
> Given the example rule below:
> {code:java}
> import org.example.drools.model.*;
> import java.util.Map;
> global java.util.Set controlSet;
> function String dummyFunction(Map m) {
> return "test";
> }
> rule "will execute per each Measurement having ID color"
> no-loop
> when
> Measurement( id == "color", $colorVal : val )
> $val: String() from dummyFunction(Map.of($colorVal, "something"))))
> then
> controlSet.add($colorVal);
> end{code}
>
> compiling the rule with kie-maven-plugin, it throws the error:
> {code:java}
> ...target/generated-sources/drools-model-compiler/main/java/rules/Rules57a04348fad44377b9eacd9bb5741999RuleMethods0.java:[30,117] cannot find symbol
> [ERROR] symbol: variable $colorVal
> [ERROR] location: class rules.Rules57a04348fad44377b9eacd9bb5741999RuleMethods0{code}
>
> Same rule when not pre-compiled runs fine.
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (DROOLS-5548) Model compiler cannot generate declaration from a function call
by Luca Molteni (Jira)
[ https://issues.redhat.com/browse/DROOLS-5548?page=com.atlassian.jira.plug... ]
Luca Molteni updated DROOLS-5548:
---------------------------------
Summary: Model compiler cannot generate declaration from a function call (was: Model compiler cannot generate code for method calls using variable accessors)
> Model compiler cannot generate declaration from a function call
> ---------------------------------------------------------------
>
> Key: DROOLS-5548
> URL: https://issues.redhat.com/browse/DROOLS-5548
> Project: Drools
> Issue Type: Bug
> Components: executable model
> Affects Versions: 7.31.0.Final, 7.32.0.Final, 7.33.0.Final, 7.34.0.Final, 7.35.0.Final, 7.36.0.Final, 7.37.0.Final, 7.38.0.Final, 7.39.0.Final, 7.40.0.Final
> Reporter: Ciprian Chiru
> Assignee: Luca Molteni
> Priority: Major
>
> Given the example rule below (based on the drools example rule)
>
> {code:java}
> global java.util.Set controlSet;
> declare A
> x: String
> end
> declare B
> a: A
> end
> function String dummyFunction(B b) {
> return "test";
> }
> rule "will execute per each Measurement having ID color"
> no-loop
> when
> Measurement( id == "color", $colorVal : val )
> $b: B()
> $val: String() from dummyFunction($b.a)
> then
> controlSet.add($colorVal);
> end{code}
>
>
> When compiling the rule with _kie-maven-plugin_ it fails with :
> {noformat}
> ...target/generated-sources/drools-model-compiler/main/java/rules/Rules5937a2896da74f01bfa36d294bcf0858RuleMethods0.java:[32,107] cannot find symbol
> [ERROR] symbol: variable $b
> [ERROR] location: class rules.Rules5937a2896da74f01bfa36d294bcf0858RuleMethods0{noformat}
> It transpiles and compiles fine with:
> {code:java}
> $val: String() from dummyFunction($b){code}
>
> This can probably be reproduced on all version.
> It works when the rules are not pre-compiled.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (DROOLS-5549) Drools model compilation fails when using object builders within method calls
by Ciprian Chiru (Jira)
[ https://issues.redhat.com/browse/DROOLS-5549?page=com.atlassian.jira.plug... ]
Ciprian Chiru updated DROOLS-5549:
----------------------------------
Description:
Given the example rule below:
{code:java}
import org.example.drools.model.*;
import java.util.Map;
global java.util.Set controlSet;
function String dummyFunction(Map m) {
return "test";
}
rule "will execute per each Measurement having ID color"
no-loop
when
Measurement( id == "color", $colorVal : val )
$val: String() from dummyFunction(Map.of($colorVal, "something"))))
then
controlSet.add($colorVal);
end{code}
compiling the rule with kie-maven-plugin, it throws the error:
{code:java}
...target/generated-sources/drools-model-compiler/main/java/rules/Rules57a04348fad44377b9eacd9bb5741999RuleMethods0.java:[30,117] cannot find symbol
[ERROR] symbol: variable $colorVal
[ERROR] location: class rules.Rules57a04348fad44377b9eacd9bb5741999RuleMethods0{code}
Same rule when not pre-compiled runs fine.
was:
Given the example rule below:
{code:java}
import org.example.drools.model.*;
import java.util.Map;
global java.util.Set controlSet;
function String dummyFunction(Map m) {
return "test";
}
rule "will execute per each Measurement having ID color"
no-loop
when
Measurement( id == "color", $colorVal : val )
$val: String() from dummyFunction(Map.of($colorVal))
then
controlSet.add($colorVal);
end{code}
compiling the rule with kie-maven-plugin, it throws the error:
{code:java}
...target/generated-sources/drools-model-compiler/main/java/rules/Rules57a04348fad44377b9eacd9bb5741999RuleMethods0.java:[30,117] cannot find symbol
[ERROR] symbol: variable $colorVal
[ERROR] location: class rules.Rules57a04348fad44377b9eacd9bb5741999RuleMethods0{code}
Same rule when not pre-compiled returns the error:
{code:java}
[org.example.drools.service.RulesSession] (main) Message [id=1, kieBase=defaultKieBase, level=ERROR, path=/home/vagrant/git/drools-rules-engine-prototypes/drools-kjar-project/rules/target/classes/rules/dummy-rule.drl, line=-1, column=0
text=Unable to Analyse Expression dummyFunction(Map.of($colorVal)):
[Error: unable to resolve method using strict-mode: java.util.Map.of(java.lang.String)]
[Near : {... dummyFunction(Map.of($colorVal)) ....}] {code}
> Drools model compilation fails when using object builders within method calls
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5549
> URL: https://issues.redhat.com/browse/DROOLS-5549
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.31.0.Final, 7.32.0.Final, 7.33.0.Final, 7.34.0.Final, 7.35.0.Final, 7.36.0.Final, 7.37.0.Final, 7.38.0.Final, 7.39.0.Final, 7.40.0.Final
> Reporter: Ciprian Chiru
> Assignee: Mario Fusco
> Priority: Major
>
> Given the example rule below:
> {code:java}
> import org.example.drools.model.*;
> import java.util.Map;
> global java.util.Set controlSet;
> function String dummyFunction(Map m) {
> return "test";
> }
> rule "will execute per each Measurement having ID color"
> no-loop
> when
> Measurement( id == "color", $colorVal : val )
> $val: String() from dummyFunction(Map.of($colorVal, "something"))))
> then
> controlSet.add($colorVal);
> end{code}
>
> compiling the rule with kie-maven-plugin, it throws the error:
> {code:java}
> ...target/generated-sources/drools-model-compiler/main/java/rules/Rules57a04348fad44377b9eacd9bb5741999RuleMethods0.java:[30,117] cannot find symbol
> [ERROR] symbol: variable $colorVal
> [ERROR] location: class rules.Rules57a04348fad44377b9eacd9bb5741999RuleMethods0{code}
>
> Same rule when not pre-compiled runs fine.
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months
[JBoss JIRA] (DROOLS-5549) Drools model compilation fails when using object builders within method calls
by Ciprian Chiru (Jira)
[ https://issues.redhat.com/browse/DROOLS-5549?page=com.atlassian.jira.plug... ]
Ciprian Chiru reopened DROOLS-5549:
-----------------------------------
I had a mistake in the example code. It should have read:
{code:java}
$val: String() from dummyFunction(Map.of($colorVal, "something")){code}
> Drools model compilation fails when using object builders within method calls
> -----------------------------------------------------------------------------
>
> Key: DROOLS-5549
> URL: https://issues.redhat.com/browse/DROOLS-5549
> Project: Drools
> Issue Type: Bug
> Affects Versions: 7.31.0.Final, 7.32.0.Final, 7.33.0.Final, 7.34.0.Final, 7.35.0.Final, 7.36.0.Final, 7.37.0.Final, 7.38.0.Final, 7.39.0.Final, 7.40.0.Final
> Reporter: Ciprian Chiru
> Assignee: Mario Fusco
> Priority: Major
>
> Given the example rule below:
> {code:java}
> import org.example.drools.model.*;
> import java.util.Map;
> global java.util.Set controlSet;
> function String dummyFunction(Map m) {
> return "test";
> }
> rule "will execute per each Measurement having ID color"
> no-loop
> when
> Measurement( id == "color", $colorVal : val )
> $val: String() from dummyFunction(Map.of($colorVal, "something"))))
> then
> controlSet.add($colorVal);
> end{code}
>
> compiling the rule with kie-maven-plugin, it throws the error:
> {code:java}
> ...target/generated-sources/drools-model-compiler/main/java/rules/Rules57a04348fad44377b9eacd9bb5741999RuleMethods0.java:[30,117] cannot find symbol
> [ERROR] symbol: variable $colorVal
> [ERROR] location: class rules.Rules57a04348fad44377b9eacd9bb5741999RuleMethods0{code}
>
> Same rule when not pre-compiled runs fine.
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 4 months