|
| Problem | There are times when the repository database, or server-cfg.xml file in WebSphereŽ Application Server 4.0.x Advanced Edition (AE) must be recreated to the default configuration, which is the configuration that exists when the Application Server is installed. This technote explains how to do this. | | | | Solution | For WebSphere Application Server versions 3.x Standard Edition (SE) and Advanced Edition (AE) 4.0.x:- Stop the Application Server on all nodes if multiple nodes share the same repository database.
- Backup the repository database, in case it needs to be restored.
- Delete the WSAS root/etc/secbootstrap, or secbootrep, if it exists. Do this on all nodes if applicable.
- Drop and recreate the repository database (DB2 terminology), or recreate the repository database.
- In the WSAS root/bin/admin.config (on only one node if multiple nodes share the same repository database), make sure the following parameters are set:
- install.initial.config=true
- com.ibm.ejs.sm.adminServer.dbInitialized=false (only in WebSphere Application Server 3.5.x)
- com.ibm.ejs.sm.adminServer.initializeDb=true (only in WebSphere Application Server 4.0.x AE)
- com.ibm.ejs.sm.adminServer.createTables=true (only in WebSphere Application Server 4.0.x AE)
- In the WSAS root/properties/sas.server.props, not the sas.client.props, on all nodes if multiple nodes share the same repository database, make sure the following parameter is set:
com.ibm.CORBA.securityEnabled=false
- Start the Application Server on all nodes if applicable.
- For WebSphere Application Server 4.0.x AE, the administrative server stops after the database is recreated because com.ibm.ejs.sm.adminServer.initializeDb=true. To start the administrative server, comment out this line in admin.config.
For WebSphere Application ServerAS version 4.0.x AEs (Single Server Edition):1. Stop the Application Server.2. Rename the WSAS root/config/server-cfg.xml file in case it needs to be reverted to.3. Delete the WSAS root/etc/secbootrep.4. Make a copy of the WSAS root/config/template-server-cfg.xml file in the WSAS root/config directory and rename it to server-cfg.xml.5. Start the Application Server. | |
| |
| |
|
Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Security Operating system(s): Multi-Platform Software version: 3.0.2, 3.0.2.1, 3.0.2.2, 3.0.2.3, 3.0.2.4, 3.5, 4.0 Software edition: Advanced, Single Server, Standard Reference #: 1052233 IBM Group: Software Group Modified date: 2004-09-28
(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.
|