Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Selling Transact Server Interface Reference > Installing Transact Server > Configure the Application Server Environment >
The WebLogic Environment
To set up the WebLogic environment for Transact Server, you must complete these major tasks:
- Set up the class and directory paths.
- Modify WebLogic.Properties file.
- Set up the Transact Database.
- Set up the LDAP directory server (optional).
The discussion below shows you how to complete each of these tasks.
Setting Up the Class Path and Directory Path
The class and directory paths for the WebLogic environment can be completed in four steps.
To set up the class path and directory path
- Copy three folders to <WebLogic root>/myserver/public_html:
- login
- propertieseditor
- transactserver under <transact root>/jsp
- Set up the environment class path.
You can use the setenv script file provided by WebLogic. For additional information, refer to the WebLogic5.1 documentation:
http://www.WebLogic.com/docs51/install/startserver.html
http://www.WebLogic.com/docs51/admindocs/classpath.htmlUse the following file names in the environment classpath:
- Append <transact root>/Javalib/rincon41.jar into classpath for setting up Rincon.
Example:
CLASSPATH=%JDK_CLASSES%......;<Transact root>/JavaLib/ rincon41.jar
- Append ODBC driver.
If you use SQL Server, add <SQL server root>/classes.
If you use Oracle 8.0.5, add <WebLogic root>/bin/oci805_8.- Add Transact Server jar files to the WebLogic classpath.
You can do this using startWebLogic.cmd. For more information, refer to the WebLogic5.1 documentation at the following links:
http://www.WebLogic.com/docs51/install/startserver.html
http://www.WebLogic.com/docs51/admindocs/classpath.html- Append the following files to the WEBLOGIC_CLASSPATH parameter:
<Transact root>/Javalib/rincon41.jar
<Transact root>/Javalib/transact41.jar
<Transact root>/Javalib/xalan.jar
<Transact root>/Javalib/xerces.jar.
<Transact root>/Javalib/xml.jar.
<WebLogic root>/persistence/WebLogic_RDBMS.jar.
Modifying <WebLogic root>/WebLogic.Properties
According to the WebLogic administration guidelines, you must modify the following variables located in your weblog.properties file.
NOTE: If you have a clean WebLogic file, in which variables are commented out by the prefix "#," remove the "#" sign before modifying the values.
Add these variables to the bottom of the WebLogic.properties file.
To set up the WebLogic the application server
- Create servlets, SiebelTransact, LoginProcess, and Logout.
- WebLogic.httpd.register.SiebelTransact=com.siebel.isscda.wl.servlet.mars.RequestHandler
- WebLogic.httpd.register.LoginProcess=com.siebel.isscda.wl.rincon.LoginProcess
- WebLogic.httpd.register.Logout=com.siebel.isscda.wl.rincon.Logout
- Set up a security reference for your WebLogic Application Server.
- WebLogic.allow.reserve.WebLogic.jdbc.connectionPool.SiebelPool=everyone
- WebLogic.allow.lookup.WebLogic.jndi.WebLogic=system
- WebLogic.allow.lookup.WebLogic.jndi.WebLogic.ejb=system
- WebLogic.allow.modify.WebLogic.jndi.WebLogic=system
- WebLogic.allow.modify.WebLogic.jndi.WebLogic.ejb=system
- WebLogic.allow.list.WebLogic.jndi.WebLogic=system
- WebLogic.allow.list.WebLogic.jndi.WebLogic.ejb=system
- Set up a data source for list quote and list configuration.
Example:
WebLogic.jdbc.DataSource.SiebelDataSource=SiebelPool where SiebelPool is the database pool you setup for Transact Server.
Setting Up the Database
Transact Server operates with Oracle and SQL 2000 JDBC drivers. You must set up the JDBC driver on your system with a user name, password, and service name.
Oracle
To create tables, execute <Transact root>/db/oracle/auth_orcl.sql and <Transact root>/db/oracle/transact_orcl.sql.
Microsoft SQL Server (Windows only)
Assume you already installed jdriver for MSSQL and modify the path in setenv.cmd and startWebLogic.cmd. Then you can set up Microsoft SQL Server.
- To create tables, replace $(username) in <transact root>/db/msql/auth_msql.sql and <transact root>/db/msql/transact_msql.sql with your user name. Execute these two files by typing:
<MSSQL root>/bin/isql -U<username> -P<password> -S<servername>
-i<transact root>/../../<transact_msql and auth_msql>.sql
Where
-U is username
-P is password
-S is servername
-i is the sql input file
- Add the MSSQL connection pool.
You can add the connection pool through the WebLogic property file or other WebLogic recommended methods. For more information, refer to the WebLogic5.1 documentation at the following link:
http://www.WebLogic.com/docs51/classdocs/conn_pools.html#635447
An example of the Connection Pooling Property for MSSQL:
url=jdbc:WebLogic:mssqlserver4:<table name>@<db host>:1433,\ driver=WebLogic.jdbc.mssqlserver4.Driver,\ props=user=<user>;password=<password>;server=<db host>
Setting Up the LDAP Server
You can set up an LDAP server to authenticate users, although this is optional.
To set up the LDAP Server (optional)
- From your <WebLogic root> command prompt, type setenv.
- Type startWebLogic.
The WebLogic Server starts.
- Open the property editor from the Web browser using the following URL:
http://host:7001/propertieseditor/index.htm.
- Click the Authentication tab to get to the authentication.jsp page.
- Enter a value for the LDAP credential variable.
The value will be encrypted and not displayed to the user.
- Click Submit, and then shut down the WebLogic server.
- Copy siebel.prp and siebel_default.prp to <transact root>\scripts directory.
- From your <transact root>\scripts, type setRinconPath.
- Run rincon_setup.
- Run transact_setup.
This sets up the LDAP server.
- If you want to uninstall your setup, run transact_uninstall first, and then rincon_uninstall.
An error appears if you try to run rincon_uninstall before you run transact_uninstall.
- Each time you change your LDAP credential using the property editor, you must copy siebel.prp from <WebLogic root> to <transact root>/script.
This step allows the LDAP setup script files to pick up the new variable for running the setup.
- Open the WebLogic property file and append this line to the end of the file.
WebLogic.security.realmClass=com.siebel.isscda.wl.rincon.WLRealm.
- Restart WebLogic server to make security take effect.
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Selling Transact Server Interface Reference Published: 18 April 2003 |