It is currently Thu Jul 31, 2014 11:48 pm




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 
 Firewall Ports 
Author Message
Trooper
Trooper

Joined: Fri Aug 03, 2012 5:06 pm
Posts: 15
Post 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


Fri Aug 03, 2012 5:12 pm
Profile
Moderator
Moderator

Joined: Sun Apr 02, 2006 2:46 pm
Posts: 1982
Location: Sacramento, CA
Post Re: Firewall Ports
That error is not due to a firewall issue. What OS do you have?

_________________
Travis Cox
Inductive Automation
Technical Support Rep.


Mon Aug 06, 2012 5:48 am
Profile WWW
Trooper
Trooper

Joined: Fri Aug 03, 2012 5:06 pm
Posts: 15
Post Re: Firewall Ports
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


Mon Aug 06, 2012 8:26 am
Profile
Moderator
Moderator

Joined: Fri Mar 16, 2012 1:00 pm
Posts: 895
Location: Sacramento, CA
Post Re: Firewall Ports
What version of Ignition and Java are you currently using?

_________________
Greg Simpson
Inductive Automation
Technical Support Rep


Mon Aug 06, 2012 8:43 am
Profile
Trooper
Trooper

Joined: Fri Aug 03, 2012 5:06 pm
Posts: 15
Post Re: Firewall Ports
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)


Mon Aug 06, 2012 10:49 am
Profile
Moderator
Moderator

Joined: Mon Jun 04, 2012 8:53 am
Posts: 440
Post Re: Firewall Ports
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:

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

_________________
James Lorenz
QA/Build Systems Engineer
Inductive Automation


Mon Aug 06, 2012 1:08 pm
Profile
Trooper
Trooper

Joined: Fri Aug 03, 2012 5:06 pm
Posts: 15
Post Re: Firewall Ports
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


Mon Aug 06, 2012 4:39 pm
Profile
Moderator
Moderator

Joined: Mon Jun 04, 2012 8:53 am
Posts: 440
Post Re: Firewall Ports  Topic is solved
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:

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

_________________
James Lorenz
QA/Build Systems Engineer
Inductive Automation


Tue Aug 07, 2012 7:28 am
Profile
Trooper
Trooper

Joined: Fri Aug 03, 2012 5:06 pm
Posts: 15
Post Re: Firewall Ports
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.


Tue Aug 07, 2012 7:46 am
Profile
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 9 posts ] 


Who is online

Users browsing this forum: No registered users and 2 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: