我现把用脚本部署的命令信息贴出来:操作系统环境:Windows 2008 ServerPortal Server:IBM WebSphere Portal 6.1.0.1installapp.bat 内容:cd D:\IBM\WebSphere\wp_profile\binwsadmin -conntype RMI -port 10031 -f c:/deploy/installApp.jacl -user wsadmin -password wsadmi...
显示全部我现把用脚本部署的命令信息贴出来:
操作系统环境:Windows 2008 Server
Portal Server:IBM WebSphere Portal 6.1.0.1
installapp.bat 内容:
cd D:\IBM\WebSphere\wp_profile\bin
wsadmin -conntype RMI -port 10031 -f c:/deploy/installApp.jacl -user wsadmin -password wsadmin
deploy/installApp.jacl 内容:
$AdminApp install C:/deploy/Struts2TestPortletEAR.ear {-server WebSphere_Portal -appname Struts2TestPortletEAR -usedefaultbindings}
$AdminConfig save
set appManager [$AdminControl queryNames cell=thcen,node=thcen,type=ApplicationManager,process=WebSphere_Portal,*]
$AdminControl invoke $appManager startApplication Struts2TestPortletEAR
$AdminConfig save
现状:在WAS管理控制台中能看到已成功部署的应用程序,但在Portal管理控制台中无法看到部署的应用,而用RAD直接部署就没有问题,即可以在WAS管理控制台中看到,也可以在PORTAL管理控制台中看到,并能访问portlet。
收起