Websocket chat and session
Hi,
we've chat working with the 9.1 snapshot. Also private message works but only if the BaseXHTTP class is used (embedded jetty).
If we start the webapp with mvn jetty:run the session info seems to get lost (also in the DBA).
Br, Max
Hi Max,
Thanks for testing.
Quoted text · Maximilian Gärber · 2 lines
> If we start the webapp with mvn jetty:run the session info seems to > get lost (also in the DBA).
Could you tell us how your pom.xml looks like?
I just updated the basex-api/pom.xml file, and I started the Jetty web server via "mvn jetty:run" from the basex-api directory of the BaseX source code, and everything seems to work.
Cheers Christian
Hi,
I guess this is because we used to share the dba login and session key from 'cons.xqm' (which is does not exist anymore in 9.x) with our restxq app.
Also, I guess we cloned a DBA version with a typo ;-) which seems already fixed:
Br, Max
Am Mi., 24. Okt. 2018 um 16:41 Uhr schrieb Christian Grün <christian.gruen at gmail.com>:
Quoted text · Christian Grün · 16 lines
> > Hi Max, > > Thanks for testing. > > > If we start the webapp with mvn jetty:run the session info seems to > > get lost (also in the DBA). > > Could you tell us how your pom.xml looks like? > > I just updated the basex-api/pom.xml file, and I started the Jetty web > server via "mvn jetty:run" from the basex-api directory of the BaseX > source code, and everything seems to work. > > Cheers > Christian
Written for BaseX 9.0. BaseX may have changed since: please check the current documentation.