About the function of StuckThreadMaxTime to add
by 高永露
StuckThreadMaxTime: Enter the number of seconds, that a thread must be continually working before this server diagnoses the thread as being stuck.When time is up,the thread will killed。
In weblogic is 600s.I think this function useful for some scenarios。
Wildfly is consider adding this feature?
7 years, 10 months
Add a warning if some configuration change has wider impact and could cause error?
by Bartosz Baranowski
Hey guys.
In some cases there are/will be conf changes that might require user to make additional change, for instance [1].
In this case, if user does not edit the name in two places, when remote client tries to reach out, it will fail.
As far as I remember, there as of now, there is no formal constraint feature for config values.
I've talked with Brian about this and it seems and viable option would be to simply add a header to response.
In CLI, it would be clearly visible, in console, it would require a bit of hacking to present
information/hint what needs to be done to configuration to make it work properly.
Any thoughts?
[1] https://issues.jboss.org/browse/WFCORE-1987
7 years, 11 months
jdk 9 reflection problem
by Michael Musgrove
We have just upgraded our jdk build to 9-ea+149 which has tightened up the
accessibility rules. The recommendation seems to be to use the --add-opens
flag to override the rules.
I tried export MAVEN_OPTS="--add-opens java.base/java.util=ALL-UNNAMED"
which made no difference. Our jdk 9 FAQ does not provided any hints either.
Can anyone provide advice on how to resolve the following maven build error:
[WARNING] Error injecting: org.apache.maven.plugins.war.WarMojo
com.google.inject.ProvisionException: Unable to provision, see the
following errors:
1) Error injecting constructor, java.lang.ExceptionInInitializerError
at org.apache.maven.plugins.war.WarMojo.<init>(Unknown Source)
while locating org.apache.maven.plugins.war.WarMojo
...
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make
field private final java.util.Comparator java.util.TreeMap.comparator
accessible: module java.base does not "opens java.util" to unnamed m
odule @669f2128
at
java.base/jdk.internal.reflect.Reflection.throwInaccessibleObjectException(Reflection.java:427)
at
java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:201)
at
java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:171)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:165)
at com.thoughtworks.xstream.core.util.Fields.locate(Fields.java:40)
at
com.thoughtworks.xstream.converters.collections.TreeMapConverter.<clinit>(TreeMapConverter.java:50)
--
Michael Musgrove
Transactions Team
e: mmusgrov(a)redhat.com
t: +44 191 243 0870
Our mission:To be the catalyst in communities of customers, contributors,
and partners creating better technology the open source way.
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham (US), Paul Hickey (Ireland), Matt Parson
(US), Charles Peters (US)
Michael Cunningham (US), Charles Peters (US), Matt Parson (US), Michael
O'Neill(Ireland)
7 years, 11 months