Mobile Client Error Message

I’m receiving this message when launching the moblie client.

java.lang.IllegalStateException: Client VM not initialized.

Any suggestions?

Thanks.

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:c:\program files\java\jre6\bin\java.exeSave and try launching again.

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

[quote=“cgele”]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[/quote]

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:

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?

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.

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

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.