在5.0.6中构建所有并部署错误 [英] build all and deploy error in 5.0.6

查看:102
本文介绍了在5.0.6中构建所有并部署错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在5.0.6
中构建所有并部署错误 -

build all and deploy error in 5.0.6 --

创建一个空的worklight项目,构建所有和depoy ......然后控制台中的错误是打击.......

create one empty worklight project, build all and depoy......then the error in the console as blow.......

提前致谢...

[2013-03-21 21:54:00]             Worklight Server started successfully on localhost:8080
[2013-03-21 21:54:00]             Activating Worklight project: SDMobileBank...
[2013-03-21 21:54:06]             Activation failed. Bundle didn't start:D:\Worklight_workspace\SDMobileBank\bin\SDMobileBank-customization.jar
[2013-03-21 21:54:32]             Activating Worklight project: SDMobileBank...
[2013-03-21 21:54:32]             Worklight Server stopped successfully on localhost:8080
[2013-03-21 21:54:34]             Worklight Server started successfully on localhost:8080
[2013-03-21 21:54:41] FWLSE2001I: Detected more than one IP address. Using 192.168.25.45 as the public IP address of the Worklight Server. You can set a different IP address in worklight.properties.
[2013-03-21 21:54:44] FWLSE3005I: Application raw reports are disabled.
[2013-03-21 21:54:44] FWLST0010I: ====== Started server for project SDMobileBank-project-customization; Worklight version=5.0.6.20130307-1147
[2013-03-21 21:54:44]             Activation done.
[2013-03-21 21:54:48]             Persistency data access problem
                                  com.worklight.core.exceptions.DefaultExceptionHandler.handleException(DefaultExceptionHandler.java:50)
                                  com.worklight.core.tasks.TaskThread.run(TaskThread.java:100)
[2013-03-21 21:54:51]             Starting build process: application 'SDMobileBank', all environments
[2013-03-21 21:54:51] FWLSE2001I: Detected more than one IP address. Using 192.168.25.45 as the public IP address of the Worklight Server. You can set a different IP address in the application descriptor files of your applications.
[2013-03-21 21:54:53]             Application 'SDMobileBank' with all environments build finished.
[2013-03-21 21:54:53]             Deploying application 'SDMobileBank' with all environments to Worklight Server...
[2013-03-21 21:54:53]             Persistency data access problem
                                  com.worklight.core.exceptions.DefaultExceptionHandler.handleException(DefaultExceptionHandler.java:50)
                                  com.worklight.core.tasks.TaskThread.run(TaskThread.java:100)
[2013-03-21 21:54:56]             Application 'SDMobileBank' deployed successfully with all environments
[2013-03-21 21:54:59]             Persistency data access problem
                                  com.worklight.core.exceptions.DefaultExceptionHandler.handleException(DefaultExceptionHandler.java:50)
                                  com.worklight.core.tasks.TaskThread.run(TaskThread.java:100)
[2013-03-21 21:55:04]             Persistency data access problem
                                  com.worklight.core.exceptions.DefaultExceptionHandler.handleException(DefaultExceptionHandler.java:50)
                                  com.worklight.core.tasks.TaskThread.run(TaskThread.java:100)
[2013-03-21 21:55:09]             Persistency data access problem
                                  com.worklight.core.exceptions.DefaultExceptionHandler.handleException(DefaultExceptionHandler.java:50)
                                  com.worklight.core.tasks.TaskThread.run(TaskThread.java:100)
[2013-03-21 21:55:14]             Persistency data access problem
                                  com.worklight.core.exceptions.DefaultExceptionHandler.handleException(DefaultExceptionHandler.java:50)
                                  com.worklight.core.tasks.TaskThread.run(TaskThread.java:100)






有时候,错误..


some times ,the error..

[2013-03-21 21:43:12]             user lacks privilege or object not found: 
T0.MULTILANGUAGE_MESSAGES {SELECT t0.ID, t0.ACTION, t0.CREATED_TIME, t0.DOWNLOAD_LINK, t0.ENV, t0.GADGET_NAME, t0.MESSAGE, t0.MULTILANGUAGE_MESSAGES, t0.VERSION FROM APP_VERSION_ACCESS_DATA t0 
WHERE (t0.GADGET_NAME = ? AND t0.ENV = ? AND t0.VERSION = ?)} 
[code=-5501, state=42501]; nested exception is 
<openjpa-1.2.2-r422266:898935 nonfatal general error> 
org.apache.openjpa.persistence.PersistenceException: 
user lacks privilege or object not found: T0.MULTILANGUAGE_MESSAGES {
SELECT t0.ID, t0.ACTION, t0.CREATED_TIME, t0.DOWNLOAD_LINK, t0.ENV, t0.GADGET_NAME, t0.MESSAGE, 
t0.MULTILANGUAGE_MESSAGES, t0.VERSION FROM APP_VERSION_ACCESS_DATA t0 WHERE (t0.GADGET_NAME = ? AND t0.ENV = ? AND t0.VERSION = ?)} [code=-5501, state=42501]


推荐答案

数据库模式在v5.0.6中发生了变化。这应该更清楚,并将得到解决。
开发人员版不支持数据库升级。

The database schema has changed in v5.0.6. This should have been made clearer, and will be addressed. Database upgrades are not supported in the Developer Edition.

要解决此问题:


  1. 关闭Eclipse

  2. 删除位于Eclipse工作区文件夹中的WorklightServerHome文件夹。

  3. 重启Eclipse

  4. 构建你的应用程序。

  1. Close Eclipse
  2. Delete the WorklightServerHome folder located in the Eclipse workspace folder.
  3. Restart Eclipse
  4. Build your application.

现在该操作应该没有错误。

The operation should now pass without errors.

这篇关于在5.0.6中构建所有并部署错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆