References#
response.varfile#
See an excerpt of available properties in response.varfile
for an unattended installation including a description of the properties meaning:
property name |
sample value |
comment |
---|---|---|
amq.admin.password |
admin |
# ActiveMQ admin password |
amq.admin.user |
admin |
# ActiveMQ admin username |
amq.adminPort$Long |
8161 |
# ActiveMQ admin port number |
amq.jmsPort$Long |
61616 |
# ActiveMQ server port number |
amq.njams.password |
njams |
# ActiveMQ nJAMS user password |
amq.njams.user |
njams |
# ActiveMQ nJAMS user name |
amq.queue |
njams |
# ActiveMQ destination prefix |
amq.serviceName |
ActiveMQ_njams |
# ActiveMQ service name |
db.class |
org.postgresql.Driver |
# RDBMS classname of JDBC driver |
db.driver |
/tmp/postgresql-42.2.8.jar |
# Specify jdbcdriver of external RDBMS |
db.installType |
0 |
# 0=requires empty schema, 1=use existing nJAMS schema, 2=clear existing schema |
db.pwd |
postgres |
# RDBMS user password |
db.systemId$Integer |
0 |
# 0=H2, 1=Oracle, 2=MSSQL, 3=PGSQL |
db.url |
jdbc:postgresql://localhost:5432/njams |
# RDBMS connection url |
db.user |
postgres |
# RDBMS user name |
es.api.port$Integer |
9300 |
# Elasticsearch api port number |
es.cluster |
njams |
# Elasticsearch cluster name |
es.configure$Boolean |
true |
# Set to true for setting up cluster connection |
es.data.path |
/home/docker/njams-install/elastic/data |
# Elasticsearch pathname to data files |
es.heap |
2g |
# Elasticsearch heap size |
es.host |
localhost |
# Elasticsearch host name |
es.http.port$Integer |
9200 |
# Elasticsearch http port number |
es.node.name |
njams-node |
# Elasticsearch node name |
es.serviceName |
elastic_njams |
# Elasticsearch service name |
es.sniffingEnabled$Boolean |
true |
# Enables/disbales sniffing |
es.url |
localhost:9300 |
# Elasticsearch url |
es.version |
es6 |
# Select ‘es6’ or ‘es7’. |
njams.admin |
admin |
# nJAMS admin username |
njams.adminGroup |
admin |
# nJAMS admin groupname |
njams.adminPwd |
admin |
# nJAMS admin password |
njams.instance |
njams |
# nJAMS instance name |
sys.adminRights$Boolean |
true |
# Admin rights are required, DO NOT CHANGE! |
sys.component.compAmq$Boolean |
true |
# Install ActiveMQ true/false |
sys.component.compElastic$Boolean |
true |
# Install Elasticsearch true/false |
sys.component.compNjams$Boolean |
true |
# Install WildFly/nJAMS Server ture/false |
sys.component.compExtDB$Boolean |
true |
# Use external RDBMS (PostgreSQL, SQL Server, Oracle) |
sys.installationTypeId |
typeShowcase |
# Either typeStandard | typeFull | typeCustom | typeShowcase |
sys.languageId |
en |
# Only ‘en’ is supported yet. DO NOT CHANGE! |
sys.programGroupAllUsers$Boolean |
true |
# Windows: Install program group for AllUsers |
sys.programGroupDisabled$Boolean |
false |
# Windows: Do not create program group |
sys.programGroupName |
nJAMS-4 Server |
# Windows: Program group name |
wf.admin |
admin |
# WildFly admin username |
wf.adminPort$Long |
9990 |
# WildFly admin port number |
wf.adminPwd.encoded |
admin |
# WildFly admin password |
wf.bindAddress |
0.0.0.0 |
# WildFly bind ip address |
wf.heap$Integer |
1024 |
# WildFly heap size [MB] |
wf.httpPort$Long |
8080 |
# WildFly http port number |
wf.serviceName |
WildFly_njams |
# WildFly service name |
wf.useBindAddress$Boolean |
false |
# WildFly use bind ip address |
wf.waitAddress |
0.0.0.0 |
# Local WildFly ip address for testing connection |
See also the following sample response.varfiles:
Unattended installation using external PostgreSQL RDBMS
response_5.1-postgresql.varfile
.Unattended installation using external SQL Server RDBMS
response_5.1-mssql.varfile
.
How to configure multiple nJAMS instances on the same machine#
In case you want to use multiple nJAMS Server instances by using separate WildFly servers on the same machine, use the following steps as guideline.
Make sure that the first nJAMS Server instance is completely stopped before running the installer the second instance.
During second installation, make sure that all ports of all components being installed are different from those used during the first installation.
After installation, go to
Administration -> Conections -> Argos
and change theDatabase port
to a different one that is not in use.Shutdown nJAMS.
Make sure that the WildFly servers contain different names of the session cookie.
Update
standalone.xml
of the WildFly servers as follows:Edit:
<njams-directory>/wildfly/standalone/configuration/standalone.xml
Search for:
<servlet-container name="default">
Add session-cookie entry to change the default session cookie name:
<servlet-container name="default"> <jsp-config/> <websockets/> <session-cookie name="MYSESSIONCOOKIE" /> </servlet-container>
MYSESSIONCOOKIE
is your individual name for the session cookie.You are now ready to start both nJAMS instances.