SAS-config-dir\Lev1\Web\Scripts\JBoss
.
The name of the command is jbossScripting.bat. The jbossScripting.properties
file in the same directory contains all the settings that are needed
to configure JBoss. The following example shows the command syntax
for creating or re-creating the JBoss configuration with the default
properties file:
mkdir c:\SAS\Config\Lev1\Web\Staging mkdir c:\SAS\Config\Lev1\Web\Scripts mkdir c:\SAS\Config\Lev1\Web\Common mkdir c:\SAS\Config\Lev1\AppData
... configJBoss: loginmodule - processing options: optionName=domain value=DefaultAuth configJBoss: addAttribute: Set name configJBoss: loginmodule - processing options: optionName=debug value=false configJBoss: addAttribute: Set name configJBoss: util - found java.io.Console, using for prompting Enter Password LoginModule=com.sas.services.security.login.OMILoginModule trusteduser=sastrust@saspw Password=
SAS-config-dir\Lev1\level_env.bat
.
For UNIX deployments, the file is named level_env.sh. Open the file
in an editor and make sure that the value for JDK_HOME identifies
the path to a JDK or JRE.
-s
command
line option to configure servers and the -n
command
line option to configure the named instance only:
server1
.
If you are creating a resource that requires credentials, such as
a data source, remember to create property keys in the jbossScripting.properties
file.
-a
command line option.
For the resource types, see the following table.
-s -n server2
command
line options to configure only the named server, SASServer2. The mapping
between the property key (server2) and the server instance name (SASServer2)
is performed in the jbossScripting.properties file.
Use this option to configure
a single named resource. For an example, see Configuring a Single Resource (Preproduction).
|
||
server.servern.property
JTA
to
indicate local transactions and JTS
to indicate
distributed transactions.
application.applicationn.property
.
datasource.datasourcen.properties
.
externalcontext.externalcontextn.property
.
connectionfactory.connectionfactoryn.property
.
loginmodule.loginmodulen.property
.
required
, requisite
, sufficient
,
and optional
.
mailsession.mailsessionn.property
.