https://github.com/daggerok/spring-boot-jboss
serving spring-boot app in JBoss EAP 6.4/7.1 / Tomcat embedded containers
https://github.com/daggerok/spring-boot-jboss
docker docker-compose embedded gradle jboss jboss-container jboss-eap jboss-embedded spring-boot
Last synced: about 1 year ago
JSON representation
serving spring-boot app in JBoss EAP 6.4/7.1 / Tomcat embedded containers
- Host: GitHub
- URL: https://github.com/daggerok/spring-boot-jboss
- Owner: daggerok
- License: mit
- Created: 2015-07-24T23:13:52.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2019-01-31T08:34:37.000Z (over 7 years ago)
- Last Synced: 2025-04-05T10:23:11.687Z (about 1 year ago)
- Topics: docker, docker-compose, embedded, gradle, jboss, jboss-container, jboss-eap, jboss-embedded, spring-boot
- Language: Java
- Homepage:
- Size: 174 KB
- Stars: 3
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Spring Boot on JBOSS container [](https://travis-ci.org/daggerok/spring-boot-jboss)
==============================
fish (spring-boot)
```fish
set -gx JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/
bash ./gradlew -PspringBoot.executable=true
bash ./build/libs/*.war
http :8080 name=Maksimko
http :8080
http :8080/info
```
bash (docker)
```fish
./gradlew
docker-compose up --build --force-recreate --remove-orphans
http :8080/spring-boot-jboss name=Maksimko
http :8080/spring-boot-jboss/
http :8080/spring-boot-jboss/info
```
NOTE: to avoid any build errors use gradle wrapper: `bash gradlew clean build`
1. download and unzip jboss-eap-6.4 for example into ~/jboss-eap-6.4/
2. folow these steps:
```shell
$ git clone --depth=1 https://github.com/daggerok/spring-boot-jboss.git jboss-boot
$ cd jboss-boot
$ ./gradlew build
$ cp build/libs/spring-boot-jboss-1.0.war.original ~/jboss-eap-6.4/standalone/deployments/spring-boot-jboss-1.0.war
$ ~/jboss-eap-6.4/bin/standalone.sh
```
3. open http://localhost:8080/spring-boot-jboss/
Spring Boot Embedded container
==============================
```shell
$ git clone --depth=1 https://github.com/daggerok/spring-boot-jboss.git jboss-boot
$ cd jboss-boot
$ ./gradlew build
$ ./gradlew bootRun
```
open http://localhost:8080/
Docker / Compose
================
```bash
docker-compose down -v; ./gradlew; docker-compose up --build --force-recreate --remove-orphans
open http://127.0.0.1:8080/spring-boot-jboss/
```