2013-03-21 44 views
0

构建部署的所有错误和5.0.6 部署错误 -构建所有和5.0.6

创建一个空的工作灯工程,构建所有和depoy ......那么错误控制台吹塑.......

在此先感谢...

[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) 

有时,错误..

[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] 

回答

4

数据库模式在v5.0.6中已更改。这应该已经变得更清楚了,并将予以解决。 Developer Edition不支持数据库升级。

要解决此问题:

  1. 关闭Eclipse
  2. 删除位于Eclipse工作区文件夹中的文件夹WorklightServerHome。
  3. 重新启动Eclipse
  4. 构建您的应用程序。

该操作现在应该无错地通过。

+0

谢谢!现在没事了。 – 2013-03-24 10:30:51