[JBoss JIRA] (ELY-372) Add runAs* variants that are lambda-friendly
by David Lloyd (JIRA)
David Lloyd created ELY-372:
-------------------------------
Summary: Add runAs* variants that are lambda-friendly
Key: ELY-372
URL: https://issues.jboss.org/browse/ELY-372
Project: WildFly Elytron
Issue Type: Enhancement
Components: API / SPI
Reporter: David Lloyd
Assignee: David Lloyd
Priority: Minor
Fix For: 1.1.0.Beta2
The runAs* methods are overloaded and thus are hostile to lambdas. Add variations that do not have ambiguous overloads and which accept (Bi)Function, (Bi)Consumer, and Supplier arguments.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFCORE-917) "Could not initialize class java.lang.StringCoding" on HP-UX
by Gene Bradley (JIRA)
[ https://issues.jboss.org/browse/WFCORE-917?page=com.atlassian.jira.plugin... ]
Gene Bradley commented on WFCORE-917:
-------------------------------------
hi Marek, are you using a LANG setting when running this?
> "Could not initialize class java.lang.StringCoding" on HP-UX
> ------------------------------------------------------------
>
> Key: WFCORE-917
> URL: https://issues.jboss.org/browse/WFCORE-917
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Reporter: Marek Kopecký
> Assignee: Jason Greene
>
> *Description of problem:*
> "NoClassDefFoundError: Could not initialize class java.lang.StringCoding" occurs on HP-UX in a non-interactive mode of CLI
> This is intermittent issue.
> This exception occurs even without running domain server.
> *How reproducible:*
> 2% on HP-UX
> *Steps to Reproduce: (this reproducer always hits this issue)*
> # ./domain.sh \# optional step
> # {noformat}for (( i = 1; i <= 200 ; i++ )) ; do
> ./jboss-cli.sh -c command="/profile=test:add"
> ./jboss-cli.sh -c command="/profile=test:remove"
> done{noformat}
> *Actual results:*
> {noformat}
> Exception: java.lang.NullPointerException thrown from the UncaughtExceptionHandler in thread "Finalizer"
> Error occurred during initialization of VM
> java.lang.NoClassDefFoundError: Could not initialize class java.lang.StringCoding
> at java.lang.String.<init>(String.java:534)
> at java.lang.String.<init>(String.java:554)
> at java.lang.System.initProperties(Native Method)
> at java.lang.System.initializeSystemClass(System.java:1164)
> {noformat}
> *Expected results:*
> No errors
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFLY-5693) Improve clustering thread pool validation
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-5693?page=com.atlassian.jira.plugin.... ]
Radoslav Husar updated WFLY-5693:
---------------------------------
Issue Type: Task (was: Feature Request)
> Improve clustering thread pool validation
> -----------------------------------------
>
> Key: WFLY-5693
> URL: https://issues.jboss.org/browse/WFLY-5693
> Project: WildFly
> Issue Type: Task
> Components: Clustering
> Affects Versions: 10.0.0.CR4
> Reporter: Radoslav Husar
> Assignee: Radoslav Husar
> Priority: Optional
>
> Currently, configuration where e.g. max threads is smaller than min threads is accepted in the model, is not validated by jgroups either and then fails at runtime
> {noformat}
> 15:17:50,221 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.jgroups.channel.ee: org.jboss.msc.service.StartException in service jboss.jgroups.channel.ee: java.lang.IllegalArgumentException
> at org.wildfly.clustering.jgroups.spi.service.ChannelBuilder.start(ChannelBuilder.java:80)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
> at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.IllegalArgumentException
> at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1307)
> at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1195)
> at org.jgroups.protocols.TP.createThreadPool(TP.java:2358)
> at org.jgroups.protocols.TP.init(TP.java:1152)
> at org.jgroups.protocols.BasicTCP.init(BasicTCP.java:87)
> at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:860)
> at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:481)
> at org.jgroups.JChannel.init(JChannel.java:853)
> at org.jgroups.JChannel.<init>(JChannel.java:159)
> at org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:95)
> at org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:92)
> at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
> at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:98)
> at org.wildfly.clustering.jgroups.spi.service.ChannelBuilder.start(ChannelBuilder.java:78)
> ... 5 more
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months
[JBoss JIRA] (WFLY-5693) Improve clustering thread pool validation
by Radoslav Husar (JIRA)
Radoslav Husar created WFLY-5693:
------------------------------------
Summary: Improve clustering thread pool validation
Key: WFLY-5693
URL: https://issues.jboss.org/browse/WFLY-5693
Project: WildFly
Issue Type: Feature Request
Components: Clustering
Affects Versions: 10.0.0.CR4
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Priority: Optional
Currently, configuration where e.g. max threads is smaller than min threads is accepted in the model, is not validated by jgroups either and then fails at runtime
{noformat}
15:17:50,221 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC000001: Failed to start service jboss.jgroups.channel.ee: org.jboss.msc.service.StartException in service jboss.jgroups.channel.ee: java.lang.IllegalArgumentException
at org.wildfly.clustering.jgroups.spi.service.ChannelBuilder.start(ChannelBuilder.java:80)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException
at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1307)
at java.util.concurrent.ThreadPoolExecutor.<init>(ThreadPoolExecutor.java:1195)
at org.jgroups.protocols.TP.createThreadPool(TP.java:2358)
at org.jgroups.protocols.TP.init(TP.java:1152)
at org.jgroups.protocols.BasicTCP.init(BasicTCP.java:87)
at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:860)
at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:481)
at org.jgroups.JChannel.init(JChannel.java:853)
at org.jgroups.JChannel.<init>(JChannel.java:159)
at org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:95)
at org.jboss.as.clustering.jgroups.JChannelFactory$1.run(JChannelFactory.java:92)
at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:636)
at org.jboss.as.clustering.jgroups.JChannelFactory.createChannel(JChannelFactory.java:98)
at org.wildfly.clustering.jgroups.spi.service.ChannelBuilder.start(ChannelBuilder.java:78)
... 5 more
{noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 8 months