-
September 17th, 2009, 12:15 AM
#1
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�5javax.management.remote.message.HandshakeB 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�Ajava.io.StreamCorruptedException: 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.
Jon
-
September 18th, 2009, 10:13 AM
#2
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
Cheers
-a
Similar Threads
-
By Mone in forum Client SDKs
Replies: 1
Last Post: July 10th, 2012, 07:06 PM
-
By mnfjorge in forum Client SDKs
Replies: 2
Last Post: March 16th, 2010, 09:21 PM
-
By hofmanna in forum Client SDKs
Replies: 3
Last Post: February 19th, 2010, 12:14 AM
-
By coyote7000 in forum Client SDKs
Replies: 3
Last Post: April 9th, 2009, 11:38 AM
-
By gerald.logor in forum Client SDKs
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
-
Forum Rules
All times are GMT +1. The time now is 12:40 PM.
Bookmarks