It is currently Fri Aug 01, 2014 1:48 am




Post new topic Reply to topic  [ 8 posts ] 
 Mobile Client Error Message 
Author Message
Sergeant
Sergeant

Joined: Wed Aug 18, 2010 7:29 am
Posts: 47
Location: Little Rock, AR
Post 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
Profile
Moderator
Moderator

Joined: Sun Apr 02, 2006 2:46 pm
Posts: 1982
Location: Sacramento, CA
Post 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
Profile WWW
Sergeant
Sergeant

Joined: Wed Aug 18, 2010 7:29 am
Posts: 47
Location: Little Rock, AR
Post 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
Profile
Moderator
Moderator

Joined: Mon Oct 27, 2008 4:10 pm
Posts: 1987
Location: Folsom, CA
Post 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
Profile WWW
Sergeant
Sergeant

Joined: Wed Aug 18, 2010 7:29 am
Posts: 47
Location: Little Rock, AR
Post 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
Profile
Moderator
Moderator

Joined: Mon Oct 27, 2008 4:10 pm
Posts: 1987
Location: Folsom, CA
Post 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
Profile WWW
Cadet
Cadet

Joined: Mon Mar 19, 2012 5:03 am
Posts: 5
Post 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
Profile
General
General

Joined: Tue May 31, 2011 6:27 am
Posts: 313
Location: Minnesota
Post 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
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: