Skip to content

Commit

Permalink
Added the template configuration directory for JBoss EAP 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Musarra authored and amusarra committed Oct 17, 2020
1 parent 0e652f1 commit c414702
Show file tree
Hide file tree
Showing 4 changed files with 656 additions and 0 deletions.
90 changes: 90 additions & 0 deletions template/jboss-eap/7.3.0/bin/standalone.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
## -*- shell-script -*- ######################################################
## ##
## JBoss EAP Bootstrap Script Configuration ##
## ##
##############################################################################

#
# This file is optional; it may be removed if not needed.
#

#
# Specify the maximum file descriptor limit, use "max" or "maximum" to use
# the default, as queried by the system.
#
# Defaults to "maximum"
#
#MAX_FD="maximum"

#
# Specify the profiler configuration file to load.
#
# Default is to not load profiler configuration file.
#
#PROFILER=""

#
# Specify the location of the Java home directory. If set then $JAVA will
# be defined to $JAVA_HOME/bin/java, else $JAVA will be "java".
#
#JAVA_HOME="/opt/java/jdk"

# tell linux glibc how many memory pools can be created that are used by malloc
# MALLOC_ARENA_MAX="5"

#
# Specify the exact Java VM executable to use.
#
#JAVA=""

if [ "x$JBOSS_MODULES_SYSTEM_PKGS" = "x" ]; then
JAVA_OPTS="-Djava.net.preferIPv4Stack=true"
JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman"
fi

# Uncomment the following line to prevent manipulation of JVM options
# by shell scripts.
#
#PRESERVE_JAVA_OPTS=true

#
# Specify options to pass to the Java VM.
#
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Djava.net.preferIPv4Stack=true"
JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true"
else
echo "JAVA_OPTS already set in environment; overriding default settings with values: $JAVA_OPTS"
fi

# Sample JPDA settings for remote socket debugging
#JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"

# Sample JPDA settings for shared memory debugging
#JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_shmem,server=y,suspend=n,address=jboss"

# Uncomment to not use JBoss Modules lockless mode
#JAVA_OPTS="$JAVA_OPTS -Djboss.modules.lockless=false"

# Uncomment to gather JBoss Modules metrics
#JAVA_OPTS="$JAVA_OPTS -Djboss.modules.metrics=true"

# Uncomment this to run with a security manager enabled
# SECMGR="true"

# Uncomment this in order to be able to run WildFly on FreeBSD
# when you get "epoll_create function not implemented" message in dmesg output
#JAVA_OPTS="$JAVA_OPTS -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.PollSelectorProvider"

# enable garbage collection logging if not set in environment differently
if [ "x$GC_LOG" = "x" ]; then
GC_LOG="true"
else
echo "GC_LOG set in environment to $GC_LOG"
fi

# On JDK 11, add this JVM argument to display four-digit years.
# See https://learn.liferay.com/dxp/7.x/en/installation-and-upgrades/installing-liferay/installing-liferay-on-an-application-server/installing-on-jboss-eap.html
# -Djava.locale.providers=JRE,COMPAT,CLDR

JAVA_OPTS="$JAVA_OPTS $LIFERAY_JVM_OPTS -Dfile.encoding=UTF-8 -Djava.net.preferIPv4Stack=true -Djboss.as.management.blocking.timeout=480 -Duser.timezone=GMT -Xms2560m -Xmx2560m -XX:MaxMetaspaceSize=512m"
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<module name="com.liferay.portal" xmlns="urn:jboss:module:1.8">
<resources>
<resource-root path="com.liferay.petra.concurrent.jar" />
<resource-root path="com.liferay.petra.executor.jar" />
<resource-root path="com.liferay.petra.function.jar" />
<resource-root path="com.liferay.petra.io.jar" />
<resource-root path="com.liferay.petra.lang.jar" />
<resource-root path="com.liferay.petra.memory.jar" />
<resource-root path="com.liferay.petra.nio.jar" />
<resource-root path="com.liferay.petra.process.jar" />
<resource-root path="com.liferay.petra.reflect.jar" />
<resource-root path="com.liferay.petra.sql.dsl.api.jar" />
<resource-root path="com.liferay.petra.sql.dsl.spi.jar" />
<resource-root path="com.liferay.petra.string.jar" />
<resource-root path="com.liferay.registry.api.jar" />
<resource-root path="portal-kernel.jar" />
<resource-root path="portlet.jar" />
<resource-root path="hsql.jar" />
<resource-root path="ojdbc8.jar" />
</resources>
<dependencies>
<module name="javax.api" />
<module name="javax.mail.api" />
<module name="javax.servlet.api" />
<module name="javax.servlet.jsp.api" />
<module name="javax.transaction.api" />
</dependencies>
</module>
Binary file not shown.
Loading

0 comments on commit c414702

Please sign in to comment.