This chapter contains the following:
This file configures the community membership and configuration component of the Portal Server software. For the most part, this file contains low level configuration that need not be modified. For performance reasons, if the community feature is not used, this file must be changed to avoid calls to Java DB on each portal request.
To modify the file, log into any system that has portal server installed as superuser and access the file in the PortalServer-DataDir/portals/portal-ID/config/ directory.
The file contains the following variables:
Specifies the active membership and configuration contributor types in the system. By default, this list includes:
Access Manager service schema
Access Manager organizations
Access Manager roles
Access Manager filtered roles
Java DB, through Java Data Objects (JDO) layer
Each of these contributor types provides membership and configuration data from a different source.
This file contains configuration for the community management SDK component. The configuration variables defined in the communitymc.properties file, in most cases, need not be modified. To modify the file, log into any system that has portal server installed as superuser and access the file in the PortalServer-DataDir/portals/portal-ID/config/ directory.
The file contains the following (modifiable) variables:
Specifies the URL of the search server to use when creating communities.
Specifies the base value used to set display profile priorities for created communities.
Specifies the implementation classes to use to send notification. The following implementation is available: com.sun.portal.community.notification.impl.JavaMailNotifierImpl.
Specifies types of events for which notification is to be triggered. The following event is available: user_invited. Leave the value empty if you do not wish to use the notification feature.
Specifies the mail protocol (smtp) to use. See JavaMailTM specification for more information.
Specifies the hostname of the mail server. See JavaMail specification for more information.
Specifies the debug mode for JavaMail. See JavaMail specification for more information.
Specifies the default sender address if there is none available for the user sending the notification.
Provides simple authentication implementation to be used with JavaMail. The following implementation is available: com.sun.portal.community.notification.impl.SimpleAuthenticator. See JavaMail specification for more information.
Specifies the user name to be used with the SimpleAuthenticator implementation.
Specifies the password to be used with the SimpleAuthenticator implementation.
Community search and administration functionality involves a community webservice. By default, the community webservice URL contains the same host as the first Portal instance. In a multi-node installation that uses a load balancer, you can change the community webservice URL to use the load balancer host.
To get and set the community webservice URL, type:
./psadmin get-attribute -u amadmin -p portal-ID -m communities -a WebServicesURL
./psadmin set-attribute -u amadmin -p portal-ID -m communities -a WebServicesURL URL
Here:
Specifies the administrator's distinguished name.
Specifies the portal ID.
Specifies the value for the WebServicesURL attribute. For example, the URL can be of the format http://foo.com:8080/communitymanagerwebservices/communitymanagerwebservices. Please note that the communitymanagerwebservices/communitymanagerwebservices part of the URL must not be changed.
There is no default value for the WebServicesURL attribute. By default, an empty value indicates that the host of the first Portal instance will be used.