The dev environment I have at the moment requires me to run webserver(tomcat) and lightstreamer on the same box. I am in the process of writing a GWT application which gets realtime updates via Lightstreamer.
After going thru suggestions on many threads here my hosts.txt is as follows
10.12.166.65 mysite.com
10.12.166.65 web.mysite.com
10.12.166.65 lightstreamer.mysite.com
My machine ip address in 10.12.166.65 and in MyComputer-->properties the computer name is XYZ123456.rl.yourcompany.com and domain is rl.yourcompany.com
The lsconfig.properties file is as follows :
domain=mysite.com
host=web.mysite.com
port=8082
..............
....
I access my GWT application in firefox 4 & internet explorer 8 using the url
http://mysite.com:8080/MyTest
In the lightstreamer console the following is displayed :
01.Apr.11 12:51:13,086 < INFO> Serving request: /lightstreamer/control.js --> LS
_session=S8af91f62e8f22201T5112836&LS_table=0&LS_win_phase=7&LS_op=add&LS_req_ph
ase=374&LS_mode=RAW&LS_id=mode&LS_schema=count&LS_unique=1& from 127.0.0.1:1247
01.Apr.11 12:51:13,086 < INFO> Controlling session: S8af91f62e8f22201T5112836 fr
om 127.0.0.1:1247
But both Internet Explorer and Firefox status bars don't the usual connected message.
The callback onMessage does not fire in Internet Explorer. But in Firefox the onMessage method in the client side gets fired , the first line in the onMessage method is an Window.alert which causes the following error
The page at
http://mysite.com:9090 says
Error :Smile_Ae: ermission denied for <
http://mysite.com:9090> to call method Window.alert
Is there a way i can run lightstreamer and webserver on the same box and get things to work?