[JBoss JIRA] (WFLY-349) FreeBSD isThreadCpuTimeSupported
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFLY-349?page=com.atlassian.jira.plugin.s... ]
Brian Stansberry updated WFLY-349:
----------------------------------
Fix Version/s: 8.0.0.Alpha1
(was: 8.0.0.CR1)
> FreeBSD isThreadCpuTimeSupported
> --------------------------------
>
> Key: WFLY-349
> URL: https://issues.jboss.org/browse/WFLY-349
> Project: WildFly
> Issue Type: Feature Request
> Components: Domain Management
> Environment: FreeBSD 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
> openjdk6/openjdk7
> Reporter: Alexander Yerenkow
> Assignee: Brian Stansberry
> Fix For: 8.0.0.Alpha1
>
>
> Platform Tests should be modified, since it's not respecting when isThreadCpuTimeSupported = false (It continues run some test with isThreadCpuTimeSupported, which produces Exceptions, and all test failed);
> Simple test:
> ThreadMXBean threadMXBean = ManagementFactory.getThreadMXBean();
> System.out.println("threadMXBean.isThreadCpuTimeSupported() = " + threadMXBean.isThreadCpuTimeSupported());
> System.out.println("threadMXBean.isThreadCpuTimeEnabled() = " + threadMXBean.isThreadCpuTimeEnabled());
> Result:
> threadMXBean.isThreadCpuTimeSupported() = false
> Exception in thread "main" java.lang.UnsupportedOperationException: Thread CPU time measurement is not supported
> at sun.management.ThreadImpl.isThreadCpuTimeEnabled(ThreadImpl.java:98)
> at Test.main(Test.java:19)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months
[JBoss JIRA] (WFLY-337) Get rid of reflection configuring the ProtocolHandler in WebConnectorService
by Tomaz Cerar (JIRA)
[ https://issues.jboss.org/browse/WFLY-337?page=com.atlassian.jira.plugin.s... ]
Tomaz Cerar reassigned WFLY-337:
--------------------------------
Assignee: Remy Maucherat (was: Heiko Braun)
> Get rid of reflection configuring the ProtocolHandler in WebConnectorService
> ----------------------------------------------------------------------------
>
> Key: WFLY-337
> URL: https://issues.jboss.org/browse/WFLY-337
> Project: WildFly
> Issue Type: Feature Request
> Components: Web (JBoss Web)
> Reporter: Kabir Khan
> Assignee: Remy Maucherat
> Fix For: 8.0.0.Alpha1
>
>
> A lot of the set methods do
> {code}
> if (ssl.hasDefined(Constants.PASSWORD)) {
> Method m = connector.getProtocolHandler().getClass().getMethod("setSSLPassword", String.class);
> m.invoke(connector.getProtocolHandler(), ssl.get(Constants.PASSWORD).asString());
> }
> if (ssl.hasDefined(Constants.CERTIFICATE_KEY_FILE)) {
> Method m = connector.getProtocolHandler().getClass().getMethod("setSSLCertificateKeyFile", String.class);
> m.invoke(connector.getProtocolHandler(), ssl.get(Constants.CERTIFICATE_KEY_FILE).asString());
> }
> //etc.
> {code}
> The ProtocolHandler inteface does not expose them, so maybe they should go there or another common interface for configuring PH's
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 8 months