Updating the database user registry on Windows
After
creating and using the database user registry in the default federated repository,
you may find that your database user registry is not working exactly as you
would like. You can easily update the database user registry and make the
necessary changes.
Perform the following steps to update the database user
registry in the default federated repository:
- Use a text editor
to open the wkplc.properties file, located
in the wp_profile\ConfigEngine\properties directory.
- Enter the following parameters in the wkplc.properties file
to connect remotely to the database and to the WebSphere
Application Server:
- For ConnectionType, type remote to
access the WebSphere
Application Server Administrative
Console remotely.
- For WasSoapPort, type the port number to
use to access the WebSphere
Application Server Administrative
Console remotely.
- For WasUserId and WasPassword,
type the WebSphere
Application Server administrative
user ID and password used to access the WebSphere
Application Server Administrative
Console remotely.
- Restart the server accepting SOAP requests at the port provided
in the WasSoapPort parameter; by default it is the WebSphere_Portal
server.
- Update the following required parameters
in the wkplc.properties file under the Federated DB repository
heading:
- For federated.db.datasourcename, type the
name of the data source. CAUTION:The federated.db.datasourcename value
must be different than the value for the DataSourceName parameter
in the wkplc_comp.properties file.
- For federated.db.databaseType, type the
database type.
- For federated.db.dbURL, type the database
URL.
- For federated.db.id, type the unique ID
for the federated repository.
- Update the following optional parameters
in the wkplc.properties file under the Federated DB repository
heading:
- For federated.db.dbAdminId, type the database
administrator ID.
- For federated.db.dbAdminPassword, type
the password for the database administrator ID.
- For federated.db.adapterClassName, type
the adapter class name.
- For federated.db.JDBCDriverClass, type
the JDBC drive class name.
- For federated.db.supportSorting, type true to
support sorting or false to not support sorting.
- For federated.db.supportTransaction, type true to
support transactions or false to not support transactions.
- For federated.db.isExtIdUnique, type true if
the external ID is unique or false if the external
ID is not unique.
- For federated.db.supportExternalName, type true if
the external names are supported or false if external
names are not supported.
- For federated.db.entityRetrievalLimit,
type a numeric value to specify the retrieval limit on database entries.
- For federated.db.saltLength, type a numeric
value for the salt length in bits; the default value is 12.
- For federated.db.encryptionKey, type the
encryption key; the default value is rZ15ws0ely9yHk3zCs3sTMv/ho8fY17s.
- Run the ConfigEngine.bat
wp-update-db task, located
in the wp_profile\ConfigEngine directory to
add a database user registry to the default federated repository.
- Save your changes to the wkplc.properties file.
- Perform the following steps to stop and restart
the server1 and WebSphere_Portal servers:
- Open a command prompt and change to the wp_profile_root\bin directory.
- Enter the stopServer.bat server1
-user admin_userid -password admin_password command
to stop the WebSphere
Application Server.
- Enter the stopServer.bat WebSphere_Portal
-user admin_userid -password admin_password command
to stop the WebSphere Portal Express server.
- Enter the startServer.bat server1 command.
- Enter the startServer.bat WebSphere_Portal command.
Parent topic: Updating your user registry on Windows
|
|
|