-
April 29th, 2009, 05:30 PM
#5
Hi Mone.
I changed it (and went a little more simple), and this is what I have now:
Hosts file:
127.0.0.1 web.aagtestdom.com
127.0.0.1 push.web.aagtestdom.com
Client script:
<script type="text/javascript">
var page = new PushPage();
page.context.setDomain("web.aagtestdom.com");
page.onEngineCreation = function startEngine(engine)
{
engine.connection.setAdapterName("LSADAPTERDEMO");
engine.changeStatus("STREAMING");
engine.connection.setLSHost("push.web.aagtestdom.c om");
engine.connection.setLSPort("8080");
}
page.bind();
page.createEngine("CBOFlightPublisher", "JSLib/", "SHARE_SESSION");
var pushtable = new OverwriteTable(null, null, "MERGE");
page.addTable(pushtable, "EventTargetTable");
</script>
But I still get the same error: Unable to find the Engine.
If I change the hosts file with web.aagtestdom.com, then I have to load the webpage with the same domain: http://web.aagtestdom.com/WebClientA...ayFlights.aspx
And it doesn't matter whether in the code I do
page.context.setDomain("web.aagtestdom.com");
or
page.context.setDomain("aagtestdom.com");
I still get the same error.
I looked at the resource links provided, but can't spot anything different at the basic level from what I have. I see other properties being used (setMaxBandwidth, setIdleTimeout, etc), but I don't think they would make a difference in my case, would they?
Any ideas of what I might try next?
Thanks.
-Guillermo
Similar Threads
-
By karthikjai in forum Client SDKs
Replies: 5
Last Post: April 6th, 2011, 08:41 AM
-
By karthikjai in forum Client SDKs
Replies: 0
Last Post: April 1st, 2011, 03:22 PM
-
By mohamida in forum Client SDKs
Replies: 10
Last Post: August 18th, 2010, 12:50 PM
-
By mohamida in forum Client SDKs
Replies: 10
Last Post: August 18th, 2010, 12:50 PM
-
By vaduganathan in forum Client SDKs
Replies: 3
Last Post: April 9th, 2010, 08:58 AM
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 03:50 AM.
Bookmarks