Installing JBoss AS 7.2
JBoss AS 7.2 binary is not available for download. You need to checkout the source and build it. It is not complicated; as easy as building a java project using maven. All the instructions given below are for Linux environment (Ubuntu in particular). Nevertheless you can figure out similar commands for Windows.You can download the source directly from here or checkout as follows.
- Open your terminal
- Install git, if you haven't installed already
- sudo apt-get install git
- Checkout the source code
- git clone https://github.com/wildfly/wildfly.git
- You will see the following in the output when checkout is successful
- Switch to the project folder
- cd wildfly
- Checkout the 7.2.0.Final tag
- git checkout 7.2.0.Final
- Create a temp branch
- git checkout -b temp-7.2
- Install maven, if you haven't installed already
- sudo apt-get install mvn
- Build
- ./build.sh clean install -DskipTests
- Go to build/target/ directory and copy the directory jboss-as-7.2.0.Final to any location of your choice. This is your JBoss AS 7.2 binary.
Starting JBoss AS 7.2
Let's refer to the location where you have copied the jboss-as-7.2.0.Final folder, as jboss installation directory.- Go to <jboss_installation_dir>/bin directory
- Run ./standalone.sh -b 0.0.0.0
Stopping JBoss AS 7.2
To stop the server, press Ctrl + C, or use the admin console as follows
- Go to <jboss_installation_dir>/bin directory
- Run ./jboss-cli.sh --connect command=:shutdown
You can also refer to JBoss page for configuring with Eclipse or Windows
Comments
Post a Comment