|
Home > Archive > WebSphere Application Server > December 2006 > error WASX7017E using wsadmin
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 |
error WASX7017E using wsadmin
|
|
|
| I get the following error when using wsadmin to run a jacl script to install and run an application.
Error is pasted at the end
Funny the script when prepared for single server edition works good but fails in cluster.Pasting the jacl script
One other hand instead of using jacl if i use command prompt it is good.
#Portal Login
$Portal login wpsadmin wpsadmin
#1)set EAR PATH
set ear_file "C:/ear/my.ear"
#1)Install Application
$AdminApp install C:/ear/my.ear {-cluster MyPortalCluster}
#2)Save
$AdminConfig save
#2)StartApplication
set appManager [$AdminControl queryNames cell=cell01,node=node01,type=Application
Manager,process=WebSphere_Portal,*]
$AdminControl invoke $appManager startApplication MyEAR_EAR
#5)Set ClassLoader Policy.The following command is needed if u plan to use jsf portlets developed using rsa6.x on was 6.x
set dep [$AdminConfig getid /Deployment:MyEAR_EAR/]
set depObject [$AdminConfig showAttribute $dep deployedObject]
set classldr [$AdminConfig showAttribute $depObject classloader]
$AdminConfig showall $classldr
$AdminConfig modify $classldr {{mode PARENT_LAST}}
$AdminConfig save
#6)Modifying ClassLoader Mode
#First App
set dep [$AdminConfig getid /Deployment:MyEAR_EAR/]
set depObject [$AdminConfig showAttribute $dep deployedObject]
set myModules [lindex [$AdminConfig showAttribute $depObject modules] 0]
set myWarModule [lindex $myModules 0]
$AdminConfig modify $myWarModule {{classloaderMode PARENT_LAST}}
$AdminConfig save
ERROR
ADMA5005I: The application MyEAR_EAR is configured in the WebSphere
Application Server repository.
SECJ0400I: Successfuly updated the application MyEAR_EAR with the ap
pContextIDForSecurity information.
ADMA5011I: The cleanup of the temp directory for application CCAReferenceBuild_E
AR is complete.
ADMA5013I: Application MyEAR_EAR installed successfully.
WASX7017E: Exception received while running file "C:/AutoDeploy/OriginalEarwarin
stallation/automatedBuildScript.jacl"; exception information: javax.management.M
BeanException
com.ibm.ws.exception.ConfigurationWarning: Application MyEAR_EAR not
installed
| |
|
|
|
|
|