alescere
asked on
Update ear file with wsadmin in WAS 6.1 with Jython
WebSphere Application Server Version 6.1 using wsadmin scripting tool with jython.
I connect to wsadming in Windows as:
wsadmin.bat -lang jython -conntype SOAP -user username -password password
AdminApp.update('app', 'Name.ear', [-operation update -contents C:\Name.ear -usedefaultbindings -nodeployejb -BindJndiForEJBNonMessageB inding [["Increment EJB module" Increment Increment.jar,META-INF/ejb -jar.xml Inc]]]')
I receive this error: WASX7412E: Invalid content type value: Name.ear how is the name of the app specified with wsadmin.bat for WebSphere 6.1 using jython?
What is wrong with the syntax above. How do you use the update feature of wsadmin to update an installed ear?
I connect to wsadming in Windows as:
wsadmin.bat -lang jython -conntype SOAP -user username -password password
AdminApp.update('app', 'Name.ear', [-operation update -contents C:\Name.ear -usedefaultbindings -nodeployejb -BindJndiForEJBNonMessageB
I receive this error: WASX7412E: Invalid content type value: Name.ear how is the name of the app specified with wsadmin.bat for WebSphere 6.1 using jython?
What is wrong with the syntax above. How do you use the update feature of wsadmin to update an installed ear?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.