Before you begin
To run administrative commands, you must use the wsadmin client. See Starting the wsadmin client
About this task
A microblog is a status update message that is posted to a community activity stream. Microblog updates are displayed in the aggregated list of events in the Recent Updates widget in Communities. If a community owner has added the Status Updates widget to a community, microblog messages can also be seen in that widget. In addition, microblog messages are displayed when users filter the Home page activity stream to show status updates for a community.
The microblogs that display in the Recent Updates and Status Updates widgets in Communities are stored in the News repository. In the event of a database failure or some other disaster, if the associated community data has been deleted, you might decide that the orphaned microblog data in the News repository should be removed. The NewsMicrobloggingService.deleteMicroblogs command allows you to remove all microblog and associated data for a community from the News repository. Note that there is no support for deleting other types of events that display in the Recent Updates widget. For more information about removing orphaned data, see Deleting orphaned data
To delete community microblogs from the News repository, complete the following steps.
Parent topic: Administering microblogs
Recovering from a database failure
Deleting microblog data
Deleting orphaned data
News administrative commands
- Start the wsadmin client from the following directory of the system on which you installed the Deployment Manager:
is the WebSphere
® Application Server installation directory and dm_profile_root
is the Deployment Manager profile directory, typically dmgr01.
You must start the client from this directory or subsequent commands that you enter do not execute correctly.
- Start the Jython script interpreter for the News repository.
- Use the following command to access the News configuration file:
If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, you must pick the node where the file is stored.
- Use the following command:
Removes all microblog and associated data for a community from the News repository.
This command takes a single parameter, which is a string that specifies the ID of the community whose microblog data you want to delete.