# Mobile Module Launching Problem

**URL:** <https://forum.inductiveautomation.com/t/mobile-module-launching-problem/7239>\
**Category:** Ignition\
**Created:** [September 11, 2013, 3:39am UTC](https://forum.inductiveautomation.com/t/mobile-module-launching-problem/7239 "2013-09-11T03:39:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![toasty](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@toasty](https://forum.inductiveautomation.com/u/toasty)\
**Post date:** [September 11, 2013, 3:39am UTC](https://forum.inductiveautomation.com/t/mobile-module-launching-problem/7239/1 "2013-09-11T03:39:44Z")

</div>

Trying to launch the mobile module, but I keep getting this error.

```
8:26:58 PM	RectsB64	Failure in mobiledata/rects. [isClientVMRunning()=false, VM.id=bfaecf60-0f1f-cbe8-69a8-3fa0efe32a3b

```

java.net.SocketException: Connection reset  
at java.net.SocketInputStream.read(Unknown Source)  
at java.net.SocketInputStream.read(Unknown Source)  
at java.io.BufferedInputStream.fill(Unknown Source)  
at java.io.BufferedInputStream.read(Unknown Source)  
at java.io.DataInputStream.readShort(Unknown Source)  
at com.inductiveautomation.mobile.gateway.MobileVMManager$ClientVMImpl.getDirtyRectangles(MobileVMManager.java:484)  
at com.inductiveautomation.mobile.gateway.servlets.MobileSession.getDirtyRectangles(MobileSession.java:256)  
at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet$RectsBase64.handle(MobileDataServlet.java:303)  
at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doRequest(MobileDataServlet.java:158)  
at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doGet(MobileDataServlet.java:107)  
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)  
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)  
at com.inductiveautomation.ignition.gateway.bootstrap.MapServlet.service(MapServlet.java:85)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)  
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)  
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)  
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)  
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)  
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)  
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)  
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)  
at java.lang.Thread.run(Unknown Source)

I saw a previous post, and I did the following:  
Change the callback interface to match the NIC  
Added “-Dmobile.debug=true” under JVM Options

The server is Windows XP

---

<div class="post-metadata">

**Author:** ![allenr8](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@allenr8](https://forum.inductiveautomation.com/u/allenr8)\
**Post date:** [September 11, 2013, 6:18pm UTC](https://forum.inductiveautomation.com/t/mobile-module-launching-problem/7239/2 "2013-09-11T18:18:03Z")

</div>

Just found out the mobile module does not run on Java7 Update 40 - I downgraded back to 25 and it works fine now.

---

<div class="post-metadata">

**Author:** ![toasty](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@toasty](https://forum.inductiveautomation.com/u/toasty)\
**Post date:** [September 12, 2013, 6:59am UTC](https://forum.inductiveautomation.com/t/mobile-module-launching-problem/7239/3 "2013-09-12T06:59:29Z")

</div>

Got it working with Java 7 Update 25. I should have known better not to use the latest version.

Thanks

---

<div class="post-metadata">

**Author:** ![R.Alamsha](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@R.Alamsha](https://forum.inductiveautomation.com/u/R.Alamsha)\
**Post date:** [December 3, 2013, 7:03pm UTC](https://forum.inductiveautomation.com/t/mobile-module-launching-problem/7239/4 "2013-12-03T19:03:09Z")

</div>

Mobile launch issue ---- This test has been carried out on Linux 64 bit platforms:

1. Server: Ubuntu 12.04/ 64bit/ headless server and Centos 6.4/ 64bit with GUI  
(Both servers are configured to auto start ignition on boot up)
2. Ignition ver 7.6.3 or 7.6.4
3. Java: JDK7U25 or JDK7U45
4. Xserver installed.  
login as ssh -X root@ipaddress from any Linux client.  
Run xclock command and see if it displays the analog clock.
5. Client: Ubuntu, Windows7 and BlackBerry play book

* * *

Check if mobile launch works:

1. login as “ssh -X root@ipaddress” from any Linux client and restart ignition by running the command “sudo /etc/init.d/ignition restart”.

2. DO NOT LOGOUT. Stay logged in as root.

3. Go to mobile launch page and check Idnition demo. IT WILL WORK.

4. Now logout from terminal as root. You will see that the mobile project will automatically exit and throw some error message like “java.io.EOFException”.

5. Login again as root and press the restart button on mobile launch page. IT WILL WORK.

* * *

Conclusion:

Mobile launch module needs Linux “root” authentication and “xserver” to work. The default “Admin” user of ignition does NOT have the privilege to run mobile launch.

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [December 4, 2013, 4:16pm UTC](https://forum.inductiveautomation.com/t/mobile-module-launching-problem/7239/5 "2013-12-04T16:16:20Z")

</div>

R.Alamsha, please don’t double-post - we’ll follow up on your other post here [viewtopic.php?f=72&t=11248&p=41048#p41048](http://inductiveautomation.com/forum/viewtopic.php?f=72&t=11248&p=41048#p41048)
