0 Replies Latest reply on Jun 11, 2012 10:09 AM by sekaijin

    STTY Problem on HP-UX IA64 Failed to query stty columns

    sekaijin

      Hello,

      I'm on HP-UX

       

      $ uname -a

      HP-UX sinteai B.11.23 U ia64 3336511566 unlimited-user license

       

       

      FuseEsb generates a warning for each character typed at the console

      Failed to query stty columns java.lang.NumberFormatException: For input string: "175

      min = 1"

              at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)

              at java.lang.Integer.parseInt(Integer.java:501)

              at jline.internal.TerminalLineSettings.parseControlChar(TerminalLineSettings.java:139)

              at jline.internal.TerminalLineSettings.getProperty(TerminalLineSettings.java:125)

              at jline.internal.TerminalLineSettings.getProperty(TerminalLineSettings.java:92)

              at jline.UnixTerminal.getWidth(UnixTerminal.java:75)

              at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:610)

              at jline.console.ConsoleReader.drawBuffer(ConsoleReader.java:629)

              at jline.console.ConsoleReader.putString(ConsoleReader.java:569)

              at jline.console.ConsoleReader.readLine(ConsoleReader.java:1319)

              at jline.console.ConsoleReader.readLine(ConsoleReader.java:1117)

              at org.apache.karaf.shell.console.jline.Console.readAndParseCommand(Console.java:231)

              at org.apache.karaf.shell.console.jline.Console.run(Console.java:162)

              at java.lang.Thread.run(Thread.java:662)

       

      s

       

      I think the problem is stty. I tried with putty and telnet. I still have the same problem. shows that when the Warnig karaf essait to know the parameter columns he gets "175 min = 1 "on two lines. as if it was not the end of the line. to remove assumptions, I tried to deploy ServiceMix, Apache 2.2.7 and 2.2.2 Karaf-ServiceMix-4.4.1-fuse-06-03. I repackaged karaf. I also copied the tar.gz HP-UX on Macos. and they all work on MacOS.

       

      $ stty -a

      speed 9600 baud; line = 0;

      rows = 40; columns = 175

      min = 1; time = 0;

      intr = ^C; quit = ^\; erase = ^H; kill = ^U

      eof = ^D; eol = ^@; eol2

      parenb -parodd cs7 -cstopb hupcl -cread -clocal -loblk -crts

      -ignbrk brkint ignpar -parmrk -inpck istrip -inlcr -igncr icrnl -iuclc

      ixon -ixany ixoff -imaxbel -rtsxoff -ctsxon -ienqak

      isig icanon -iexten -xcase echo echoe echok -echonl -noflsh

      -echoctl -echoprt -echoke -flusho -pendin

      opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop tab3

       

      $ env

      _=/usr/bin/env

      MANPATH=.....

      PATH=......

      COLUMNS=180

      MAVEN_OPTS=-d64 -Dfile.encoding=UTF8 -Duser.language=fr -Duser.region=FR -Xms256m -Xmx512m

      EDITOR=vi

      LOGNAME=hermes

      MAIL=/var/mail/hermes

      ERASE=^H

      M2=/app/bsr/hermes/apache-maven-3.0.4/bin

      SHELL=/usr/bin/ksh

      JAVA_HOME=/opt/java6/jre

      HOME=/app/bsr/hermes

      M2_HOME=/app/bsr/hermes/apache-maven-3.0.4

      TERM=ansi

      PWD=/app/bsr/hermes

      TZ=MET-1METDST

      LINES=40

       

      A+JYT