Mobile Client Error Message
| Author |
Message |
|
cgele
Corporal
Joined: Wed Aug 18, 2010 7:29 am Posts: 40 Location: Little Rock, AR
|
 Mobile Client Error Message
I'm receiving this message when launching the moblie client.
java.lang.IllegalStateException: Client VM not initialized.
Any suggestions?
Thanks.
|
| Wed Jun 27, 2012 10:57 am |
|
 |
|
Travis.Cox
Moderator
Joined: Sun Apr 02, 2006 2:46 pm Posts: 1974 Location: Sacramento, CA
|
 Re: Mobile Client Error Message
That means that the mobile module doesn't know where java.exe is located on the server. Go into the Ignition Gateway configuration page and select Mobile > Settings on the left hand side. Enter in the path to Java in the Java Path text field. It is usually something like: Code: c:\program files\java\jre6\bin\java.exe Save and try launching again.
_________________ Travis Cox
Inductive Automation
Technical Support Rep.
|
| Wed Jun 27, 2012 11:01 am |
|
 |
|
cgele
Corporal
Joined: Wed Aug 18, 2010 7:29 am Posts: 40 Location: Little Rock, AR
|
 Re: Mobile Client Error Message
I've made those changes and now I'm seeing this message.
com.inductiveautomation.mobile.gateway.InvalidSetupException: Java setup is not valid for launching mobile VMs.
We're running CentOS and here's our path
/usr/bin/java
|
| Wed Jun 27, 2012 11:22 am |
|
 |
|
Kevin.Herron
Moderator
Joined: Mon Oct 27, 2008 4:10 pm Posts: 1333 Location: Folsom, CA
|
 Re: Mobile Client Error Message
cgele wrote: I've made those changes and now I'm seeing this message.
com.inductiveautomation.mobile.gateway.InvalidSetupException: Java setup is not valid for launching mobile VMs.
We're running CentOS and here's our path
/usr/bin/java Are you running Sun/Oracle Java or OpenJDK? Headless or do you have a desktop environment installed? We'll help you troubleshoot over the forums, but you should be aware that the mobile module is not officially supported on Linux.
_________________ Kevin Herron Software Developer Inductive Automation
|
| Wed Jun 27, 2012 11:56 am |
|
 |
|
cgele
Corporal
Joined: Wed Aug 18, 2010 7:29 am Posts: 40 Location: Little Rock, AR
|
 Re: Mobile Client Error Message
Kevin:
We are running Sun/Oracle Java and headless CentOS Linux on a virtual machine with 1 GB of memory.
Is there a worksheet for memory usage required by Ignition clients? I know the default is 256MB. Is it possible to reduce or increase this size?
|
| Wed Jun 27, 2012 12:19 pm |
|
 |
|
Kevin.Herron
Moderator
Joined: Mon Oct 27, 2008 4:10 pm Posts: 1333 Location: Folsom, CA
|
 Re: Mobile Client Error Message
Mobile module doesn't work at all on a headless linux install because of the technology used to run the client VMs. You'll need a graphical environment (X) installed. You'll also certainly run into memory problems with just 1GB for the VM, almost immediately, because the way the mobile module works is that for each mobile session connected a VM is running the client on the gateway.
_________________ Kevin Herron Software Developer Inductive Automation
|
| Wed Jun 27, 2012 12:29 pm |
|
 |
|
Koot
Cadet
Joined: Mon Mar 19, 2012 5:03 am Posts: 5
|
 Re: Mobile Client Error Message
I am experiencing a similar issue. I'm running Ignition 7.42 (need to upgrade to 7.5 still) on a VM with Ubuntu 9.04. I assume this is considered a headless installation as it is accessible only via SSH. Based on the responses I've read here, am I to understand then that if I install KDE or X or something of the like then the mobile module would work?
Regards
|
| Mon Jul 16, 2012 1:34 am |
|
 |
|
Greg.Buehler
General
Joined: Tue May 31, 2011 6:27 am Posts: 310 Location: Minnesota
|
 Re: Mobile Client Error Message
Indeed. You'll need x installed. The mobile module on Linux actually creates a virtual x session and that's what you're looking at.
|
| Mon Jul 16, 2012 5:57 am |
|
 |
|