Hello
I am starting to create stand alone packages for our suite of server app. Some of the apps use websockets. The problem is that when a connection occures I geet the following:
The proj attribs are :
Regards
John
I am starting to create stand alone packages for our suite of server app. Some of the apps use websockets. The problem is that when a connection occures I geet the following:
B4X:
pool-1-thread-2::INFO:sosstat│NOP│WebSocket_Connected, error - (RuntimeException) java.lang.RuntimeException: Object should first be initialized (HttpSession).
The proj attribs are :
B4X:
#Region Project Attributes
#AdditionalJar: bcprov-jdk15on-159.jar
#if java11
#AdditionalJar: C:\Java\jdbc\sqljdbc_12.8\enu\jars\mssql-jdbc-12.8.1.jre11.jar
#else
#AdditionalJar: mssql-jdbc-6.2.2.jre8.jar
#End If
#if java11
' // https://www.b4x.com/android/forum/threads/jserver-v4-0-based-on-jetty-11.140437/
#PackagerProperty: AdditionalModuleInfoString = provides org.slf4j.spi.SLF4JServiceProvider with org.eclipse.jetty.logging.JettyLoggingServiceProvider;
#PackagerProperty: AdditionalModuleInfoString = provides org.eclipse.jetty.io.ssl.ALPNProcessor.Server with org.eclipse.jetty.alpn.java.server.JDK9ServerALPNProcessor;
#PackagerProperty: AdditionalModuleInfoString = provides org.eclipse.jetty.http.HttpFieldPreEncoder with org.eclipse.jetty.http2.hpack.HpackFieldPreEncoder, org.eclipse.jetty.http.Http1FieldPreEncoder;
#PackagerProperty: AdditionalModuleInfoString = uses org.eclipse.jetty.util.security.CredentialProvider;
#PackagerProperty: AdditionalModuleInfoString = uses org.eclipse.jetty.io.ssl.ALPNProcessor.Server;
#PackagerProperty: IncludedModules = jdk.charsets, jdk.crypto.ec
#End If
#End Region
Regards
John