Hallo Community,
I am trying to get a Form for Websocketcommunication via frmwebsocketjsi.jar up and running in a WLS-Forms-Server environment.
I am following the doumentation for setup, so I signed the jetty-all.jar, changed the formsweb.cfg. I provided both, jetty-all.jar and frmwebsocketjsi.jar, so that it is successfully downloaded to the client when starting my application.
So far, I am able to query the version of the bean with
Get_Custom_Property( bean_id, 1, 'WSJSI_BEAN_VERSION') ;
and to start the server with
Set_Custom_Property( bean_id, 1, 'WSJSI_START_SERVER', port );
A Query to
Get_Custom_Property( bean_id, 1, 'WSJSI_IS_SERVER_UP') ;
returns TRUE.
However, my next step to start the session to open a named canal is not successfull:
Set_Custom_Property( bean_id, 1, 'WSJSI_SET_SESSION_ID', sessionId );
Set_Custom_Property( bean_id, 1, 'WSJSI_BEGIN_SESSION', port ) ;
A following query to
Get_Custom_Property( bean_id, 1, 'WSJSI_IS_SESSION') ;
will always return FALSE.
My further investigations showed, that after I start the server (in my case on port 7779) the port is not bound to a loopback device (what I expected), but rather to either my 192.xxx or 10.xxx IP-address. Could this be the cause of my problem and if yes, why is it not using localhost/127.0.0.1.
By the way, there seems to be no Property to configure the IP address we are working on.
Any hint and help would be appreciated. Thank you in advance!
Best regards,
Ralf