SAS-config-dir\Lev1\Web\Scripts\WebLogic
.
The name of the command is saswls.cmd. The wlst.commands.txt file
in the same directory contains all the commands that are needed to
configure the domain. The following example shows the syntax for using
the configuration scripting tool to configure domain:
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\Web\Temp mkdir c:\SAS\Config\Lev1\AppData
16 Dec 2011 14:28:08,730 - CredentialsDialogPrep-processCredentials: Determine if credentials need to be solicited for those resources that require authentication... *=*=*=*=*=*=* BEGIN Prompting for credentials *=*=*=*=*=*=* ------------------------------------------------------------------------ Please enter credentials for: SAS Trusted User Enter username: sastrust@saspw Is "sastrust@saspw" correct? (y/n): y Username "sastrust@saspw" accepted. Enter password: Re-enter password:
Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Do you want to create the key file? y or n
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.
saslws.cmd Initializing WebLogic Scripting Tool (WLST) ... Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands 29 Apr 2011 13:44:43,134 - Running in script mode, forcing autoConfigure and autoDeploy. Enter commands interactively: Usage: operation type name > check server SASServer1 ... RUNNING Disconnected from weblogic server: AdminServer ***** This step took 1.9210000038146973 seconds to complete. ***** operation completed with return code '0'
help
at
the interactive command prompt. The following display shows the results
of the help command:
saswls operation resource_type resource_name [additional_options] additional options that can appear anywhere on the command line to launch the script: credentials=file_name promptMode=TEXT|GRAPHIC valid resource types (supported operations): application (compile deploy undeploy) connectionfactory (create delete) dataSource (create delete) domain (create customize listservers listjmsservers createloginmodule) foreignjndiprovider (create) jdbcprovider (create delete) jmsServer (create delete) mailSession (create delete) nodemanager (start stop) policy (set) queue (create delete) server (check create delete start stop) topic (create delete) user (create)
SAS-config-dir/Lev1/Web/Scripts/Weblogic/props
.
Each of the properties are described in the following list:
AdminServer
.
false
, then manual
configuration is requested and the SAS Deployment Wizard creates a
sample domain and configures servers in off-line mode only. All configuration
steps that are run outside of SAS Deployment Wizard and SAS Deployment
Manager are automated regardless of this setting.
false
, then the
SAS Deployment Wizard does not deploy the SAS Web applications. This
property is not used by the configuration scripting tool. This property
is used by SAS Deployment Wizard to generate documentation.
domain/bin
directory.
-d64
JVM
option for machines that need this JVM option. This property is used
in the commEnvSAS.sh script.
true
.
JAVA_HOME
environment
variable. The property is inherited by the managed servers and tool
that are launched by the configuration scripting tool.
Sun
, Oracle
, IBM
, BEA
,
and HP
. The values are case
sensitive.
MW_HOME
). This
is typically the parent directory of the WebLogic Server installation
directory, but the WebLogic Server installers permit installing WebLogic
Server in a different location.
redhat
or SuSE
.
The values are case sensitive. On other operating systems, the value
is set to UNKNOWN
. This value
is used in the commEnvSAS.sh script.
UNKNOWN
.
wlst
command
line.
wlst
commands
to return values in properties and return code status.
domain/bin
directory.
true
, then credential
values are cached in the credentials.properties file. If set to false
,
then values are purged from credentials.properties when the configuration
scripting tool exits.
WL_HOME
environment
variable is set to this value in generated scripts.
true
to indicate that
WebLogic Server is installed on the machine that is used for the SAS
middle tier. This value is used to generate documentation and is not
used by the configuration scripting tool.
nodemanager
server.
webappsrvScriptingCacheCredentials
is
set to false
. When stored,
these values are stored in SAS base-64 encoding, not clear-text. If
you chose to store passwords in this file, then they are updated when
you use the Update passwords feature of the SAS Deployment Manager.
application.application_name.properties
.
For information about how these properties control WebLogic Server
configuration, see the online Help in the WebLogic Administration
Console. More information is available in the WebLogic Server documentation
on the Oracle Web site. The WebLogic Server 10.3.3 documentation
for this resource is available at http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e13952/taskhelp/applications/DeployEnterpriseApplications.html.
weblogic.appc
command line when
compiling a Web application.
datasource.datasource_name.properties
.
For information about how these properties control WebLogic Server
configuration, see the online Help in the WebLogic Administration
Console. More information is available in the WebLogic Server documentation
on the Oracle Web site. The WebLogic Server 10.3.3 documentation
for this resource is available at http://download.oracle.com/docs/cd/E14571_01/web.1111/e13737/toc.htm.
TwoPhaseCommit
, LoggingLastResource
, OnePhaseCommit
, EmulateTwoPhaseCommit
,
and None
. SAS applications
depend on correct settings. Do not change this property.
true
, then it enables
WebLogic Server to keep the logical JDBC connection open for a global
transaction when the physical XA connection is returned to the connection
pool.
true
, then it enables
WebLogic Server to keep the logical JDBC connection open for a global
transaction when the physical XA connection is returned to the connection
pool. SAS applications might depend on particular JDBC transaction
settings. Do not change this property.
true
, it specifies
whether the XA driver requires a distributed transaction context when
closing various JDBC objects (result sets, statements, connections,
and so on). This property applies only to connection pools that use
an XA driver. SAS applications might depend on particular JDBC transaction
settings. Do not change this property.
true
, then WebLogic
Server can test a connection before giving it to a client. (This feature
requires that you specify a value for testTableName.)
true
, then it specifies
that XAResource.end() is called only once for each pending XAResource.start().
This option prevents the XA driver from calling XAResource.end(TMSUSPEND)
and XAResource.end(TMSUCCESS) successively. This property applies
to data sources that use an XA driver only. SAS applications might
depend on particular JDBC transaction settings. Do not change this
property.
foreignjndiprovider.resource.properties
.
For information about how these properties control WebLogic Server
configuration, see the online Help in the WebLogic Administration
Console. More information is available in the WebLogic Server documentation
on the Oracle Web site. The WebLogic Server 10.3.3 documentation
for this resource is available at http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e13952/taskhelp/jndi/ConfigureForeignJNDIProvider.html.
jdbcprovider.resource_name.properties
.
WebLogic Server does not use the concept of a JDBC provider. These
properties are used by the SAS Deployment Wizard to manage the JDBC
driver JAR files only.
connectionfactory.resource.properties
, queue.resource.properties
,
or topic.resource.properties
.
For information about how these properties control WebLogic Server
configuration, see the online Help in the WebLogic Administration
Console. More information is available in the WebLogic Server documentation
on the Oracle Web site. The WebLogic Server 10.3.3 documentation
for this resource is available at http://download.oracle.com/docs/cd/E14571_01/web.1111/e13738/toc.htm.
true
, then it indicates
whether an XA queue or XA topic connection factory is returned, instead
of a queue or topic connection factory. This property applies to connection
factories only. SAS applications might depend on particular JDBC transaction
settings. Do not change this property.
jmsserver.resource.properties
.
For information about how these properties control WebLogic Server
configuration, see the online Help in the WebLogic Administration
Console. More information is available in the WebLogic Server documentation
on the Oracle Web site. The WebLogic Server 10.3.3 documentation
for this resource is available at http://download.oracle.com/docs/cd/E14571_01/web.1111/e13738/toc.htm.
not-set
. SAS applications
might depend on particular settings. Do not change this property.
dataSourceName
is not-set
.
SAS applications might depend on particular settings. Do not change
this property.
loginmodule.resource.properties
.
Modules are grouped together under an application name.
true
if
this module incorporates credentials found in the credentials property
file.
false
, then
the login module opens a connection to the SAS Metadata Server and
closes it when it is finished. Setting this property to true
causes
the module to store a handle to the connection object in the Subject
object. This connection can then be reused by the UserContext object.
This option should not be set to true if the module is being used
by an application container. Otherwise, the connection is not closed
until the Subject object is destroyed by garbage collection.
required
, requisite
, sufficient
, optional
.
For more information, see http://download.oracle.com/javase/6/docs/api/javax/security/auth/login/Configuration.html.
loginpolicy.resource.properties
.
Modules are grouped together under an application name that is based
on these policy names.
mailsession.resource.properties
.
For information about how these properties control WebLogic Server
configuration, see the online Help in the WebLogic Administration
Console. More information is available in the WebLogic Server documentation
on the Oracle Web site. For example, the WebLogic Server 10.3.3 documentation
is available at http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e13952/taskhelp/mail/CreateMailSessions.html.
policy.policyname.properties
.
For information about how these properties control WebLogic Server
configuration, see the online Help in the WebLogic Administration
Console. More information is available in the WebLogic Server documentation
on the Oracle Web site. The WebLogic Server 10.3.3 documentation
for this resource is available at http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e13952/taskhelp/security/UseRolesAndPoliciesToSecureResources.html.
server.servername.properties
.
For information about how these properties control WebLogic Server
configuration, see the online Help in the WebLogic Administration
Console. More information is available in the WebLogic Server documentation
on the Oracle Web site. The WebLogic Server 10.3.3 documentation
for this resource is available at http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e13952/taskhelp/domainconfig/CreateManagedServers.html.
user.servername.properties
.
The credentials are stored in the credentials.properties file. For
information about how these properties control WebLogic Server configuration,
see the online Help in the WebLogic Administration Console. More
information is available in the WebLogic Server documentation on the
Oracle Web site. The WebLogic Server 10.3.3 documentation for this
resource is available at http://download.oracle.com/docs/cd/E14571_01/apirefs.1111/e13952/taskhelp/security/DefineUsers.html.