[JBoss JIRA] (WFLY-6650) Cannot enable infinispan batching
by Julien Guillot (JIRA)
Julien Guillot created WFLY-6650:
------------------------------------
Summary: Cannot enable infinispan batching
Key: WFLY-6650
URL: https://issues.jboss.org/browse/WFLY-6650
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 10.0.0.Final
Reporter: Julien Guillot
Assignee: Paul Ferraro
Priority: Minor
Creating a TreeCache from a cache configured in standalone.xml fails with error:"invocationBatching is not enabled", whereas cache is configured with transaction mode BATCH. I'm not sure this configuration is right, [documentation|https://docs.jboss.org/author/display/WFLY10/Infinispan+Sub...] seems outdated.
Cache configuration is:
{noformat}
<cache-container name="testContainer" jndi-name="java:jboss/infinispan/container/testContainer">
<local-cache name="testCache">
<transaction mode="BATCH"/>
<eviction strategy="LRU" max-entries="43210"/>
</local-cache>
</cache-container>
{noformat}
Tree cache creation code:
{code:java}
@Resource(lookup = "java:jboss/infinispan/cache/testContainer/testCache")
private Cache<String, String> testBaseCache;
@PostConstruct
public void onStartup() {
debugInfo();
new TreeCacheFactory().createTreeCache(this.testBaseCache);
}
{code}
Error:
{noformat}
ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 64) MSC000001: Failed to start service jboss.deployment.subunit."test-wfy10-cache-tree.ear-0.0.0-SNAPSHOT.ear"."test-wfy10-cache-tree.jar.jar".component.TreeCacheBean.START: org.jboss.msc.service.StartException in service jboss.deployment.subunit."test-wfy10-cache-tree.ear-0.0.0-SNAPSHOT.ear"."test-wfy10-cache-tree.jar.jar".component.TreeCacheBean.START: java.lang.IllegalStateException: WFLYEE0042: Failed to construct component instance
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (WFLY-6632) Unable to create replicated cache
by Vinay Lodha (JIRA)
[ https://issues.jboss.org/browse/WFLY-6632?page=com.atlassian.jira.plugin.... ]
Vinay Lodha edited comment on WFLY-6632 at 5/25/16 2:07 AM:
------------------------------------------------------------
Attached server config used to reproduce this issue and log file for step no 5
was (Author: vinay.lodha):
server config used to reproduce this issue
> Unable to create replicated cache
> ----------------------------------
>
> Key: WFLY-6632
> URL: https://issues.jboss.org/browse/WFLY-6632
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 9.0.2.Final
> Reporter: Vinay Lodha
> Assignee: Paul Ferraro
> Attachments: server.log, spring2-mvc-xml-hello-world-1.0-SNAPSHOT.war, spring2-mvc-xml.zip, standalone.xml
>
>
> servers is unable to create replicated or distributed infinispan cache,
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (WFLY-6632) Unable to create replicated cache
by Vinay Lodha (JIRA)
[ https://issues.jboss.org/browse/WFLY-6632?page=com.atlassian.jira.plugin.... ]
Vinay Lodha edited comment on WFLY-6632 at 5/25/16 2:06 AM:
------------------------------------------------------------
server config used to reproduce this issue
was (Author: vinay.lodha):
server config
> Unable to create replicated cache
> ----------------------------------
>
> Key: WFLY-6632
> URL: https://issues.jboss.org/browse/WFLY-6632
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 9.0.2.Final
> Reporter: Vinay Lodha
> Assignee: Paul Ferraro
> Attachments: server.log, spring2-mvc-xml-hello-world-1.0-SNAPSHOT.war, spring2-mvc-xml.zip, standalone.xml
>
>
> servers is unable to create replicated or distributed infinispan cache,
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (WFLY-6632) Unable to create replicated cache
by Vinay Lodha (JIRA)
[ https://issues.jboss.org/browse/WFLY-6632?page=com.atlassian.jira.plugin.... ]
Vinay Lodha commented on WFLY-6632:
-----------------------------------
Yeah they are only reference in web.xml, I think that is the only place it is reference right now. If it would help I can update code to use that cache. Please let me know and I can post updated code but personally I think that wont be part of this bug and result would be same.
Also Please find attached log for step 5 and standalone.xml, in standalone.xml I have not added JGroups declaration and using default one.
> Unable to create replicated cache
> ----------------------------------
>
> Key: WFLY-6632
> URL: https://issues.jboss.org/browse/WFLY-6632
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 9.0.2.Final
> Reporter: Vinay Lodha
> Assignee: Paul Ferraro
> Attachments: server.log, spring2-mvc-xml-hello-world-1.0-SNAPSHOT.war, spring2-mvc-xml.zip, standalone.xml
>
>
> servers is unable to create replicated or distributed infinispan cache,
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (DROOLS-1192) DialectUtil.normalizeRuleName() doesn't normalize multibyte rule names
by Toshiya Kobayashi (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1192?page=com.atlassian.jira.plugi... ]
Toshiya Kobayashi commented on DROOLS-1192:
-------------------------------------------
If the rule name contains a whitespace "rule (hello)", the name will be normalized because it matches NON_ALPHA_REGEX.
> DialectUtil.normalizeRuleName() doesn't normalize multibyte rule names
> ----------------------------------------------------------------------
>
> Key: DROOLS-1192
> URL: https://issues.jboss.org/browse/DROOLS-1192
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.4.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Mario Fusco
>
> Assuming you have a rule name "rule(hello)",
> {noformat}
> package com.sample
> rule "rule(hello)"
> when
> then
> end
> {noformat}
> Here, ' (' and ')' ... U+FF08 (FULLWIDTH LEFT PARENTHESIS) and U+FF09 (FULLWIDTH RIGHT PARENTHESIS) are not a Java identifier part. The rule fails to compile.
> {noformat}
> Rule Compilation error : [Rule name='rule(hello)']
> com/sample/Rule_rule(hello)0.java (3:84) : Syntax error on tokens, delete these tokens
> com/sample/Rule_rule(hello)0.java (3:97) : The public type Rule_rule must be defined in its own file
> com/sample/Rule_rule(hello)0.java (3:115) : Syntax error, insert "}" to complete Block
> com/sample/Rule_rule(hello)0.java (4:121) : Syntax error on tokens, delete these tokens
> com/sample/Rule_rule(hello)0.java (6:187) : Syntax error on token "void", @ expected
> com/sample/Rule_rule(hello)0.java (6:211) : Syntax error on token(s), misplaced construct(s)
> com/sample/Rule_rule(hello)0.java (6:238) : Syntax error on token "throws", @ expected
> com/sample/Rule_rule(hello)0.java (6:255) : Syntax error, insert "enum Identifier" to complete EnumHeader
> com/sample/Rule_rule(hello)0.java (11:332) : Syntax error on token "}", delete this token
> {noformat}
> But such a non-java identifier part should be normalized by org.drools.compiler.rule.builder.dialect.DialectUtil.normalizeRuleName() during the build. The problem is that DialectUtil.normalizeRuleName() misses to process the name because of NON_ALPHA_REGEX check. NON_ALPHA_REGEX doesn't take account into Unicode characters.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (DROOLS-1192) DialectUtil.normalizeRuleName() doesn't normalize multibyte rule names
by Toshiya Kobayashi (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1192?page=com.atlassian.jira.plugi... ]
Toshiya Kobayashi updated DROOLS-1192:
--------------------------------------
Description:
Assuming you have a rule name "rule(hello)",
{noformat}
package com.sample
rule "rule(hello)"
when
then
end
{noformat}
Here, ' (' and ')' ... U+FF08 (FULLWIDTH LEFT PARENTHESIS) and U+FF09 (FULLWIDTH RIGHT PARENTHESIS) are not a Java identifier part. The rule fails to compile.
{noformat}
Rule Compilation error : [Rule name='rule(hello)']
com/sample/Rule_rule(hello)0.java (3:84) : Syntax error on tokens, delete these tokens
com/sample/Rule_rule(hello)0.java (3:97) : The public type Rule_rule must be defined in its own file
com/sample/Rule_rule(hello)0.java (3:115) : Syntax error, insert "}" to complete Block
com/sample/Rule_rule(hello)0.java (4:121) : Syntax error on tokens, delete these tokens
com/sample/Rule_rule(hello)0.java (6:187) : Syntax error on token "void", @ expected
com/sample/Rule_rule(hello)0.java (6:211) : Syntax error on token(s), misplaced construct(s)
com/sample/Rule_rule(hello)0.java (6:238) : Syntax error on token "throws", @ expected
com/sample/Rule_rule(hello)0.java (6:255) : Syntax error, insert "enum Identifier" to complete EnumHeader
com/sample/Rule_rule(hello)0.java (11:332) : Syntax error on token "}", delete this token
{noformat}
But such a non-java identifier part should be normalized by org.drools.compiler.rule.builder.dialect.DialectUtil.normalizeRuleName() during the build. The problem is that DialectUtil.normalizeRuleName() misses to process the name because of NON_ALPHA_REGEX check. NON_ALPHA_REGEX doesn't take account into Unicode characters.
was:
Assuming you have a rule name "rule (hello)",
{noformat}
package com.sample
rule "rule(hello)"
when
then
end
{noformat}
Here, ' (' and ')' ... U+FF08 (FULLWIDTH LEFT PARENTHESIS) and U+FF09 (FULLWIDTH RIGHT PARENTHESIS) are not a Java identifier part. The rule fails to compile.
{noformat}
Rule Compilation error : [Rule name='rule(hello)']
com/sample/Rule_rule(hello)0.java (3:84) : Syntax error on tokens, delete these tokens
com/sample/Rule_rule(hello)0.java (3:97) : The public type Rule_rule must be defined in its own file
com/sample/Rule_rule(hello)0.java (3:115) : Syntax error, insert "}" to complete Block
com/sample/Rule_rule(hello)0.java (4:121) : Syntax error on tokens, delete these tokens
com/sample/Rule_rule(hello)0.java (6:187) : Syntax error on token "void", @ expected
com/sample/Rule_rule(hello)0.java (6:211) : Syntax error on token(s), misplaced construct(s)
com/sample/Rule_rule(hello)0.java (6:238) : Syntax error on token "throws", @ expected
com/sample/Rule_rule(hello)0.java (6:255) : Syntax error, insert "enum Identifier" to complete EnumHeader
com/sample/Rule_rule(hello)0.java (11:332) : Syntax error on token "}", delete this token
{noformat}
But such a non-java identifier part should be normalized by org.drools.compiler.rule.builder.dialect.DialectUtil.normalizeRuleName() during the build. The problem is that DialectUtil.normalizeRuleName() misses to process the name because of NON_ALPHA_REGEX check. NON_ALPHA_REGEX doesn't take account into Unicode characters.
> DialectUtil.normalizeRuleName() doesn't normalize multibyte rule names
> ----------------------------------------------------------------------
>
> Key: DROOLS-1192
> URL: https://issues.jboss.org/browse/DROOLS-1192
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 6.4.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Mario Fusco
>
> Assuming you have a rule name "rule(hello)",
> {noformat}
> package com.sample
> rule "rule(hello)"
> when
> then
> end
> {noformat}
> Here, ' (' and ')' ... U+FF08 (FULLWIDTH LEFT PARENTHESIS) and U+FF09 (FULLWIDTH RIGHT PARENTHESIS) are not a Java identifier part. The rule fails to compile.
> {noformat}
> Rule Compilation error : [Rule name='rule(hello)']
> com/sample/Rule_rule(hello)0.java (3:84) : Syntax error on tokens, delete these tokens
> com/sample/Rule_rule(hello)0.java (3:97) : The public type Rule_rule must be defined in its own file
> com/sample/Rule_rule(hello)0.java (3:115) : Syntax error, insert "}" to complete Block
> com/sample/Rule_rule(hello)0.java (4:121) : Syntax error on tokens, delete these tokens
> com/sample/Rule_rule(hello)0.java (6:187) : Syntax error on token "void", @ expected
> com/sample/Rule_rule(hello)0.java (6:211) : Syntax error on token(s), misplaced construct(s)
> com/sample/Rule_rule(hello)0.java (6:238) : Syntax error on token "throws", @ expected
> com/sample/Rule_rule(hello)0.java (6:255) : Syntax error, insert "enum Identifier" to complete EnumHeader
> com/sample/Rule_rule(hello)0.java (11:332) : Syntax error on token "}", delete this token
> {noformat}
> But such a non-java identifier part should be normalized by org.drools.compiler.rule.builder.dialect.DialectUtil.normalizeRuleName() during the build. The problem is that DialectUtil.normalizeRuleName() misses to process the name because of NON_ALPHA_REGEX check. NON_ALPHA_REGEX doesn't take account into Unicode characters.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months
[JBoss JIRA] (DROOLS-1192) DialectUtil.normalizeRuleName() doesn't normalize multibyte rule names
by Toshiya Kobayashi (JIRA)
Toshiya Kobayashi created DROOLS-1192:
-----------------------------------------
Summary: DialectUtil.normalizeRuleName() doesn't normalize multibyte rule names
Key: DROOLS-1192
URL: https://issues.jboss.org/browse/DROOLS-1192
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 6.4.0.Final
Reporter: Toshiya Kobayashi
Assignee: Mario Fusco
Assuming you have a rule name "rule (hello)",
{noformat}
package com.sample
rule "rule(hello)"
when
then
end
{noformat}
Here, ' (' and ')' ... U+FF08 (FULLWIDTH LEFT PARENTHESIS) and U+FF09 (FULLWIDTH RIGHT PARENTHESIS) are not a Java identifier part. The rule fails to compile.
{noformat}
Rule Compilation error : [Rule name='rule(hello)']
com/sample/Rule_rule(hello)0.java (3:84) : Syntax error on tokens, delete these tokens
com/sample/Rule_rule(hello)0.java (3:97) : The public type Rule_rule must be defined in its own file
com/sample/Rule_rule(hello)0.java (3:115) : Syntax error, insert "}" to complete Block
com/sample/Rule_rule(hello)0.java (4:121) : Syntax error on tokens, delete these tokens
com/sample/Rule_rule(hello)0.java (6:187) : Syntax error on token "void", @ expected
com/sample/Rule_rule(hello)0.java (6:211) : Syntax error on token(s), misplaced construct(s)
com/sample/Rule_rule(hello)0.java (6:238) : Syntax error on token "throws", @ expected
com/sample/Rule_rule(hello)0.java (6:255) : Syntax error, insert "enum Identifier" to complete EnumHeader
com/sample/Rule_rule(hello)0.java (11:332) : Syntax error on token "}", delete this token
{noformat}
But such a non-java identifier part should be normalized by org.drools.compiler.rule.builder.dialect.DialectUtil.normalizeRuleName() during the build. The problem is that DialectUtil.normalizeRuleName() misses to process the name because of NON_ALPHA_REGEX check. NON_ALPHA_REGEX doesn't take account into Unicode characters.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 7 months