如何在WebSphere上开始安装ear?

如何在WebSphere上开始安装ear?,websphere,ear,Websphere,Ear,需要使用AdminApp类通过jython在WebSphere上安装应用程序。 我通过AdminApp.uninstall方法删除 wsadmin.bat -user alex19 -password qwerty19 -c "AdminApp.uninstall('MK.MyApplicaiton')" -lang jython 我想使用安装方法来安装相同的ear,但是使用IBM文档没有成功。请告诉我如何使用wsadmin.bat和AdminApp安装应用程序 我收到这样一个错误,但问题是我

需要使用AdminApp类通过jython在WebSphere上安装应用程序。 我通过AdminApp.uninstall方法删除

wsadmin.bat -user alex19 -password qwerty19 -c "AdminApp.uninstall('MK.MyApplicaiton')" -lang jython
我想使用安装方法来安装相同的ear,但是使用IBM文档没有成功。请告诉我如何使用wsadmin.bat和AdminApp安装应用程序

我收到这样一个错误,但问题是我不知道如何传输带有属性和配置文件的文件:

C:\WSAS\bin>wsadmin.bat -user alex19 -password qwerty19 -c "AdminApp.install('C:/ear/my-applicaiton.ear')" -lang jython
WASX7209I: Connected to process "adminagent" on node KSDD using SOAP connector;  The type of process is: AdminAgent
WASX7015E: Exception running command: "AdminApp.install('C:/ear/my-applicaiton.ear')"; exception information:
com.ibm.websphere.management.exception.AdminException
javax.management.MBeanException
com.ibm.websphere.management.exception.AdminException
com.ibm.websphere.management.exception.AdminException: ADMA0043E: C:\Users\Administrator\AppData\Local\Temp\app9157482086909190098.ear does not exist for installation.
WASX7209I:已连接到进程“adminagent”


您针对无法运行应用程序的管理代理运行wsadmin。您应该将应用程序安装到部署管理器(ND)或单个应用程序服务器(基本/独立应用程序服务器)

显示您在手册中尝试的内容和收到的错误?这是一个提供编程帮助的网站,不是为您编写脚本的地方。@covener更正