Error Starting wildfly-10.0.0 on CentOS 7

I have Install JDK 8 and wildfly-10.0.0 and when I try to start stat server using following command via terminal and getting following error. sudo /opt/wildfly/bin/./launch.sh Error Starting Wildfly in standalone mode. ========================================================================= JBoss Bootstrap Environment JBOSS_HOME: /opt/wildfly JAVA: java JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true ========================================================================= Unrecognized VM option ‘MetaspaceSize=96M’ Error: … Read more

Not able to start apache in Wildfly 10 domain mode cluster with Apache mod_cluster, due to SELinux issue

I am trying to setup a Wildfly 10 cluster in domain mode with Apache mod_cluster. In my Centos 7 webserver node I have installed Apache(2.4.6) using: # yum install httpd Then copied the following .so files to the /etc/httpd/modules directory mod_cluster_slotmem.so mod_manager.so mod_proxy_cluster.so mod_advertise.so and appended the following in the httpd.conf file # LoadModule proxy_balancer_module … Read more

Clustering of wildfly using apache and haproxy

There is a requirement from my boss to prepare a cluster of our application on wildfly application server. I have designed the architecture as two haproxy(for loadbalancing),two apache servers for (ldap authentication) and two wildfly servers(hosting application). I was confused whether may I may skip apache between haproxy and wildfly. Whether I can configure HAproxy … Read more

changing location for standalone.xml.tmp

We use wildfly 10.x as an application server. Our setup is much restrictive. So the AS user is not allowed to write to jboss.server.base.dir/configuration/ but at startup it wants to write the standalone.xml.tmp file to that location. Is there a way to change the location for that file to jboss.server.tmp.dir? I added also wildfly8 as … Read more

WildFly 8.1 domain mode with shared properties

I’m trying to configure a WildFly 8.1 cluster and I have not found any satisfying answer for sharing common property files. In standalone mode I’ve added some property files to the configuration folder which can be fetched via the jboss.server.config.dir and the configuration file name. Is there a possibility to propagate property files in domain … Read more

Iptables are blocking WildFly10 on CentOS 7

I’ve CentOS 7 server without firewalld but with iptables installed. There’s WildFly 10 is running with changed socket binding http port 8080 to 80 in standalone.xml. I’d open 80 port in iptables with these commands: # iptables -A INPUT -p tcp -m tcp –dport 80 -j ACCEPT # iptables -A OUTPUT -p tcp -m tcp … Read more

Apache Reverse Proxy with Wildfly?

I have both Apache and Wildfly installed on a Ubuntu 14.04 system. Now I’d like to make Wildfly (locally http://localhost:8080) accessible from Apache (http://webserver/wildfly). How would I have to do that? Sofar, I’ve enabled the two mods: proxy and proxy_http. And I’ve added at the end of the document /etc/apache2/apache2.conf: ProxyRequests off ProxyPass /wildfly/ http://localhost:8080/ … Read more

Apache load balancer for mod_proxy_wstunnel?

We are in the process of developing a JavaEE 7 application to be deployed on JBoss/Wildfly that will make extensive use of Web Sockets. We’re using mod_proxy_wstunnel for web socket support, and we’ve managed to get a proxied configuration up and running through the use of mod_cluster on Apache 2.4: Internet -> Apache HTTPD -> … Read more

How can I install WildFly 8.0.0.Final as service on Ubuntu Linux?

I am trying to install the WildFly 8.0.0.Final application server on a Virtual Machine running Ubuntu 12.04 LTS. I’ve done some searches on Google, but I found only third-party scripts and, I think, non standard ways to do this. Currently, to start the server, I open an SSH connection to the virtual machine and run … Read more