Sun Java System Portal Server 7.1 Update 1 版本說明

升級

有關升級問題,請參閱「適用於 UNIX 的 Sun Java Enterprise System 5 版本說明」中的「升級問題」「適用於 UNIX 的 Sun Java Enterprise System 5 升級指南」


將 Portal Server 7.0 升級為 Portal Server 7.1 Update 1 時,jdbc/WikiDB 失敗。因此 Wiki Portlet 不起作用。(#6536212)

解決方案:

請執行以下作業:

  1. 登入 Web 容器的管理主控台。

  2. 按一下 [資源] 連結。

  3. 按一下 [JDBC] 連結。

  4. 為 Wiki 建立連線池,例如,WikiDBPool。


    --Datasource Classname--org.apache.derby.jdbc.ClientDataSource
    --Resources Type--javax.sql.ConnectionPoolDataSource
    --serverName--Name of the server where derby is running
    --portNumber---1527
    --Password--portal
    --user---portal
    --databaseName---wikidb_portal1
  5. 為此連線池建立 JDBC 資源 jdbc/WikiDB。


將 Portal Server 7.0 升級為 Portal Server 7.1 Update 1 後,檔案共用不起作用。(#6550408)

解決方案:

請執行以下作業:

  1. 前往檔案共用 Portlet 所在位置的目錄。

    /var/opt/SUNWportal/portals/portal1/portletapps/filesharing/

  2. 建立 XML 檔案,例如,update.xml

  3. 將以下內容複製並貼到 XML 檔案中。


    <project name="File Sharing Database Update for 7.0 to 7.1 " 
    							default="update" basedir=".">
    <target name="update">
          	<property file="build/conf/common.dbadmin"/>
          	<!-- Performs the Sql Tasks -->
          	<sql
                onerror="continue"        
    	    delimiter="${sql.delimiter}"
    	    delimitertype="${sql.delimiter.type}"
          	    driver="${db.driver}"
          	    url="${db.url}"
          	    userid="${db.user}"
          	    password="${db.password}"
          	    classpath="${db.driver.classpath}">
    	    <transaction>
    	    create table newfilesystem(
      repositoryId varchar(255) not null,
      directory varchar(255) not null,
      name varchar(255) not null,
      isDir smallint not null,
      creator varchar(255) not null,
      created bigint not null,
      modified bigint not null,
      datasize int not null,
      data blob(5000000),
      primary key(repositoryId,directory,name)
    );
    
    	    </transaction>
    	    <transaction>
    	    rename table filesystem to oldfilesystem;
    
    	    </transaction>
    	    <transaction>
    	    rename table newfilesystem to filesystem;
    
    	    </transaction>
    	    <transaction>
    	    insert into filesystem (repositoryId,directory,name,isDir,creator, 
    				created,modified,datasize,data)
    select repositoryId,directory,name,isDir,creator,created,modified,
    				size as datasize,data from oldfilesystem;
    	    </transaction>
           </sql>
       </target>
    
    </project>
  4. 執行下列 ant 程序檔。

    ant -f update.xml


將 Portal Server 7.1 升級為 Portal Server 7.1 Update 1 後,不會自動更新搜尋提供者與討論提供者的 JSP。(#6534282)

解決方案:

請執行以下作業:

  1. 複製討論提供者的 JSP 範本。

    cp PortalServer-base/par-src/default-portal/pbfiles/templateBaseDir/default /DiscussionProvider/*.jsp /var/opt/SUNWportal/portals/portal1/desktop/default/DiscussionProvider

  2. 複製搜尋提供者的 JSP 範本。

    PortalServer-base/par-src/default-portal/pbfiles/templateBaseDir/default /SearchProvider/*.jsp /var/opt/SUNWportal/portals/portal1/desktop/default/SearchProvider


將 Java ES 4 升級為 Java ES 5 時,搜尋遷移失敗。(#6440906)

解決方案:

請執行以下作業:

  1. 執行 psugrade 程序檔前,請先開啟 Java ES 4 search.conf 檔案。

    search.conf 檔案位於 /var/opt/SUNWps/https-server /portal/config 目錄。

  2. search.conf 檔案中,將 libdir="/opt/SUNWps/lib" 變更為 libdir="/opt/SUNWps.bak/lib:/opt/SUNWps/lib"

    其中,/opt/SUNWps 是 Java ES 4 安裝目錄。

  3. 執行 psupgrade 程序檔。

升級後,某些對搜尋伺服器配置所做的自訂內容並未遷移至 UpgradeSearch。對於不是由 psupgrade 處理的遷移,需要從已升級的 Portal Server 6.3.1 手動繼續。應在停止所有搜尋相關的程序 (例如 search webapp、robot、rdregister、autoclassify 與 profiler) 之後執行這些操作。

  1. 複製下列檔案到已升級的搜尋伺服器目錄:


    cp $SRC/config/taxonomy.rdm $DEST/config
    cp $SRC/config/filterrules.conf $DEST/config
    cp $SRC/config/import.conf $DEST/config
    cp $SRC/config/classification.conf $DEST/config
    cp $SRC/config/schema.rdm $DEST/config

    其中 SRC 是舊搜尋伺服器目錄的路徑,而 DEST 是新升級的搜尋伺服器目錄的路徑。

  2. 根據 Portal Server 6.3x 中自訂的內容,執行下列作業:

    • 針對 Robot,使用 Portal Server 7.1 管理主控台的 robot/特性來重新配置 robot.conf 的參數,例如代理伺服器與認證。使用 Portal Server 7.1 管理主控台的 robot/篩選器以 Portal Server 6.3.1 的 /var/opt/SUNWps.bak/server/portal/config/filter.conf 檔案中所做的自訂來更新 robot 篩選特性。

    • 對於聯合搜尋資料庫,請參閱 Portal Server 7.1 配置指南以取得關於如何設定聯合搜尋的詳細資訊。

  3. 重新啟動搜尋伺服器 Web 容器及搜尋相關的程序。