Ibm mobilefirst MobileFirst应用程序预览失败

Ibm mobilefirst MobileFirst应用程序预览失败,ibm-mobilefirst,mobilefirst-server,Ibm Mobilefirst,Mobilefirst Server,我正在使用IBM mobile first开发一个移动应用程序,它在我的本地环境中运行良好。现在我将代码迁移到生产环境中,并安装了WAS和mobile first 7.0。当我试图打开应用程序url时,我得到以下错误 [http://dst14lp15.boulder.ibm.com:9080/Thinkmatix/authorization/v1/clients/preview] failure. state: 404, response: The server was unable to p

我正在使用IBM mobile first开发一个移动应用程序,它在我的本地环境中运行良好。现在我将代码迁移到生产环境中,并安装了WAS和mobile first 7.0。当我试图打开应用程序url时,我得到以下错误

[http://dst14lp15.boulder.ibm.com:9080/Thinkmatix/authorization/v1/clients/preview] failure. state: 404, response: The server was unable to process the request from the application. Please try again later.
http://dst14lp15.boulder.ibm.com:9080/Thinkmatix/apps/services/preview/EPSML/common/0/default/worklight/worklight.js Line 5129

[/Thinkmatix/apps/services/api/EPSML/common/heartbeat] failure. state: 404, response: undefined
http://dst14lp15.boulder.ibm.com:9080/Thinkmatix/apps/services/preview/EPSML/common/0/default/worklight/worklight.js Line 5129
下面是我的调试信息

Request [/Thinkmatix/apps/services/api/EPSML/common/heartbeat]
worklight.js (line 5129)
Request [http://dst14lp15.boulder.ibm.com:9080/Thinkmatix/authorization/v1/clients/preview]
worklight.js (line 5129)
Request [http://dst14lp15.boulder.ibm.com:9080/Thinkmatix/authorization/v1/clients/preview]
worklight.js (line 5129)
Client registration failed with error: {"status":404,"responseHeaders":{"X-Powered-By":"Servlet/3.0","Content-Language":"en-US","Content-Length":"0","Connection":"Close","Date":"Thu, 25 Jun 2015 21:13:58 GMT"},"responseText":"","errorCode":"UNEXPECTED_ERROR","errorMsg":"The server was unable to process the request from the application. Please try again later.","invocationContext":null}
worklight.js (line 5129)
Failed to send heartbeat
请在下面查找日志

[6/25/15 20:13:37:166 GMT] 0000008e DMAdapter     I com.ibm.ws.ffdc.impl.DMAdapter getAnalysisEngine FFDC1009I: Analysis Engine using data base: /usr/IBM/WebSphere/AppServer/properties/logbr/ffdc/adv/ffdcdb.xml
[6/25/15 20:13:37:193 GMT] 0000008e FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /usr/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_a76ee39e_15.06.25_20.13.37.1424049846352496539608.txt com.ibm.ws.security.token.WSCredentialTokenMapper.createPropagationTokenBeforeAuthenticatedCallerSet 1691
[6/25/15 20:13:37:204 GMT] 0000008e FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /usr/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_a76ee39e_15.06.25_20.13.37.1942014134630567982878.txt com.ibm.ws.security.auth.ContextManagerImpl.getSubjectFromDynaCacheOrOriginatingServer 1919
[6/25/15 20:13:37:216 GMT] 0000008e FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /usr/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_a76ee39e_15.06.25_20.13.37.2068488313294570014924.txt com.ibm.ws.security.auth.ContextManagerImpl.login 3683
[6/25/15 20:13:37:335 GMT] 0000008e FfdcProvider  W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /usr/IBM/WebSphere/AppServer/profiles/AppSrv01/logs/ffdc/server1_a76ee39e_15.06.25_20.13.37.2166619601795812867033.txt com.ibm.ws.security.web.WebAuthenticator.validate 2952
[6/25/15 20:13:37:338 GMT] 0000008e RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (404 - Not Found) with message 'null' while processing GET request sent to http://dst14lp15.boulder.ibm.com:9080/Thinkmatix/authorization/v1/clients/preview

[6/30/15 9:21:08:406 GMT] 00000098 LTPAServerObj W   SECJ0371W: Validation of the LTPA token failed because the token expired with the following info: Token expiration Date: Tue Jun 30 07:15:00 GMT 2015, current Date: Tue Jun 30 09:21:08 GMT 2015 Token attributes:  port=8880, username=user:defaultWIMFileBasedRealm/uid=wasadmin,o=defaultWIMFileBasedRealm, hostname=dst14lp15.boulder.ibm.com.. This warning might indicate expected behavior. Please refer to technote at http://www-01.ibm.com/support/docview.wss?uid=swg21594981.
[6/30/15 9:21:08:412 GMT] 00000098 RequestProces I org.apache.wink.server.internal.RequestProcessor logException The following error occurred during the invocation of the handlers chain: WebApplicationException (404 - Not Found) with message 'null' while processing POST request sent to http://dst14lp15.boulder.ibm.com:9080/Thinkmatix/authorization/v1/clients/preview

关于如何纠正此错误的任何建议。

我目前的工作假设是:


这不仅是因为预览按钮在非开发环境中被删除(正如您在评论中确认的那样),而且预览组件也不可用。简单地说,QA/生产环境中没有应用程序预览,因此,如果您在不支持预览的环境中强制进行预览,我想说,您的应用程序可能会“失败”。

您是否已将应用程序部署到生产环境中?我的意思是,不仅仅是WAR文件和运行时,您是否也将WLAPP文件部署到了生产服务器?我们能看到显示故障的完整服务器日志吗?是的,应用程序wlapp和适配器已部署,主屏幕在此之后加载,只有它发出此错误。因此,您正试图通过单击“预览”在MFP 7服务器上预览您的应用程序?而你得到了错误。!由于MF中未启用预览按钮,因此不能单击预览按钮。我刚刚尝试使用web url,但出现了此错误。您从何处获取此“web url”?好的,现在如何测试我的应用程序在web中是否正常工作?添加移动web或桌面浏览器环境。这些是“web”支持的环境。他们提供了可供使用的url。那么你的意思是说,如果我点击这个url,就像预览选项一样,它将失败?除了我上面提供的日志之外,没有其他日志。当我用firebug调试页面时,我得到了上面的日志。。心跳错误是否有添加设备的文档