0 Replies Latest reply on Mar 17, 2006 8:33 AM by boost

    Problems with JBoss and external tcp connection

    boost

      Hello.

      I am having problems when trying to communicate to an external machine. In stead of sending over the tcp protocol, JBoss sends information using encrypted ssh to a port that is diffrent from default.

       try
       {
       p = Runtime.getRuntime().exec("wine ev_send.exe -n " + ip + " <command>);
       p.waitFor();
       BufferedReader input = new BufferedReader (new InputStreamReader(p.getInputStream()));
       tickerNumber = input.readLine().trim();
       input.close();
       p.destroy();
       }
       catch (Exception e)
       {
       System.out.println(e);
       p.destroy();
       }


      The code is working when using the program outside of JBoss, so it is clear that JBoss is "doing" something to disturb the communication.

      Does anyone have an idea why this is happening?

      -Project BoostBox-