diff --git a/buildImage.sh b/buildImage.sh new file mode 100644 index 0000000..0ad557f --- /dev/null +++ b/buildImage.sh @@ -0,0 +1,6 @@ +cd wildfly_base && docker build --rm -t khhwtml02t.wanhai.com:8182/jboss/wildfly-base:latest . && \ +docker push khhwtml02t.wanhai.com:8182/jboss/wildfly-base:latest && cd .. +cd wildfly_tml && docker build --rm -t khhwtml02t.wanhai.com:8182/jboss/wildfly-tml:latest . && \ +docker push khhwtml02t.wanhai.com:8182/jboss/wildfly-tml:latest && cd .. +cd wildfly_tml_khhw && docker build --rm -t khhwtml02t.wanhai.com:8182/wanhai/tml/khhw/uat/tml-cy:latest . && \ +docker push khhwtml02t.wanhai.com:8182/wanhai/tml/khhw/uat/tml-cy:latest && cd .. \ No newline at end of file diff --git a/cleanImage.sh b/cleanImage.sh new file mode 100644 index 0000000..18438eb --- /dev/null +++ b/cleanImage.sh @@ -0,0 +1 @@ +docker container prune -f && docker image prune -f && docker volume prune -f && docker network prune -f \ No newline at end of file diff --git a/wildfly_base/Dockerfile b/wildfly_base/Dockerfile index 4312083..dcefd33 100755 --- a/wildfly_base/Dockerfile +++ b/wildfly_base/Dockerfile @@ -2,8 +2,10 @@ FROM jboss/wildfly:11.0.0.Final # Environment variable with default value ENV WF_CONFIG="standalone.xml" +ENV TZ="Asia/Taipei" + #for session persistance using -ENV SESSIONDB_HOST='localhost:3306' SESSIONDB_NAME='wf_sessions' SESSIONDB_USER='session' SESSIONDB_PASS='session' +#ENV SESSIONDB_HOST='localhost:3306' SESSIONDB_NAME='wf_sessions' SESSIONDB_USER='session' SESSIONDB_PASS='session' LABEL maintainer="richard_shih@wanhai.com" diff --git a/wildfly_base/buildImage.sh b/wildfly_base/buildImage.sh new file mode 100644 index 0000000..e09a493 --- /dev/null +++ b/wildfly_base/buildImage.sh @@ -0,0 +1,4 @@ +tag="khhwtml02t.wanhai.com:8182/jboss/wildfly-base:latest" +docker build --rm -t ${tag} . +#docker push ${tag} +docker container prune -f && docker image prune -f && docker volume prune -f && docker network prune -f \ No newline at end of file diff --git a/wildfly_base/modules/make_modules.sh b/wildfly_base/modules/make_modules.sh index 4165ccd..9fab92c 100755 --- a/wildfly_base/modules/make_modules.sh +++ b/wildfly_base/modules/make_modules.sh @@ -9,10 +9,11 @@ mkdir -p ${WF_MODULE_PATH}/com/mysql/jdbc/main curl -# -o ${WF_MODULE_PATH}/com/mysql/jdbc/main/mysql-connector-java.jar http://central.maven.org/maven2/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.jar cp ./module_jdbc_mysql.xml ${WF_MODULE_PATH}/com/mysql/jdbc/main/module.xml -#setup module of oracle jdbc driver(11.2.0.3) +#setup module of oracle jdbc driver(11.1.0.7.0) +#oracle jdbc driver 12.0.3.0與DBHandler有不相容問題(default date format=yyyy-mm-dd無法透過alert serssion改變) echo 'Download oracle jdbc driver =>' mkdir -p ${WF_MODULE_PATH}/com/oracle/jdbc/main -curl -# -o ${WF_MODULE_PATH}/com/oracle/jdbc/main/ojdbc6.jar http://www.datanucleus.org/downloads/maven2/oracle/ojdbc6/11.2.0.3/ojdbc6-11.2.0.3.jar +curl -# -o ${WF_MODULE_PATH}/com/oracle/jdbc/main/ojdbc6.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/oracle/jdbc/11.1.0.7.0/jdbc-11.1.0.7.0.jar cp ./module_jdbc_oracle.xml ${WF_MODULE_PATH}/com/oracle/jdbc/main/module.xml #setup org.apache.commons.fileupload @@ -58,10 +59,126 @@ curl -# -o ${WF_MODULE_PATH}/org/zkoss/zk/${ZK8_VER}/bsh.jar http://central.mave curl -# -o ${WF_MODULE_PATH}/org/zkoss/zk/${ZK8_VER}/slf4j-api.jar http://central.maven.org/maven2/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar curl -# -o ${WF_MODULE_PATH}/org/zkoss/zk/${ZK8_VER}/slf4j-jdk14.jar http://central.maven.org/maven2/org/slf4j/slf4j-jdk14/1.7.5/slf4j-jdk14-1.7.5.jar cp ./module_zk8.xml ${WF_MODULE_PATH}/org/zkoss/zk/${ZK8_VER}/module.xml - #setup default slot of zk module(default is zk8) mkdir ${WF_MODULE_PATH}/org/zkoss/zk/main && cp ./module_zk.xml ${WF_MODULE_PATH}/org/zkoss/zk/main/module.xml +#setup module google gson(2.7) +echo 'Download jars of google gson =>' +mkdir -p ${WF_MODULE_PATH}/com/google/gson/main +curl -# -o ${WF_MODULE_PATH}/com/google/gson/main/gson-2.7.jar http://central.maven.org/maven2/com/google/code/gson/gson/2.7/gson-2.7.jar +cp ./module_gson.xml ${WF_MODULE_PATH}/com/google/gson/main/module.xml + +#setup module of apache commons-logging (1.1.3) +echo 'Download jars of commons-logging =>' +mkdir -p ${WF_MODULE_PATH}/org/apache/commons/logging/1.1.3 +curl -# -o ${WF_MODULE_PATH}/org/apache/commons/logging/1.1.3/commons-logging-1.1.3.jar http://central.maven.org/maven2/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar +cp ./module_commons_logging_113.xml ${WF_MODULE_PATH}/org/apache/commons/logging/1.1.3/module.xml +#setup default slot of apache commons-logging(default is 1.1.3) +mkdir ${WF_MODULE_PATH}/org/apache/commons/main && cp ./module_commons_logging.xml ${WF_MODULE_PATH}/org/apache/commons/main/module.xml + +#setup module of apache commons-net(3.6) +echo 'Download jars of commons-net =>' +mkdir -p ${WF_MODULE_PATH}/org/apache/commons/net/main +curl -# -o ${WF_MODULE_PATH}/org/apache/commons/net/main/commons-net-3.6.jar http://central.maven.org/maven2/commons-net/commons-net/3.6/commons-net-3.6.jar +cp ./module_commons_net.xml ${WF_MODULE_PATH}/org/apache/commons/net/main/module.xml + +#setup module of apache commons-digester(1.6) +echo 'Download jars of commons-digester =>' +mkdir -p ${WF_MODULE_PATH}/org/apache/commons/digester/main +curl -# -o ${WF_MODULE_PATH}/org/apache/commons/digester/main/commons-digester.jar http://central.maven.org/maven2/commons-digester/commons-digester/1.6/commons-digester-1.6.jar +cp ./module_commons_digester.xml ${WF_MODULE_PATH}/org/apache/commons/digester/main/module.xml + +#setup module of groovy(2.4.7) +echo 'Download jars of groovy=>' +mkdir -p ${WF_MODULE_PATH}/org/codehaus/groovy/main +curl -# -o ${WF_MODULE_PATH}/org/codehaus/groovy/main/groovy-all-2.4.7.jar http://central.maven.org/maven2/org/codehaus/groovy/groovy-all/2.4.7/groovy-all-2.4.7.jar +cp ./module_groovy.xml ${WF_MODULE_PATH}/org/codehaus/groovy/main/module.xml + +#setup module of google zxing(3.2.1) +echo 'Download jars of google zxing=>' +mkdir -p ${WF_MODULE_PATH}/com/google/zxing/main +curl -# -o ${WF_MODULE_PATH}/com/google/zxing/main/javase-3.2.1.jar http://central.maven.org/maven2/com/google/zxing/javase/3.2.1/javase-3.2.1.jar +curl -# -o ${WF_MODULE_PATH}/com/google/zxing/main/jcommander-1.48.jar http://central.maven.org/maven2/com/beust/jcommander/1.48/jcommander-1.48.jar +curl -# -o ${WF_MODULE_PATH}/com/google/zxing/main/core-3.2.1.jar http://central.maven.org/maven2/com/google/zxing/core/3.2.1/core-3.2.1.jar +cp ./module_zxing.xml ${WF_MODULE_PATH}/com/google/zxing/main/module.xml + +#setup module of qrgen(2.0) +echo 'Download jars of qrgen=>' +mkdir -p ${WF_MODULE_PATH}/net/glxn/qrgen/main +curl -# -o ${WF_MODULE_PATH}/net/glxn/qrgen/main/javase-2.0.jar http://central.maven.org/maven2/net/glxn/qrgen/javase/2.0/javase-2.0.jar +curl -# -o ${WF_MODULE_PATH}/net/glxn/qrgen/main/core-2.0.jar http://central.maven.org/maven2/net/glxn/qrgen/core/2.0/core-2.0.jar +curl -# -o ${WF_MODULE_PATH}/net/glxn/qrgen/main/jfreesvg-2.1.jar http://central.maven.org/maven2/org/jfree/jfreesvg/2.1/jfreesvg-2.1.jar +cp ./module_qrgen.xml ${WF_MODULE_PATH}/net/glxn/qrgen/main/module.xml + +#setup module of sentry(1.7.3) +echo 'Download jars of sentry=>' +mkdir -p ${WF_MODULE_PATH}/io/sentry/main +curl -# -o ${WF_MODULE_PATH}/io/sentry/main/sentry-1.7.3.jar http://central.maven.org/maven2/io/sentry/sentry/1.7.3/sentry-1.7.3.jar +curl -# -o ${WF_MODULE_PATH}/io/sentry/main/jackson-core-2.8.7.jar http://central.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.8.7/jackson-core-2.8.7.jar +curl -# -o ${WF_MODULE_PATH}/io/sentry/main/slf4j-api-1.7.24.jar http://central.maven.org/maven2/org/slf4j/slf4j-api/1.7.24/slf4j-api-1.7.24.jar +cp ./module_sentry.xml ${WF_MODULE_PATH}/io/sentry/main/module.xml + +#setup module of springframework(4.0.6) +echo 'Download jars of springframework=>' +mkdir -p ${WF_MODULE_PATH}/org/springframework/4.0.6 +curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/aopalliance-1.0.jar http://central.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar +curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-tx-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-tx/4.0.6.RELEASE/spring-tx-4.0.6.RELEASE.jar +curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-context-support-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-context-support/4.0.6.RELEASE/spring-context-support-4.0.6.RELEASE.jar +curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-jdbc-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-jdbc/4.0.6.RELEASE/spring-jdbc-4.0.6.RELEASE.jar +curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-webmvc-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-webmvc/4.0.6.RELEASE/spring-webmvc-4.0.6.RELEASE.jar +curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-web-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-web/4.0.6.RELEASE/spring-web-4.0.6.RELEASE.jar +curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-aop-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-aop/4.0.6.RELEASE/spring-aop-4.0.6.RELEASE.jar +curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-expression-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-expression/4.0.6.RELEASE/spring-expression-4.0.6.RELEASE.jar +curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-context-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-context/4.0.6.RELEASE/spring-context-4.0.6.RELEASE.jar +curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-core-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-core/4.0.6.RELEASE/spring-core-4.0.6.RELEASE.jar +curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-beans-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-beans/4.0.6.RELEASE/spring-beans-4.0.6.RELEASE.jar +cp ./module_spring_406.xml ${WF_MODULE_PATH}/org/springframework/4.0.6/module.xml +#setup default slot of springframework module(default is 4.0.6) +mkdir ${WF_MODULE_PATH}/org/springframework/main && cp ./module_spring.xml ${WF_MODULE_PATH}/org/springframework/main/module.xml + +#setup module of jasperreports(4.6.1) +echo 'Download jars of jasperreports=>' +mkdir -p ${WF_MODULE_PATH}/net/sf/jasperreports/6.4.1 +curl -# -o ${WF_MODULE_PATH}/net/sf/jasperreports/6.4.1/jasperreports-6.4.1.jar http://central.maven.org/maven2/net/sf/jasperreports/jasperreports/6.4.1/jasperreports-6.4.1.jar +cp ./module_jasperreports_641.xml ${WF_MODULE_PATH}/net/sf/jasperreports/6.4.1/module.xml +#setup default slot of jasperreports module(default is 6.4.1) +mkdir ${WF_MODULE_PATH}/net/sf/jasperreports/main && cp ./module_jasperreports.xml ${WF_MODULE_PATH}/net/sf/jasperreports/main/module.xml + +#setup module of jasperreports-fonts +echo 'Download jars of jasperreports-fonts=>' +mkdir -p ${WF_MODULE_PATH}/net/sf/jasperreports/fonts/main +curl -# -o ${WF_MODULE_PATH}/net/sf/jasperreports/fonts/main/jasperreports-fonts.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/net/sf/jasperreports/jasperreports-fonts/1.0.0/jasperreports-fonts-1.0.0.jar +curl -# -o ${WF_MODULE_PATH}/net/sf/jasperreports/fonts/main/itext.jar http://central.maven.org/maven2/com/lowagie/itext/2.1.7/itext-2.1.7.jar +cp ./module_jasperreports_font.xml ${WF_MODULE_PATH}/net/sf/jasperreports/fonts/main/module.xml + +#setup module of wanhai base +echo 'Download jars of com.wanhai.base=>' +mkdir -p ${WF_MODULE_PATH}/com/wanhai/base/main +curl -# -o ${WF_MODULE_PATH}/com/wanhai/base/main/whl-utility.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/base/whl-utility/1.0.0/whl-utility-1.0.0.jar +curl -# -o ${WF_MODULE_PATH}/com/wanhai/base/main/whl-security-fake.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/base/whl-security/1.0.0/whl-security-1.0.0.jar +curl -# -o ${WF_MODULE_PATH}/com/wanhai/base/main/whl-biz.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/base/whl-biz/1.0.0/whl-biz-1.0.0.jar +cp ./module_wanhai_base.xml ${WF_MODULE_PATH}/com/wanhai/base/main/module.xml + +#setup module of wanhai zk base +echo 'Download jars of com.wanhai.zk=>' +mkdir -p ${WF_MODULE_PATH}/com/wanhai/zk/main +curl -# -o ${WF_MODULE_PATH}/com/wanhai/zk/main/whl-zk-template.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/zk/whl-template/1.0.0/whl-template-1.0.0.jar +curl -# -o ${WF_MODULE_PATH}/com/wanhai/zk/main/whl-zk-base.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/zk/whl-zk-base/1.0.0/whl-zk-base-1.0.0.jar +cp ./module_wanhai_zk.xml ${WF_MODULE_PATH}/com/wanhai/zk/main/module.xml + +#setup module of tml vo +echo 'Download jars of com.wanhai.tml.vo=>' +mkdir -p ${WF_MODULE_PATH}/com/wanhai/tml/vo/main +curl -# -o ${WF_MODULE_PATH}/com/wanhai/tml/vo/main/whl-vo-sec.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/tml/whl-vo-sec/0.1.0/whl-vo-sec-0.1.0.jar +curl -# -o ${WF_MODULE_PATH}/com/wanhai/tml/vo/main/whl-vo-tml.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/tml/whl-vo-tml/0.1.0/whl-vo-tml-0.1.0.jar +cp ./module_tml_vo.xml ${WF_MODULE_PATH}/com/wanhai/tml/vo/main/module.xml + +#setup module of tml bizbean +echo 'Download jars of com.wanhai.tml.bizbean=>' +mkdir -p ${WF_MODULE_PATH}/com/wanhai/tml/bizbean/main +curl -# -o ${WF_MODULE_PATH}/com/wanhai/tml/bizbean/main/whl-biztml.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/tml/whl-biztml/0.1.0/whl-biztml-0.1.0.jar +cp ./module_tml_bizbean.xml ${WF_MODULE_PATH}/com/wanhai/tml/bizbean/main/module.xml + diff --git a/wildfly_tml/modules/module_commons_digester.xml b/wildfly_base/modules/module_commons_digester.xml similarity index 100% rename from wildfly_tml/modules/module_commons_digester.xml rename to wildfly_base/modules/module_commons_digester.xml diff --git a/wildfly_tml/modules/module_commons_logging.xml b/wildfly_base/modules/module_commons_logging.xml similarity index 97% rename from wildfly_tml/modules/module_commons_logging.xml rename to wildfly_base/modules/module_commons_logging.xml index 6ae0f17..eaa2f1a 100644 --- a/wildfly_tml/modules/module_commons_logging.xml +++ b/wildfly_base/modules/module_commons_logging.xml @@ -1,26 +1,26 @@ - - - - - + + + + + \ No newline at end of file diff --git a/wildfly_tml/modules/module_commons_logging_113.xml b/wildfly_base/modules/module_commons_logging_113.xml similarity index 100% rename from wildfly_tml/modules/module_commons_logging_113.xml rename to wildfly_base/modules/module_commons_logging_113.xml diff --git a/wildfly_tml/modules/module_commons_net.xml b/wildfly_base/modules/module_commons_net.xml similarity index 97% rename from wildfly_tml/modules/module_commons_net.xml rename to wildfly_base/modules/module_commons_net.xml index 271fcfc..cb8798b 100644 --- a/wildfly_tml/modules/module_commons_net.xml +++ b/wildfly_base/modules/module_commons_net.xml @@ -1,33 +1,33 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/wildfly_tml/modules/module_groovy.xml b/wildfly_base/modules/module_groovy.xml similarity index 97% rename from wildfly_tml/modules/module_groovy.xml rename to wildfly_base/modules/module_groovy.xml index beed3e6..51420b3 100644 --- a/wildfly_tml/modules/module_groovy.xml +++ b/wildfly_base/modules/module_groovy.xml @@ -1,32 +1,32 @@ - - - - - - - - - - - - + + + + + + + + + + + + diff --git a/wildfly_tml/modules/module_gson.xml b/wildfly_base/modules/module_gson.xml similarity index 100% rename from wildfly_tml/modules/module_gson.xml rename to wildfly_base/modules/module_gson.xml diff --git a/wildfly_tml/modules/module_jasperreports.xml b/wildfly_base/modules/module_jasperreports.xml similarity index 100% rename from wildfly_tml/modules/module_jasperreports.xml rename to wildfly_base/modules/module_jasperreports.xml diff --git a/wildfly_tml/modules/module_jasperreports_641.xml b/wildfly_base/modules/module_jasperreports_641.xml similarity index 94% rename from wildfly_tml/modules/module_jasperreports_641.xml rename to wildfly_base/modules/module_jasperreports_641.xml index aee3479..dbf1ca5 100644 --- a/wildfly_tml/modules/module_jasperreports_641.xml +++ b/wildfly_base/modules/module_jasperreports_641.xml @@ -1,40 +1,40 @@ - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + diff --git a/wildfly_base/modules/module_jasperreports_font.xml b/wildfly_base/modules/module_jasperreports_font.xml new file mode 100644 index 0000000..a00b3be --- /dev/null +++ b/wildfly_base/modules/module_jasperreports_font.xml @@ -0,0 +1,33 @@ + + + + + + + + + + + + + diff --git a/wildfly_tml/modules/module_qrgen.xml b/wildfly_base/modules/module_qrgen.xml similarity index 97% rename from wildfly_tml/modules/module_qrgen.xml rename to wildfly_base/modules/module_qrgen.xml index 181f516..8e512c8 100644 --- a/wildfly_tml/modules/module_qrgen.xml +++ b/wildfly_base/modules/module_qrgen.xml @@ -1,34 +1,34 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + \ No newline at end of file diff --git a/wildfly_tml/modules/module_sentry.xml b/wildfly_base/modules/module_sentry.xml similarity index 97% rename from wildfly_tml/modules/module_sentry.xml rename to wildfly_base/modules/module_sentry.xml index a5d3364..e8c8468 100644 --- a/wildfly_tml/modules/module_sentry.xml +++ b/wildfly_base/modules/module_sentry.xml @@ -1,37 +1,37 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + diff --git a/wildfly_tml/modules/module_spring.xml b/wildfly_base/modules/module_spring.xml similarity index 100% rename from wildfly_tml/modules/module_spring.xml rename to wildfly_base/modules/module_spring.xml diff --git a/wildfly_tml/modules/module_spring_406.xml b/wildfly_base/modules/module_spring_406.xml similarity index 100% rename from wildfly_tml/modules/module_spring_406.xml rename to wildfly_base/modules/module_spring_406.xml diff --git a/wildfly_tml/modules/module_tml.xml b/wildfly_base/modules/module_tml.xml similarity index 100% rename from wildfly_tml/modules/module_tml.xml rename to wildfly_base/modules/module_tml.xml diff --git a/wildfly_tml/modules/module_tml_bizbean.xml b/wildfly_base/modules/module_tml_bizbean.xml similarity index 100% rename from wildfly_tml/modules/module_tml_bizbean.xml rename to wildfly_base/modules/module_tml_bizbean.xml diff --git a/wildfly_tml/modules/module_tml_vo.xml b/wildfly_base/modules/module_tml_vo.xml similarity index 100% rename from wildfly_tml/modules/module_tml_vo.xml rename to wildfly_base/modules/module_tml_vo.xml diff --git a/wildfly_tml/modules/module_wanhai_base.xml b/wildfly_base/modules/module_wanhai_base.xml similarity index 100% rename from wildfly_tml/modules/module_wanhai_base.xml rename to wildfly_base/modules/module_wanhai_base.xml diff --git a/wildfly_tml/modules/module_wanhai_zk.xml b/wildfly_base/modules/module_wanhai_zk.xml similarity index 85% rename from wildfly_tml/modules/module_wanhai_zk.xml rename to wildfly_base/modules/module_wanhai_zk.xml index a27634c..6036a6d 100644 --- a/wildfly_tml/modules/module_wanhai_zk.xml +++ b/wildfly_base/modules/module_wanhai_zk.xml @@ -29,12 +29,13 @@ - - - - + + + + + - + diff --git a/wildfly_tml/modules/module_zxing.xml b/wildfly_base/modules/module_zxing.xml similarity index 97% rename from wildfly_tml/modules/module_zxing.xml rename to wildfly_base/modules/module_zxing.xml index 27daef9..a87ac18 100644 --- a/wildfly_tml/modules/module_zxing.xml +++ b/wildfly_base/modules/module_zxing.xml @@ -1,44 +1,44 @@ - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/wildfly_tml/Dockerfile b/wildfly_tml/Dockerfile index aa58dc0..dff2e34 100755 --- a/wildfly_tml/Dockerfile +++ b/wildfly_tml/Dockerfile @@ -1,23 +1,11 @@ #FROM shihxuancheng/wildfly-base:latest FROM khhwtml02t.wanhai.com:8182/jboss/wildfly-base:latest -# Environment variable with default value -ENV WF_CONFIG="standalone.xml" - -LABEL maintainer="richard_shih@wanhai.com" - #prepare tmp dir COPY --chown=jboss . ${JBOSS_HOME}/config -#customize modules -RUN cd ${JBOSS_HOME}/config/modules && ./make_modules.sh - #customize settings RUN cd ${JBOSS_HOME}/config/initial && ./setup.sh #cleanup -RUN rm -rf ${JBOSS_HOME}/config - -EXPOSE 8080 9990 - -CMD ["sh","-c","/opt/jboss/wildfly/bin/startwf.sh"] \ No newline at end of file +RUN rm -rf ${JBOSS_HOME}/config \ No newline at end of file diff --git a/wildfly_tml/buildImage.sh b/wildfly_tml/buildImage.sh new file mode 100644 index 0000000..911887b --- /dev/null +++ b/wildfly_tml/buildImage.sh @@ -0,0 +1,4 @@ +tag="khhwtml02t.wanhai.com:8182/jboss/wildfly-tml:latest" +docker build --rm -t ${tag} . +#docker push ${tag} +docker container prune -f && docker image prune -f && docker volume prune -f && docker network prune -f \ No newline at end of file diff --git a/wildfly_tml/config/META-INF/application.xml b/wildfly_tml/config/META-INF/application.xml new file mode 100644 index 0000000..79f4d36 --- /dev/null +++ b/wildfly_tml/config/META-INF/application.xml @@ -0,0 +1,6 @@ + + + diff --git a/wildfly_tml/config/META-INF/tml-config.xml b/wildfly_tml/config/META-INF/tml-config.xml new file mode 100644 index 0000000..d4d32e8 --- /dev/null +++ b/wildfly_tml/config/META-INF/tml-config.xml @@ -0,0 +1,43 @@ + + + + + + + + whlt_khhw5 + java:/OraWhltDS + + + whlt_khhw6 + java:/OraWhltDS + + + whlt_khhw6 + java:/OraWhltDS + + + + /collab/ott/oneTimeTicket.jsp + + + + + whlt_txgw5 + java:/OraWhltDS + + + whlt_txgw6 + java:/OraWhltDS + + + whlt_txgw6 + java:/OraWhltDS + + + + /collab/ott/oneTimeTicket.jsp + + + + \ No newline at end of file diff --git a/wildfly_tml/config/standalone-sp.xml b/wildfly_tml/config/standalone-sp.xml deleted file mode 100644 index 8f0bbe3..0000000 --- a/wildfly_tml/config/standalone-sp.xml +++ /dev/null @@ -1,529 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE - h2 - - sa - sa - - - - jdbc:mysql://${SESSIONDB_HOST}/${SESSIONDB_NAMAE} - com.mysql.jdbc.Driver - mysql - - ${SESSIONDB_USER} - ${SESSIONDB_PASS} - - - - - - - org.h2.jdbcx.JdbcDataSource - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ${jboss.bind.address:127.0.0.1} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/wildfly_tml/initial/setup.sh b/wildfly_tml/initial/setup.sh index 87236d1..f3adecf 100755 --- a/wildfly_tml/initial/setup.sh +++ b/wildfly_tml/initial/setup.sh @@ -1,6 +1,16 @@ -# Add user for adminstration purpose -# ${JBOSS_HOME}/bin/add-user.sh admin wanhai_2 --silent - -cp ./startwf.sh ${JBOSS_HOME}/bin/startwf.sh -#session persistance config -# cp ../config/*.* ${JBOSS_HOME}/standalone/configuration/ \ No newline at end of file +#create default EAR Module WHL_TML.ear +earDir=${JBOSS_HOME}'/standalone/deployments/WHL_TML.ear' +earLibDir='lib' +earMetaDir='META-INF' +mkdir -p ${earDir}/${earLibDir} && mkdir -p ${earDir}/${earMetaDir} +#copy libraries to lib path +curl -# -o ${earDir}/${earLibDir}'/commons-logging-1.1.1.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar +curl -# -o ${earDir}/${earLibDir}'/log4j-1.2.17.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/log4j/log4j/1.2.17/log4j-1.2.17.jar +curl -# -o ${earDir}/${earLibDir}'/sentry-log4j-1.7.3.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/io/sentry/sentry/1.7.3/sentry-1.7.3.jar +curl -# -o ${earDir}/${earLibDir}'/tml-security.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/com/wanhai/tml/tml-security/0.1.0/tml-security-0.1.0.jar +curl -# -o ${earDir}/${earLibDir}'/tml-utility.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/com/wanhai/tml/tml-utility/0.1.0/tml-utility-0.1.0.jar +curl -# -o ${earDir}/${earLibDir}'/zuljsp.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/org/zkoss/zk/zuljsp/2.6.0/zuljsp-2.6.0.jar +curl -# -o ${earDir}'/whl-biztml.jar' http://khhwtml02t.wanhai.com:8181/repository/maven-public/com/wanhai/tml/whl-biztml/0.1.0/whl-biztml-0.1.0.jar +#copy config files to META-INF +cp -Rf ${JBOSS_HOME}/config/config/${earMetaDir} ${earDir}/${earMetaDir} +#copy config files to wildfly diff --git a/wildfly_tml/initial/startwf.sh b/wildfly_tml/initial/startwf.sh deleted file mode 100755 index 7cce0b1..0000000 --- a/wildfly_tml/initial/startwf.sh +++ /dev/null @@ -1,5 +0,0 @@ -#variables -IPADDRESS=$(hostname -i) -/opt/jboss/wildfly/bin/standalone.sh -c ${WF_CONFIG} -b ${IPADDRESS} -Djboss.bind.address.management=${IPADDRESS} - - diff --git a/wildfly_tml/modules/.DS_Store b/wildfly_tml/modules/.DS_Store deleted file mode 100644 index 60b2e64..0000000 Binary files a/wildfly_tml/modules/.DS_Store and /dev/null differ diff --git a/wildfly_tml/modules/make_modules.sh b/wildfly_tml/modules/make_modules.sh deleted file mode 100755 index ad6bbd7..0000000 --- a/wildfly_tml/modules/make_modules.sh +++ /dev/null @@ -1,117 +0,0 @@ -#variablies -WF_MODULE_PATH=${JBOSS_HOME}'/modules' - -#setup module google gson(2.7) -echo 'Download jars of google gson =>' -mkdir -p ${WF_MODULE_PATH}/com/google/gson/main -curl -# -o ${WF_MODULE_PATH}/com/google/gson/main/gson-2.7.jar http://central.maven.org/maven2/com/google/code/gson/gson/2.7/gson-2.7.jar -cp ./module_gson.xml ${WF_MODULE_PATH}/com/google/gson/main/module.xml - -#setup module of apache commons-logging (1.1.3) -echo 'Download jars of commons-logging =>' -mkdir -p ${WF_MODULE_PATH}/org/apache/commons/logging/1.1.3 -curl -# -o ${WF_MODULE_PATH}/org/apache/commons/logging/1.1.3/commons-logging-1.1.3.jar http://central.maven.org/maven2/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar -cp ./module_commons_logging_113.xml ${WF_MODULE_PATH}/org/apache/commons/logging/1.1.3/module.xml -#setup default slot of apache commons-logging(default is 1.1.3) -mkdir ${WF_MODULE_PATH}/org/apache/commons/main && cp ./module_commons_logging.xml ${WF_MODULE_PATH}/org/apache/commons/main/module.xml - -#setup module of apache commons-net(3.6) -echo 'Download jars of commons-net =>' -mkdir -p ${WF_MODULE_PATH}/org/apache/commons/net/main -curl -# -o ${WF_MODULE_PATH}/org/apache/commons/net/main/commons-net-3.6.jar http://central.maven.org/maven2/commons-net/commons-net/3.6/commons-net-3.6.jar -cp ./module_commons_net.xml ${WF_MODULE_PATH}/org/apache/commons/net/main/module.xml - -#setup module of apache commons-digester(1.6) -echo 'Download jars of commons-digester =>' -mkdir -p ${WF_MODULE_PATH}/org/apache/commons/digester/main -curl -# -o ${WF_MODULE_PATH}/org/apache/commons/digester/main/commons-digester.jar http://central.maven.org/maven2/commons-digester/commons-digester/1.6/commons-digester-1.6.jar -cp ./module_commons_digester.xml ${WF_MODULE_PATH}/org/apache/commons/digester/main/module.xml - -#setup module of groovy(2.4.7) -echo 'Download jars of groovy=>' -mkdir -p ${WF_MODULE_PATH}/org/codehaus/groovy/main -curl -# -o ${WF_MODULE_PATH}/org/codehaus/groovy/main/groovy-all-2.4.7.jar http://central.maven.org/maven2/org/codehaus/groovy/groovy-all/2.4.7/groovy-all-2.4.7.jar -cp ./module_groovy.xml ${WF_MODULE_PATH}/org/codehaus/groovy/main/module.xml - -#setup module of google zxing(3.2.1) -echo 'Download jars of google zxing=>' -mkdir -p ${WF_MODULE_PATH}/com/google/zxing/main -curl -# -o ${WF_MODULE_PATH}/com/google/zxing/main/javase-3.2.1.jar http://central.maven.org/maven2/com/google/zxing/javase/3.2.1/javase-3.2.1.jar -curl -# -o ${WF_MODULE_PATH}/com/google/zxing/main/jcommander-1.48.jar http://central.maven.org/maven2/com/beust/jcommander/1.48/jcommander-1.48.jar -curl -# -o ${WF_MODULE_PATH}/com/google/zxing/main/core-3.2.1.jar http://central.maven.org/maven2/com/google/zxing/core/3.2.1/core-3.2.1.jar -cp ./module_zxing.xml ${WF_MODULE_PATH}/com/google/zxing/main/module.xml - -#setup module of qrgen(2.0) -echo 'Download jars of qrgen=>' -mkdir -p ${WF_MODULE_PATH}/net/glxn/qrgen/main -curl -# -o ${WF_MODULE_PATH}/net/glxn/qrgen/main/javase-2.0.jar http://central.maven.org/maven2/net/glxn/qrgen/javase/2.0/javase-2.0.jar -curl -# -o ${WF_MODULE_PATH}/net/glxn/qrgen/main/core-2.0.jar http://central.maven.org/maven2/net/glxn/qrgen/core/2.0/core-2.0.jar -curl -# -o ${WF_MODULE_PATH}/net/glxn/qrgen/main/jfreesvg-2.1.jar http://central.maven.org/maven2/org/jfree/jfreesvg/2.1/jfreesvg-2.1.jar -cp ./module_qrgen.xml ${WF_MODULE_PATH}/net/glxn/qrgen/main/module.xml - -#setup module of sentry(1.7.3) -echo 'Download jars of sentry=>' -mkdir -p ${WF_MODULE_PATH}/io/sentry/main -curl -# -o ${WF_MODULE_PATH}/io/sentry/main/sentry-1.7.3.jar http://central.maven.org/maven2/io/sentry/sentry/1.7.3/sentry-1.7.3.jar -curl -# -o ${WF_MODULE_PATH}/io/sentry/main/jackson-core-2.8.7.jar http://central.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.8.7/jackson-core-2.8.7.jar -curl -# -o ${WF_MODULE_PATH}/io/sentry/main/slf4j-api-1.7.24.jar http://central.maven.org/maven2/org/slf4j/slf4j-api/1.7.24/slf4j-api-1.7.24.jar -cp ./module_sentry.xml ${WF_MODULE_PATH}/io/sentry/main/module.xml - -#setup module of springframework(4.0.6) -echo 'Download jars of springframework=>' -mkdir -p ${WF_MODULE_PATH}/org/springframework/4.0.6 -curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/aopalliance-1.0.jar http://central.maven.org/maven2/aopalliance/aopalliance/1.0/aopalliance-1.0.jar -curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-tx-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-tx/4.0.6.RELEASE/spring-tx-4.0.6.RELEASE.jar -curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-context-support-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-context-support/4.0.6.RELEASE/spring-context-support-4.0.6.RELEASE.jar -curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-jdbc-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-jdbc/4.0.6.RELEASE/spring-jdbc-4.0.6.RELEASE.jar -curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-webmvc-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-webmvc/4.0.6.RELEASE/spring-webmvc-4.0.6.RELEASE.jar -curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-web-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-web/4.0.6.RELEASE/spring-web-4.0.6.RELEASE.jar -curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-aop-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-aop/4.0.6.RELEASE/spring-aop-4.0.6.RELEASE.jar -curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-expression-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-expression/4.0.6.RELEASE/spring-expression-4.0.6.RELEASE.jar -curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-context-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-context/4.0.6.RELEASE/spring-context-4.0.6.RELEASE.jar -curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-core-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-core/4.0.6.RELEASE/spring-core-4.0.6.RELEASE.jar -curl -# -o ${WF_MODULE_PATH}/org/springframework/4.0.6/spring-beans-4.0.6.RELEASE.jar http://central.maven.org/maven2/org/springframework/spring-beans/4.0.6.RELEASE/spring-beans-4.0.6.RELEASE.jar -cp ./module_spring_406.xml ${WF_MODULE_PATH}/org/springframework/4.0.6/module.xml -#setup default slot of springframework module(default is 4.0.6) -mkdir ${WF_MODULE_PATH}/org/springframework/main && cp ./module_spring.xml ${WF_MODULE_PATH}/org/springframework/main/module.xml - -#setup module of jasperreports(4.6.1) -echo 'Download jars of jasperreports=>' -mkdir -p ${WF_MODULE_PATH}/net/sf/jasperreports/6.4.1 -curl -# -o ${WF_MODULE_PATH}/net/sf/jasperreports/6.4.1/jasperreports-6.4.1.jar http://central.maven.org/maven2/net/sf/jasperreports/jasperreports/6.4.1/jasperreports-6.4.1.jar -cp ./module_jasperreports_641.xml ${WF_MODULE_PATH}/net/sf/jasperreports/6.4.1/module.xml -#setup default slot of jasperreports module(default is 6.4.1) -mkdir ${WF_MODULE_PATH}/net/sf/jasperreports/main && cp ./module_jasperreports.xml ${WF_MODULE_PATH}/net/sf/jasperreports/main/module.xml -#setup module of wanhai base -echo 'Download jars of com.wanhai.base=>' -mkdir -p ${WF_MODULE_PATH}/com/wanhai/base/main -curl -# -o ${WF_MODULE_PATH}/com/wanhai/base/main/whl-utility.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/base/whl-utility/1.0.0/whl-utility-1.0.0.jar -curl -# -o ${WF_MODULE_PATH}/com/wanhai/base/main/whl-security-fake.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/base/whl-security/1.0.0/whl-security-1.0.0.jar -curl -# -o ${WF_MODULE_PATH}/com/wanhai/base/main/whl-biz.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/base/whl-biz/1.0.0/whl-biz-1.0.0.jar -cp ./module_wanhai_base.xml ${WF_MODULE_PATH}/com/wanhai/base/main/module.xml -#setup module of wanhai zk base -echo 'Download jars of com.wanhai.zk=>' -mkdir -p ${WF_MODULE_PATH}/com/wanhai/zk/main -curl -# -o ${WF_MODULE_PATH}/com/wanhai/zk/main/whl-zk-template.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/zk/whl-template/1.0.0/whl-template-1.0.0.jar -curl -# -o ${WF_MODULE_PATH}/com/wanhai/zk/main/whl-zk-base.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/zk/whl-zk-base/1.0.0/whl-zk-base-1.0.0.jar -cp ./module_wanhai_zk.xml ${WF_MODULE_PATH}/com/wanhai/zk/main/module.xml -#setup module of tml base -#setup module of tml vo -echo 'Download jars of com.wanhai.tml.vo=>' -mkdir -p ${WF_MODULE_PATH}/com/wanhai/tml/vo/main -curl -# -o ${WF_MODULE_PATH}/com/wanhai/tml/vo/main/whl-vo-sec.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/tml/whl-vo-sec/0.1.0/whl-vo-sec-0.1.0.jar -curl -# -o ${WF_MODULE_PATH}/com/wanhai/tml/vo/main/whl-vo-tml.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/tml/whl-vo-tml/0.1.0/whl-vo-tml-0.1.0.jar -cp ./module_tml_vo.xml ${WF_MODULE_PATH}/com/wanhai/tml/vo/main/module.xml -#setup module of tml bizbean -echo 'Download jars of com.wanhai.tml.bizbean=>' -mkdir -p ${WF_MODULE_PATH}/com/wanhai/tml/bizbean/main -curl -# -o ${WF_MODULE_PATH}/com/wanhai/tml/bizbean/main/whl-biztml.jar http://khhwtml02t.wanhai.com:8181/repository/maven-releases/com/wanhai/tml/whl-biztml/0.1.0/whl-biztml-0.1.0.jar -cp ./module_tml_bizbean.xml ${WF_MODULE_PATH}/com/wanhai/tml/bizbean/main/module.xml - - - - - - - - diff --git a/wildfly_tml/modules/module_jasperreports_font.xml b/wildfly_tml/modules/module_jasperreports_font.xml deleted file mode 100644 index 6bc5030..0000000 --- a/wildfly_tml/modules/module_jasperreports_font.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - diff --git a/wildfly_tml_khhw/Dockerfile b/wildfly_tml_khhw/Dockerfile index 84ad70f..2e5294d 100644 --- a/wildfly_tml_khhw/Dockerfile +++ b/wildfly_tml_khhw/Dockerfile @@ -1,19 +1,9 @@ -FROM khhwtml02t.wanhai.com:8182/jboss/wildfly-tml:0.1.0 -LABEL maintainer="richard_shih@wanhai.com" - -ENV TZ="Asia/Taipei" +FROM khhwtml02t.wanhai.com:8182/jboss/wildfly-tml:latest #prepare tmp dir COPY --chown=jboss . ${JBOSS_HOME}/config -#customize settings -RUN cd ${JBOSS_HOME}/config/initial && ./setup.sh - -#cleanup -RUN rm -rf ${JBOSS_HOME}/config - -COPY --chown=jboss WHL_TML.ear ${JBOSS_HOME}/standalone/deployments/WHL_TML.ear - -EXPOSE 8080 9990 +#customize settings & cleanup +RUN cd ${JBOSS_HOME}/config/initial && ./setup.sh && rm -rf ${JBOSS_HOME}/config -CMD ["sh","-c","/opt/jboss/wildfly/bin/startwf.sh"] \ No newline at end of file +# COPY --chown=jboss WHL_TML.ear ${JBOSS_HOME}/standalone/deployments/WHL_TML.ear diff --git a/wildfly_tml_khhw/buildImage.sh b/wildfly_tml_khhw/buildImage.sh new file mode 100644 index 0000000..b46244d --- /dev/null +++ b/wildfly_tml_khhw/buildImage.sh @@ -0,0 +1,4 @@ +tag="khhwtml02t.wanhai.com:8182/wanhai/tml/khhw/wildfly-tml-khhw:latest" +docker build --rm -t ${tag} . +docker push ${tag} +docker container prune -f && docker image prune -f && docker volume prune -f && docker network prune -f \ No newline at end of file diff --git a/wildfly_tml_khhw/initial/setup.sh b/wildfly_tml_khhw/initial/setup.sh index 7208ae9..825c7c8 100755 --- a/wildfly_tml_khhw/initial/setup.sh +++ b/wildfly_tml_khhw/initial/setup.sh @@ -1,3 +1,2 @@ -cp ./startwf.sh ${JBOSS_HOME}/bin/startwf.sh #customize config cp ../config/*.* ${JBOSS_HOME}/standalone/configuration/ \ No newline at end of file diff --git a/wildfly_tml_khhw/initial/startwf.sh b/wildfly_tml_khhw/initial/startwf.sh deleted file mode 100755 index 7cce0b1..0000000 --- a/wildfly_tml_khhw/initial/startwf.sh +++ /dev/null @@ -1,5 +0,0 @@ -#variables -IPADDRESS=$(hostname -i) -/opt/jboss/wildfly/bin/standalone.sh -c ${WF_CONFIG} -b ${IPADDRESS} -Djboss.bind.address.management=${IPADDRESS} - -