Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » OSGI 3.10 Console is returning weird characteres(OSGI 3.10 Console only works when I use Telnet to connect on it, otherwise return weird characters)
icon5.gif  OSGI 3.10 Console is returning weird characteres [message #1708836] Mon, 21 September 2015 16:04
Raphael Moita is currently offline Raphael MoitaFriend
Messages: 25
Registered: September 2011
Junior Member
I'm facing an issue where I have an OSGI console listening on port 55555, and a bash script that connects on such console using netcat (e.g.: echo "ss" | nc localhost 55555), to get the plugin list running on it.

From the time I've updated OSGI files to a new version (from 3.7.2 to 3.10.2), netcat has started received weird characters instead of the interactive console it used to receive. But, if I connect using windows Telnet (connecting on OSGI Console remotely), everything works fine just like before updating the OSGI files.

Does someone knows what has changed that makes netCat to fail on it?

As requested, below you can see how I executed both commands, windows/linux and its returns:

c:/telnet server1 55555
osgi>_

user@server1: nc localhost 55555
ÿûÿûÿýÿý

Piping through a cat -v:
user@server1: nc localhost 55555 | cat -v
M-^?M-{^AM-^?M-{^CM-^?M-}^_M-^?M-}^X

Getting an hexadecimal return:
user@server1: nc -x hexa.log -t localhost 55555
user@server1: cat hexa.log
[0000] FF FB 01 FF FB 03 FF FD 1F FF FD 18 ........ ....
Previous Topic:Exception in thread "Animation Thread" java.lang.NullPointerException
Next Topic:Error With Android Old Key
Goto Forum:
  


Current Time: Thu Apr 25 03:47:05 GMT 2024

Powered by FUDForum. Page generated in 0.02370 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top