I’m having some difficulties with Logs when the app is installed in program files with stand alone package. Even if I redirect logs to a specific file. It will always try to write log files in forbidden directory. How can I choose where jServer will wtite these files ?
I'm surprised that you were able to build a standalone package from a jServer app.
The logs folder is set with Server.LogsFileFolder. You can set it to File.DirData.
The current version of the underlying Jetty SDK is not compatible with the modules system. Not all features will work.
There are also not too many use cases where it makes sense to package the server. A server is different than a standard user facing app.
No. Since a moment, it's possible to create a standalone package with NON-IU APPs. My App is a TCP Based I added jServer to exploit Background Tasks and they are working Nicely.
There are many threads on the fourm regarding Windows Services e.g. https://www.b4x.com/android/forum/threads/java-as-windows-service.65741/#content For many years Ive used "JavaService" but this is old, hasnt been updated for years and while robust isn't that friendly to set up. To be fair to...
www.b4x.com
e.g. the config file below will put the logs into a sub-directory called "logs" but there is no reason this couldnt be a temp directory or other location