如何扩展WebCenter Spaces 应用程序
这将生成一个新版本的共享库列表extend.spaces.webapp.war.他的新版本号和war包保存如下: <UnzipDir>/DesignWebCenterSpaces/WebCenterSpacesExtensionLibrary/META-INF/MANIFEST.MF
f. 部署WebCenter Spaces共享库列表:
a:右键单击源程序下build.xml.
b:选择 Run Ant Target > deploy-shared-lib.
一个新版本的共享库列表部署到webcenter spaces管理服务器。登录到WLS控
制台到Deployments> extend.spaces.webapp>Overview
4:恢复旧的共享库列表:
除)部署当前版本和恢复到以前版本。由于WebcenterSpace只使用最新版本的共享库,所以
你可以删掉不想要的共享库版本。(如果你通过"change-build-deploy-test",则每个版本都是保
留的。)取消部署最新版本前你必须关闭webcenter spaces管理服务器。一旦你删除了最新版
本你可以重新启动服务器。
注:Oracle建议不要删掉原始的extend.spaces.webapp版本,这样可以在必要时恢复到即时
可用的版本。
a. 用下面的脚本停止webcenter spaces管理服务器部署。
UNIX: DOMAIN_HOME/bin/stopManagedWeblogic.sh
Windows: DOMAIN_HOME\bin\stopManagedWeblogic.cmd
b.登录到wls管理控制台(Deployments> extend.spaces.webapp>Overview),
删除共享库的最新版本。
c. 用下面的脚本启动webcenter spaces管理服务器部署
UNIX: DOMAIN_HOME/bin/startManagedWeblogic.sh
Windows: DOMAIN_HOME\bin\startManagedWeblogic.cmd
5:共享库部署报错问题:
a. "Security: 090219" error displays:
weblogic.security.internal.encryption.EncryptionServiceException:weblogic.security.internal.e
ncryption.EncryptionServiceException:weblogic.security.internal.encryption.EncryptionServic
eException: [Security:090219]Error decrypting Secret Key com.rsa.jsafe.JSAFE_InputException:
Invalid input length for decryption. Should be a multiple of the block size – 8
检查config.properties里erconfig和erkey配置是否正确。
如果新的共享库列表有问题或者某些原因要恢复到老的版本,你可以使用WLS控制台取消(删

