The Sun Java Communications Suite provides the following two ways to archive chat sessions:
Archive provider API. Using this API, developers can extend the archive capability.
Portal Server search database or Message Store. Without changing any capabilities, you can archive chat sessions in Portal Server's search database or in Messaging Server's Message Store.
By default, the single host deployment example, on which this evaluation guide is based, uses the Message Store to archive chat sessions. By viewing Duncan's inbox, you can see that he has several messages that contain the chat conversations he had with Kathy and others.
The single host deployment example, on which this evaluation guide is based, does not include the Portal Server as an installation component. To change the archive store from the Message Store to the Portal Server search database requires that the Portal Server first be installed. Installation of the Portal Server is beyond the scope of this evaluation. However, if you install the Portal Server, you can change the archive store to the Portal Server search database to archive chat sessions by doing the following:
Edit the /etc/opt/SUNWiim/default/config/iim.conf file and set the following parameter:
iim_server.msg_archive.provider = "com.iplanet.im.server.IMPSArchive"
Restart the Instant Messaging server.
Perform a poll, or a chat, to generate some Instant Messaging data. For performing poll or chat, see The Instant Messaging Demo.
Click the Search tab from within Duncan's Portal Server desktop.
In the Find field, type a key word such as poll or a word from the chat, and click Search.
The results of the search are displayed. Note that the poll results look like actual final poll results, not extraneous data points. Also, the entire conversation is returned, not just the sentence containing the keyword.