Administrative utility  Security with e-mail, and SMS based request handling

Chapter 2: Developer Features

Configuring the CMC

CMC uses the CMCConfig.properties file, located in %SYBASE%\UA65\cmc\classes\com\sybase\cellmodem. This file contains initial values that you can override with command line options. You can run the configuration file with the run -help command to see the details of all options. At the command prompt, enter:

run -help

See Table 2-3 for some of the more common options.

Table 2-3: CMCConfig.properties file settings

Option

Description

Default value

accessLog.File

Name of the file where access log data is kept.

None. If no file is specified, no access log is maintained.

databaseDriver

Fully qualified class name of a java.sql.Driver implementation for connecting to a database.

com.sybase.jdbc2.jdbc.SybDriver

databasePwd

Password to use when connecting to the database.

SQL

databaseURL

JDBC URL to the database containing tables used by CMC.

None.

If this option is not specified, CMC does not attempt to connect to, or use any database.

databaseUser

User name to use when connecting to the database.

dba

httpURL

This is the HTTP URL that the HTTPClientMessageHandler class sends requests to with the request body message. This is the access point for Answers Anywhere processing.

The sms.jsp page looks for an optional rid=<N> query parameter, where <N> is the RID number. For example, http://machine.sybase.com:4040/dejima/sms.jsp?rid=211. If this is not specified, the default RID configured in uadejima.properties is used.

http://localhost:4040/dejima.sms.jsp

instanceName

This is the name by which this instance of the CMC process and its modem are known. When you have more than one CMC, you must assign each CMC a distinct name so the configuration data is kept separate and the respective access logs can be distinguished.

When CMC is using a database, this name is used in searches and inserts.

DejimaServer

logLevel

This determines the minimum severity level of messages to be placed in the logFile. Valid values are described in java.util.logging.Level.

WARNING

roleBasedAccess

This is a Boolean property.

When set to true, CMC attempts to match a sender’s phone number to a registered cell number in the user.cell_phone column of the portaldatabase. If a match is found, the login_name for that user is passed as a a parameter to the HTTPUrl for the Web application to use in applying access control.

false

NoteUse this option in conjunction with the uadejima.properties file role.based property. See Table 2-2.





Copyright © 2005. Sybase Inc. All rights reserved. Security with e-mail, and SMS based request handling

View this book as PDF