-
April 1st, 2011, 03:22 PM
#1
<URGENT> GWT application problem how to solve
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_w in_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:Permission 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?
Similar Threads
-
By karthikjai in forum Client SDKs
Replies: 0
Last Post: April 1st, 2011, 03:22 PM
-
By karthik in forum Client SDKs
Replies: 3
Last Post: July 7th, 2010, 10:43 AM
-
By gmotodd in forum Client SDKs
Replies: 8
Last Post: May 4th, 2009, 12:51 PM
-
By indrajit in forum General
Replies: 2
Last Post: March 5th, 2008, 06:29 AM
-
By cvs_fif in forum Adapter SDKs
Replies: 8
Last Post: September 25th, 2006, 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 11:23 AM.
Bookmarks