try to compare PushPage and LightstreamerEngine configurations in the two cases; you should find some differences.
Is it possible that setLSHost and/or setLSPort are not configured correctly?

If in trouble post here the hello world code you adapted so that I can take a look.