sudhakar
Hello,
> Here is the Issue, I designed some basic applications and I programmed the
> adapters in java on windows vista platform.
> When I tested them they ran well. Here comes the problem, I am unable run
> the same applications on Red hat Linux. when I tried to debug my html page
> .,
> it is showing an error at the sentence :
var pushPage = initializeDemoPushPage("./ls", true, onEngineReady, onEngineLost);
> and the error message is "object expected".
> "./ls is the location where I placed all of my java script files"
>
> Same error is existing for all my applications which were designed on
> windows.
>
> But the demo applications provided by the lightstreamer are running fine on
> linux.
>
> Please help in this issue.
>
> Thank you,
> Best Regards,
> Sunny
Dario Crivelli
I suppose that the object expected is the "initializeDemoPushPage".
All demo applications provided by Lightstreamer import the "misc.js" source file,
which contains the "initializeDemoPushPage" function.
I suppose that this import fails in your unsuccessful installation;
please check where you placed "misc.js" and the way you import it.
Note that the relative path to be supplied to "initializeDemoPushPage" is:
from the directory which contains your pushpage to the directory which contains misc.js;
hence, it is the same path you use in the <script> block through which you import "misc.js".
By the way, this seems not related with Windows or Linux (at least, not in a direct way).