3 Replies Latest reply on Oct 15, 2013 9:17 AM by 3851733f-6b3e-4e67-b80b-2f40b476d3b5

    AutoVue20.2 - 2DPro - Initialization failed. Could not initialize socket

      We are running a standard install of AutoVue 20.2 2DPro. We have the situation of the JVueAX.ocx activeX being coded in VB.Net.
      When we run the custom application as an admin user there is no issue, however when there is a restriction placed on the users (ie non-admin restricted to read & write on most things) we get the following issue in a popup messagebox.

      Initialization failed. Could not initialize socket on localhost:5099
      nested exception is:
      java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketlmpl.socketconnect(Native Method)
      at java,net.PlainSocketlmpl,doConnect(Unknown Source)
      at java.net.PlainSocketlmpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketlmpl,connect(Unknown Source)
      at java,net.SocksSocketlmpl,connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at java.net.Socket.<init> (Unknown Source)
      at java.net.Socket.<init>(Unknown Source)
      at com.cimmetiy.vueconnection.g.a(Unknown Source)
      at com.cimmetiy.vueconnection.g.<init> (Unknown Source)
      at com.cimmetry.vueconnection.ServerControl.a(Unknown Source)
      at com.cimmetry.vueconnection.ServerControl.connect(Unknown Source)
      at com,cimmetry.vueframe,VueFrame.h(Unknown Source)
      at com,cimmetry.vueframe.VueFrame.<init>(Unknown Source)
      at com.cimmetry.jvue.JVue.b(Unknown Source)
      at com.cimmetiy.jvue.JVue.a(Unknown Source)
      at com.cimmetry.jvue.JVue$a.run(Unknown Source)
      at java,awt.event.InvocationEvent.dispatch(Unknown Source)
      at java.awt.Event.Queue.dispatchEventImpl(Unknown Source)
      at java.awt.Event.Queue.access$000(Unknown Source)
      at java.awt.Event.Queue$l.run(Unknown Source)
      at java.awt.Event.Queue$l.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$l.dolntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue.dispatchEvent(Unknown Source)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      at java.awt.EventDispatchThread.run(Unknown Source)
      An error occurred while connecting to the server.
      Restart the applet?

      So it appears to be a permissions issue.
      We have changed the security settings on the Autovue folder but that doesn't alter the outcome.
      We have looked for more debug and altered the Log4j.xml to be all DEBUG but that didn't increase the output.

      The install log is 3007 of successful and no warnings or failed components.

      So we now ask for your input. What port needs opening or what file/folder needs the modify or full control assigned? Or is there a manual we may have misread?
      Any pointers would be appreciated.

      I have reviewed the AutoVue Desktop Deployment post.