Hi Alice,
After geting it work in localhost, I then try out to connect to a remote server, and for some reason, it is not subscribing to it the way it works when both projects are local.
The way I configure it is as follows:
- File > New > ESP Project etc. to create a new project, call it subscribe_extproj
- Edit the CCL to include all columns to NEWSTREAM input stream matching my remote server stream (already pre-configured)
- Edit CCR by:
-- Click on Discover, select the remote cluster (this only appear if I connect to the server via SAP Sybase ESP Run-Test perspective -- esps://<server name>:<port>)
-- It will show up on All Clusters panel as esps://<server name>:<port>(remote)
-- In Cluster Details, I set it Type to remote, Authentication is User/Password, with correct user name and password (the remote server is configured as SSL)
-- In Bindings tab, add the new stream, remote stream section:
---- cluster: esps://<server name>:<port>
---- remote stream: MyInfoStream
---- workspace: demo
---- project: myproject
Click Run ESP Project at the top of the toolbar to run
Using manual input to inject dummy data into the remote stream (esps://<server name>:<port>/demo/myproject, I don't see it gets subscribed on subscribe_extproj:NEWSTREAM
The log only shows (related to URI binding):
2014-03-21 16:18:52.887 | 36064 | container | [SP-3-150004] (0.866) sp(41732) Connection(_URIBINDING_NEWSTREAM1/NEWSTREAM):: No reconnect interval value is defined, defaulting to 5 seconds.
When we get the earlier example working, we have an additional log row:
2014-03-21 16:35:48.466 | 42588 | container | [SP-4-150005] (30.879) sp(40300) Connection(_URIBINDING_p2stream11/p2stream1):: the binding is using a clear text password
Can you try yours out as against a remote setup? If you know of a way to turn on more logging, that would be helpful for me to debug too...
Thank you,
Chin