Mobile Module Launching Problem

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

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

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

Thanks

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.

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