我在使用Worklight Console站点将包上载到Worklight时出错。
对象"com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity-"不受此上下文管理
我刚刚在使用浏览器开发工具调查请求和响应网络活动时看到了此错误消息。
附言:在我的项目和包中没有任何JPA类。
我的环境:
- IBM MobileFirst 6.3(Worklight)
- IBM WebSphere Liberty 8.5.5
- MySQL
- Windows Server 2008 R2
- Android环境下的混合应用程序
完整错误消息:
{"id":147,"type":"UPLOAD_APPLICATION","status":"PENDING","project":{"name":"project1"},"timeCreated":"2015-02-05T19:37:08000Z","userName":"user1","appServerId":"Liberty","description":}],"appVersionsAlreadyDeployed":[],"filename":"App1 all.wlapp"},"errors":[{"date":"2015-02-05T19:37:08.655Z","phase":"VALIDATE","code":"FAILURE","exception":"ArgumentException","details":"Object\"com.ibm.worklight.dataaccess.jpa.entity.ProjectEntity com.ibm.worklight.dataaccess.jpa.eentity.ProjectionEntity-2\"不受此上下文管理。"}],"warnings":[],"productVersion":"6.3.0.00-2011127-1357"}
问题在于文件大小(.wlapp)。当文件大于7MB时,我得到了错误。