# Mobile logon results in Error during login

**URL:** <https://forum.inductiveautomation.com/t/mobile-logon-results-in-error-during-login/5869>\
**Category:** Ignition\
**Created:** [February 14, 2013, 3:59pm UTC](https://forum.inductiveautomation.com/t/mobile-logon-results-in-error-during-login/5869 "2013-02-14T15:59:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BSH](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@BSH](https://forum.inductiveautomation.com/u/BSH)\
**Post date:** [February 14, 2013, 3:59pm UTC](https://forum.inductiveautomation.com/t/mobile-logon-results-in-error-during-login/5869/1 "2013-02-14T15:59:35Z")

</div>

Hi,  
in preparation for a couple of projects I am now testing Ignition on an AWS server. It seems to be working fine on my PC but when I try to log in using my mobile I get a screen with the following message:  
Error during login  
Error (error): 500 Internal Server Error

[Restart]

The following is in the file wrapper.log

`INFO | jvm 1 | 2013/02/14 15:57:47 | Feb 14, 2013 3:57:47 PM org.apache.catalina.core.ApplicationContext log
INFO | jvm 1 | 2013/02/14 15:57:47 | SEVERE: Map: Error processing JSON request.
INFO | jvm 1 | 2013/02/14 15:57:47 | javax.servlet.ServletException: No session.
INFO | jvm 1 | 2013/02/14 15:57:47 | at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.getSession(MobileDataServlet.java:416)
INFO | jvm 1 | 2013/02/14 15:57:47 | at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.getSession(MobileDataServlet.java:408)
INFO | jvm 1 | 2013/02/14 15:57:47 | at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doRequest(MobileDataServlet.java:139)
INFO | jvm 1 | 2013/02/14 15:57:47 | at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doPost(MobileDataServlet.java:100)
INFO | jvm 1 | 2013/02/14 15:57:47 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
INFO | jvm 1 | 2013/02/14 15:57:47 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
INFO | jvm 1 | 2013/02/14 15:57:47 | at com.inductiveautomation.ignition.gateway.bootstrap.MapServlet.service(MapServlet.java:85)
INFO | jvm 1 | 2013/02/14 15:57:47 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
INFO | jvm 1 | 2013/02/14 15:57:47 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
INFO | jvm 1 | 2013/02/14 15:57:47 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
INFO | jvm 1 | 2013/02/14 15:57:47 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
INFO | jvm 1 | 2013/02/14 15:57:47 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
INFO | jvm 1 | 2013/02/14 15:57:47 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
INFO | jvm 1 | 2013/02/14 15:57:47 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
INFO | jvm 1 | 2013/02/14 15:57:47 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
INFO | jvm 1 | 2013/02/14 15:57:47 | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
INFO | jvm 1 | 2013/02/14 15:57:47 | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
INFO | jvm 1 | 2013/02/14 15:57:47 | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
INFO | jvm 1 | 2013/02/14 15:57:47 | at java.lang.Thread.run(Thread.java:679)
`

Any help would be much appreciated.

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [February 14, 2013, 4:33pm UTC](https://forum.inductiveautomation.com/t/mobile-logon-results-in-error-during-login/5869/2 "2013-02-14T16:33:32Z")

</div>

Are you using an iOS 6 device with Ignition 7.5.3 or earlier? If so, you’ll have to upgrade Ignition. If not, what mobile device, java version, and Ignition version are you using?

---

<div class="post-metadata">

**Author:** ![BSH](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@BSH](https://forum.inductiveautomation.com/u/BSH)\
**Post date:** [February 15, 2013, 9:01am UTC](https://forum.inductiveautomation.com/t/mobile-logon-results-in-error-during-login/5869/3 "2013-02-15T09:01:45Z")

</div>

Sorry I forgot to include:

Ignition version is 7.5.5 (b1255) on top of a Amazon Linux EC2 instance  
Java version Sun Microsystems Inc. 1.6.0\_24  
Mobile module 1.5.4 (b180)

Mobile device is a HTC Desire C, our corporate mobile phone standard

---

<div class="post-metadata">

**Author:** ![BSH](https://avatars.discourse-cdn.com/v4/letter/b/c68b51/32.png) [@BSH](https://forum.inductiveautomation.com/u/BSH)\
**Post date:** [February 15, 2013, 9:49am UTC](https://forum.inductiveautomation.com/t/mobile-logon-results-in-error-during-login/5869/4 "2013-02-15T09:49:33Z")

</div>

Sorry,  
by trawling the forums I’m getting the impression it’s not possible to run Ignition on a headless linux system. This questions therefore seems destined not to be resolved.

---

<div class="post-metadata">

**Author:** ![James.Lorenz](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/james.lorenz/32/3290_2.png) [@James.Lorenz](https://forum.inductiveautomation.com/u/James.Lorenz)\
**Post date:** [February 15, 2013, 4:07pm UTC](https://forum.inductiveautomation.com/t/mobile-logon-results-in-error-during-login/5869/5 "2013-02-15T16:07:34Z")

</div>

Yes, that is correct, an X-Window system needs to be installed for the mobile module to work, sorry.

EDIT: It does look like Travis was able to get the mobile module to work with Amazon EC2 according to [this](http://www.inductiveautomation.com/forum/viewtopic.php?f=72&t=9218&p=31549&hilit=headless#p31549) post.
