Sunday, 24 March 2013

Forgotten customized "wasadmin" user's password

Hi all,

Problem is the  "wasadmin" user's password has been forgotten, what can be done to recover this password?

There are two ways to resolve the problem:
1.From WebSphere Application Server Console:
2.From Command Line :
(Note: I had the scenario of Standalone Application Server v 7 Environment on UNIX o/s )


From WebSphere Application Server Console:

1. There is only one security.xml file to change if you are running the base Application Server alone.The security.xml file is located under WSAS_install_root/profile/profile_name/config/cells/cellname. Always store a copy of the security.xml file in a temporary directory before making any changes.

To disable security:

Open the security.xml file and search for the very first occurrence of enabled="true". This is located inside the <security:> tag.Change enabled="true" to enabled="false", then save the file.



2.Stop and restart the WAS server

3.Log into ibm/console, http:// host: adminport/ibm/console

4.Click on the "Log in" button (no User ID needed), navigate to Security>Global security and launch Security Configuration Wizard via button on screen












5.Ensure "Enable application security" is checked and "Use Java 2 security to restrict application access to local resources" is left unchecked




   






 6.Select Next button

7.Select "Federated repositories" for the user repository











8.Select Next button

9.Create a new user for administrative,i.e. "testadmin"/"testadmin" (this can not be "wasadmin" user)









10.Select Next button

11.Select Finish button

12.Save the changes by clicking on the " Save directly to the master configuration.":

13.Next hit the "Logout" (upper right hand corner), then stop and restart WAS

14.Log into ibm/console, http:// host: adminport/ibm/console, with "testadmin"/"testadmin" for the User ID/Password:

15.Navigate to "Manage Users" portlet from "Users and Groups" menu item, and select the "Search" button:










16.Reset "wasadmin" password, by clicking on the " wasadmin", and typing in the new password, then hitting the "OK" button















17. Go back into "Security Configuration Wizard" (see steps 4 - 12 above), and change the administrative username to "wasadmin", and using the new password you've created on the previous step, and Save and changes

18.Next hit the "Logout" (upper right hand corner)

19.Stop and restart WAS

20. Log back into console with "wasadmin" and "new password"

21.Delete "testadmin" user from the "Manage Users" portlet

That should hopefully get your "wasadmin" user working again.

From Command Line :

1. Go to the $WAS_HOME/bin for the Application Server.

2.Issue the ./wsadmin.sh -conntype NONE command. (Issue ./wsadmin.sh conntype NONE for UNIX ) Wait until wsadmin responds.

3.Issue the securityoff command (no space between security and off).

4.Issue the exit command.

5.Restart the Application Server.

6.Log on to the administrative console and make sure that Security is disabled.

7. Go to the $WAS_HOME/bin for the Application Server.

8.Issue the ./wsadmin.sh command. Wait until wsadmin responds.

9.Issue the command
$AdminTask changeFileRegistryAccountPassword {-userId  new_uname -password  new_password}

10.Save the Configuration using command
$AdminConfig save

11.Log on to the administrative console and make sure that Security is Enabled.

12.Restart the Application Server.
“Effort only fully releases its reward after a person refuses to quit.”
Regards,
Akhilesh B. Humbe

Sunday, 17 March 2013

Introducing IBM Content Manager


Hi all,
 
This is a Basic overview of  IBM Content Manager and it's components.

Content Manager provides a scalable, enterprise-wide repository system for the capture, creation, organization, management, workflow routing, archiving, and life cycle management of business content. It handles sharing, reuse, and archiving of all types of digitized content. The digitized content supported by Content Manager includes HTML and XML-based Web content, images, electronic office documents, and rich media, such as digital audio and video. Content Manager uses a triangular architecture

Architecture

Content Manager is built on multi-tier distributed architecture, with a Library Server that manages, indexes, and searches documents, Resource Managers that manage the actual digitized objects, a mid-tier server that acts as a broker between the client and the Library Server, and Windows-based and browser-based clients that provide the graphical end-user interface to the servers. Client applications use a single object-oriented application programming interface (API) to invoke all Content Manager services, which are divided between the Library Server and one or more Resource Managers. A single implementation supports a single Library Server, along with multiple Resource Managers and clients. Multiple, distinct applications of Content Manager can be installed on a single physical server. Following fig. Shows logical model of Content Manager


Fig: Logical Model of Content Manager

1.Library Server
The Library Server manages the content metadata and is responsible for access control to all content. It maintains the indexing information for all multimedia content held in a Resource Manager. Users submit requests through the Library Server. The Library Server validates the access rights of the requesting client and then authorizes the client to directly access the object in the designated Resource Manager. The Library Server also maintains referential integrity between the indexing information and the objects themselves. The Library Server is built on IBM DB2 relational database management system (RDBMS) or Oracle. All access to the Library Server is via the database query language SQL, and all Library Server logic runs within DB2. With Content Manager, no persistent processes operate on the Library Server; all content management functions are stored procedures executed by DB2. Content metadata in the Library Server is backed up and recovered using standard database tools.

2.Resource Managers
Resource Managers are the repositories that contain the digitized content and manage the storage and retrieval of objects. The Resource Manager supports caching, replication and provides hierarchical storage management when used in conjunction with IBM Tivoli Storage Manager. A single Resource Manager can manage multiple VideoCharger systems as well. The Resource Manager architecture provides an extensible model that enables the support of additional Resource Managers in the future.

3.Mid-tier server
The mid-tier server functions as a broker that mediates communications between the client and the Library Server. It manages connections to the Library Server and, optionally, to the Resource Managers.

4.Clients
Users can access Content Manager repositories through Windows clients (thick client) or an eClient (thin client). The eClient Web application consists of JavaServer Pages (JSP), servlets, and a viewer applet that runs on IBM WebSphere Application Server. The eClient can communicate directly with the Resource Manager using Internet protocols. It can talk directly to the application server (for example, WebSphere). The eClient provides federated access to and searches across all Content Manager and non-IBM repositories

“Effort only fully releases its reward after a person refuses to quit.”
Regards,
Akhilesh B. Humbe

Popular Posts