Configure Connectors - JBoss
How to Configure enable-welcome-root Value - JBoss
After you set up Quantum Fabric, to access the Quantum Fabric console successfully, set the enable-welcome-root value
to false
in the domain.xml
file in your JBoss.
To configure enable-welcome-root value in the standalone.xml file, follow these steps:
- In master node, open the
standalone.xml
file fromJBOSSDIR\domain\configuration
, and search for enable-welcome-root="true". - Replace enable-welcome-root="true" with enable-welcome-root="false".
You can access Quantum Fabric Console now.
How to Configure Connector - JBoss
For importing an app to Quantum Fabric Console properly, you must have set the enough value for the max-post-size
in the standalone.xml
file. To configure the max-post-size
, follow these steps:
For HTTP
Configure the following in the standalone.xml file.
- Open the standalone.xml file for HTTP.
- Configure the following connector tag in standalone.xml file.
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http"/>
<http-listener name="default" max-post-size="262144000" socket-binding="http" redirect-socket="https"/> - Save the file.
For HTTPS
Configure the following in the standalone.xml file.
- Open the standalone.xml file for HTTPS.
- Configure the following connector tag in the standalone.xml file.
<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" redirect-port="<HTTPS_PORT>"/> <connector name="HTTPS" protocol="HTTP/1.1" scheme="https" socket-binding="https" secure="true">
<ssl name="https" password="<KEYSTORE_PASS>" certificate-key-file="<KEYSTORE_FILE>" protocol="TLSv1,TLSv1.1,TLSv1.2"/>
</connector>The following attributes in the connector tag need to be configured with values - for example:
- port="1021"
- password="password"
- certificate-key-file="path for the .jks file"
- Configure the following management connector tag under the
<management><security-realms>
tag:<security-realm name="WebSocketRealm"> <server-identities> <ssl> <keystore path="certs/konywild-2017.jks" relative-to="jboss.server.config.dir" keystore-password="<KEYSTORE_PASS>"/> </ssl> </server-identities> </security-realm>
- Configure the following HTTPs post size tag under the
<subsystem xmlns="urn:jboss:domain:undertow:3.1"> <buffer-cache name="default"/><server name="default-server">
tag:<http-listener name="default" max-post-size="262144000" socket-binding="http" redirect-socket="https"/> <https-listener name="https" max-post-size="262144000" security-realm="WebSocketRealm" socket-binding="https"/>
- Save the file.