Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Oracle Forms 14.1.2 JavaScript integration via Websocket

user13102156Mar 19 2025

Hello all
I have an unsolved problem in Oracle Forms 14.1.2 in integration between Forms and JavaScript via Websocket.
I configured formsweb.cfg to use Jetty-all.jar and websocketjpi.jar in both jnlp and FSAL mode and include JavaScript websocketjpi.js in my html web page.
But when I run my sample frmweb .fmx file that includes websocketjpi.pll and olb objects, Jetty starts listening on defined port and web page successfully create connection to it but when I want to create session with WebsocketJPI.createSession, nothing happened and check session and id return false and web page also shown a message "no peer found".
I tested it with 2 versions of the jetty, one of them with the same version described in the Oracle document and another newer version. On the client side I ran JRE 1.8.431x64 and in Server side I have OEL9.5/Forms 14.1.2 and JDK 21.5
I also tested both server and client on the same Windows machine and I got the same result.
All jar files signed with the same CA Cert and IP v6 disabled on client and server and preferIPV4 configuration applied in the setDomainEnv file.
Could you please help me to solve this dissuasive problem?

Best Regards.

Comments

Post Details

Added on Mar 19 2025
4 comments
92 views