由于“无法创建项目锁定实体”错误,无法将 helloworld 应用程序部署到 mobilefirst 开发服务器(7.0)

Posted

技术标签:

【中文标题】由于“无法创建项目锁定实体”错误,无法将 helloworld 应用程序部署到 mobilefirst 开发服务器(7.0)【英文标题】:Can not deploy helloworld app to mobilefirst development server(7.0) because of "Unable to create project lock entity" error 【发布时间】:2015-08-19 08:00:34 【问题描述】:

环境: Ecipse Luna(4.4.2) MoibleFirstStudioPlugin 7.0.0.00-20150610-1353 Mac OS X 10.10.5 java Oracle jdk1.7.0.71

我在 moiblefirst 项目中创建了 Hello World 应用程序。 当我尝试将此应用程序部署到开发服务器时,出现以下错误。

[2015-08-19 16:48:30]             Application 'helloworld' with all environments build finished.
[2015-08-19 16:48:30]             Deploying application 'helloworld' with all environments to MobileFirst Server... 
[2015-08-19 16:48:34]             Failed to deploy application 'helloworld' to MobileFirst Server: : HTTP 500 - Internal Server Error 

原因如下。

[ERROR   ] Unable to create project lock entity for helloworld even after 2 tries.
The project lock entity still does not exist.

我不明白这些错误是什么意思。 我该如何解决?整个日志如下。

objc[1021]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_71.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
Listening for transport dt_socket at address: 10777
Launching worklight (WebSphere Application Server 8.5.5.4/wlp-1.0.7.cl50420141121-1414) on Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_71-b14 (en_US)
[AUDIT   ] CWWKE0001I: The server worklight has been launched.
[AUDIT   ] CWWKZ0058I: Monitoring dropins for applications. 
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/serializer-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xercesImpl.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path serializer.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb-api.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path activation.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jsr173_1.0_api.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb1-impl.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb-api.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path activation.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jsr173_1.0_api.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path jaxb1-impl.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/worklight-management-ui.war!/WEB-INF/lib/jaxb-impl-2.1.12.osgi.jar or its parent.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/_MobileBrowserSimulator/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/analytics/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/IBMJMXConnectorREST/
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/helloworld/
[AUDIT   ] CWWKZ0001I: Application _MobileBrowserSimulator started in 1.782 seconds.
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/serializer-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xercesImpl.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path xml-apis.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[WARNING ] SRVE9967W: The manifest class path serializer.jar can not be found in jar file wsjar:file:/Users/satohiro29894/Documents/workspace/accesstoken_touchid2/MobileFirstServerConfig/servers/worklight/apps/analytics-service.war!/WEB-INF/lib/xalan-2.7.2.jar or its parent.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/analytics-service/
[AUDIT   ] CWWKZ0001I: Application AnalyticsUI started in 10.129 seconds.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/worklightconsole/
[AUDIT   ] CWWKZ0001I: Application WorklightConsole started in 12.644 seconds.
[AUDIT   ] CWWKZ0001I: Application helloworld started in 13.867 seconds.
[AUDIT   ] CWWKT0016I: Web application available (default_host): http://9.68.100.12:10080/worklightadmin/
[WARNING ] CWNEN0070W: The javax.ws.rs.CookieParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.MatrixParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.QueryParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.PathParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.HeaderParam annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[WARNING ] CWNEN0070W: The javax.ws.rs.core.Context annotation class will not be recognized because it was loaded from the null location rather than from a product class loader.
[AUDIT   ] CWWKZ0001I: Application AnalyticsServices started in 29.995 seconds.
[AUDIT   ] CWWKF0011I: The server worklight is ready to run a smarter planet.
[AUDIT   ] CWWKZ0022W: Application WorklightServices has not started in 30.006 seconds.
[WARNING ] Using empty value for configuration property 'trusted.signer.certificate.paths'
[AUDIT   ] CWWKZ0001I: Application WorklightServices started in 33.576 seconds.
[ERROR   ] Unable to create project lock entity for helloworld even after 2 tries.
The project lock entity still does not exist.

【问题讨论】:

【参考方案1】:

我的工作区文件夹名称似乎太长了。我将文件夹名称从 19 个字符更改为 7 个字符。现在可以了。

【讨论】:

如果问题解决了,能否请您将此标记为已回答。

以上是关于由于“无法创建项目锁定实体”错误,无法将 helloworld 应用程序部署到 mobilefirst 开发服务器(7.0)的主要内容,如果未能解决你的问题,请参考以下文章

命令java 找不到或无法加载主类

由于 SQL 错误,我无法将数据插入表中

由于套接字超时错误,应用程序将无法安装在物理智能手机或模拟器上

远程桌面错误:由于安全设置错误,客户端无法连接到远程计算机

由于错误“无法将现有实例 0 用于具有捆绑标识符的应用程序:com.apple.Carousel”,Apple Watch 应用程序无法构建

由于意外错误,无法加载测试包