command to connect to wsadmin:
wsadmin -port 8881
port 8881 is SOAP port for websphere portal server.
JACL command:
$AdminApp install D:/test/DeployTestEAR.ear [list -MapWebModToVH [list [list "TestWebWAR" TestWebWAR.war,WEB-INF/web.xml default_host]] -cell MLBP-0667Node01Cell -node mlbp-0667 -server WebSphere_Portal -appname DeployTestEAR -nodistributeApp -nodeployejb]
But I keep getting this message and EAR does not get deployed:
[12/1/06 13:03:18:548 IST] 0000000a ManagerAdmin I TRAS0017I: The startup trace state is *=info.
[12/1/06 13:03:19:564 IST] 0000000a AbstractShell A WASX7326I: Loaded properties file "/D:/IBM/WebSphere/AppServer/profiles/AppSrv01/properties/wsadmin.properties"
[12/1/06 13:03:23:376 IST] 0000000a AdminConfigCl A WASX7208I: Validation settings in effect now: Level=HIGHEST, Cross-validation=true, Output file=D:/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/wsadmin.valout
[12/1/06 13:04:01:877 IST] 0000000a AbstractShell A WASX7091I: Executing script: "d:/DeployRegisterEAR/jacl_scripts/deployTestEAR.jacl"
[12/1/06 13:04:07:533 IST] 0000000a WorkSpaceMana A WKSP0500I Workspace configuration consistency check is false.
[12/1/06 13:04:08:815 IST] 0000000a AbstractShell E WASX7120E: Diagnostic information from exception with text "com.ibm.ws.scripting.ScriptingException: WASX7132E: Application install for D:\test\DeployTestEAR.ear failed: see previous messages for details.
" follows:
com.ibm.ws.scripting.ScriptingException: WASX7132E: Application install for D:\test\DeployTestEAR.ear failed: see previous messages for details.
at com.ibm.ws.scripting.AbstractShell.setAndThrowScriptingException(AbstractShell.java:1399)
at com.ibm.ws.scripting.AdminAppClient.invokeMBeanInstall(AdminAppClient.java:4817)
at com.ibm.ws.scripting.AdminAppClient.commonInstall(AdminAppClient.java:2254)
at com.ibm.ws.scripting.AdminAppClient.doInstall(AdminAppClient.java:1670)
at com.ibm.ws.scripting.AdminAppClient.doInstall(AdminAppClient.java:1589)
at com.ibm.ws.scripting.AdminAppClient.install(AdminAppClient.java:1202)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Thanks & Regards,
Bala
i tried installing ear through was console, and succeeded, but the portlet contained with in the ear file as not visible in wps admin console: Portlet Management -> Portlets link.
1 more thing, is it OK of package portlet WARs in an EAR file?
You can read the content in the following url.
http://publib.boulder.ibm.com/infocenter/wpdoc/v510/topic/com.ibm.wp.ent.doc/wps/adprdplt.html
Thanks & Regards,
Bala
i am deplying the Portal EAr on WPS in unix i am using the jacl script to instal i am getting the EAr not found if i give the correct path also. please find the attached scripts.
Deploy.jacl
set PortalEAR PORTALEAR.ear
$AdminApp uninstall $PortalEAR
$AdminConfig save
set cellname /PORTAL/IBM/WebSphere/PortalServer/installedApps
set reloadInt 1800
set validate warn
set PortalEARpath /PORTAL/portal_wrk/EAR/portalEAR.ear
set attrs [list -cell $cellname -appname $PortalEAR -nocreateMBeansForResources -nodeployejb -reloadEnabled -reloadInterval $reloadInt -validateinstall $validate]
$AdminApp install $PortalEARpath $attrs
$AdminConfig save
my deply.sh
./../IBM/WebSphere/AppServer/bin/wsadmin.sh -host jahnavi -port 10033 -user portal -password infy123 -f Deploy.jacl
./../IBM/WebSphere/PortalServer/bin/xmlaccess.sh -in RedeployedTestEar.xml -url http://jahnavi:10038/wps/config -user portal -password infy123
i am getting following error even after i am keeping the EAR in this folder /PORTAL/portal_wrk/EAR/portalEAR.ear from where i am running my jacl script
IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0
IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0
The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM
Regards,
Abdul