# Mobile Client launch problem in 7.8

**URL:** <https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509>\
**Category:** Ignition\
**Created:** [September 24, 2015, 9:39am UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509 "2015-09-24T09:39:36Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhananjay\_vichare](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dhananjay_vichare/32/74712_2.png) [@dhananjay\_vichare](https://forum.inductiveautomation.com/u/dhananjay_vichare)\
**Post date:** [September 24, 2015, 9:39am UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/1 "2015-09-24T09:39:36Z")

</div>

Mobile client problem in 7.8 version, below error occurs.  
“java.lang.Exception: Timeout waiting for new VM.”

Java 7 installed.

Java path : “C:\Program Files\Java\jre7\bin\java.exe”

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [September 24, 2015, 7:00pm UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/2 "2015-09-24T19:00:19Z")

</div>

Both Ignition 7.7 and Ignition 7.8 require Java 8 for the machine running the gateway - you might start there.

---

<div class="post-metadata">

**Author:** ![dhananjay\_vichare](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dhananjay_vichare/32/74712_2.png) [@dhananjay\_vichare](https://forum.inductiveautomation.com/u/dhananjay_vichare)\
**Post date:** [September 25, 2015, 7:30am UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/3 "2015-09-25T07:30:21Z")

</div>

Thanks,

7.7 and 7.8 both require Java 8, it is correct but think mobile client works fine with Java 7. This information provided by Ignition support team. So previously with version 7.7, I am using java 8 and java 7 for mobile client.

Same thing I had tried with version 7.8.

Initially without installing java 7, I had tried mobile client with version 7.8 and found mobile client not working. So I had installed java 7 and tried using full path of java 7 but mobile client is not working and found “java.lang.Exception: Timeout waiting for new VM.” error.

Could you please confirm that mobile client is working without java 7 ?

---

<div class="post-metadata">

**Author:** ![dhananjay\_vichare](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dhananjay_vichare/32/74712_2.png) [@dhananjay\_vichare](https://forum.inductiveautomation.com/u/dhananjay_vichare)\
**Post date:** [September 25, 2015, 10:38am UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/4 "2015-09-25T10:38:19Z")

</div>

Today, I have done the fresh installation of Ignition 7.8 ( 7.8.0-beta1 (b2015090915) ) and JAVA 8 (Oracle Corporation 1.8.0\_60).

I have created new project for testing the Mobile Client.

While launching the mobile client from launch link provided on home page below error occurs.

Please suggest.  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/f/f52dc29bf6943e85b84f941d08f12f5ca811677b.JPG)

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/6/67a41755548fbb483348cd881c56fbc3f2ca9827.JPG)

---

<div class="post-metadata">

**Author:** ![dhananjay\_vichare](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dhananjay_vichare/32/74712_2.png) [@dhananjay\_vichare](https://forum.inductiveautomation.com/u/dhananjay_vichare)\
**Post date:** [September 25, 2015, 10:40am UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/5 "2015-09-25T10:40:05Z")

</div>

Please see below logs.

4:00:42 PM RectsB64 Failure in mobiledata/rects. [isClientVMRunning()=false, VM.id=8e6501b7-b029-d8d1-ca41-6cc673ee29fa

java.net.SocketException: Software caused connection abort: socket write error  
at java.net.SocketOutputStream.socketWrite0(Native Method)  
at java.net.SocketOutputStream.socketWrite(Unknown Source)  
at java.net.SocketOutputStream.write(Unknown Source)  
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)  
at java.io.BufferedOutputStream.flush(Unknown Source)  
at java.io.DataOutputStream.flush(Unknown Source)  
at com.inductiveautomation.mobile.gateway.MobileVMManager$ClientVMImpl.getDirtyRectangles(MobileVMManager.java:493)  
at com.inductiveautomation.mobile.gateway.servlets.MobileSession.getDirtyRectangles(MobileSession.java:323)  
at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet$RectsBase64.handle(MobileDataServlet.java:327)  
at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doRequest(MobileDataServlet.java:182)  
at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doGet(MobileDataServlet.java:131)  
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)  
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)  
at com.inductiveautomation.ignition.gateway.bootstrap.MapServlet.service(MapServlet.java:85)  
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)  
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)  
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)  
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)  
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)  
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)  
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)  
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)  
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)  
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)  
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)  
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)  
at org.eclipse.jetty.server.Server.handle(Server.java:497)  
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)  
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)  
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)  
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610)  
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539)  
at java.lang.Thread.run(Unknown Source)

less

(I) 4:00:42 PM ClientVM Client vm 8e6501b7-b029-d8d1-ca41-6cc673ee29fa closed: IOException during rectangle message: java.net.SocketException: Software caused connection abort: socket write error  
(I) 4:00:42 PM VMManager New client VM discovered. id=8e6501b7-b029-d8d1-ca41-6cc673ee29fa  
(I) 4:00:41 PM VMManager VMCreator starting 1 new client VM(s).  
4:00:39 PM RectsB64 Failure in mobiledata/rects.

javax.servlet.ServletException: Session not initialized.  
at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.getSession(MobileDataServlet.java:588)  
at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.getSession(MobileDataServlet.java:571)  
at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet$RectsBase64.handle(MobileDataServlet.java:325)  
at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doRequest(MobileDataServlet.java:182)  
at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doGet(MobileDataServlet.java:131)  
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)  
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)  
at com.inductiveautomation.ignition.gateway.bootstrap.MapServlet.service(MapServlet.java:85)  
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:769)  
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)  
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)  
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)  
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)  
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)  
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)  
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)  
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)  
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)  
at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)  
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)  
at org.eclipse.jetty.server.Server.handle(Server.java:497)  
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)  
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)  
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)  
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:610)  
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:539)  
at java.lang.Thread.run(Unknown Source)

---

<div class="post-metadata">

**Author:** ![mm3](https://avatars.discourse-cdn.com/v4/letter/m/76d3ee/32.png) [@mm3](https://forum.inductiveautomation.com/u/mm3)\
**Post date:** [September 25, 2015, 6:15pm UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/6 "2015-09-25T18:15:39Z")

</div>

Would this gateway happen to be running on a headless linux?

If so, refer to this:

[https://support.inductiveautomation.com/index.php?/Knowledgebase/Article/View/33/0/running-the-mobile-module-on-linux](https://support.inductiveautomation.com/index.php?/Knowledgebase/Article/View/33/0/running-the-mobile-module-on-linux)

Upgrading Ignition might have written over your Ignition.sh if you had made this fix in a previous version.

---

<div class="post-metadata">

**Author:** ![dhananjay\_vichare](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dhananjay_vichare/32/74712_2.png) [@dhananjay\_vichare](https://forum.inductiveautomation.com/u/dhananjay_vichare)\
**Post date:** [September 26, 2015, 4:22am UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/7 "2015-09-26T04:22:58Z")

</div>

Thanks,

The gateway running on Windows 7 (64bit) OS.

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [October 7, 2015, 9:39pm UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/8 "2015-10-07T21:39:41Z")

</div>

Mobile in Ignition 7.8 requires Java 8.

There is a known issue with running mobile on Ignition 7.8 and I am showed it is resolved for the stable release of 7.8.0.

---

<div class="post-metadata">

**Author:** ![Mr.K001](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@Mr.K001](https://forum.inductiveautomation.com/u/Mr.K001)\
**Post date:** [August 15, 2016, 3:15pm UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/9 "2016-08-15T15:15:50Z")

</div>

I’m running 7.8.2 and I still have this issue… anyone found a solution? as you can see I had to restart 6 times and after that finally I made a successful connection. this it the only thing stopping me from using the mobile project right now. any help would be appreciated.  
Sometimes it works the first try sometimes it doesn’t… I really don’t know whats going on. ![:scratch:](https://us1.discourse-cdn.com/inductiveautomation/original/1X/76d1620bec252bfac07050c889ff5a91dc8a9c25.gif ":scratch:")

---

<div class="post-metadata">

**Author:** ![konchits](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@konchits](https://forum.inductiveautomation.com/u/konchits)\
**Post date:** [November 14, 2018, 4:30am UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/10 "2018-11-14T04:30:34Z")

</div>

> [@Mr.K001](#):
>
> first try som

Practically the same  
I'm running 7.9.9 I tryed to restart mobile project several times and after that finally I made a successful connection. any help would be appreciated.  
Sometimes it works the first try sometimes it doesn't...

I have installed Java 8\_191 (16 Oct 2018)

---

<div class="post-metadata">

**Author:** ![Mr.K001](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@Mr.K001](https://forum.inductiveautomation.com/u/Mr.K001)\
**Post date:** [November 14, 2018, 5:26am UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/11 "2018-11-14T05:26:42Z")

</div>

Hmm… this is odd, this issue was fixed in 7.9.8 if I’m not mistaken. I haven’t had this happen to me in a while.

---

<div class="post-metadata">

**Author:** ![konchits](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@konchits](https://forum.inductiveautomation.com/u/konchits)\
**Post date:** [November 15, 2018, 6:16am UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/12 "2018-11-15T06:16:52Z")

</div>

I have solved this problem by clearing cookies when my IE shutdown

---

<div class="post-metadata">

**Author:** ![Mr.K001](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@Mr.K001](https://forum.inductiveautomation.com/u/Mr.K001)\
**Post date:** [November 19, 2018, 3:29pm UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/13 "2018-11-19T15:29:22Z")

</div>

IE? what are you trying to use the mobile project on a PC?

---

<div class="post-metadata">

**Author:** ![konchits](https://avatars.discourse-cdn.com/v4/letter/k/9de0a6/32.png) [@konchits](https://forum.inductiveautomation.com/u/konchits)\
**Post date:** [November 20, 2018, 6:16am UTC](https://forum.inductiveautomation.com/t/mobile-client-launch-problem-in-7-8/10509/14 "2018-11-20T06:16:36Z")

</div>

Yes, I have to use IE11 as a client on customer`s PCs for some time . “Clearing cookies when my IE shutdown” in my post should be read as “Delete browsing history on exit” in IE Properties. When tip is enabled I establish communication immediately.
