WebSphere Portal Server - using wsadmin to install EAR in websphere portal

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > December 2006 > using wsadmin to install EAR in websphere portal





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author using wsadmin to install EAR in websphere portal

2006-12-01, 7:26 am

I have a JACL script that I run using wsadmin to install an EAR file. EAR file contains a war file and a jar file.

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 detai
ls.
" 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(AbstractSh
ell.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)
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com