Advertisement

10.09.2007 at 06:55AM PDT, ID: 22881279
[x]
Attachment Details

Update ear file with wsadmin in WAS 6.1 with Jython

Asked by alescere in IBM Websphere Application Server, Carbon Programming Language

Tags: wsadmin, update, ear, 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 -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?
Start Free Trial
[+][-]10.09.2007 at 01:24PM PDT, ID: 20044260

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: IBM Websphere Application Server, Carbon Programming Language
Tags: wsadmin, update, ear, jython
Sign Up Now!
Solution Provided By: HonorGod
Participating Experts: 1
Solution Grade: A
 
 
[+][-]08.29.2008 at 12:07PM PDT, ID: 22348342

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]09.02.2008 at 06:45PM PDT, ID: 22373403

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_1_20070628