Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2009

    Running external web server (Tomcat) on port 9999 causes "StreamCorruptedException"

    This is more of an FYI for others, as I've just found the solution.

    I am running Tomcat 5.5.28 and the Lightstreamer, (always want to call this lightsaber for some reason), separately.

    I configured the Tomcat to run on port 9999, (as I have various other servers on the same machine). I have Lightstreamer running on port 9898. After following the "DEPLOYING THE DEMOS ON AN EXTERNAL WEB-SERVER" document, running the Tomcat server, and then running the Lightstreamer server, I was getting:

    ¬í�sr� eginMessageß,„‹Î6�L�profilest�Ljava/lang/String;L�versionq�~�xppt�1.0ysr�5javax.manageme nt.remote.message.HandshakeErrorMessageÇ�Ü^>rI� L�detailt�Ljava/lang/String;xpt� invalid stream header: 47455420y

    This was in Firefox. IE had another way of dealing with the error.

    Long story short: Tomcat can't use port 9999 as the Lightstreamer uses that port for the JMXMP Connector for JMX.

    I changed the Tomcat port to run on 18080, 8080, and another one and it runs fine.

    Took me about an hour to figure this guy out, so hopefully this lil' post will help others.


  2. #2
    Join Date
    Jul 2006
    Milan, Italy
    Hi Jon,

    As an alternative, instead of changing Tomcat ports you can change the Lightsteamer JMX ports.

    The default ports (9999 and 6666) can be configured in the <jmx> section of lightstreamer_conf.xml




Similar Threads

  1. Replies: 1
    Last Post: July 10th, 2012, 07:06 PM
  2. PushServerException: "No more answer from server"
    By mnfjorge in forum Client SDKs
    Replies: 2
    Last Post: March 16th, 2010, 09:21 PM
  3. Replies: 3
    Last Post: February 19th, 2010, 12:14 AM
  4. Replies: 3
    Last Post: April 9th, 2009, 11:38 AM
  5. Replies: 1
    Last Post: November 5th, 2007, 02:36 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT +1. The time now is 04:27 AM.