[JBoss JIRA] (DROOLS-4743) Add empty background data row on migration
by Anna Dupliak (Jira)
[ https://issues.jboss.org/browse/DROOLS-4743?page=com.atlassian.jira.plugi... ]
Anna Dupliak updated DROOLS-4743:
---------------------------------
Description:
During 1.7 -> 1.8 migration background model is created but without empty background data - must add otherwise backend code is broken
*UPD*
The idea is to add an initial empty row in *Background* tab for imported assets.
was:During 1.7 -> 1.8 migration background model is created but without empty background data - must add otherwise backend code is broken
> Add empty background data row on migration
> ------------------------------------------
>
> Key: DROOLS-4743
> URL: https://issues.jboss.org/browse/DROOLS-4743
> Project: Drools
> Issue Type: Bug
> Components: Scenario Simulation and Testing
> Reporter: Gabriele Cardosi
> Assignee: Gabriele Cardosi
> Priority: Blocker
>
> During 1.7 -> 1.8 migration background model is created but without empty background data - must add otherwise backend code is broken
> *UPD*
> The idea is to add an initial empty row in *Background* tab for imported assets.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 8 months
[JBoss JIRA] (DROOLS-4750) DrlParser fails to parse str[endsWith] operator
by Alberto Fanjul Alonso (Jira)
[ https://issues.jboss.org/browse/DROOLS-4750?page=com.atlassian.jira.plugi... ]
Alberto Fanjul Alonso updated DROOLS-4750:
------------------------------------------
Summary: DrlParser fails to parse str[endsWith] operator (was: str[endsWith] operator fails)
> DrlParser fails to parse str[endsWith] operator
> -----------------------------------------------
>
> Key: DROOLS-4750
> URL: https://issues.jboss.org/browse/DROOLS-4750
> Project: Drools
> Issue Type: Bug
> Reporter: Alberto Fanjul Alonso
> Assignee: Mario Fusco
> Priority: Major
> Attachments: str-with-reproducer.tar
>
>
> In documentation
> https://docs.jboss.org/drools/release/7.23.0.Final/drools-docs/html_singl...
> operator str[endsWith] is supposed to be supported, it it is not working.
> Fails with:
> {code:java}
> java.lang.Exception: Rule contains errors![[5,19]: [ERR 102] Line 5:19 mismatched input 'str' in rule "pnr first name end with"]
> at com.amadeus.mdw.bzr.drools_reproducer.StrWithFailOnFirstCompilationErrorReproducerTest.parse(StrWithFailOnFirstCompilationErrorReproducerTest.java:58)
> at com.amadeus.mdw.bzr.drools_reproducer.StrWithFailOnFirstCompilationErrorReproducerTest._03_parseStrWith(StrWithFailOnFirstCompilationErrorReproducerTest.java:74)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 8 months
[JBoss JIRA] (DROOLS-4750) str[endsWith] operator fails
by Alberto Fanjul Alonso (Jira)
[ https://issues.jboss.org/browse/DROOLS-4750?page=com.atlassian.jira.plugi... ]
Alberto Fanjul Alonso commented on DROOLS-4750:
-----------------------------------------------
I run the test org/drools/compiler/integrationtests/StrEvaluatorTest from drools in tag 7.23.0.Final and it is working correctly:
```
git clone https://github.com/kiegroup/drools
cd drools
cd drools-compiler
mvn -Prh-hosted-repo test -Dtest=org.drools.compiler.integrationtests.StrEvaluatorTest
...
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.drools.compiler.integrationtests.StrEvaluatorTest
13:40:47.845 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.registerConfs:105 - Loading kie.conf from file:/home/alberto/redhat/projects/drools/drools-compiler/target/classes/META-INF/kie.conf in classloader sun.misc.Launcher$AppClassLoader@42a57993
13:40:47.855 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:139 - Adding Service org.drools.compiler.kie.builder.impl.KieServicesImpl
13:40:47.861 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:139 - Adding Service org.drools.compiler.builder.impl.KnowledgeBuilderFactoryServiceImpl
13:40:47.861 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.registerConfs:105 - Loading kie.conf from jar:file:/home/alberto/.m2/repository/org/drools/drools-core/7.23.0.Final/drools-core-7.23.0.Final.jar!/META-INF/kie.conf in classloader sun.misc.Launcher$AppClassLoader@42a57993
13:40:47.864 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:139 - Adding Service org.drools.core.io.impl.ResourceFactoryServiceImpl
13:40:47.866 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:139 - Adding Service org.drools.core.marshalling.impl.MarshallerProviderImpl
13:40:47.868 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:139 - Adding Service org.drools.core.concurrent.ExecutorProviderImpl
13:40:47.876 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.registerConfs:105 - Loading kie.conf from jar:file:/home/alberto/.m2/repository/org/kie/kie-internal/7.23.0.Final/kie-internal-7.23.0.Final.jar!/META-INF/kie.conf in classloader sun.misc.Launcher$AppClassLoader@42a57993
13:40:47.881 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:139 - Adding Service org.kie.internal.services.KieAssemblersImpl
13:40:47.885 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:139 - Adding Service org.kie.internal.services.KieRuntimesImpl
13:40:47.888 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:139 - Adding Service org.kie.internal.services.KieWeaversImpl
13:40:47.890 [main] INFO o.k.a.i.utils.ServiceDiscoveryImpl.processKieService:139 - Adding Service org.kie.internal.services.KieBeliefsImpl
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.19 s - in org.drools.compiler.integrationtests.StrEvaluatorTest
[INFO]
[INFO] Results:
[INFO]
[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 37.620 s
[INFO] Finished at: 2019-11-13T13:40:50+01:00
[INFO] ------------------------------------------------------------------------
```
> str[endsWith] operator fails
> ----------------------------
>
> Key: DROOLS-4750
> URL: https://issues.jboss.org/browse/DROOLS-4750
> Project: Drools
> Issue Type: Bug
> Reporter: Alberto Fanjul Alonso
> Assignee: Mario Fusco
> Priority: Major
> Attachments: str-with-reproducer.tar
>
>
> In documentation
> https://docs.jboss.org/drools/release/7.23.0.Final/drools-docs/html_singl...
> operator str[endsWith] is supposed to be supported, it it is not working.
> Fails with:
> {code:java}
> java.lang.Exception: Rule contains errors![[5,19]: [ERR 102] Line 5:19 mismatched input 'str' in rule "pnr first name end with"]
> at com.amadeus.mdw.bzr.drools_reproducer.StrWithFailOnFirstCompilationErrorReproducerTest.parse(StrWithFailOnFirstCompilationErrorReproducerTest.java:58)
> at com.amadeus.mdw.bzr.drools_reproducer.StrWithFailOnFirstCompilationErrorReproducerTest._03_parseStrWith(StrWithFailOnFirstCompilationErrorReproducerTest.java:74)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 8 months
[JBoss JIRA] (WFLY-9958) CacheException: ISPN000482: Cannot create remote transaction GlobalTx:X:Y, already completed
by Sergey Fedostsev (Jira)
[ https://issues.jboss.org/browse/WFLY-9958?page=com.atlassian.jira.plugin.... ]
Sergey Fedostsev commented on WFLY-9958:
----------------------------------------
The same symthoms for 17.0.0 (KUBE_PING, AWS EKS)
> CacheException: ISPN000482: Cannot create remote transaction GlobalTx:X:Y, already completed
> --------------------------------------------------------------------------------------------
>
> Key: WFLY-9958
> URL: https://issues.jboss.org/browse/WFLY-9958
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 12.0.0.Beta1
> Reporter: Michal Vinkler
> Assignee: Paul Ferraro
> Priority: Major
> Labels: clustering_revalidate
> Attachments: graph-throughput.png
>
>
> Seen in scenario: stress-granular-repl-sync
> While the test continues fine for 30 minutes (see [graph-throughput.png|https://issues.jboss.org/secure/attachment/12432242/...], number of clients: 4400), after that servers start logging:
> {code}
> [JBossINF] [0m[33m14:46:11,468 WARN [org.infinispan.remoting.inboundhandler.NonTotalOrderTxPerCacheInboundInvocationHandler] (remote-thread--p6-t109) ISPN000071: Caught exception when handling command PrepareCommand {modifications=[PutKeyValueCommand{key=SessionAttributeKey(ncgjLiWY7FMFf-_Ckh5ono75wTkovkRoyrFFw4er[1]), value=[B@45b6e38f, flags=[FORCE_SYNCHRONOUS], commandInvocationId=CommandInvocation:local:0, putIfAbsent=false, valueMatcher=MATCH_ALWAYS, metadata=EmbeddedExpirableMetadata{lifespan=-1, maxIdle=-1, version=null}, successful=true, topologyId=13}, PutKeyValueCommand{key=SessionAccessMetaDataKey(ncgjLiWY7FMFf-_Ckh5ono75wTkovkRoyrFFw4er), value=org.wildfly.clustering.web.infinispan.session.SimpleSessionAccessMetaData@4b711549, flags=[IGNORE_RETURN_VALUES], commandInvocationId=CommandInvocation:local:0, putIfAbsent=false, valueMatcher=MATCH_ALWAYS, metadata=EmbeddedExpirableMetadata{lifespan=-1, maxIdle=-1, version=null}, successful=true, topologyId=13}], onePhaseCommit=true, retried=false, gtx=GlobalTx:dev215:17647090, cacheName='clusterbench-ee7.ear.clusterbench-ee7-web-granular.war', topologyId=13}: org.infinispan.commons.CacheException: ISPN000482: Cannot create remote transaction GlobalTx:dev215:17647090, already completed
> [JBossINF] at org.infinispan.transaction.impl.TransactionTable.lambda$getOrCreateRemoteTransaction$1(TransactionTable.java:387)
> [JBossINF] at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853)
> [JBossINF] at org.infinispan.transaction.impl.TransactionTable.getOrCreateRemoteTransaction(TransactionTable.java:380)
> [JBossINF] at org.infinispan.transaction.impl.TransactionTable.getOrCreateRemoteTransaction(TransactionTable.java:360)
> [JBossINF] at org.infinispan.commands.tx.PrepareCommand.createContext(PrepareCommand.java:120)
> [JBossINF] at org.infinispan.commands.tx.PrepareCommand.invokeAsync(PrepareCommand.java:101)
> [JBossINF] at org.infinispan.remoting.inboundhandler.BasePerCacheInboundInvocationHandler.invokeCommand(BasePerCacheInboundInvocationHandler.java:102)
> [JBossINF] at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.invoke(BaseBlockingRunnable.java:99)
> [JBossINF] at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.runAsync(BaseBlockingRunnable.java:71)
> [JBossINF] at org.infinispan.remoting.inboundhandler.BaseBlockingRunnable.run(BaseBlockingRunnable.java:40)
> [JBossINF] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
> [JBossINF] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
> [JBossINF] at org.wildfly.clustering.service.concurrent.ClassLoaderThreadFactory.lambda$newThread$0(ClassLoaderThreadFactory.java:47)
> [JBossINF] at java.lang.Thread.run(Thread.java:748)
> {code}
> Clients start logging Read timeout:
> {code}
> 2018/03/04 14:45:56:846 EST [WARN ][Runner - 21] HOST dev220.mw.lab.eng.bos.redhat.com:rootProcess:c - Error sampling data: <org.jboss.smartfrog.loaddriver.RequestProcessingException: IO error: java.net.SocketTimeoutException: Read timed out>
>
> 2018/03/04 14:45:56:846 EST [WARN ][Runner - 21] SFCORE_LOG - Error sampling data: <org.jboss.smartfrog.loaddriver.RequestProcessingException: IO error: java.net.SocketTimeoutException: Read timed out>
> org.jboss.smartfrog.loaddriver.RequestProcessingException: IO error: java.net.SocketTimeoutException: Read timed out
> at org.jboss.smartfrog.loaddriver.http.HttpRequestProcessorFactoryImpl$HttpRequestProcessor.processRequest(HttpRequestProcessorFactoryImpl.java:266)
> at org.jboss.smartfrog.loaddriver.CompoundRequestProcessorFactoryImpl$CompoundRequestProcessor.processRequest(CompoundRequestProcessorFactoryImpl.java:52)
> at org.jboss.smartfrog.loaddriver.Runner.run(Runner.java:103)
> at java.lang.Thread.run(Thread.java:748)
> Caused by: java.net.SocketTimeoutException: Read timed out
> at java.net.SocketInputStream.socketRead0(Native Method)
> at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
> at java.net.SocketInputStream.read(SocketInputStream.java:171)
> at java.net.SocketInputStream.read(SocketInputStream.java:141)
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:265)
> at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
> at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
> at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
> at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
> at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
> at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
> at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
> at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
> at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
> at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
> at org.jboss.smartfrog.loaddriver.http.HttpRequestProcessorFactoryImpl$HttpRequestProcessor.processRequest(HttpRequestProcessorFactoryImpl.java:147)
> ... 3 more
> {code}
> The test recovers after some time and then the issue occurs again in the cycles.
> Links
> client: http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/eap-7x-stress-gra...
> server: http://jenkins.hosts.mwqe.eng.bos.redhat.com/hudson/job/eap-7x-stress-gra...
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 8 months
[JBoss JIRA] (DROOLS-4750) str[endsWith] operator fails
by Alberto Fanjul Alonso (Jira)
Alberto Fanjul Alonso created DROOLS-4750:
---------------------------------------------
Summary: str[endsWith] operator fails
Key: DROOLS-4750
URL: https://issues.jboss.org/browse/DROOLS-4750
Project: Drools
Issue Type: Bug
Reporter: Alberto Fanjul Alonso
Assignee: Mario Fusco
Attachments: str-with-reproducer.tar
In documentation
https://docs.jboss.org/drools/release/7.23.0.Final/drools-docs/html_singl...
operator str[endsWith] is supposed to be supported, it it is not working.
Fails with:
{code:java}
java.lang.Exception: Rule contains errors![[5,19]: [ERR 102] Line 5:19 mismatched input 'str' in rule "pnr first name end with"]
at com.amadeus.mdw.bzr.drools_reproducer.StrWithFailOnFirstCompilationErrorReproducerTest.parse(StrWithFailOnFirstCompilationErrorReproducerTest.java:58)
at com.amadeus.mdw.bzr.drools_reproducer.StrWithFailOnFirstCompilationErrorReproducerTest._03_parseStrWith(StrWithFailOnFirstCompilationErrorReproducerTest.java:74)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 8 months
[JBoss JIRA] (WFLY-12783) EJBAccessException when security domain mapping added in the EJB3 subsystem to enable elytron
by Katarina Hermanova (Jira)
[ https://issues.jboss.org/browse/WFLY-12783?page=com.atlassian.jira.plugin... ]
Katarina Hermanova updated WFLY-12783:
--------------------------------------
Component/s: Security
> EJBAccessException when security domain mapping added in the EJB3 subsystem to enable elytron
> ---------------------------------------------------------------------------------------------
>
> Key: WFLY-12783
> URL: https://issues.jboss.org/browse/WFLY-12783
> Project: WildFly
> Issue Type: Task
> Components: Security, Web Services
> Reporter: Katarina Hermanova
> Assignee: Jim Ma
> Priority: Optional
> Attachments: newWebServiceDemo.zip
>
>
> Having webservice with @RolesAllowed annotation and security domain defined in the jboss-ejb3.xml (or @SecurityDomain). When this security domain mapping is added in the EJB3 subsystem it is failing with "javax.ejb.EJBAccessException: WFLYEJB0364: Invocation on method: METHOD of bean: BEAN is not allowed".
> I believe the message is not clearly describing the problem and maybe the documentation should be extended.
> Steps to reproduce:
> 1, Deploy echoServer-1.0-SNAPSHOT.jar
> 2, Add user with `$ {jbossHomeName}/bin/add-user.sh -a -u 'quickstartUser' -p 'quickstartPwd1!' -g 'guest,admin'`
> 3, To add security domain mapping in the EJB3 subsystem run `/subsystem=ejb3/application-security-domain=other:add(security-domain=ApplicationDomain)` and `reload` using $ {jbossHomeName}/bin/jboss-cli.sh
> 4, Run EchoClient.main()
> - to restore configuration run `/subsystem=ejb3/application-security-domain=other:remove` and `reload` using $ {jbossHomeName}/bin/jboss-cli.sh
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
6 years, 8 months