I've been working with the B4J websocket server located here:
www.b4x.com
While attempting to work with the webserver side of this library I do get a webserver response from Grizzly 4.0 however I'm defining the serving directory incorrectly.
The error is Resource identified by path '/', does not exist.
I've ensured that all library files are the latest available and followed the instructions as closely as possible.
I understand that the directory is defined in the initialize method and that the directory should be placed with the app .jar file.
http://localhost
ort is correct but the directory is the problem.
(localhost : port) - idk why a smiley is inserted in the middle of a word :/
Can anyone shed some light on how to get to the serving directory in the web browser? Thanks.
I figured it out.
Jakarta Websocket Server Library
Hey everyone, I was interested to Tyrus Server to deploy a Websocket server using Jakarta. So I ends up wrapping this library hopefully you find it useful to your needs. Library Functionality: Initialize(EventName As String, contextpath As String, port As Int) Start Stop Library Events...
While attempting to work with the webserver side of this library I do get a webserver response from Grizzly 4.0 however I'm defining the serving directory incorrectly.
The error is Resource identified by path '/', does not exist.
I've ensured that all library files are the latest available and followed the instructions as closely as possible.
I understand that the directory is defined in the initialize method and that the directory should be placed with the app .jar file.
http://localhost
(localhost : port) - idk why a smiley is inserted in the middle of a word :/
Can anyone shed some light on how to get to the serving directory in the web browser? Thanks.
B4X:
websocketServer.Initialize(evnt, cPath, sPath, port)
I figured it out.
Last edited: