Reputation: 17
We are developing an Banking MobileFirst application using MFP V7.1. We setup development worklight box of WAS V8.5.5.5 Liberty profile ready for which we used Oracle DB as database. When I deploy the common environment .wlapp on development worklight box, it is deploying without any problem, but when I deploy android or iphone environment .wlapp I'm ending up with the following error in the MobileFirst Console
Connection failure. Check the server log for details.
I checked for the detials in messages.log file on my development worklight server box, I'm seeing the following message
[10/25/16 12:11:07:706 IST] 00009e14 SystemErr
R 587842010 WorklightManagementPU-oracle INFO [pool-4-thread-11] openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
What I observer is: The size of common enviroment is 3MB and the size od android environment is 7MB. Is there any problem with the application(wlapp) size for deployment. I tried creating a HelloWorld mobilefirst application with common, android and iphone environment and deployed the wlapp of all the three evvironment on my development worklight box, it is deploying without any problem. Why my application android and iphone environment deployment not happening. Please find messages.log file logs:
[10/25/16 12:11:07:534 IST] 00000117 om.worklight.applications.deployers.base.EnvironmentDeployer I FWLSE0274I: Environment common deployed to directory '/app/IBM/WebSphere/Liberty/usr/servers/server1/workarea/org.eclipse.osgi/bundles/75/data/temp/default_node/SMF_WebContainer/myAppworklight/myApp/widget-resources/myAppApp-common-a55269709850737f517f8daf9095668772993f56' . [project myAppworklight] [10/25/16 12:11:07:662 IST] 00009e14 com.ibm.worklight.admin.actions.BaseTransaction I Result: myAppworklight: server1///MyServerIP: Preparation to deploy 'myAppApp' finished [10/25/16 12:11:07:681 IST] 00000117 com.worklight.core.jmx.ProjectManagementMXBeanImpl I FWLSE0275I: Starting transaction with ID 324 for 'commit'. [project myAppworklight] [10/25/16 12:11:07:683 IST] 00009e14 com.ibm.worklight.admin.actions.BaseTransaction I Result: myAppworklight: server1///MyServerIP: Commit [10/25/16 12:11:07:683 IST] 00009e14 com.ibm.worklight.admin.actions.BaseTransaction I myAppworklight: server1///MyServerIP: 2016-10-25T06:41:07.681Z: Application 'myAppApp' was updated [10/25/16 12:11:07:706 IST] 00009e14 SystemErr R 587842010 WorklightManagementPU-oracle INFO [pool-4-thread-11] openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have requested a lock on some data.
Upvotes: 0
Views: 182
Reputation: 16
I would like to add two best practises, the time out and MySQL packet size needs to be changed by default as part of the deployment to avoid this.
Upvotes: 0
Reputation: 296
If you didn't find any errors then might be related to slow network. May be some thing to do with the connection time out.
Check if you installed the below iFix: http://www-01.ibm.com/support/docview.wss?uid=swg1PI59605
Upvotes: 1