You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In code, in following WebSocketClient.java file on line 93 Keystore location is hardcoded.
String carbonKeyStoreLocation = "/home/isuru/wso2/support/NMDPSUB-9/wso2am-2.1.0/repository/resources"
+ "/security/wso2carbon.jks";
Documentation not covering that you need to change the path which leads to error when you trying to build it and run it
Exception in thread "main" java.io.FileNotFoundException: /home/isuru/wso2/support/NMDPSUB-9/wso2am-2.1.0/repository/resources/security/wso2carbon.jks (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
Description:
On following documentation
https://docs.wso2.com/display/AM260/Create+a+WebSocket+API
there is a problem with Netty-based WebSocket client that is downloadable in step 11.
In code, in following WebSocketClient.java file on line 93 Keystore location is hardcoded.
String carbonKeyStoreLocation = "/home/isuru/wso2/support/NMDPSUB-9/wso2am-2.1.0/repository/resources"
+ "/security/wso2carbon.jks";
Documentation not covering that you need to change the path which leads to error when you trying to build it and run it
Exception in thread "main" java.io.FileNotFoundException: /home/isuru/wso2/support/NMDPSUB-9/wso2am-2.1.0/repository/resources/security/wso2carbon.jks (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
Steps to reproduce:
Content Positioning in Documentation:
https://docs.wso2.com/display/AM260/Create+a+WebSocket+API
We need to change documentation or change the code to refer to the key store location differently.
NOTE:
I test the same topic for version 3.0 mention on https://apim.docs.wso2.com/en/latest/Learn/Tutorials/create-and-publish-websocket-api/
in step 4
npm install -g wscat
Installation and Invoke have worked without any errors.
The text was updated successfully, but these errors were encountered: