WebLogic Server Configuration

The configuration of WebLogic Server involves setting up a data source, a domain and a server and configuring the JMS and security settings. All these tasks can be performed by executing the configure target provided by the Cúram SDEJ.

The command build configure should be executed from the <SERVER_DIR> directory to invoke automatic configuration. This target requires that the files AppServer.properties and Bootstrap.properties exist in the <SERVER_DIR>/project/properties1directory. See the Cúram Server Developer's Guide for more information on the setup of a Bootstrap.properties. WebLogic Server Configuration details the required contents of the AppServer.properties file.

Figure 1. AppServer properties sample
## APPLICATION SERVER PROPERTIES

## IT IS VERY IMPORTANT TO USE '/' FOR DIRECTORY PATHS. ##

# Property to indicate WebLogic Server is installed.
as.vendor=BEA

# The username and password for admin server.
# The password must be encrypted.
security.username=<e.g. weblogic>
security.password=<e.g. encrypted password>

# The name of the WebLogic Server Domain Name.
node.name=MYNODE

# The name of the server on which the application will be hosted.
curam.server.name=CuramServer
curam.server.port=7001

####################################################
## THE FOLLOWING PROPERTIES ARE FOR WEBLOGIC ONLY ##
####################################################

# Property to set JVM initial and maximum heap size
# when starting and stopping WebLogic Server.
curam.server.jvm.heap.size=1024
Note:
  1. The security.username used here in the AppServer.properties file should not be the same as any user that will exist as an application user.

    With the implementation of strong password enforcement in WebLogic Server 11g Release 1, the Weblogic application server password must be at least eight alphanumeric characters in length with at least one number or a special character.

  2. The configure target cannot be run while H2 database is in use.2
  3. The CuramMBean.jar is copied from the <SDEJ>/lib directory to the <WebLogic Server Install directory>/weblogic/server/lib/mbeantypes directory (<WebLogic Server Install directory>/wlsserver_10.3/server/lib/mbeantypes for 10.3.3) by the configure target. The location of the CuramMBean.jar can be changed by manually copying to any location supported by the WebLogic Server. However, depending on the location, an extra parameter may be needed when executing the startserver command. For more details, please refer to Start a WebLogic Server
1 It is possible to overwrite this default location for the properties file by specifying -Dprop.file.location when executing the configure target.
2 For more information on H2 database consult the Cúram Third-Party Tools Installation Guide for Windows.