更新时间:2021-07-16 13:38:42
封面
版权信息
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Chapter 1. Welcome to WildFly!
Introduction
Software prerequisites
Downloading and installing WildFly
Understanding WildFly's directory overview
Running WildFly in standalone mode
Running WildFly in domain mode
Running WildFly as a service
Chapter 2. Running WildFly in Standalone Mode
Running WildFly from a custom configuration folder
Binding WildFly onto a custom port
Binding WildFly onto a custom IP
Configuring multiple WildFly instances to run on the same machine with different ports
Configuring multiple WildFly instances to run on the same machine with different IPs
Managing applications using the deployments folder
Connecting to the CLI
Checking the server-state via the CLI
Deploying an application via the CLI
Undeploying an application via the CLI
Executing commands in batch mode via the CLI
Reloading a server configuration via the CLI
Shutting down and restarting an instance via the CLI
Suspending and resuming an instance via the CLI
Backing up your configuration file via the CLI
Chapter 3. Running WildFly in Domain Mode
Running domain mode
Connecting the host controller to the domain controller
Stopping and starting server groups via the Web Console
Stopping and starting your server groups via the CLI
Stopping and starting your servers via the CLI
Deploying and undeploying an application to a specific server group via Web Console
Deploying and undeploying an application to a specific server group via the CLI
Checking server status via the CLI
Chapter 4. Managing the Logging Subsystem with the CLI
Creating a file-handler logging
Creating a periodic-rotating file-handler
Creating a size-rotating file-handler
Defining asynchronous handlers
Creating a syslog-handler
Listing and reading log files
Using a different logging implementation
Chapter 5. Managing the Datasource Subsystems with the CLI
Preparing a non JDBC-4 compliant driver
Creating and removing a datasource
Checking the datasource connection
Reading the datasource's statistics
Setting a connection pool
Creating and removing XA-Datasource
Chapter 6. Clustering WildFly
Creating a cluster in standalone mode
Creating separate clusters in standalone mode
Creating a cluster in domain mode
Creating separate clusters in domain mode
Creating a cluster via TCP
Testing the UDP protocol with the JGroups tool
Chapter 7. Load Balancing WildFly
Installing and configuring Apache HTTPD
Installing and configuring mod_cluster for Apache
Balancing WildFly using auto advertising – UDP
Balancing WildFly using a list of available balancers – TCP
Balancing using the HTTP connector instead of AJP
Preserve WildFly workers while restarting Apache
Balancing the same context for different applications
Rolling updates
Chapter 8. Commanding the CLI
Invoking CLI commands
Checking the WildFly version
Checking WildFly operational mode
Getting the OS version
Getting the JVM version
Checking the JVM options
Checking JVM memories – heap-size and all
Checking the server status
Checking the JNDI tree view
Invoking CLI commands declared in an external file
Chapter 9. Conquering the CLI
Invoking server stop start and reload
Invoking server group stop start restart and reload
Creating a server group
Creating a server
Managing an application – deploy undeploy
Chapter 10. Hardening the WildFly Communication
Securing WildFly using HTTPS