可以使用Oracle Portal的导出导入功能来完成迁移!在Configuration Guide中的381页,有介绍,
先导出shell命令,然后用此命令导出数据文件.dmp,在新的Portal服务器上导入。
问题的关键是需要找到以下几个参数,
-s portal_schema Oracle Database account for the portal
-p portal_password Oracle Database password for the portal
-pu portal_username Lightweight user name for logging in to the portal
-pp portal_userpassword Lightweight user password for logging in to the portal
-company company_name Company name (for example, ORACLE)
-c connect_string TNS connection information to the remote database
-d dump_file_names Names of files for Oracle Export or Import utilities to write to
or read from. If multiple file names are specified, then they
must be separated by commas.
For example: FILE1.DMP,FILE2.DMP
Note: If multiple file names are not specified, then the Export
or Import utilities will automatically prompt for another file
name during the export and import process, if required.
其中 Portal_password是Portal在元数据库中的密码,据说是AS安装时,随机生成的,需要在OID_ADMIN 管理器中去查找。
我没有找到那个密码,我就用DBA权限修改了Portal在元数据库中的密码,然后再将Portal的内容导出来。不过,采用这个办法,使Omniportlet和Web clipping的注册出现错误,也就是说我修改密码之后,Portal的这两个自带的Portlet无法使用了,需要重新注册,不过,我还没有找到重新注册这两个Portlet的方法,望朋友些继续跟贴讨论!