We help IT Professionals succeed at work.

Update ear file with wsadmin in WAS 6.1 with Jython

5,690 Views
Last Modified: 2013-12-11
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 -BindJndiForEJBNonMessageBinding [["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?
Comment
Watch Question

Software Engineer
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.