繁体   English   中英

服务器无法处理来自应用程序的请求。 请稍后再试

[英]The server was unable to process the request from the application. Please try again later

我有一个用Worklight 6.1开发的应用程序,并将该应用程序升级到Mobile first 7.1。 我已经在Mobile first 7.1中构建并部署了该应用程序。 但是我的应用程序无法调用适配器并显示消息“服务器无法处理来自应用程序的请求。请稍后重试。”我已经按照以下步骤进行了升级。

   1. Installed the Mobile first 7.1 Plugin in Eclipse
   2. Imported the Existing 6.1 project in to My work space(I hope Tool will  
      auto upgrade app to 7.1)
   3. Build the application and it generated .war, .wlapp and .adapter files
   4. we have installed the standalone 7.1 Server.
   5. Deployed the build files in servers.
   6. Created the apk and installed in Mobile.

现在,在启动应用程序时显示消息“服务器无法处理来自应用程序的请求。请稍后重试”。 当我尝试调用适配器invocationContext时,从日志中发现以下详细信息:null状态:404 invocationResult:未定义

注意:它在开发环境中运行良好

请建议

同时查看完整的服务器和客户端日志会更有用。 请上传和编辑问题,并带有指向日志文件的链接。

就是说,在第6步( 创建apk并安装在Mobile中 )中,您没有提及是否已使用正确的远程服务器主机,端口和上下文根值重新构建了项目。 确保已完成。 请参阅“构建设置和部署目标”命令

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM