Firewall Ports

Have set up a server and have been demoing various aspects of Ignition to the team.

One of the features I have touted is portability across platforms/mobile devices etc.

We have pretty strict firewall rules set up. As of this moment I have 8088, 8043, 45900 set up to pass through to the Ignition server.

When I try to open a project on my Motorola Droid4, I get java.io.EOF Exception on the phone display. I’m automatically suspecting I am missing a port on the firewall, but could be totally off track.

I did update the callback interface to the correct value.

Any help would be appreciated.

Thanks,

Ike

That error is not due to a firewall issue. What OS do you have?

For right now, the test machine we pulled off the shelf is a Windows XP x64 machine. Not sure what the boss will want to run a production version on.

Thanks,

Ike

What version of Ignition and Java are you currently using?

Ignition 7.5.1(b1122) 64 bit.
Java 7 Update 5

Excerpt from the log file -

INFO | jvm 1 | 2012/08/06 14:31:21 | INFO [ClientVM ] [14:31:21,500]: Client vm 9c5e4dd8-8fa6-503f-5b81-c03aee919627 closed: VM manager shutdown
INFO | jvm 1 | 2012/08/06 14:31:21 | INFO [VMManager ] [14:31:21,500]: Starting Mobile VM Manager. JavaPath=“java”, Interface=“50.77.242.50”, Port=“45900”
INFO | jvm 1 | 2012/08/06 14:31:35 | INFO [VMManager ] [14:31:35,734]: Shutting down.
INFO | jvm 1 | 2012/08/06 14:31:35 | INFO [VMManager ] [14:31:35,734]: Starting Mobile VM Manager. JavaPath=“java”, Interface=“50.77.242.50”, Port=“45900”
INFO | jvm 1 | 2012/08/06 14:31:43 | INFO [VMManager ] [14:31:43,546]: VMCreator starting 1 new client VMs.
INFO | jvm 1 | 2012/08/06 14:31:45 | INFO [VMManager ] [14:31:45,046]: VMCreator starting 1 new client VMs.
INFO | jvm 1 | 2012/08/06 14:31:46 | INFO [ClientVM ] [14:31:46,671]: Client vm 1a0b117c-badc-4ea0-5afb-2e3bae79b926 closed: IOException during rectangle message: java.net.SocketException: Connection reset
INFO | jvm 1 | 2012/08/06 14:31:46 | WARN [RectsB64 ] [14:31:46,671]: Failure in mobiledata/rects
INFO | jvm 1 | 2012/08/06 14:31:46 | java.net.SocketException: Connection reset
INFO | jvm 1 | 2012/08/06 14:31:46 | at java.net.SocketInputStream.read(Unknown Source)
INFO | jvm 1 | 2012/08/06 14:31:46 | at java.net.SocketInputStream.read(Unknown Source)
INFO | jvm 1 | 2012/08/06 14:31:46 | at java.io.BufferedInputStream.fill(Unknown Source)
INFO | jvm 1 | 2012/08/06 14:31:46 | at java.io.BufferedInputStream.read(Unknown Source)
INFO | jvm 1 | 2012/08/06 14:31:46 | at java.io.DataInputStream.readShort(Unknown Source)
INFO | jvm 1 | 2012/08/06 14:31:46 | at com.inductiveautomation.mobile.gateway.MobileVMManager$ClientVMImpl.getDirtyRectangles(MobileVMManager.java:447)
INFO | jvm 1 | 2012/08/06 14:31:46 | at com.inductiveautomation.mobile.gateway.servlets.MobileSession.getDirtyRectangles(MobileSession.java:224)
INFO | jvm 1 | 2012/08/06 14:31:46 | at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet$RectsBase64.handle(MobileDataServlet.java:253)
INFO | jvm 1 | 2012/08/06 14:31:46 | at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doRequest(MobileDataServlet.java:144)
INFO | jvm 1 | 2012/08/06 14:31:46 | at com.inductiveautomation.mobile.gateway.servlets.MobileDataServlet.doGet(MobileDataServlet.java:94)
INFO | jvm 1 | 2012/08/06 14:31:46 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
INFO | jvm 1 | 2012/08/06 14:31:46 | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
INFO | jvm 1 | 2012/08/06 14:31:46 | at com.inductiveautomation.ignition.gateway.bootstrap.MapServlet.service(MapServlet.java:85)
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
INFO | jvm 1 | 2012/08/06 14:31:46 | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
INFO | jvm 1 | 2012/08/06 14:31:46 | at java.lang.Thread.run(Unknown Source)

Unfortunately, the mobile module doesn’t work with Java 7 currently. You will need to have Java 6 installed (you can have Java 6 installed concurrently with Java 7), and on the Mobile Settings page on the gateway, you will have to put the path to the Java 6 version of the java.exe file, which is usually something like:

C:\Program Files\Java\jre6\jre\bin

Removed Java 7 from that machine. It is only an in-house test/evaluation machine at this point anyhow.

Changed a line in the config to point everything to version 6, reinstalled 6 just to be sure the system knew where it was, found a couple of problems in the environment settings on the machine and corrected them to reflect 6 JRE.

Server is up and running just fine except for mobile clients still.

The error message I know get is “java.io.IOException: Cannot run program “C:\Program Files\Java\jre6\bin” (in directory “data\mobile_wdir”): CreateProcess error=5, Access is denied
Caused by: java.io.IOException: CreateProcess error=5, Access is denied”

That path is correct for where the JRE is installed.

Sorry to be a pain and appreciate the help. Have a demo in the morning, but if I can’t get the mobile version working, will just try to focus the teams attention on the regular client.

Thanks,

Ike

Oops, sorry, I didn’t put the full path there…the Java Path setting in the mobile settings needs the full path, not just the folder. So it would be:

C:\Program Files\Java\jre6\bin\java.exe

That got it. Thank you.

The demo this morning went well regardless. I just showed them mobile operation on your site demo to show how it works.