将Websphere从8.0.0.10迁移到Liberty配置文件的应用程序问题

时间:2016-09-12 06:46:25

标签: websphere websphere-8 websphere-liberty

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

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.

请帮我解决问题。

2 个答案:

答案 0 :(得分:1)

如果从开发工具(Eclipse / Rad)运行服务器,请将服务器发布设置从run resources from workspace更改为run from server,然后重新启动并重新部署应用程序。你应该能够导出。

答案 1 :(得分:0)

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

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