我有一个在worklight 6.1上运行的应用程序,现在我想在mobilefirst 7.1上迁移它。为此,我使用服务器配置工具进行数据库升级。
我已经创建了一个配置。当我尝试使用旧数据库(oracle 11g)创建运行时,它会向我提供数据库将升级的消息(这是我的最终目标)。但是在这样做时,这个错误就会失败:
com.ibm.worklight.config.dbmigration.exceptions.MigrationException: FWLSE3406E: The applications migration failed with error The field "description" of instance "ApplicationEntity[id=851, name=APPName, displayName=, description=, thumbnail=null, platformVersion=, projects=[ Contextroot ]]" contained a null value; the metadata for this field specifies that nulls are illegal..
[configuredatabase] at com.ibm.worklight.config.dbmigration.MigrationTool.run(MigrationTool.java:248)
[configuredatabase] at com.ibm.worklight.config.ant.database.ConfigureDatabaseTask.runAppropriateScriptsWorklight_61_Current(ConfigureDatabaseTask.java:1383)
[configuredatabase] at com.ibm.worklight.config.ant.database.ConfigureDatabaseTask.runAppropriateScriptsWorklight(ConfigureDatabaseTask.java:1317)
[configuredatabase] at com.ibm.worklight.config.ant.database.ConfigureDatabaseTask.runAppropriateScripts(ConfigureDatabaseTask.java:1202)
[configuredatabase] at com.ibm.worklight.config.ant.database.ConfigureDatabaseTask.configureDatabases(ConfigureDatabaseTask.java:1153)
[configuredatabase] at com.ibm.worklight.config.ant.database.ConfigureDatabaseTask.execute(ConfigureDatabaseTask.java:290)
[configuredatabase] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
[configuredatabase] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
[configuredatabase] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
[configuredatabase] at java.lang.reflect.Method.invoke(Method.java:620)
这是数据库标签中的数据问题还是工作灯问题?
stackoverflow上的类似链接: Worklight 6.2 migration tool error
答案 0 :(得分:0)
该问题在性质上似乎与报告的问题类似:Worklight 6.2 migration tool error
迁移脚本中可能存在缺陷。建议是打开PMR,因为没有本地修复。