Sun Java System Portal Server 7.1 管理指南

尋找產生器

下節說明如何搜尋產生器:

Procedure搜尋產生器

  1. 建立「搜尋產生器」資料檔案。

    「搜尋產生器」資料檔案可包含以下內容:

    producer.name=producer_name

    producer.description=producer_description


    備註 –

    「搜尋產生器」資料檔案包含要在登錄中搜尋的產生器描述。使用字元 % 做為萬用字元。例如,producer.name 中的 %acme% 會搜尋任何名稱包含 "acme" 的 WSRP 產生器。


  2. 若要搜尋登錄,請使用以下指令:

    ./psadmin search-registry -m consumer -u amadmin -f ps_password -C search_producer_datafile -p portal1

  3. 建立「搜尋 Portlet」資料檔案。

    「搜尋 Portlet」資料檔案可包含以下內容:

    portlet.name=portlet_name

    portlet.description=portlet_description


    備註 –

    「搜尋 Portlet」資料檔案包含要在登錄中搜尋的 Portlet 描述。使用字元 % 做為萬用字元。例如,portlet.name 中的 %stock% 會搜尋任何名稱包含字串 "stock" 的 Portlet。


  4. 若要根據詳細資訊搜尋 Portlet,請使用以下指令:

    ./psadmin search-registry -m consumer -u amadmin -f ps_password -D search_portlet_datafile

  5. 建立「搜尋組織」資料檔案。

    「搜尋組織」資料檔案應包含以下內容:

    organization.name=organization_name

    organization.description=organization_description


    備註 –

    「搜尋組織」資料檔案包含要在登錄中搜尋的組織描述。使用字元 % 做為萬用字元。例如,portlet.name 中的 %acme% 會搜尋任何名稱包含字串 "acme" 的組織。


  6. 若要根據組織資料檔案搜尋,請使用以下指令:

    ./psadmin search-registry -m consumer -u amadmin -f ps_password -L search_organization_datafile -p portal1

相當於 psadmin 指令

psadmin search-registry