The following steps explain how to publish a producer to the Registry Server:
Create organization data and producer data files.
Organization data file can contain the following entries:
org.name=Sun Microsystems
org.description=Description
org.primarycontact.name=Henry
org.primarycontact.phoneno=1234567
org.primarycontact.email=someone@host.com
The org.name and org.description should be similar as that of the details in Identity Server unless the Registry is deployed internally.
The producer data file should have the following entries:
producer.name=Producer_name
producer.description=Producer_Description
producer.id=Producer_ID
It is not a must that you should create all the data files. But, for searching the details of producer, organization, or portlet, you should have created at least one file associated with that.
Stop and restart the common agent container:
/usr/lib/cacao/bin/cacaoadm stop
/usr/lib/cacao/bin/cacaoadm start
To publish the produce details, use the following command:
./psadmin publish-registry -u amadmin -f password_file -p portal1 -m producer -U producer_data_file -O organization_data_file -T portlet -L --debug
The portlet file specifies the portlets that are offered by WSRP producer. The portlets list is specified as a string within double quotes and elements separated by space. For example, "NotepadPortlet BookmarkPortlet WeatherPortlet."
You can check the log file by using the following command: more var/opt/SUNWportal/logs/admin/portal.admin.cli.0.0.log