简体   繁体   English

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

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

I have an Application developed in Worklight 6.1 and I upgraded the application to Mobile first 7.1. 我有一个用Worklight 6.1开发的应用程序,并将该应用程序升级到Mobile first 7.1。 I have build and deployed the application in Mobile first 7.1. 我已经在Mobile first 7.1中构建并部署了该应用程序。 But my application Not able to invoke the adapter and displayed the Message "The server was unable to process the request from the application. Please try again later" I have followed the below procedure for up gradation. 但是我的应用程序无法调用适配器并显示消息“服务器无法处理来自应用程序的请求。请稍后重试。”我已经按照以下步骤进行了升级。

   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.

Now it is showing the Message "The server was unable to process the request from the application. Please try again later" while launching the application. 现在,在启动应用程序时显示消息“服务器无法处理来自应用程序的请求。请稍后重试”。 From the logs i found the below details when i try to invoke adapter invocationContext: null Status : 404 invocationResult : undefined 当我尝试调用适配器invocationContext时,从日志中发现以下详细信息:null状态:404 invocationResult:未定义

Note: It was working well in development environment 注意:它在开发环境中运行良好

Kindly suggest 请建议

It'd be more useful to see the complete server and client logs as well. 同时查看完整的服务器和客户端日志会更有用。 Please upload and edit the question with links to the log files. 请上传和编辑问题,并带有指向日志文件的链接。

That said, in step 6 ( Created the apk and installed in Mobile. ) you do not mention if you have re-built the project with the correct remote server host, port and context root values. 就是说,在第6步( 创建apk并安装在Mobile中 )中,您没有提及是否已使用正确的远程服务器主机,端口和上下文根值重新构建了项目。 Make sure you've done that. 确保已完成。 See The Build Settings and Deploy Target command . 请参阅“构建设置和部署目标”命令

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

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