Wsadmin连接到远程Profile,ADMA0043E异常

问题描述 投票:0回答:2

我正在尝试使用wsadmin在websphere上安装应用程序:

AdminApp.install('D:\work\my.ear',['-cluster', 'Vivaldi', '-MapWebModToVH', [['.*', '.*', 'default_host']]])

并得到错误:ADMA0043E: /ibm/WebSphere/AppServer/profiles/AppSrv02/config/temp/upload/my5776587604736184411.ear does not exist for installation

Websphere作为user1运行,来自user2的wsadmin脚本可以通过wsadmin从其他用户安装应用程序吗?谢谢!

install websphere wsadmin
2个回答
0
投票

User2没有对/ ibm / WebSphere / AppServer / profiles / AppSrv02 / config / wstemp的写权限。

您需要允许user2写入此目录和子目录。

此外,该脚本可能会失败,因为user2没有OSGI配置的权限。如果是这样,您需要为wsadmin设置系统属性:

/ibm/WebSphere/AppServer/profiles/AppSrv02/bin/wsadmin.sh -lang jython -javaoption "-Dosgi.configuration.area=/home/user2/.eclipse" ...

应该注意的是IBM假定wsadmin.sh将始终作为安装用户运行,在本例中为user1。执行所需操作的官方支持方式是在另一台服务器上的此服务器上安装“adminstrative client”作为user2。 (然后指定主机和soap端口)这将避免权限问题。


0
投票

如果您运行WebSphere并安装应用程序,AdminApp.install comman是否有效?

© www.soinside.com 2019 - 2024. All rights reserved.