【问题标题】:Application Issues in Migrating Websphere from 8.0.0.10 to Liberty profile将 Websphere 从 8.0.0.10 迁移到 Liberty 配置文件中的应用程序问题
【发布时间】:2016-09-12 06:46:24
【问题描述】:

我正在尝试将 WAS 服务器 8.0.0.10 迁移到 Liberty Profile。所以我在一周前使用“帮助”菜单中的“安装新软件”选项下载了迁移工具。我选择了“迁移工具”->“Websphere 应用程序服务器迁移”->“配置管理器”->“Websphere 配置迁移工具包”。遵循以下链接步骤http://www.ibm.com/developerworks/websphere/library/techarticles/1404_vines2/1404_vines2.html。但是在命令提示符下执行 cmets 时:

wsadmin -lang jython -c "AdminTask.extractConfigProperties(['-propertiesFileName my.props'])"

出现以下错误消息:

C:\Users\DSIVARAM\WAS-profiles\8.0\SFQ\bin>wsadmin(.sh/.bat) -lang jython -c "AdminTask.extractConfigProperties(['-propertiesFileName my.props'])"
WASX7209I: Connected to process "SFQ" on node SFQNode using SOAP connector;  The type of process is: UnManagedProcess
WASX7411W: Ignoring the following provided option: [(.sh/.bat)]
WASX7015E: Exception running command: "AdminTask.extractConfigProperties(['-propertiesFileName my.props'])"; exception information:
 com.ibm.ws.management.wasresource.common.WASResourceException: com.ibm.ws.management.wasresource.common.WASResourceException: com.ibm.ws.management.wasresource.common.WASResourceException: com.ibm.websphere.management.exception.AdminException: 
ADMA0144E: Application SourcingForQuality20031104 is installed with the zero binary copy option. Applications are installed using this option in a Rational unit test environment or using AppManagement MBean API. 
When an application is installed using this option it is not possible to perform any operation on this application using wsadmin or administrative console that involves accessing the application metadata or EAR file.  
Such operations include view/edit application information, export, export DDL etc.  The only possible operations using wsadmin or admin console are start, stop and uninstall. 
If this application is installed using WSAD unit test environment then use WSAD to view/edit application information.

请帮我解决问题。

【问题讨论】:

  • 省略(.sh/.bat),试试这个:wsadmin -lang jython -c "AdminTask.extractConfigProperties(['-propertiesFileName my.props'])"

标签: websphere websphere-8 websphere-liberty


【解决方案1】:

如果您从开发工具 (Eclipse/Rad) 运行服务器,请将服务器发布设置从 run resources from workspace 更改为 run from server ,重新启动并重新部署应用程序。到时候应该可以导出了。

【讨论】:

  • 感谢 Gas :) 正在创建属性文件。
【解决方案2】:

如果您安装了零二进制应用程序,您将无法使用 extractConfigProperties 提取应用程序信息。我认为您可以使用 -filterMechanism 或 -configData 选项限制提取的范围,以仅提取应用程序所需的配置,而不提取应用程序信息本身。

有关示例,请参阅 http://www.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/txml_7extractprops.html

【讨论】:

    猜你喜欢
    • 2020-07-25
    • 2020-07-20
    • 1970-01-01
    • 1970-01-01
    • 2016-06-12
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多