hal / core Goto Github PK
View Code? Open in Web Editor NEWManagement console for WildFly 12 and below
License: GNU Lesser General Public License v2.1
Management console for WildFly 12 and below
License: GNU Lesser General Public License v2.1
I found difference in behavior of DMR in GWT debug from behavior in compiled form, when code in HAL try to read not existing attribute or attribute of not existing node:
// reading not existing attribute of /
ModelNode operation = new ModelNode();
operation.get(ADDRESS).set(new ModelNode());
operation.get(NAME).set("notexisting");
operation.get(OP).set(READ_ATTRIBUTE_OPERATION);
dispatcher.execute(new DMRAction(operation), new LoggingCallback<DMRResponse>() {
public void onSuccess(DMRResponse response) {
ModelNode outcome = response.get().get(ModelDescriptionConstants.OUTCOME);
if(outcome.asString().equals(ModelDescriptionConstants.SUCCESS)){
// ...
}else{
// **This will be executed in GWT debug mode**
}
}
public void onFailure(Throwable caught) {
// **This will be executed in production**
}
});
Root of the problem is in statusCode of HTTP response - in production is 500, but in GWT debug is 200:
I am unable to set the filename of a file handler or periodic file handler in the UI:
In the standalone.xml file I am able to actually configure a file like that:
<periodic-rotating-file-handler name="FILE" autoflush="true">
<formatter>
<named-formatter name="PATTERN"/>
</formatter>
<file relative-to="jboss.server.log.dir" path="server.log"/>
<suffix value=".yyyy-MM-dd"/>
<append value="true"/>
</periodic-rotating-file-handler>
In the XML the suffix
attribute looks pretty similar to file
and is shown in the UI.
So I went through the source code starting from src.main.java.org.jboss.as.console.client.shared.subsys.logger.HandlerView
, but I was not able to track the issue down further than that.
Expected behavior: A field to enter the filename should show up under attributes in the UI.
Used version: WildFly 9.0.1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.